VS 2008 Add Serial Protection To Program?

Aug 19, 2009

Are there any programs that I can use to add "Serial Protection" to my program?

View 2 Replies


ADVERTISEMENT

VS 2008 Put A Password Protection On A Program?

Apr 10, 2010

how can i put a password protection on my program

View 15 Replies

Open Two Or More Serial Ports In One VB 2008 Program?

Apr 20, 2009

able to open and utilize a single serial port within with my VB 2008 program (i.e., set port parameters, open&close port, send&receive data via port, etc.), but I want to open two or more serial ports concurrently within my VB 2008 program so that I can read data from one port, say COM1, make decisions and calculations based on that data, and send instructions out through another port, say COM2.

View 1 Replies

VS 2008 - Program In Vb To Serial In Data From My Microcontroller

May 18, 2010

I have written a program in vb to serial in data from my microcontroller and it is working good except for one thing. When I try to send the number 26 to vb it just reads a blank I dont know what is going on? The data that I am reading is being converted to int16, and I am using Encoding 28591 and have also tried Encoding 1252. I have also tried a new microcontroller with no success. I dont know if this is a VB problem or a microcontroller program problem.

Dim ReceiveBuffer As String
Dim portname1 As String = "Com5" ' Serial in through this port
Dim portspeed1 As Integer = 19200
Dim WithEvents COMPort As New System.IO.Ports.SerialPort

[CODE]...

View 13 Replies

VS 2008 Serial Port Program Hogging CPU?

Feb 18, 2011

i have the following code which runs ok, but it hogs upto 95% of the CPU.program outline: a timer tick event = 1000ms scans through 30 readlines of data on the comport for a specific line of hex, and then extracts information from the next line and converts it to decimal for viewing on the screen.i've only included the main part of the code to try and keep it simple.

Public Class Form1
Private WithEvents serial As New IO.Ports.SerialPort
Public grab As String
Public cardIndex As Integer

[code]....

View 9 Replies

[2008] Show A Processing Message For Opening Serial Port After Program Running?

Feb 12, 2009

In Form1 there are a lot of boxes like checkbox, label....I want to show a processing message for opening serial port after program running. So I created Form2 specifically showing "Opening Port...". So in Form1_Load() I used Form2.Show(). However this message showed behind of Form1. I think this was executed before all the other tool boxes loading. So where should I put Form2.Show()?

View 2 Replies

VS 2008 Application To Reject Serial And Count How Many Times Entered In A Wrong Serial

May 16, 2009

I 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 Replies

VS 2008 - Secure Password Protection For Info?

May 11, 2009

I am making an program that stores most of my text files in it. So I need a secure password protection to protect my information's. I was told that MD5 will get the job done, so I used an MD5 protection to see if it'll be good. I gave the test program to a guy I know and he manage to get my password within a minute. (I am still a bit new to VB so which encryption to use...)

View 21 Replies

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"?

Aug 13, 2010

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 Replies

Create A Serial Key/number For Program?

May 18, 2011

i am making a program in visual basic 2008 and when the program first starts up on acomputer/device i want it to come up with a screen that asks for a serial key. i also only want the serial key (that i give to the person i am giving the program to) to be accepted once.eg. if he copies the program and gives it to another person who takes it home, they have to enter a new one (that i would have to give them). if they enter the same key as person 1, i want to deny access.

View 4 Replies

Make A Serial Code For My Program?

Jul 24, 2010

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?

View 8 Replies

Make Program Have To Enter A Serial?

May 17, 2012

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

[Code]....

View 6 Replies

Read From Serial Port In Program?

Sep 6, 2010

I am using Scanpal2 to read data and as per its documentation as follows

View 8 Replies

Program Button To Access Serial Port

Nov 20, 2011

I have very limited knowledge of any programming and am desperately trying to learn. I am attempting to use Visual Basic to create a simple program to operate our church's projector from the computer. I am able to control the projector using hyperterminal and accessing the serial port. I am wondering how I would code a button to send the correct signal to the correct port? I have a simple setup w/ my church logo in background with three buttons. There is an On, Off and Freeze button. I am simply needing to know how to program the buttons to access the serial ports. I hope I am being clear.

View 2 Replies

Program Hangs When Closing Serial Port?

Feb 15, 2009

I have a VB.Net 2008 app that I have converted from VB6 which reads data from a weight scale connected to a serial port. I am able to read the received data and display it on the screen, but when I go to Stop the reading and attempt to close the serial port, the app hangs.

Private Delegate Sub ShowWeight(ByVal tWeight As String)
Private Sub comScale_DataReceived(ByVal sender As Object, ByVal e
As System.IO.Ports.SerialDataReceivedEventArgs) Handles

[Code]....

View 10 Replies

Program To Accept Messages Via Serial Port?

Mar 16, 2009

i want to know how can grip messages come by serial port and create data base to this message ,,,i mean to drop this message to . record to store it and i can use in my program

View 3 Replies

Read Serial Number Of A USB Drive Using Program?

Jul 21, 2009

Is it possible to read the serial number of a USB drive using VB.

View 3 Replies

Serial Program Hangs After Short Time

Sep 9, 2011

I'm writing a simple program to retrieve data via the Serial Port. I have a piece of hardware that returns its 14 byte status every time vbCr is written to it. The program works fine except after a few hundred requests the program begins to hang, off and on. Some times for a second some times for longer. I need to update every 25 milliseconds so the hanging sets in quickly. This faster the interval the quicker the problem sets in but no mater how long the interval the problem eventually starts.[code]...

