Vusual Basic programing

Posted on 2012-04-02
Last Modified: 2012-04-03
I had a complete harddrive crash and now I need to move my dev PC to a new Windows 7 PC. I installed the Virtual Machine and loaded Visual studios 2005. I installed all 3rd party controls except the National Intrument controls. I am having a really hard time trying to install this component. In my VB code I have several references to the old (National Instruments NI-DAQ 8.01) drivers. I am now working with a new National Instruments hardware and I loaded NI-DAQ 9.3.5 drivers

Imports NationalInstruments
Imports NationalInstruments.DAQmx "Namespace cannot be found"

Private selectedIODevice As DAQmx.Device "This is not defined"

How can I re import this element? All my other 3rd party controls installed smooth.

Question by:cmdolcet
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 17

Expert Comment

ID: 37797454
Go to the solution properties and make sure that the reference to 3rd party control dlls are valid. Since you are using the newer version, remove the old reference and add (browse to) the new dll / control to the project.

Author Comment

ID: 37797750
I can find any reference in the Visual Studios of the DAQmx in the COM or .net tabs?
LVL 17

Expert Comment

ID: 37797776
initialy, how did you add the 3rd party control? I assume this was through referencing a dll. Find that dll / control and add it as a reference (it probably is on your old system)
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 37797797
I never added it I just took over the project. So i am unfamiliar on how to add 3rd party controls

Author Comment

ID: 37797804
the other problem is that my old system jsut crashed so I dont have access to that harddrive
LVL 17

Accepted Solution

nepaluz earned 500 total points
ID: 37797885
you'll need the reference added in the project properties. If you already have installed the drivers on your new PC,, then all you need to do is browse to the directory where you extracted them from the properties-->references-->add dialog of your project then select the dll.
Here's a link to the download page if you have not already done so:
After you add the reference, then intellisense will prompt you to import it into the class.

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question