I am having my app available for 30days free trial, but after that you have to purchase a serial, how can i make my app only recognize a specific type e.g NumberLetterLetterNumberLetterLetterNumberNumber-NumberLetter-Letter:NumberNumberNumberNumber?
OR what would be the easiest way to have serials recognised?
i just want to make a program with first form to enter the serial if correct just continue to form2 if incorrect just a popup say like "Serial Incorrect" how i can make it ?
im wanting to make my program have to enter a serial and you dont have to enter anymore (Only once) if you want the full version, i have some code here, but i cant seem to get it to work properly, this is the last piece i have to do and its finished.
Code: Private Sub KryptonButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles KryptonButton1.Click If KryptonTextBox1.Text = "" Then
With this code i check the serial serialnumber of a usb stick.
[code]...
It is not perfect because the programma crash when there is no usb in de PC.But how do i search fot the sctick if it has a name , for example PPH ? And not G: , because it is everytime a different station.
what is wrong with my code and I get no feedback from my button click event, i have imported. ( code Below) and i have tied differrent combinations of the code without sucess.maybe add extra to my code for the list to show open Port or closed ports.
I was wondering if it was possible to make a program edit itself and save kind of like memory however unlike memory it can add content as well as save it.
The link below has code to connect to a modem thru the serial port but it is for an earlier version of VB. when I convert the code, it does not fully convert and has 4 errors that prevent building the project. can someone tell me what needs to be changed or added?
I used this code to make my program to startup with windows it should add a registry entry:
Dim key As Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", True) key.SetValue("MyApp", Application.ExecutablePath)
The problem is that it underline KEY and say declaration expected but shouldn't dim do the job for the declaration.
I'm wanting to make a program that translates binary code into numbers/letters and numbers/letters into binary code. I know the general system of binary code, but I dont know how to translate anything with VB.net. Is there a general command I need to use or can someone link me to a good tutorial about translating?
to a readable format. I understand that this can be easily accomplished by writing in the ascii code into the code will do it but I am trying to create a more interactive method of doing it so I can copy and paste a long length of code into a textbox and have it update a label with the conversion.
I am trying to make a simple program to display a shipping charge based upon a selected zip code. Where can I find sample code that I can use as a guide? I can create the GUI but can't figure our the code.
I've been trying to create a working keygen for three months and I havn't figured it out. I first inserted two buttons and named one "Generate" and the other "Exit" and then I put in a textbox. After that I put in the code and debugged it every time I pressed the Generate button a 0 just popped up in the textbox. my code is below.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Out of curiosity, is there a way i can make a program stop or pause for a period of time (which i would choose) before continuing the code WITHOUT a timer.I think I've seen this done before, but I'm not positive.Also note that I'm talking about a forms application (not a console app if that would be any different.)
I would like to make an application that will propt the user to enter a serial key in after 10 or 30 days if that is possible also i would allso like to make a keygen tha will work with this program.
Public Class my_class Dim WithEvents COMPort As New System.IO.Ports.SerialPort
Public Sub FindReader() Dim ports As String() = IO.Ports.SerialPort.GetPortNames() Dim port As String For Each port In ports
[Code3]...
When it runs, it shows a single COM port "COM1". I am assured that the device attached to it is a standard 8,n,1 and uses 9,600 baud. The exception is "Acess to the port 'COM1' is denied".
im currently working on a program which prints serial text to an aplication like note pad. the problem im having is that i cant figure out how to change which serial comport is being used in code. i want the user to chose the comport with a check box.keep in mind that COM1 in my code is what i called my check box. here is my curent code:
Public Class Form1 Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk Shell(OpenFileDialog1.FileName, 1)
I am programming in visual basic 2008 I would like to set up serial numebers for software im developing. I would like to prevent software theft by ensuring that each purchased copy has a unique serial number that can only be used once. How would i create this so
a.) The serial numeber can only be used once
b.) The software cannot run without a correct serial number
c.) The serial number verification box pops up on ONLY the first use of the program and goes away after correct serial number is entered
d.) a serial number generation and verification program
I am working on serial key. but i have set everything but i dont know the code for combo box like i have list of stuff example John admin jonny goodmnan
So when people select this name then the phone number should appear on the textbox
like this John adam 1234567890 should appear on the txtbox
I dont know any code to show thats why i dont have any idea what to add the phone numbers
I'm fairly new to Visual Basic (VB), but I've already got running code to access all my serial port. The problem is I want to load multiple serial ports into an array and loop through them in my functions. The program allows me to create ports(), but fails when I try to populate it.
Dim ports As IO.Ports.SerialPorts() ports(0) = SerialPort1
Where SerialPort1 is an object I draged from the Visual Studio toolbox.
I've got a 9pin serial port plug and I'm wanting to use a button to play music, seems easy enough except from a hardware point of view, say my standard button has a output wire how do I connect that to my serial port? this video says PIN 1 and 4, but why?
Trying to make a serial connection from a windows app in vb.net to a com port through pc.also, can i make a separate listener windows app in vb.net that has its own virtual com port (for testing).the function of this connection is to simply pass variable states through the serial port on the pc to a microcontroller, which will interperate the code and perform actions based on the variable states.is there an easy way to implement serial port data communication in vb.net?
I use visual basics 2008 to code, and i made my prject its like a program bot, that uses a regular windows form and textboxes etc.NOw i can make it password protected, and give a user the login info, but in order to make a different login info, i have to change it by going in the project and change the code where its a different login and re-save the new work.
Well i want to make it easy. I want to know the codes like where i can make a serial key generator, and it will generate the keys automatically.And whoever uses the login, info im trying to make it where they only can use it for one pc.
I need code to read a serial port state in which I have 2 buttons attached to some configuration on pins 1-9. The program will then, when one of the buttons are pushed, right arrow or left arrow as a keyboard command.
I have a scanner Motorola MC 90090 which is a wireless scanner, till now we used to print a barcode label to a zebra wireless printer which is on a default location.
But now I want to print a barcode label when printer connected serially(through USB).