VS 2008 - Handling Online Activation For Application
Feb 20, 2010
This is how I handle online activation for my application the problem is that this is very poor security because i display my Username and Password. I was thinking of using Myslq but i also have to input the Username and the password into the application. What other ways do big companies like Kaspersky handle online activation.
My code
Try
My.Computer.Network.DownloadFile("FTP SITE" + textbox1.Text + ".txt", "C:" + textbox1.Text + ".txt", "USER", "PASS")
Dim auth As String = My.Computer.FileSystem.ReadAllText("C:" + textbox1.Text + ".txt")
If auth = Textbox2.Text Then
Kill("C:" + textbox1.Text + ".txt")
[Code] .....
View 9 Replies
ADVERTISEMENT
Nov 15, 2010
I want to develop a chat application with a server/client model, opening TCP or UDP sockets in VISUAL BASIC 2008. Is there a working example I can download, or some code to help me with this project? [code]Now, instead of 127.0.0.1 I should put some variable or something that keeps the IP address of the target machine?
View 1 Replies
Apr 13, 2009
i was searching this earlier but couldnt find it:i want to set hotkey for my timer to activate only when my left mouse button is down, else timer is inactive
View 23 Replies
Jan 29, 2011
I am developing and application in vb.net winxp+ (windows xp upwards). The application has to receive backup data from clients software located at different pc over the Internet. but am concerned about security of this application on the Internet. what would be the best way to implement security in vb.net 2008 to make sure that the data is not sniffed or interfere with?
am thinking of encrypting the data before sending, saving it that way until it need to be viewed before decrypting. what type of encryption would you suggest? Is there any other way you would suggest this data be sent?
View 2 Replies
Oct 16, 2009
how to display the list of all my application users who are currently online on a gridview and every user of my application sees who's online. How do I go about this if and if I am not using the built-in ASP.NET membership controls?
View 4 Replies
Apr 15, 2012
How can I make vb.net application online. Is it possible? so it's can be access from anywhere..
View 3 Replies
Feb 25, 2010
How to do this? creating an online for the user of application
View 14 Replies
Mar 8, 2009
Would it be possible to get an application to run scripts from an online scource? and if there is no internet connection to run scripts already written in the program? By scripts i mean standard VB code?
View 7 Replies
Oct 16, 2009
i want to know how to make online exam application using VB.NET & SQL SERVER,Suppose there is a question followed by 4 options, & USER have to select one of them,also there is a time restriction for example ,30 min for 25 question and time should be visible to user.then after time over he will be not able to do anything and redirected to result page.At last it will calculate the total no of marks scored and show in graph and report wise.
View 1 Replies
Sep 26, 2011
I am a beginner in vb.net. I have made a project in this. Now I want to make it online.Also how to use asp.net with vb.net?
View 7 Replies
May 19, 2011
I made a desktop application and I Have a server on the internet and I need to make a connection between them
Can some one advise me about this problem?
View 3 Replies
Jun 8, 2012
I am developing an application on VB.NET 2010, I am planning to make an online activation system, the idea behind is that Whenever someone installs my application, the application presents user an activation form, user will be entering product key, name and email address, and then system will establish a connection to a database which contains all the keys on WEB. So how should I make an efficient program to get rid of that.
View 2 Replies
Oct 10, 2009
I found there is something related "OnceClick"[code]...
but how to use it?? Got better solution like tray icon prompt the new version available. then prompt user permission for update~
if user accept to update, it will download from server and install and restart application.
View 1 Replies
Feb 25, 2010
How to do this?Should i use something like sandcastle?
View 39 Replies
Feb 2, 2010
i've got a free mysql database online hosted by 000webhost, i'm just wondering if i could connect to the mysql database, and if so what would the connectionstring be like? when i connect using php its something like this: new mysqli("mysql13.000webhost.com", "user", "password", "database1"), how do i translate this into a vb connection string, i can't decide what to put as the data source [code]if there's no way to connect, is there anyway for me to create an application that can store and access database online?
View 7 Replies
May 2, 2009
I remember seeing a tutorial a while ago about making your application check online for updates..I did this a year or two ago but have since lost my example. Can someone explain how you do this or supply me with a link if you know a good tutorial?
View 20 Replies
Mar 4, 2012
I am developing a chat application using online connection to a mysql databbase. But i am facing a problem. After 10 minutes, MySQL closes all the chat connections because of the 600 seconds timeout (has been set by the host service i am using). I don't understand why is that happening cause every piece of my code which needs data from the database opens and closes the connection (i mean that it dosn't maintain the connection after the query's execution). If i .close() and .dispose() the connection, it still appears in mysql at sleep mode (it terminates only if i exit the program).
Dim MySQLCon as New MySQLConnection
Dim MySQLCom as New MySQLCom
Dim counter as Short
[code]....
View 2 Replies
Jun 15, 2009
What is the recommended way in VS.NET to have a global application handler object? Something that can load/verify/return user folders, settings, application specfic settings, manage the unhandled exceptions, etc. I would have a class that has most of the code, then subclass it for each application.
I can create one if I start as a module instead of a form. But then I lose some options such as NetworkAvailabilityChanged, etc. I define a "Public" object from within a form (I don't think so and don't feel this would be the right approach.)?can I "attach" an object to an existing global object store (such as "My."), etc.?
Once created, any object in my application should be able to reference methods/properties of this application object to get default folders, user values, etc. as necessary.
View 6 Replies
May 27, 2010
Was just curious to know if there is a typical method for handling application settings. I have two types of settings; Applications settings (like user preferences) and 'system' settings (server IP, options related to the industrial machine it's running on that need to be set at startup, ports that certain devices are attached to, etc). I was thinking that what I'm referring to as system settings would be in a configuration.ini type of file that can easily be edited. Then save the other settings either in the registry or a separate user.cfg file that would not be edited on it's own but changed through option settings in the program itself. Am I over complicating this? Is it normal to use the registry to store program settings or would it be better in a file?
View 2 Replies
Jan 31, 2010
I'm want to write a professional application for resale. I need to know how do I setup a WinForms application with effective error handling?
View 2 Replies
Jul 28, 2009
I have working on 1 program that is for Mu Online game. Its Mu Launcher program,but i'm having trouble with it. I can't make right "Server Status" to show Online or Offline I can't make autoupdater people to have using this for theyr server.
I make one file launcher.txt to get info the program but i need a lil help to finish thise program. The program is not for 1 server only its freewere . So here is the problem with the Server Status and AutoUpdater to get info from what server..
View 4 Replies
Sep 9, 2009
I have a Windows Form application that has a global error handler to display unexpected errors.
Namespace My
Class MyApplication
Delegate Sub ProcessParametersDelegate(ByVal sender As Object, ByVal args() As String)
[code]....
1) for the same deployed code, I SOMETIMES get line number in the displayed StackTrace error message and sometimes do not, even when the error message includes source code that I have written rather than a referenced binary. The project is compiled with a DEBUG configuration.
2) The application strangely minimizes to the tray when the error occurs (I thin it is unlikely that anyone can diagnose this issue w/o my more code posted, but I'll mention it anyways)
3) When I try to intentionally raise an error by, for example, dividing by zero hoping to test by global error handler, I get a dialog error message from the interactive debugger rather than jumping into my global error handler (which i want to debug because there is more to it than I posted.) Do you have any idea how to triggerand force teh execution of the global event handler?
View 2 Replies
Feb 7, 2010
I successfully coded MyApplication_Startup and MyApplication_StartupNextInstance to give my single-instance application access to the command line. It works fine. if the application is not running and the user double clicks on a filetype associated with my application, my application starts up and reads in the file that was double clicked on. That's fine.
However, when the user double clicks on another file (same associated type) when the application is already running, I then (and only then) get a warning (from McAfee in my case) that my application is requesting access to the internet. I simply click OK to allow access, McAfee goes away, focus shifts to the original instance, and that instance successfully reads in the second file.
If the user then double clicks on a third file when the application is already running, focus shifts to the running application, it loads the third file, and the internet access warning DOES NOT appear. Same with all subsequent cases.
Any ideas about why the sudden internet access warning is occuring? In all the startup and load events, I do not do any internet related things. Much later, the program will send an email, but that code is far removed from Startup and Load things.My only idea is that perhaps because I have "awakened" the normally hidden ApplcationEvents.vb file (by putting some code in there), maybe I have triggered some sort of handling of the MyApplication_NetworkAvaialabilityChanged event, even though I make no reference to this event anywhere.
Before I added the command line handling stuff, I noticed that the internet access warning would occur only once for each new build. Susequent execution of the same build would not trigger an internet access warning. So now it is as if the handling of the StartupNextInstance event is simulating starting up a new build for the first time. Weird.
One more thing. I am not deploying this over a network. I am making a simple .exe by selecting Build from the MVS 2008 menu, then running the .exe by double clicking on it from Windows Explorer. I am using Visual Basic 2008 Express on Windows XP.
View 1 Replies
Apr 26, 2010
come years ago I bought an activex component to read some basic smartcard data. I created a simple form application and it has worked fine ever since. However, instate of a form application I now want to create a console application for the same purpose (the forms are unrequired and it just takes too long with multiple smartcards).
But I have been working on this for days now and somehow can't seem to get my events working. When I use 1 event, everything works fine, but as soon as I add my second event I get this error:
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040202): E
xception from HRESULT: 0x80040202
at System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(Object pUn
kSink, Int32& pdwCookie)
[Code]...
View 8 Replies
Nov 5, 2009
VS 2008 Online Registration in visual basic 2008
View 10 Replies
Dec 12, 2010
Just looking at various ways to do so.I came accross an article which unfortunatly I can't find anymore. It explained it like this. (I'll try remember all of it)1) Put activation key in textbox12) Press button3) Checks with the FTP server if the title of a file (In the this case the license key) in the FTP server.4) If the file doesnt exist then a message box comes up incorrect license.4b) I the file does exist then my.settings.activate = 15) Next time its loaded up, the program checks if my.settings.activate = 15b) If not then an activation key must be put in and proccess starts again.
View 6 Replies
Oct 11, 2009
I want it so something.txt is on my website, and has various lines like something=1 or 0. When the .exe file starts, it checks that. I specify what value to check (something1, something4, etc.) and if it = 0, the form closes. Basically, so i can disable the .exe from being used using this online file.
View 12 Replies
Apr 16, 2012
i have installed my program on several computers and it works but for some reason on this one computer it doesn't work.i attached the error log. i can't figure out why it won't run. it installs ok.
View 6 Replies
Sep 27, 2011
Let's say we have a controltab with two tab. The first tab contains textboxs where entry values are entered On the second tab are textboxs that display the results. I have noticed that if I fill up the entry values and create the binding between each textbox and their property and then I destroy it (without clearing the textboxs), the textboxs of the second tab will not display any result. I have this exemple here BindingAddition.rar
[Code]...
View 7 Replies
Jan 11, 2011
An application I'm working with registersun-registers a group of dll's using regsvr32.
System.Diagnostics.Process.Start("regsvr32", "somedll.dll /s")
This worked fine on Pre Vista systems but this will not work on Vista7 due to UAC.
Is there an alternative method to register dll's programatically without needing elevation?
If it help's the dll only needs to be registered for the current user, could adding details to the registry directly solve this?
(The application runs several versions of a legacy application, these dll's are swapped out depending on the version being loaded)
View 1 Replies