I'm trying to start a process remotely using WMI. I'm having alot of trouble with it. I can retrieve all the process and stoppoing it is fine. However when I try to start it, some process will not start.
The calling program is on NT4 SP6. I can launch simple programs like NotePad and Calc...
I'm having trouble calling this function. I've got the declaration as follows:
Const HH_DISPLAY_TOPIC = &H0
Const HH_HELP_CONTEXT = &HF
Private Declare Function HtmlHelp Lib "HHCtrl.ocx" Alias "HtmlHelpA" _
(ByVal hwndCaller As Long, _
ByVal pszFile As String, _...
I'm confused here. Are u just making a dos program or do you have one program calling another one and wait for a return value from it?
I assumed you needed a way to call a different program from your program and have it return something. If this was the case, then an ActiveX EXE is just...
There is a .AbsolutePosition that you can use but before you get the absolute position, you will still have to do a sequential search. After that, you can store that absolute position somewhere and access it again any other time after that.
Hope that helps.
I cant seem to find PDH.DLL anywhere on microsoft website and it doesn't seem to be included on my NT box or with Visual Studio.
Does any1 know where I can get this file? Are there any other files that are associated with this one that I need also? I'm looking for a way to get performance...
You can use the M$DN online at msdn.microsoft.com.
First off, I dont think there's a .AddRow method with MSFlexGrid. I assume you mean .AddItem.
Try the following:
MSFlexGrid1.AddItem strField1 & vbTab & strField2 & vbTab...
Your situation sounds terrible. If managements wants to protect the software so that no one touches it, they should really re-think their idea. Software lock isn't the answer b/c if I really wanted to mess with that computer, I still can. There's so many other ways to do it...power button for...
unplug the keyboard?
If you really dont want any1 going into that system, do a password lock with the screensaver. Your program should still be functioning in the background.
Yes, you can write a program to read the database and display it on your own grid. You will need to install MDAC on that machine tho.
I think it would be easier to just install Office on that machine. :)
If this is a machine on the network, you can use another machine that has Access on it...
Hey Adam,
To connect to an Access2000 DB, you need to use DAO 3.60. The data control uses DAO 3.51 if I'm not mistaken.
I would not recommend using the data control in an enterprise environment. There are problems with it and will cause more headaches.
There are a lot of examples of...
Hi David,
I've learned my way through mostly playing w/ VB. Components are easier to figure out in my opinion. You can all them all and spend some time to figure them out. References is a different story. If you have alot of programs on your machine, there will probably be a large list of...
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.