VS 2010 Acessing Parallel Port?

Jun 18, 2012

I've been trying to this application in Visual Studio 2010 to only write to the parallel port, so supposedly it would be a very easy task, and by all the tutorials in the internet i've seen before it really is! Although it throws me always the same error which is too generic and don't give enough information for me to solve it. I'm doing this using the "Inpout32.dll" library to make the communication between VB.NET and the port..

[Code]...

View 2 Replies


ADVERTISEMENT

Parallel Port Control In 2010 Express

Oct 12, 2010

Can someone tell me if the functionallity to control a parallel port in MS VB 2010 Expess exists? I was expecting to have to add a reference such as the microsoft comm control 6.0. However this reference does not appear in the list. Everything I search for references .net 2005/2008.

View 4 Replies

VS 2010 Writing To Parallel Port / Windows 7 64-bit

Mar 11, 2011

Does anyone have experience writing data to the parallel port (printer port) in Windows 7 64-bit. I have been trying inpout32.dll, inpoutx64.dll and following all the info on http://www.highrez.co.uk/ and www.logix4u.net but can't get anything to work. I have an on-board parallel port at &H378 - not an add-on card - and have tried various modes in the BIOS (standard, ECP etc). I have a background in electronics so I am confident my testing methods are sound; I just cannot get a data bit to change state under program control. I need to send data to an 8-bit port on some 20th Century electronics so serial/USB interfaces are not really an option. There must be a way to control those 8 data bits in Windows 7, mustn't there?

View 14 Replies

Detect The Address And Port Number Of The Parallel Port In Computer?

Jun 9, 2010

I would like to detect the Address and Port number of the Parallel Port in computer.

View 4 Replies

Print To Parallel Port In Net?

Dec 31, 2008

I use the following code to print to the receipt printer on the parallel port in vb 6.0, but it seems that it doesn't work on vb.net.[code]...

View 2 Replies

Call The Parallel Port With Vb Codes?

Jul 14, 2011

How to call the parallel port with vb codes.I'm going to make a helicopter to control with my pc.

View 3 Replies

Check Or Map If Parallel Port Is Mapped?

May 31, 2010

i want to work with it in vb. 1st i want to check if port is already mapped or not, if not then map it and once done remove the mapping. The one way is using shell and pass command in it, but not sure how to get already map status and also wondering if there is any other method to get it done.n :)

View 1 Replies

Connect To Parallel Port Printer?

Apr 24, 2012

I have a program that connect to 2 printers at the same time. Ribbon Printer and Label printer.

I have set the ribbon printer to be the default printer of the server so that normal document printing can be printed using it. This is very simple and i already finsih the code for it.

However i have a Parallel printer at Port LPT1 which i wish to use it to print label. I have search online but find no solution on how to open connection to LPT1 and print the document in coding.What i can find i only send a window command to the port LPT

View 1 Replies

Interface Spi Using Parallel Or Serial Port?

Dec 29, 2010

i need to interface an spi analog switches using either a parallel or serial port. Is this possible?

View 1 Replies

Parallel Port And Relay Control?

Oct 26, 2009

im new around here and also to VB.NET infact any aspect of programming, im hoping to be able to some useful stuff but at the momment im a little stuck i only have basic knoweldge so anyway here goes im programming in VB.NET 2008 Express edition, im also using inpout32.dll which is running ok and also controlling the parallel port fine.the problem i have is as follows the program so far is controlling the 8 outputs at the momment, i can turn each individual one on but when i try to turn multiple outputs on it will only turn on one and the other that was turned on goes off i understand its controlled in a 255 bit array but how to decode it is a little tough

View 5 Replies

Programming USB To Parallel Port Converter?

Jul 4, 2010

I am new to VB and am needing to write to the parallel port. I am using a laptop so have got a USB to parallel port converter and need to know how to write to it using VB (I am using Visual Basic Express 2010)

View 7 Replies

Timer To Control Parallel Port?

Mar 11, 2010

i want to control pc parallel port using vb.net/vb6 , i need timer coding .

View 1 Replies

VS 2008 - DLL For Parallel Port In Windows7

Sep 18, 2010

I need to program Parallel port. For accessing port I used inpout32.dll but it is not working with windows 7.

View 1 Replies

VS 2008 Parallel Port Equivalent?

Oct 14, 2010

In my project I was using Parallel port to drive a relay circuit with the help of inpout32.dll. But as we all know nowadays parallel ports are getting extinct and USB is getting replaced in its place. Is there any other means I could adapt for driving external circuits from PC, instead of using Parallel Port

View 1 Replies

Activate The Control Lines Of The Parallel Port?

Nov 1, 2009

I have written a programm with visual basic 2008 express edition and I'd like to use the parallel port to communicate with my self-made circuit. I want to controll 120 LEDs with the parallel port but I don't get it how. I know how to activate the databus but not how to activate the control lines of the parallel port.

View 3 Replies

Communications :: Stepper Motor With Parallel Port

May 25, 2009

I have created a program using inpout32.dll to run my stepper motor . I can run stepper motor now but the problem is that it is running very slow! is there any better way i can run my motor fast as i want.

i used following method.

option explicit on
Dim myTime as object
public sub Form1

[Code]....

if i set the value of mytime less then 2000 my motor does'nt work at all. i tried also with the timer tool and i wrote the code in the tick event of timer but it is also very slow.

