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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EbExecuteLine 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am attemting to run the EbExecute line function from the vba6.dll. It runs great when in design mode within VB, but once I compile into an EXE and then run the application, my program crashes. Any tips on this?

Thanks
 
Yes - don't use it in compiled applications.

This might sound facetious*, but the fact is that EbExecuteLine just doesn't work properly in compiled applications - no matter how many code sites use it as an example of how to execute a string.

You're far better off adding a reference to the Microsoft Script control, and investigating the Eval and ExecuteStatement methods you will find in it.


* Useless fact: one of only two English words that contains all the vowels in the right order...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top