User Profile
Collapse
-
Run ASP script from VB
I am trying to create a program which will run on client's computers. The client-side app will download a password-protected file from my website, but I would like to record the product key that is associated with each user that downloads the file to record the number of times that each key downloads the file. I am thinking that maybe the best way to do this would be to execute an ASP script on my website to record the product key into a MS-SQL... -
time stuff is located in:
datetime.today
then do .year or w/e time argument you are looking for -
Using asp or .net to connect to SQL via VB
I am using VB express edition 2005 and trying to connect to a 1and1 MS SQL database but need to use asp or .net to do so. I tried the following code, but it will not work. Any suggestions?
Code:Dim SQLConn As New System.Data.SqlClient.SqlConnection() Try SQLConn.ConnectionString = "server=" & serverName & "initial catalog=" & databasename & ";uid=" &
-
-
Multi-threading and balloon tips
I am using two threads. When i start the second thread i am sleeping the first for 10 minutes. during this time, the secondary thread is going through some code which includes a balloon tip on a tray icon which was created during the first thread, but this tip isn't showing even though i know the second thread gets to the point that it should be showing the tip. any suggestions? -
My code looks as follows:
Code:sub main() 'some initialization and a few function calls dim loopvar as boolean = true while loopvar = true 'some more function calls and a few application.run() end while '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 'here is the on_click method for the "update" button on the tray icon
Leave a comment:
-
VB memory issue
I am writing a program that runs off of a main() subroutine. There are a few operations and then an eternal while loop. If the user clicks on the tray icon and selects to update, how can I break out of the place I am at in the code and restart my main() subroutine without losing my variables? I am concerned about doing a call main() because then won't my stack keep growing since I am not exiting the place I was previously at in the main loop and...
No activity results to display
Show More
Leave a comment: