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

    Running at startup

    Hey! I have a nice registry module written for StartUp thing. Put the next code in the module and use the functions: StartUpRead - returns 0 if item in the registry, 1 if not StartUpAdd - adds to the startup StartUpDelete - removes from startup 'Registry API '// Funkcije // Declare Function...
  2. lendpoint

    VB6 export to Excel, then error in the Excel file

    Hey! You must exit the excel application after creating the excel file. Try objExcel.Quit. You could also close the workbook & worksheet using Close method: objWorkSheet.close Hope this helps! -Gregor --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  3. lendpoint

    populate column of datagrid as combo box

    Hey! Did you try the DBCombo control? You can use it in conjunction with adodc control. You could also use ordinary combo box and populate it using ADO. If you need any further help let me know! -Gregor --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  4. lendpoint

    How do I require a serial number for my app?

    If Text1.Text = "T" & "I" & "W" & "3" & "2" & "8" & "9" then MsgBox "Product Registered... " 'etc Else MsgBox "You've entered the wrong registration code" End If This seems to do the trick. --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  5. lendpoint

    On the fly spreadsheet

    For displaying Databases I always use ListView control with view set to Report. I don't have MS Money so I don't know exactly what you mean. --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  6. lendpoint

    access network folders

    You must know the computer name and the share name. Example code: Dir1.path = "\\<computer name>\<share name>\" --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  7. lendpoint

    Editing the registry

    RegDeleteKey, RegCloseKey, RegOpenKeyEx are the functions you should look at. --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  8. lendpoint

    Store programwindows in specific positions

    That's application dependent so there is no way to do that without 3rd party software. --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  9. lendpoint

    Disabling screen saver from VB6 on XP machine

    Screensaver settings are saved in HKEY_CURRENT_USER/Control Panel/Desktop To disable screensaver it is enough (not sure though) to delete the SCRNSAVE.EXE's value. Do not remove "scrnsave.exe" just its value. --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  10. lendpoint

    Locking Word

    and .. just noticed.. Don't forget to save the document after setting the protection: doc.save --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  11. lendpoint

    Locking Word

    First two lines should look like this: Just add the Word.document object and you will get the "Protect" method. Sorry for the mistake :) --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  12. lendpoint

    Locking Word

    What about setting Object to Word.document? In that case you have Protect method and you can easily protect the document. Here's the code (Go to References and check Microsoft Word x Object library (where X is the version)): Dim doc As New Word.Document Dim wApp As New Word.Application Set...
  13. lendpoint

    Wait for form to be unloaded

    hmm..Jouster what about something like this: 'wait for the form to be unloaded Do DoEvents Loop Until Form1.visible = true 'form was unloaded 'for example, load form2 now form2.show --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  14. lendpoint

    EXE Compress programs

    I think only older versions of Antivirus software might reject your application. Many applications have compressed exe files so it's tested and it should work just fine. --------------------------------- LendPoint Software http://www.lendpoint.co.nr
  15. lendpoint

    Windows update...set download location..?

    rtm = release to manufacture To check which version you have go to "System properties" and if it says you have Service Pack 1 installed then the Windows xp professional sp1 is the right one, if not choose the windows xp professional rtm. I think windows xp rtm/sp1 relates to the home edition of...
  16. lendpoint

    Logon script to install program from GP

    Hey! If you set installation to Assigned it will auto install next time user logs in. Gregor
  17. lendpoint

    win2003 installation problem

    Hello! Try to create a bootable CD and launch the installation before the system boots. Gregor
  18. lendpoint

    How to block specific ports

    Hey! I'm not sure if it's possible but in your case I would use a 3rd party firewall solution. Gregor
  19. lendpoint

    Server service not started

    Hey! try this command: &quot;net start Server&quot; Gregor
  20. lendpoint

    Packaging images for my VB program

    Hey! This is how it should be done: First go to Add-ins/Add-in manager Select VB6 Resource Editor and check &quot;Loaded/Unloaded&quot; & &quot;Load on startup&quot; New icon should appear in a toolbar. Click it. Add icon(s) to resource file and save it. To load icons from a resource file into...

Part and Inventory Search

Back
Top