|
-
Apr 20th, 2000, 06:51 PM
#1
Thread Starter
Lively Member
OK, what about output.
I want my program operate like function.
some data in and program returns data that can be read.
Thnx!
Ermin
Ermin Gutenberger
VB.NET 2010
-
Apr 20th, 2000, 08:02 PM
#2
Member
Better way...
An easier way is to use the InStr function. For example, if Query is what you're looking for in the command line parameters, use this:
Code:
Function IsInCommand(Query as String) As Boolean
Dim c As String, q As String
c = LCase$(Command)
q = LCase$(Query)
IsInCommand = False
If InStr(1,c,q)<>0 Then IsInCommand = True
End Function
-
Apr 20th, 2000, 09:50 PM
#3
Hyperactive Member
You can't use an exe to return a value like in a function, but there are some workarounds, for instance, you can let your program do some processing and write something to a textfile, and let the calling program read that textfile (easiest solution).
You can also use shared memory or send messages to the calling program (the hard way...)
Please be more specific about what you want, maybe you can make an ActiveX exe to do what you want.
-
May 19th, 2000, 08:41 AM
#4
New Member
-
Jun 16th, 2000, 07:15 AM
#5
New Member
Start an .Exe from Html page
I want to start an exe file from a html page with a lot of different buttons on it.
Is it possible to start the same .exe, but with a different form as the startup.
I know that I can use Sub Main(), but i dont know how to.
Is it better to create a lot of ActiveX Exe?? My program is getting bigger and bigger...
Thanks..
Ørjan Aarekol
Trainee NTC
Norway
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|