View 8 Replies

Send Data On Serial Port And Detecte It In Same Program?

Feb 24, 2011

I am supposed to make a software for data logging via serial port but the hardware is expected to be delayed and iam required to continue with the programming of the software. What i need is that by some mechanism i want to send data on serial port (COM port) and after delay of some mili seconds i want to detect that data. I actually want to do this because i want to create environment like my software i intercepting COM port and on receiving data it captures the data values on port and record them to database. I have done most the work, the only thing left which i want is as above how i will send data on COM port (this was to actually to be done by hardware) and detect it in my program (same program from which data was sent). Please guide from where should i start.

View 3 Replies

Serial Read - Program To Display Position In A Textbox?

Dec 31, 2010

I'm working on a project that incorporates an Arduino Duemilanove board and a program that a wrote in VB 2008. Basically, when the Arduino receives a symbol from COM3, it sets a Pin on the board, high or low. I'm using two Pins, one is going to be for a laser, the other a relay. The relay is going to close a circuit, and act as the button on the Nerf Vulcan. That's right, I'm creating a Nerf sentry gun.It's going to be fully controlled from my computer. I have all of the code done for the servo, and all of that, both on the Arduino and in VB.

The Arduino sends the angle of the Servo that will control the right and left movement of the gun through COM3, every time it changes. I want my program to display that position in a textbox, as my program needs that value in order to properly function. Basically, I need the code to read from the serial port, and display what it receives in a textbox, textbox3.

View 2 Replies

Communications :: Freeware Program For Serial Communication That Is Better Than Windows Hyperterminal?

Aug 27, 2008

Like the title says, is there a freeware program out there for serial communication that is better than Windows Hyperterminal?

View 1 Replies

Get Serial Number Hard Drive And Mother Bord In Program?

Aug 25, 2011

How do to get serial number hard drive and mother bord in vb.net?

View 17 Replies

Catching And Removing Escape Characters In A Serial Comm Port Program?

May 18, 2010

I have recently developed a serial port communication program to access my hardware firewall and its connected to the device via a converter usb to rs232head plugged to a rs232 to an ethernet cable. this ethernet cable then plugs into the device console port.

my program functions similar to that of TeraTerm. an opensource hyperterminal program written in C++ but i decided to do one for vb.net

Alright to cut the story short, i have successfully coded out the program to accept incomming data from the device but however, i'm also receiving ansi escape sequence along with it and i have no idea how i could implement codes to remove these. i have spend 3 weeks trying to look for vt100 emulation codes written in vb.net but i found none so far. most are written in c++. here's an image to illustrate the problem which im facing.

The image below is a screenshot taken when the i ran both the programs together. The bottom is tera term 3.1 and the top is my vb project which i made using msdn's example and improved on the codes. basically tera term was able to interpret those escape sequence and display accordingly to that of the vt100 terminal display. I have spent time reading on regular expressions using the inbuilt function regex in visual basic and tried parsing some strings but its not working. i guess its far more complex than i thought.

View 6 Replies

Made A Small Program Displaying A String Value Coming From A Serial Device?

May 7, 2009

I have made a small program displaying a string value coming from a serial device. When I run this on my laptop, then everything is just fine (VISTA OS), but when I run the same program on another computer (XP OS), then it shows some strange chars (Squares in distance number).

View 8 Replies

Error In Serial Port Data Capture Program In Visual Studios 2010?

Apr 11, 2012

I'm trying to make a rs232 serial data logging program, that accepts a 12 bit hex RFID tagID from an RFID module. My end objective is to save this RFID tagID into a database and assigned to a person for a personnel management system.I had to use button3 to add the value of the variable 'msg' into textbox1 because I was getting the following error "Cross-thread operation not valid: Control 'TextBox1' accessed from a thread other than the thread it was created on". It is a temporary workaround.When I do press button3, I get the incomplete hex number, instead of "4C00A2C82A0C", I get "A2C82A0C", and sometimes I get random digits like 1,A,C etc etc.

Public Sub OpenPort()
Try
If SerialPort1.IsOpen Then
SerialPort1.Close()

[code]....

View 4 Replies

Smart Card Reader/writer Hooked Up To My Serial Port - Recognized In My Program

Aug 6, 2009

I have a smart card reader/writer hooked up to my serial port. i've already coded the program to give access to the serial port. How would I go about getting my Card Reader/writer recognized in my program. I basically want to click the "read button" and whatever is on the current smart card im trying to read, pop up on the screen.

View 1 Replies

Unable To Close Serial Port After USB / Serial Converter Disconnected

Mar 28, 2006

I 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]...

View 8 Replies

VS 2008 Mobile Applications - Device Board Serial Number In Vb 2008

Oct 15, 2011

My some problem for vs 2008 in mobile applications How to learn mobile device board serial number in vb 2008?

View 2 Replies

Code For Checking The Serial Serial Number Of A Usb Stick?

Nov 21, 2011

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.

View 5 Replies

VS 2008 - Getting Signal From PIC16F877A To VB 2008 Through Rs232 Serial Port

Mar 5, 2010

What i need to write is i get different signal from PIC16F877A and through serial port, i need to display diffrent text from different signal, Such as: Signal from portB.1 display 1, signal from portb.2 display 2. Between the microcontroller and serial port im using MAX232.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved