COM Port Access - Emulate The Functionality Of HyperTerminal?

Feb 24, 2009

I have a serious dilemma! I have a com port COM3 and i USB device attached to it ! now when i use Hyper terminal and i can read and write to it using AT commands. for example when i type in "ATI" in hyper terminal it will return me a bunch of data how can i so the same using a VB program ? is there a way to emulate the functionality of Hyperterminal? I tried using System.IO.Ports and a SerialPort class but no success.

View 6 Replies


ADVERTISEMENT

Communications :: Serial Port - Run Program, "Access To The Port 'COM1' Is Denied"?

Oct 15, 2008

Im having problem with the Serial Port. When i run my program, "Access to the port 'COM1' is denied". What does that mean? Im not sure whats happening because theres no error in my code. Someone suggest me to use 'COM2'. Which is also the same result. I have a microcontroller, programmed and run it. And i need to capture the data onto my vb, which is on a multiline textbox. How to i do that?Just to double check my code?

[code]...

View 1 Replies

.net - Using MS Access Database As A File Format For Desktop Application Needing Open / Save Type Functionality?

Oct 29, 2010

This is probably a pretty novice design question. I'm trying to work my way through a number of requirements and give the users the experience they're looking for.I've written a tool that does big calcluation-type things. It currently consists of a class library and command line tool (separate .NET projects.) We're using an Access database format as the file type because it can keep all the various tables together in one file. A few other items about the application: There are not many users. There are no concerns with scalability. There are not great concerns with updates. Desktop is desired. Not web.Using VB and .NET 3.5 SP1

I now need to develop a GUI front end that will allow typical File/Open and File/Save type operations.Users expect that they can open a file, edit it some, then either choose to save it or close it unsaved without any changes being written back to the file. Saving it would obviously save all changes affecting all tables back to the file.

Does it then make sense to use a temp file for something like a proxy then? To, when a user "opens" a file, copy the source Access file to a local temp file and then use that for the editing session? Then, if the user "saves", copy the local temp file back to the source path?

Update: [tagged with ms-access tag too] Also, I omitted the fact that users would expect typical File / Save As functionality too. I think the design I've put in question in this post is what is traditionally called the Proxy design pattern. Has anyone tried this (successfully!) with Access database files before? Words of caution or advice?

View 2 Replies

How To Link Hyperterminal Datas With GUI

Jun 4, 2010

I want to collect 256 bytes of datas from hyperterminal. After this I want to decode that 256 bytes of data into other form, and show the same on GUI I am using Microsoft Visual studio 2008.

View 1 Replies

Retrieve Data From Hyperterminal?

Mar 11, 2010

How can i retrieve data information displayed on the hyperterminal or is there any way to redirect the information being displayed on hyperterminal to a file?

View 2 Replies

Use Hyperterminal To Act As A Simplistic IM System?

Oct 10, 2008

How can I use hyperterminal to act as a simplistic IM system? I have two PCs on the same network and I want to be able to send instant messages back and forth using telnet.

View 1 Replies

Caller Display, Connect To Modem Just Like HyperTerminal?

Dec 12, 2010

i would like to build a very simple program that connects to my modem and outputs in grid format, caller display, date time etc etc.Ive done loads of searching and i've found a few examples online but most are for VB6 and ive spent ages trying to upgrade them but with no joy!I have found two enxaples that work with VB2010 but i have struggled to make them work and also they seem way too advanced for me to learn from.

View 5 Replies

Automatically Capture The Text Displayed On HyperTerminal Using A Dos Command?

Jun 25, 2009

Is there any way to automatically capture the text displayed on HyperTerminal using a dos command or using visual basic without having to go to the program and click on Transfer|Capture?

View 3 Replies

How To Access GPS Port

May 5, 2010

I want to find the coordinates of a speeding vehicle by accessing the position of the vehicle through GPS(from a server system). how to access GPS port and retreive the data.

View 4 Replies

How To Access USB Port Via .NET

Jan 29, 2007

I am currently doing a program to control some device via usb port but i don't know how to interface the usb port using vb.net. anybody can help me with this problem as which namespace I should use?

View 10 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

[2005] Bringing Up A Hyperterminal Session And Using Sendkeys.send And ENTER

Jan 28, 2009

I'm having a problem when I'm bringing up a hyperterminal session and using sendkeys.send I'm using process.start and it will show the first dialog to make the call....all is fine. You click OK and another dialog pops up with a DIAL NOW button.

[Code]...

View 2 Replies

Access A Port In Program?

Apr 8, 2011

How do i access a port in Visual Basic?

View 3 Replies

Access And Send Data On USB PORT?

Nov 21, 2011

I am currently doing a program to control some device via usb port but i don't know how to interface the usb port using vb.net. i want to send data on a device to make it act like parallel port..

View 10 Replies

Access Com Port And Sending Data

Nov 9, 2011

have gps constantly sending data but can read it from the com port

View 5 Replies

Access Serial Port In 2008?

May 25, 2008

[Code]...

m really not sure in here because this code is for vb .net 2003.. are they the same?

View 2 Replies

VS 2005 Access Ftp Server - Which Port?

Sep 22, 2011

I have used a third party component to download a file from my FTP server. One user has advised that their antivirus software (ESET) is blocking it. How can I determine which port it's using so that they can exempt it?

View 2 Replies

VS 2008 How To Access Com Port Of Remote Pc

Aug 15, 2009

i want to access com port of my remote pc. this pc is connected through LAN.how can i access com port of remote pc?

View 1 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

VS 2010 Cross Thread Access Of Serial Port

Mar 29, 2012

In my project I'm trying to send data to Serial port. I have added the serial port control to the form. Now if I try to send data to serial port using Serialport1.write method in a button click event, I'm able to send the data successfully to the serial port. Otherwise if I try to send the data using the same "Write" method from another thread other than the one in which the serial port component was created, I'm getting an exception saying serial port busy.

View 1 Replies

Emulate ASP Webservice

Jul 21, 2009

I have a webservice created using classic ASP which i am trying to get working in .Net.

Currently i am using the following ASP to post an XML file to [URL] . This then sends back an XML response.

Code:

I am trying to emulate this in VB.Net so that i can receive an XML response from the xml_url.

However i get an error warnign me that the following cannot be created:

Code:

View 2 Replies

VS 2010 - Reading Data From Serial Port And Outputting To Screen And Access Db?

May 1, 2011

I have conquered the problem of the database however what i need is the serial port data sent to a database and outputted on screen however i keep getting cross thread errors ..

Imports System.Data.OleDb
Imports System
Imports System.ComponentModel
Imports System.Threading

[code]....

View 3 Replies

Emulate A Datagridview ColumnDividerDoubleClick?

May 30, 2011

As we know when a column divider is double clicked the column width resizes itself to fit its contents. How can we emulate this behavior with code?

View 1 Replies

Emulate A Simple C Struct In VB?

Mar 4, 2012

Trying to setup a VB array (jagged array?) that has an entry for each rcd that contains the # of bytes in the data, as well the data. If it's possible how do you setup and loop through something like this is VB?

EX (1024 max bytes of data but it could vary):
struct inpRcd {
int rcdSize;
byte data[MAX_RCD_BYTES];
} inpRcds[MAX_RCDS]

View 17 Replies

Emulate Mouseclick When Directinput?

Jul 27, 2009

How to emulate a mouse click with directinput?

like ive been searching for this for hours and can't find anything decent for VB 2008

View 1 Replies

Emulate The Text Box Array?

Sep 28, 2011

Visual Basic 6 had the Text Box Array that worked great.It no longer exists(in the same form) in either Visual Basic 20085 or 2010.I know that there are work-arounds that emulate the Text Box array but these are certainly not as easy to use as the version 6 Text Box Array.

In Visual Basic 2010 there is a tool box item that can be added, called Text Box Array. However, this does not place a Text Box on the form and I can't find any explanation of how to use it.what adding this to a form accomplishes and how to use it?

View 12 Replies

Emulate VS For Examining Webpages?

Aug 17, 2011

I can load web pages into VS 2008 and then examine each component. Is there a way to load a web page in a browser control but not make it "active" - in otherwords, If there is a field for "Search Term" anmd a button for "Search", I want the prog to diosplay the properties of those elements rather than taking action.

View 7 Replies

Emulate Windows Explorer?

May 27, 2009

code examples that emulate Windows Explorer?

View 7 Replies

Any Way To Emulate Mouse Wheel Scrolling Up / Down?

Jan 15, 2009

Is it possible to emulate a mouse wheel scroll up/down with VB?

View 3 Replies

Asp.net - Emulate Excel Web Query - Getting An Error500 ?

Jun 18, 2009

I need to emulate an Excel Web Query in .net Below is the sample code.I get an Error500 when I attempt to do this in .net, however in Excel it works fine.When I change the URI to a normal website it works fine, and returns the html from the page, which i what i am after. I wonder if the problem lies from the fact that I am trying to return a datatable

Dim oHttpWebRequest As System.Net.HttpWebRequest
Dim oStream As System.IO.Stream
Dim sChunk As String[code]....

Edit: I am getting the error when I getReponse from the server

View 1 Replies







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