Haï mmilan,
Works like a charme......
Thank you,that was the command of function I needed. Give you a star for that!! Deal!!
Tom
****** Tractor Pulling ******
The most powerfull motorsport
in the world!!!
HI MMilan,
Thanks fore your response but no luck!!!
Still the same result, the error I get is:
Compile error:
Wrong number of arguments or invalid property assignment
It seems that the filelistbox does not support the .index() option. I like that the filelistbox returns the name of the file...
Hello everybody,
I have a filelistbox on my form which is filled with files, nothing weird sofar. What i like to do is get the name of the first file in the filelistbox and compair it with another string. If the match, take the next file from the filelistbox and compair it again, till a...
Hi Vladk,
Iam not very handy with VB, so I have read the manual about Do Events, but without I succes.
Can you help me anything further?? With some examples or more info
Thanks in advance,
Tom
****** Tractor Pulling ******
The most powerfull motorsport
in the world!!!
Hello peoples,
I am working on a peace of code to automaticly startup a 3D drawing program, start a new drawing and past automatisch about 100 curves. You probebly see my problem, 100 curves is LOT of work.
My idea was to use SendKeys(), however I have to wait till the action of my Keys are...
Hello everybody,
I am using a tabstrip as interface with the users of my program.
On the tab are a lot checkboxes and optionboxes that determine the next step.
My problem is: How can I 'save' the setting which are made on one tab meanwhile the user is working on an other tab. And second thing...
Hi Cassandra,
I realy don't konw whats wrong with that ;-)
It your solution works it wil save some typing, but it does not solve my problem!!!
You refere to option1, but i like to refere to option1(0) and option1(1) and so on.
But i wil try to get it to work with your way, however feel free to...
Hello Everybody,
I am looking for a way to control some optionbuttons with a index number, like Option1(0), Option1(1) and Option2(0) ans so on.
Without the index number it works quit nice like the code displayed here,
does anybody know a way to do that?
Dim K as Integer
K=1...
Hi everybody,
I like to use tabstrip to use the fact that all my layouts are the same. Can anybody explane me how I can control the captions, ore something else, of the tabs.
Form1.Controls("TabBewerkingen.tabs" & "(" & Trim(Str(I)) & ")").Caption = BewerkingNaam(DoorlopenAantalBewerkingen)...
Hi johnwm,
It looks that I am a litte stupid :-(
My vb prog keeps telling me, while highlighting "shell", which is in a module that
*****************
Compile Error:
Expected variable or procedure, not module
*****************
Looks like it doesnt know the command Shell, also Shellexecute and...
Okee thanks, that solves one problem.
The other problem is how to force the shell command to look in the right folder for a input file.
situation:
I have my VB program, called Invoer.exe and it is safed in C:\X\YThe Invoer.exe shells a program called Calculate.exe which is stored in H:\ZTo run...
Hi sramey00,
This is my code,
Put this under a commandbuttom on a form:
PING = C:\Batchfile.bat
ShellWait PING, vbNormalFocus
This in a modul:
Option Explicit
Public PING as string
Private Type STARTUPINFO
cb As Long
lpReserved As String
lpDesktop As String
lpTitle As String
dwX As...
Hi fheyn,
I don't get your solution. They only path I use is the path of the folder where the shelled exe is stored??
So which path do I have to change and were??
Thanks in advance
Tom.
Hello sramey00,
The code you suggested, is exact what i do in the Public Sub I call every time I like to run those two program's.
So thats not the solution to my problem, Iam sorry ;-)
Please feel free to give it another shot, I will be thankfull if something usefull will come out!!
Tom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.