How To Reference ActiveX Driver
Jan 9, 2009
I am working on a project that needs to using an activeX driver (libaray), a .ocx file. The driver have some properties and methods. I added the reference and have a new instance. When I try to put values to the properties, I got error messages from the driver.
Imports CBMCOMMLib
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[URL]
MaxTraces is one of the properties. Am I using the library correctly?
View 2 Replies
ADVERTISEMENT
Nov 6, 2009
Anyone have a reference link to some information on driver development?
View 6 Replies
May 5, 2010
I wont to add swf file to my Vb.net project. I'm using Visual Studio 2010. How can i insert swf file to vb.net project ?
View 7 Replies
May 14, 2010
I have a VB6 based ActiveX dll file.
When i create a new Visual Studio 2010 web site, and i try to add a reference to that dll the following error appears:
A reference to 'dllName' could not be added. Converting the type library to a .NET assembly failed. Execution of the following process failed: C:Archivos de programaMicrosoft SDKsWindowsv7.0AinTlbImp.exe "c:mystitedllName.dll" /transform:dispret
[Code]....
If you delete some of these two functions the error doesn't appears. This problem is not present in Visual Studio 2008 or 2005.
View 1 Replies
Jan 22, 2010
I am attempting to move Visual Studio 2008 project from an XP Pro development environment to a Win 7 64-bit Ultimate environment. In the process of doing so, I have one ActiveX COM control that the project uses. I've installed that control using the maker's installer. Now, when I open the project, the project cannot find the control, etc. - "The system cannot find the reference specified." I also tried moving a particular file to the system32 directory, as per a possible fix they posted, but that didn't help either.
[Code]...
View 9 Replies
Jul 22, 2009
I m working on one of vb6 projects. There are total 3 projects. One of them is ActiveX Exe is and has main method, second one is also AxtiveX Exe but doesnt have main method (only Classes) and third project is of ActiveX Dll.Well I m trying debug and issue and trying to put all 3 prjts in 1 Group prject but some how I cant add reference of 2nd prject into the first one. I get an error of " cannot be referenced because its project type is exe" but I can add a ref of its compiled exe but this doesnt help in debugging of whole prjt.
View 7 Replies
Jun 1, 2011
Trying to figure out if there is anyway built into windows 7/Vista/XP and/or Dpinst to verify that a driver is installed? I created a program that uses DPinst to install a driver and now I need to figure out how to tell the user that it is safe to close the program once the driver is install as the driver takes longer on some machines to install. Would anyone know how to get this to work?
View 7 Replies
Nov 27, 2011
i compiled 1 control in vb6. now i'm trying use it in vb2010, but i recive 2 warnings:
"Warning1A reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'AxInterop.Sprite'. Consider changing the 'Embed Interop Types' property on either assembly.WindowsApplication1" and "Warning2 reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'Interop.Sprite'. Consider changing the 'Embed Interop Types' property on either assembly.WindowsApplication1 "why these warnings? (i have sure that in vb6 don't give me any errors)
View 2 Replies
Apr 8, 2009
I am trying to load an actixex component in a VB project which was made in Visual C++.n VBA it works fine.In VB6, when I try to load the component on the toolbox I get an "Error 35005"In VB2008 the component can be added to the toolbox, but when I try to place it on the form, the following error occurs: "Failed to import ActiveX control. Please ensure it is properly registered."
View 1 Replies
Oct 20, 2010
How to Resolve following Error in .netNon-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.
View 1 Replies
May 28, 2011
I am looking for a free open source .Net based (prefer C#) pdf driver. where I can download one?
View 1 Replies
Feb 25, 2010
Im working with a CD722UN Customer Display for our POS application. it comes with a USB2.0 connection and a installation package containing a driver etc. now, for my application. how should i do when i want to access this driver? at the moment i'm using the "CD722UN application"s .dll path but that can wary from clients OS etc. [Code] my first thought was to first check if there was a device installed in the device manager and somehow use the driver from there? [Code] what is the best solution?
View 1 Replies
Jul 15, 2009
I'm pretty sure the answer is no but I am curious, is it possible to write a driver in .NET code? I am talking more software driver here rather than hardware driver (ie something like a file system filter as opposed to a driver for a printer or something).
View 3 Replies
Jun 23, 2012
Is there a tutorial on how to use VB.NET with mongodb?
It uses C#. However, I am used to VB.NET. Can the C# driver interact with VB.NET?
View 1 Replies
Mar 30, 2009
I'm starting to get into the microcontrollers and I was wondering if anyone had any experience using visual studio and/or visual basic writing drivers and application software for USB Devices and using different microcontrollers from Atmel and Microchip?
If you know of any good websites or anything out there that would get help get me started that would be great.
View 2 Replies
Jun 25, 2009
Is there any way we can kill a driver (.sys file)?
View 10 Replies
Jun 23, 2011
Is there a way to get a list of ODBC drivers that are installed on a Windows XP machine from .NET?
I basically would like to see (in .NET) what is in:
Control Panel->Administrative
Tools->Data Sources (ODBC)->"Drivers"
Tab.
View 1 Replies
Oct 26, 2010
I have build an application in VB.NET (3.5) wich connects to an oracle DB. I works perfectly on my pc. However. When I install the app on a pc without oracle it will not connect to the DB on the server. Do I have to install somekind of driver on the client pc?
View 4 Replies
Mar 11, 2012
I seem to recall that there is an API which will return the INF file associated with a device driver but I'm drawing a blank. I want to get the path to the INF File, File Name Section Name and File Date.
View 17 Replies
Mar 14, 2009
how to install a ODBC driver using vb.net windows application ?
View 3 Replies
Mar 3, 2010
I have a requirement to convert a word file to PDF and to display it to users.It needs to be in PDF to prevent users making changes to the document.Only a few of the PCs which use the software have Word 2007 installed, most have Word 2003 but all have a third-party printer driver CutePDF installed.I would like to automatically convert the file to PDF using CutePDF without the user having to open a print dialog. In fact I don't want the user to have to do anything at all except request to view the document which will set the automatic process in motion.
View 2 Replies
Jul 27, 2011
Iīm using Windows 7, 64 Bit and Visual Basic form VS 2010 to develop an application.
I want to remove a HID driver with the Devcon.exe tool. Using the console (cmd.exe) with the following command, there is no problem. The driver ist removed immediatly.
D:devcon remove =keyboard "HIDVID_1784*"
If I try the same from the application with:
Shell("C:WindowsSystem32cmd.exe /k D:devcon remove =keyboard ""HIDVID_1784*""", AppWinStyle.NormalFocus, True, 1000)
or:
process.StartInfo = New ProcessStartInfo("C:WindowsSystem32cmd.exe", " /k D:devcon remove =keyboard ""HIDVID_1784*""")
process.Start()
then devcon returns the message:
"The 1 device(s) are ready to be removed. To remove the devices, reboot the system."
and the device is not removed or disabled, and of course, I donīt want to reboot the system.
Does anyone have the same problem or even better can tell me, how to solve this problem, so that the driver ist immediatly removed?
View 7 Replies
Jan 28, 2011
So - we are FED UP with our medical records packaging (document imaging) system and want to create a simple filing interface for our scanners to use in VB. Part of this deal is getting VB to interact with a TWAIN Driver.
There is some code out there for ASP.NET and C# - does anyone know of a VB.Net based code I could look at?
I have spent part of my day trying to recreate the ASP into VB but the calls are just different enough to get interesting.
View 5 Replies
Feb 15, 2011
I'm working on a security type program that has a system tray that starts with windows and a driver to prevent it from being closed. Any ideas where to start?
View 3 Replies
Apr 26, 2012
I'm receiving this error from the ODBC SQL Driver as mentioned :- ERROR [07002] [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error.
Here's my VB
CODE:
And this is the stored procedure i'm calling :-
CODE:
View 4 Replies
Aug 4, 2009
After some digging around both here and the www in general I have plucked the following code to allow me to install a non listed printer driver to my XP machine. Problem is I am unable to get it to function properly.
The first section of the code creates the port every single time with out fail on any machine that I have tried but doesn't seem to function with the addition of the drivers.
I am trying to install HP driver that have been downloaded for HP site (extracted into C:emp1hp3035 ). I am also trying the same with a HP 4730 printer but neither work. I know i'm over looking something but what??
from most of the sites I need both the .ink and the .dll references but the HP .exe when extracted give a scatter of .cab files. I have tried to extract the EN one and use the dll from there still no joy (this it the .dll reference below.)[code]...
View 5 Replies
Feb 14, 2012
It's been a while since i've posted. Happy Valentine's day! Requirement: I would like to interface my .NET application to a "virtual webcam driver" for the purposes of SENDING image frames. I'm happy to use an open source .NET or COM component if that exists or indeed implement a "webcam driver" from scratch if someone can point me in the right direction. My first priority is the functionality.
My second priority is low dependancy on 3rd party libraries and tech (aside from .NET of course I'd prefer not to involve directshow if possible?
View 1 Replies
Sep 9, 2011
I have been working with TWAIN driver for few days. I have learnt how to connect to the scanner or get the working scanners connected to the machine. I am having a problem now, eventhough i get connected to the scanner, I am not able to set the capabilities from my application. The scanner scans using the capabilities that are set on it but not from my application. I have looked at the sample code given with twain pro but even that doesnt set the capabilities of the scanner. For example if the scanner is set to 300 dpi and I set 200dpi from my application, the scanner scans with 300 dpi. It gives me an error saying that the value given is out of range.
View 1 Replies
Dec 29, 2011
I recently upgraded to developing on a 64bit windows 7 system from 32 bit xp. I am using VS2010, same install from the old system.My apps have always targeted a x86 systems If I change this to target x64 on my new system the app can no longer connect to my database (Progress).
View 8 Replies
Apr 12, 2011
I am trying to complete a driver license exam in vb that includes a module and two forms.It says that I have to have 2 arrays to compare(correct answers and user input) in order to see if the user passed or failed. User must have >15 correct to pass.I am so confused on the arrays part and need help to get this application to work. Can someone please help me with the correct counter accumulator and comparison of the arrays? I am also supposed to declare the correct answers in the module and I have tried everything, but I keep getting errors. [code]
View 12 Replies