By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,596 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

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

P: 1
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
Share this question for a faster answer!
Share on Google+

Post your reply

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