View 2 Replies

Use The Parallel Port To Communicate With Self-made Circuit?

Nov 24, 2009

I have written a programm with visual basic 2008 express edition and I'd like to use the parallel port to communicate with my self-made circuit. I want to controll 120 LEDs with the parallel port but I don't get it how. I know how to activate the databus but not how to activate the controle lines of the parallel port.

View 5 Replies

Writing A String To LPT1, The Parallel Port?

Dec 18, 2011

I have a fairly old radio receiver. (Icom R70) A friend and I have built an interface to control it from my computer. The interface is parallel. For me the interface is a black box. (My friend is the electronics specialist) In the description (25 years or more old) the statement to set a frequency and receive mode (like Am, FM etc) on the receiver is:print ".0:087330"

Today I am working in VB.Net and on Windows7 pro. I have already spent several days figuring out how to do this, but can't get it to work.I have found inpout.dll, but that does only allows me to write one byte at the time, and if I break up the above string and send nine individual characters, it does not work.

View 13 Replies

Communications :: Parallel Port Input State Change?

Apr 3, 2011

What i want it to do is 'listen' to the lpt port, when a sensor is broken then display the time. there are two sensor to measure the time of the first and then the second sensor.How do i get VB to listen to the sensors which are on two different inputs of the lpt port and time stamp in micro seconds. I can get it to read the state of the input on mouse click but i need it to display the time in micro seconds when the input changes. i will then use the times from the two sensors to work out the time it took between both sensor changing.

View 5 Replies

USB To Parallel Printer(CEN36) - Doesn't Appear As LPT Port Device

Jan 26, 2012

I'd try programming in vb.net with a usb to parallel printer but it doesn't appear as LPT Port Device. It show as a USB Printer Support in USB Controller. Just to receive and send a bit in different pin to be in servo controller/driver.

View 4 Replies

VS 2010how To Transfer Or Receive Data Via Parallel Port

Dec 19, 2011

I want to control the D0-D7 pins of the parallel port(LPT) with VB2010. I do not need to transfer or receive data via this port, all I want is to set high or low (5V or 0V).Is it even possible?

View 4 Replies

Converting Visual Basic Parallel Port App Using Inpout32.dll In To Delphi?

Nov 23, 2011

I've been given this simple VB application and library which I'm told can open a door/turnstyle attached to the printer port at 0x378 base address.'Inp and Out declarations for port I/O using inpout32.dll.

Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" _
(ByVal PortAddress As Integer) _
As Integer

[code]....

how to declare the library functions and what to declare the variables as (&H378 is obviously not an integer)

View 2 Replies

Send Data / Signal To H-Bridge Then To DC Motor Using Parallel Port In Program?

Jan 21, 2012

How will I send data or signal to H-Bridge then to DC Motor using parallel port in vb.net?

View 2 Replies

VB Parallel Port Control (inpout32) SEHException Was Unhandled: Xternal Component Has Thrown An Exception Error

May 14, 2011

here is my code

Public
Class
Form1

[code].....

View 1 Replies

"easy" Way To Interface With The Parallel Port?

Sep 16, 2011

I have a problem interfacing with the Parallel Port. I have tried using the "inpout32.dll" to communicate with the port, but it didn't work for me. I have used another program (coded in C++), and I have successfully read the S-port-data - and that's what I mainly need the application for.

Do you guys have an "easy" way to interface with the Parallel Port using VB .Net?I don't want to use C++.

View 4 Replies

VS 2008 Parallel Port Programming In Vb 2008?

Jan 5, 2011

I am trying to access the parallel port and want to on off an LED connected to the parallel port. i have read from different tutorials and write the code. but it is not working.

vb.net

Option Strict Off
Option Explicit On
Module InpOut32_Declarations

[Code].....

View 21 Replies

Parallel.For Termination - Service That Scans Network Folders Using A Parallel.for Method

Jan 16, 2012

I have a service that scans network folders using a parallel.for method. However recently I am finding if I stop the service then while windows says the service is stopped the process is still running in task manager. However it is at 0 cpu and the memory does not change. If I try and end the task (even a force in command prompt) it just says access denied and i have to reboot the server. What would be the best way to make sure everything terminates? I thought of adding a global Boolean that in the stop procedure it turns true and part of my parallel code will check for that and call s.stop.

View 1 Replies

Acessing HTML Buttons Having The Same Names And Values ?

Jun 16, 2012

I am trying to access Some HTML buttons. I am using vb.net 2008 platform to click these buttons programatically.Problem is that the all 17 buttons are without id and have the same name type and value and are in a same form . how to click each button indivisually . Here is the HTML code of the these buttons.

View 2 Replies

Acessing HTML Buttons Having The Same Names And Values?

Mar 20, 2010

I am trying to access Some HTML buttons. I am using vb.net 2008 platform to click these buttons programatically . Problem is that the all 17 buttons are without id and have the same name type and value and are in a same form

View 14 Replies

VS 2010 Convert To Parallel For Loop?

Oct 3, 2011

converting this to parallel for loop, this will be my first time on parallel for loop. i have this nested for loop, it looks like this:

For i As Integer = 0 To FlowLayOutPanel.Controls.Count - 1
Dim TempUserControl As New UserControl
TempUserControl = FlowLayOutPanel.Controls.Item(i)

[code]....

View 3 Replies







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