Click here to Skip to main content
15,891,908 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Dave Kreskowiak20-Oct-11 1:48
mveDave Kreskowiak20-Oct-11 1:48 
AnswerRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 4:03
sitebuilderLuc Pattyn20-Oct-11 4:03 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Member 807887020-Oct-11 5:31
Member 807887020-Oct-11 5:31 
AnswerRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 7:07
sitebuilderLuc Pattyn20-Oct-11 7:07 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Member 807887020-Oct-11 12:26
Member 807887020-Oct-11 12:26 
AnswerRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 12:51
sitebuilderLuc Pattyn20-Oct-11 12:51 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Member 807887020-Oct-11 13:07
Member 807887020-Oct-11 13:07 
GeneralRe: NVIDIA GPU temperature - VB.NET Pin
Luc Pattyn20-Oct-11 13:35
sitebuilderLuc Pattyn20-Oct-11 13:35 
As I said before, language isn't a barrier.

If that app uses a LIB file, there must be a DLL file as well. My Vista/32 system has an nvapi.dll file in its Windows\system32 folder. My Win7/64 system doesn't, as it doesn't have NVidia hardware.

If you have a DLL that holds the functionality implemented in native code, and the system authorizes you to do whatever it is the function does, then you can call it, from the language of your choice. For managed languages such as C# and VB.NET, that would mean one or more P/Invoke calls, DllImport attributes, and the lot. It is quite doable, your link should provide the necessary inspiration.

One issue that is likely to surface is 32-bit vs 64-bit. I suggest you try and build your managed code app as a 32-bit app (i.e. targetting "x86", not "x64" or "AnyCPU"). First check if and where nvapi.dll is present, it should be in either windows\system32 (which holds 32-bit code on Win32, and 64-bit code on Win64!!!) or windows\sysWOW64 (which holds 32-bit code only). Note: you cannot combine 32-bit and 64-bit code in a single process.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

QuestionIIS 7 Recycle Schedule Settings via WMI Pin
Mr.EoniX18-Oct-11 23:41
Mr.EoniX18-Oct-11 23:41 
QuestionHow VB2008 set excel sheet header block (not sorting with its column)? Pin
Curious 200916-Oct-11 7:38
Curious 200916-Oct-11 7:38 
QuestionInternet transfer control Pin
Magesa15-Oct-11 4:33
Magesa15-Oct-11 4:33 
AnswerRe: Internet transfer control Pin
Dave Kreskowiak15-Oct-11 8:09
mveDave Kreskowiak15-Oct-11 8:09 
JokeRe: Internet transfer control Pin
Bernhard Hiller16-Oct-11 21:15
Bernhard Hiller16-Oct-11 21:15 
GeneralRe: Internet transfer control Pin
JR21216-Oct-11 22:34
JR21216-Oct-11 22:34 
GeneralRe: Internet transfer control Pin
Magesa17-Oct-11 3:41
Magesa17-Oct-11 3:41 
GeneralRe: Internet transfer control Pin
JR21217-Oct-11 18:33
JR21217-Oct-11 18:33 
GeneralRe: Internet transfer control Pin
Dave Kreskowiak17-Oct-11 1:49
mveDave Kreskowiak17-Oct-11 1:49 
GeneralRe: Internet transfer control Pin
Magesa17-Oct-11 3:17
Magesa17-Oct-11 3:17 
GeneralRe: Internet transfer control Pin
Dave Kreskowiak17-Oct-11 4:17
mveDave Kreskowiak17-Oct-11 4:17 
GeneralRe: Internet transfer control Pin
Dave Kreskowiak17-Oct-11 4:18
mveDave Kreskowiak17-Oct-11 4:18 
GeneralRe: Internet transfer control Pin
JR21217-Oct-11 18:36
JR21217-Oct-11 18:36 
GeneralRe: Internet transfer control Pin
Tom Deketelaere20-Oct-11 1:37
professionalTom Deketelaere20-Oct-11 1:37 
AnswerRe: Internet transfer control Pin
ChandraRam17-Oct-11 3:37
ChandraRam17-Oct-11 3:37 
QuestionInternet transfer control Pin
Magesa14-Oct-11 5:56
Magesa14-Oct-11 5:56 
AnswerRe: Internet transfer control Pin
Wayne Gaylard14-Oct-11 6:00
professionalWayne Gaylard14-Oct-11 6:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.