Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using EXE instead of a MACRO

Status
Not open for further replies.

c91364

Programmer
May 19, 2005
7
US
jayconverse planted a seed in a previous question, so now I'm trying to use regular VB6 to create an EXE. I have dropped the same GL UI component on my VB form as I did in my macro, however, I'm getting some odd behavior -- when I click the combobox on my form, the UI component file menu (File, Settings, Help) disappears and my combobox jumps up, and when I click back on the UI Component the file menu reappears and the combobox moves to its original position. Is this normal behavior?

Also, I'm not sure how to find information like AccpacSession.ProgramsPathOnServer or AccpacSession.SharedDataPathOnServer because these are readily available when using a Macro.
 
Yeah, unfortunately, that's the typical behaviour. You get used to it...

For the Accpacsession stuff, you probably just need to add a Reference to the COMAPI, then:

Dim Session As New AccpacSession



Jay Converse
IT Director
Systemlink, Inc.
 
There are some examples of creating and opening a session object in this forum. Try a search for 'COMAPI'.

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top