• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

Vusual Basic programing

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.

Thanks
0
cmdolcet
Asked:
cmdolcet
  • 3
  • 3
1 Solution
 
nepaluzCommented:
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.
0
 
cmdolcetAuthor Commented:
I can find any reference in the Visual Studios of the DAQmx in the COM or .net tabs?
0
 
nepaluzCommented:
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)
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
cmdolcetAuthor Commented:
I never added it I just took over the project. So i am unfamiliar on how to add 3rd party controls
0
 
cmdolcetAuthor Commented:
the other problem is that my old system jsut crashed so I dont have access to that harddrive
0
 
nepaluzCommented:
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:
http://joule.ni.com/nidu/cds/view/p/id/2602/lang/en
After you add the reference, then intellisense will prompt you to import it into the class.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now