Differences between VB6 and VB.Net causing problem
- From: Howard G <howgre@xxxxxxxxx>
- Date: Fri, 17 Oct 2008 11:41:52 -0700 (PDT)
Hi, I'm trying to do a control project in VB6. Because I need
additional inputs and outputs, I've bought a Digi-Bee control board,
which comes with a USB interface,
The board also has a software package, which I don't want to use, and
a dll which I do. They also provide code as to how to use the board in
VB.Net. But I want to use VB6.
The manual tells me to install the following lines of code, but they
produce all sorts of errors.
Can someone please suggest what I should be converting them to? I'm
sure they're pretty similar. but while VB.Net would translate them
from VB6, of course, this can't happen the other way around.
Declare Function InitDgb Lib "dgb.dll" () As Boolean
Declare Function SetOutputs Lib "dgb.dll" (ByVal outputs As Integer)
As Boolean
Declare Function ReadInputs Lib "dgb.dll" (ByRef inputs As Integer) As
Boolean
Thanks in anticipation
Howard
.
- Follow-Ups:
- Re: Differences between VB6 and VB.Net causing problem
- From: Cor Ligthert[MVP]
- Re: Differences between VB6 and VB.Net causing problem
- From: Tom Shelton
- Re: Differences between VB6 and VB.Net causing problem
- From: Galen Somerville
- Re: Differences between VB6 and VB.Net causing problem
- Prev by Date: Re: Engineering Format Number in VB6
- Next by Date: Re: Differences between VB6 and VB.Net causing problem
- Previous by thread: Write data to DVD
- Next by thread: Re: Differences between VB6 and VB.Net causing problem
- Index(es):
Relevant Pages
|
Loading