Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Tuan3249

    Using WMI to start a process remotely

    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...
  2. Tuan3249

    How do I set up an ODBC Connection Programmatically?

    Anyone have any ideas on how to set up an ODBC Connection programmatically? Thanks.
  3. Tuan3249

    Easy Question--escape characters in vb 6.0

    carriage return is vbcrlf You can do strMSG = text1.text & vbcrlf & text2.text... hope that helps
  4. Tuan3249

    HtmlHelp API

    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, _...
  5. Tuan3249

    Return a value from a VB program

    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...
  6. Tuan3249

    How do I get the AbsolutePosition of a specific record?

    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.
  7. Tuan3249

    Return a value from a VB program

    Make the program a COM object (ActiveX EXE).
  8. Tuan3249

    Where can I get PDH.DLL?

    hehe, nvm I found it.
  9. Tuan3249

    Where can I get PDH.DLL?

    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...
  10. Tuan3249

    Importing text file into MSFlexgrid control

    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...
  11. Tuan3249

    Linking vb GUI to a C dll

    If u want to reference it, you need to make it a COM object and not a regular DLL.
  12. Tuan3249

    Enable/Disable Keyboard

    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...
  13. Tuan3249

    Problem with Date type format

    Try doing the copymemory to a temporary string first and then moving it into the UDT.
  14. Tuan3249

    Enable/Disable Keyboard

    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.
  15. Tuan3249

    Question about VB and generating reports without db software

    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...
  16. Tuan3249

    Compatibility issues with win2k & win98, office 97/office2k

    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...
  17. Tuan3249

    Error Message !?

    Re-install VB? It looks like you have a corrupted VB compiler.
  18. Tuan3249

    Making an .exe from .exe

    Yes its possible but it sounds like you're trying to write a compiler.
  19. Tuan3249

    Which component\reference for a given VB control ?

    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...

Part and Inventory Search

Back
Top