heh, well we're walking into API territory now... You're far more knowledgable here... (I tend to employ the use of machette's here ;-)) I've only really seen WaitForSingleObjectEx used to launch an app and stop processing until the called app closes. Now I've done some more research, I see that...
hmmm, but the OP wants the individual words in their own strings. May I make suggestion based on macropod's function?
(it's basically the same thing, but goes on to Split the returned string into a string array.)
Sub TrimString()
Dim MyString As String
Dim strOutput() As String
Dim...
Thanks:-)
heh, but both solutions are new apps...;) I was simply suggesting that (unless the master.exe is doing something fancy as well are firing the "sub-apps") it would be less expensive to use the API.
Yeah, in which case no solution will be truely elegant anyway! :-D
Reconcidering...
strongm,
After reading back my last post, I realise I could have worded it better, it was not meant to sound the way it reads!! You've helped me out far too many times for me to critise you - I hadn't read the OP closely enough and jumped in both feet first (as usual... ;-)).
I'd suggest the...
Here's a little code that might help you get started. Add a Reference to the Microsoft Excel Object Library and see what this does - you should be able to hack it your needs. Also, it may help to record a Macro in Excel and copy/paste the code into VB (Again, you'll need to modify the pasted...
Nope, use the sleep API. It wont chew your processor...
(Praise to the KPD Team)
'This project needs a button
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Command1_Click()
'KPD-Team 1998
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net...
Well, I can't understand that. Is your app having to do something else before login?
Surely it would be easier to launch "normally" at startup and grab the username then rather than polling the system...
Anyway, see if the snippet below helps. KPD Team rocks...
Private Enum...
Well, talk about learning something new every day! That page could have saved me AGES of mucking about a couple of years ago! However, I'm confused. Surely all the information you need is on that link? When you say "programatically hiding the app" ... from what? The Services List? Processes...
Then I think you're going have to learn C/C++ or a variant. AFAIK, the VB compiler can not compile service executables.
I'd be glad to be proved wrong though.
Gotta love allapi.net!
The code snip below is pretty self-explainatory, however, I'd to some research into Services before implementing it. It works differently depending on the flavour of Windows you're running. Also, from a VB point of view, I believe you can't actually comiple and run a...
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.