473,320 Members | 1,840 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,320 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 1154

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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.