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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Tuan3249

  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.

Part and Inventory Search

Back
Top