473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

IdfDocumentum in Vb.Net .dll? And How do I IdfDocumentum convert to 'object'

Hi,
I use dll is DFCLib but is it true?

I try;
Expand|Select|Wrap|Line Numbers
  1. Dim sysObj As IDfSysObject
  2. Dim perObj As IDfPersistentObject
  3. Dim session As IDfSession
  4. Dim document As IDfDocument
  5. Dim Id As IDfId
  6. Dim nesne As Object = Nothing
Expand|Select|Wrap|Line Numbers
  1. Dim strSQL As String = " dm_document where r_object_id='" & itemID.ToString() & "'"
  2. sysObj = Nothing
  3. Id = m_DfClientX.getId(itemID)
  4. perObj = session.getObjectByQualification(strSQL)
  5. sysObj = CType(perObj, IDfSysObject)
  6. nesne = sysObj.getContent()
  7. document = CType(sysObj.getContent(), IDfDocument)
***exception line

I dont convert object to IdfDocument in VB.NET..
Java is convert >>doc = (IDfDocument) session.getContent()

How do I Vb.Net???

Help me please.
Thanks
Nov 14 '14 #1
0 1155

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Max | last post by:
I just wonder if there is a way of converting an object to a string. I am using a function to send an object parameter e.g "fctng(train0);" later on I would like to use train0 but as a string to...
2
by: MAF | last post by:
Is there a quick way to Convert an Object to XML and then pass the XML string to VB as a paramenter. Then rebuild it on the VB side?
1
by: Webgour | last post by:
Is it possible to convert from object to string?? Thank you for your time.
2
by: Nikolay Petrov | last post by:
How can I convert variable of type Object to Byte array? TIA
5
by: tienlx | last post by:
Hi all, I'm have a problem that i don't know how to convert object to char in C# . Does anybody know ? Thanks.
2
by: Kimelia Schiles | last post by:
Hi, I would like to know how to convert the value with return type of object to a byte array. For example: byte photo = ds.Tables.Rows; Thanks and have a nice day
0
by: bacsumu | last post by:
i'm programming in c# i use embeded webbrowser ----------------------------------------------------- int Exec( ref Guid pguidCmdGroup, int nCmdID, int nCmdexecopt,
0
by: suneethadotnet | last post by:
hi , object objee= obj1.GetSecurityInfo("hi"); here GetSecurityInfo("hi") returns struct.i am assigning it to object.now the object objee have all the properties of GetSecurityInfo("hi")...
5
by: deepthisoft | last post by:
hi, I have converted vector to object. How can I convert Object into Vector. My code look like this, Vector column=new Vector(); column.add("one");
2
by: Charming12 | last post by:
Hi All, I am stuck with a unique problem, I have a class whose object i need to convert to a byte to send it further. I am using microsoft's Binaryformatter to convert object to byte as per...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.