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

EbExecuteLine?

Status
Not open for further replies.

bat

Programmer
Aug 7, 2001
4
IE
I can get this undocumented API function to work in the IDE, but the resultant compiled EXE does not recognise the DLL from where this function resides. Does anybody know why, or an alternative route (within VB)?
 
My advice: don't use EbExecuteLine. Check out thread711-97332 to see an alternative...
 
Strongm, as far as I can see the thread you listed doesn't actually offer an alternative, could you expand?

Thanks.
 
Down near the bottom, where I suggest the Script Control, since it supports an ExecuteStatement method. eg:

Dim tempStr As String
Dim wscript As ScriptControl

Set wscript = New ScriptControl
wscript.Language = "vbscript"

tempStr = &quot;<statement_to_be_executed>&quot;

wscript.ExecuteStatement tempStr


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top