craigedmonds
01-30-2006, 09:07 PM
I am trying to pull a license key from the registry and place it into a variable called getLicenseCode, which I believe is correct.
Then I want to create a url with the license code at the end of the url (like i normally would in asp)
01. getLicenseCode = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\BlueBanana", "LicenseNumber", false);
02. Web.LoadURL("Web1", "http://www.mydomain/check-license.asp?code=", getLicenseCode);
I cant seem to be able to build the url properly though.
The Web.LoadURL function works but my browser goes to http://www.mydomain/check-license.asp?code= (no license code at the end)
Is the syntax on line 2 correct or am I missing something?
Any ideas?
Then I want to create a url with the license code at the end of the url (like i normally would in asp)
01. getLicenseCode = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\BlueBanana", "LicenseNumber", false);
02. Web.LoadURL("Web1", "http://www.mydomain/check-license.asp?code=", getLicenseCode);
I cant seem to be able to build the url properly though.
The Web.LoadURL function works but my browser goes to http://www.mydomain/check-license.asp?code= (no license code at the end)
Is the syntax on line 2 correct or am I missing something?
Any ideas?