User Profile

Collapse

Profile Sidebar

Collapse
kjnhu
kjnhu
Last Activity: Jul 28 '07, 06:56 PM
Joined: Jul 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kjnhu
    started a topic Run ASP script from VB

    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...
    See more | Go to post

  • kjnhu
    replied to hostname of machine
    time stuff is located in:
    datetime.today
    then do .year or w/e time argument you are looking for
    See more | Go to post

    Leave a comment:


  • kjnhu
    started a topic Using asp or .net to connect to SQL via VB

    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=" &
    ...
    See more | Go to post

  • kjnhu
    replied to Multi-threading and balloon tips
    vb 2005 express edition
    See more | Go to post

    Leave a comment:


  • kjnhu
    started a topic Multi-threading and balloon tips

    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?
    See more | Go to post

  • kjnhu
    replied to VB memory issue
    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
    ...
    See more | Go to post

    Leave a comment:


  • kjnhu
    started a topic VB memory issue

    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...
    See more | Go to post
No activity results to display
Show More
Working...