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!!!
...does not support the .index() option. I like that the filelistbox returns the name of the file which is on index(0) ore index(5) ore anything else.
Thanks again and hope to get some good hints!!
Tom
****** Tractor Pulling ******
The most powerfull motorsport
in the world!!!
...QQ
else
Do something else
exit for
end if
the command filelistbox.index() or filelistbox.tabindex() wont do what I expected him to do!!!
Can somebody help me
Thanks many many times
****** Tractor Pulling ******
The most powerfull motorsport
in the world!!!
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!!!
..."~", True
SendKeys "{tab}", True '1 x tab
SendKeys "~", True
Next UU
MsgBox ("Inserting the curves in done, nice!!")
End Sub
PS i use a dirlistbox to determin in with folder the curves are saved!!
****** Tractor Pulling ******
The most powerfull motorsport
in the world!!!
...which are made on one tab meanwhile the user is working on an other tab. And second thing, ofcourse, is how to restore that info when the user comes back to the tab which is already filed in??
Thanks in advance
Tom
****** Tractor Pulling ******
The most powerfull motorsport
in the...
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
Hello everybody,
I found something:
The shelled program is looking fore it's input files in the folder were the VB program is running, and not in the folder were the *.exe program is saved.
Anyone an idea of how it force the shelled program to look in the right folder.
Tom
...(last post of that treat from Hypetia).
What I like to do is to shell two programs after each other.
The first program gets input data from two *.txt files, stored in the same folder, the second program gets his input data from the output of the first program whith is also in a *.txt file in...
Hello people,
Probebly a stupid and very easy question, but how can I close the screen of a batchfile I shelled after is is finished.
Shell BatKillMeettabel, vbMinimizedNoFocus
Thanks,
Tom
Hello jtmach,
Sorry thats my mistake, I already tryed that, should have mentioned that!!
And that is also my problem, because the dosprompt is not responding to that. I think I did something not exactly correct but can not find what!!
Hope you, ore somebody else can provide me another solution...
Hello people,
I have piece of code whith runs batchfiles. Every batchfile is on my screen like SW_NNORMAL, but i like to have something like SW_HIDE.
I have followed treat 222-859655 by foot, but it seems that I don't get it to work???
Option Explicit
Private Type STARTUPINFO
cb As Long...
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.