C# - Set Up With Serial Key?
Feb 2, 2011see i have a Vb.net c# 2010 project......now i have make a setup for this.....and while installing it should ask for serial key ....?how to make....?
View 2 Repliessee i have a Vb.net c# 2010 project......now i have make a setup for this.....and while installing it should ask for serial key ....?how to make....?
View 2 RepliesI made my program and now I just need to add in the serial and trial part of the application. I know the application must connect to the host and go to a txtfile. How would i do the trial and serial. Also If the serial is already activated I want the application to reject that Serial and Count how many times they entered in a wrong serial.
View 2 RepliesI have a stand alone VB.Net 2005 application that uses a serial port that generally stays open while the application runs on a Windows XP system. In trying to bullet-proof the UI, I ran into a problem when the USB to Serial Converter normally used to provide the serial port is disconnected while the serial port is open. In trying to handle the resulting error when accessing the port, I find I cannot close the port.
When trying to do so, the error message says something like "unable to close the port. You may not have sufficient permissions." Reconnecting the USB/Serial Converter does not reactivate the port.
[Code]...
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.
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 ?
View 2 RepliesI'm trying to pass a data packet from the serial data received event.The code can capture the data without any issues.I'm spinning my wheels on getting the data packet out of the thread for further processing.[code]
View 4 Repliesi am a absolute beginner and i want to use vb to receive data from micro controller through serial port using rs232 standards, i found this code to receive the data serially, can any one tell me where should i paste this code, so that the data received will be displayed in message box.Private Sub DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) HandlesSerialPort1.DataReceived
[Code]...
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?
[URL]
Note: the error: not CLS-Compliant
How to get CD Serial No ?
View 5 RepliesI want my app to need a serial number on the first run before the first form shows.
View 8 RepliesI am using serial port class from VB.net to communicate my hardware. Some times I may lost or get incorrect data. I am just wondering how to implement hardware flow control in Vb.net
View 1 RepliesImports System.Threading
Imports System.IO
Imports System.Text
Imports System.IO.Ports
[code]....
in my code,im inputting a byte coming from Arduino board microncontroller..im sending character 'N' to com5, and the code above is fetching that data from arduino board..my problem is the output string on the textbox is <78> which is the ASCII equivalent of 'N' how will i convert that to what is really being sent by the board which is 'N'..
I have built a application and I want to deploy it using a serial key so I want to make it so that it checks the the database keys before activating and if possible to check for correct data every time it loads (the last part I can do it myself if I can get the main part done) so when the app loads it will activate it by checking if correct serial is introduced and comparing it to the database values the database should be on a server (web server) and powered by MySQL?
View 9 RepliesI am trying to buld a DLL in VB.NET 2010 that will be use to control a vending machine.Whin a call into the DLL to a function to open and setup the comport the first time its opens it just fine, but if a call into the DLL again it does not know that the port is open even if it is still open. I can check with another program and is shows the port is open and if I try to call into the DLL again to open the port I get an error that the port is already open. Any idea how to set this up so it will work
View 7 Repliesi'm creating a windows form to send/receive data to/from serial port.At first : i send the data as string to the serial port .Second: i tried to read the string again for test the successfull transmission , but i recieved empty string
[Code]...
I have a program written in Visual Studio to me 3 values ( 0-255, 0-255, 0-255) to send the serial interfaces, and While assigned to the 3 values of 3 sliders together.[code...]
View 1 RepliesI can find documentation (preferably with code samples) that will guide me through all the steps to activate and read from a serial port?
View 6 RepliesFor my application a need to set a breakstate on/off of 25ms.In Xp this runs fine when I set breakstate=true and wait for 25ms and then breakstate= false and wait 25ms.In CE6.0 when I set breakstate = true, it only throws a puls.It is even not possible to keep breakstate on.
how to solve this or is there an alternative to simulate a breakstate?
i need to write a program to get the monitor's serial number i can get the model number for the life of me i cant seem to get the serial?
Private Function monitorName() As String
On Error GoTo Error_Handler
Dim objWMIService As Object
[Code]....
how do i get the cd manufacture serial number of each cd with vb code?
View 2 Repliescan we communicate to Serial port COM1 through Microsoft Robotic Studio?We are developing wireless robot which will take data from serial por
View 14 RepliesI have a device that communicates with the pc via a serial to usb cable. So I have made windows form with a serial communication to speak with it. The communication is every 125ms so every time it checks if the com port is open and sends the new message. The problem is that if the usb is not connected the program tries every 125 ms to connect to the serial port and the busy cursor appears always and the form is not responding to any action (for example enter into the menu or refresh a listbox). I have tried multiple times to connect and disconnect the usb while the program is running. That's mean that the serial connection stopped and started all over again several time. The problem is that occasionally it shows an error "unable to open com port".
View 10 RepliesWhat is the best way of communicating with Serial ports and TCP/IP communcation using vb.net?Using visual studio .net can we make it easier?? Can anyone send me sample application of communications?If I write a program communicating with my hardware using Searial port or TCP/IP, will the program be slow?? Are there any programming techniques working with communication ports?
View 1 RepliesFor many years, I have sent data between 2 computers using serial ports."Here is the data", "Thank you for that data!" type stuff.Where do I get more information for doing the same thing with 2 computers that are networked together? Assume a local ethernet connection.I have experimented with serial-ethernet modems and that works well but I don't want any more hardware.Is there a good thread here I should read?I want 2 VB programs running and I want to exchange data periodically.
View 2 RepliesI know things have changed in VB2005.net and i have Express and i want to controll the serial port. I have a program from VB6 that i understand and i tried to convert it but i get alot of errors and i have know idead what they mean. As you can tell i haven't been programming very long.
If someone can point me in the right direction for programming the serial port in VB2005 .net i would appreciate it or tell me what differences there may be.
I have a Windows forms control in VB.NET. I want to detect if the computer the user runs my program on has a serial and/or LAN port connected to the computer. native windows API for detecting Serial and LAN connection? S
View 2 RepliesI am developing a UI for an embedded device that I have designed and built. The device uses an FT232 chip which, when connected via USB is automatically assigned one of the COM ports. I was wondering if there is a way to set up a loop which would automatically detect which COM port the device has been assigned. I could then add some handshaking to verify that the port is correct.
View 4 RepliesI have a little code for get the serial port available in the system.
For Each pn As String In IO.Ports.SerialPort.GetPortNames
Debug.WriteLine("NAME : " + pn.ToString)
Next
[Code]....
So, The PORT1 and PORT5 its ok (because this are real serial port, with a real RS232 interface), but PORT4, I don't know.
How I can do for get only true serial ports ?
I'm using this code to generate machine signature. But it's take noticeable time to execute.
Public Shared Function DriveSN(ByVal DriveLetter As String) As String
Dim disk As ManagementObject = New ManagementObject(String.Format("Win32_Logicaldisk='{0}'", DriveLetter))
[Code].....
I'm retrieving Windows XP license key with this function but it does not work for Vista and Seven. How can I get the license key at both of these Windows versions?
Public Function sGetXPKey() As String
Dim result As String = String.Empty
Dim RegKey As RegistryKey = _
[code].....