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...
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
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
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
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
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
RegDeleteKey, RegCloseKey, RegOpenKeyEx are the functions you should look at.
---------------------------------
LendPoint Software
http://www.lendpoint.co.nr
That's application dependent so there is no way to do that without 3rd party software.
---------------------------------
LendPoint Software
http://www.lendpoint.co.nr
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
and .. just noticed.. Don't forget to save the document after setting the protection: doc.save
---------------------------------
LendPoint Software
http://www.lendpoint.co.nr
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
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...
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
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
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...
Hey!
This is how it should be done:
First go to Add-ins/Add-in manager
Select VB6 Resource Editor and check "Loaded/Unloaded" & "Load on startup"
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...
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.