Jump to content

Call a vb6 com+ object...

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
chepla

chepla

    Newbie

  • Members
  • Pip
  • 3 posts
Hi, I need to call a vb6 com+ object from c#. Someone knows how to do this?

Thansk...

#2
gaylo565

gaylo565

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 268 posts
Select Add Reference under Project on the main menu of Visual Studio. Scroll down until you find Microsoft.VisualBasic and select ok. Some of the objects are listed independently under the com tab of add reference so depending on what you need to add the selection of the reference step to add can vary. Then the class is available to you to use...I suggest looking it up with msdn to find the syntax of the exact vb object usage in c#. Good luck

#3
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
In general, thırd-party applıcatıons are under COM. Keep that ın mınd, and remember that the clıent computer may not have the requıred applıcatıons to automate. In thıs case, though, ıt should be fıne.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums