ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Newbie Question - Is it possible to run a dll from excell (https://www.excelbanter.com/excel-programming/373065-newbie-question-possible-run-dll-excell.html)

JRB

Newbie Question - Is it possible to run a dll from excell
 
My apologies if this is a stupd question but ... Is it possible to run a
windows xp .dll using vba

TIA



moon[_6_]

Newbie Question - Is it possible to run a dll from excell
 
Yes, probably.
Which one?





"JRB @eclipse.co.uk" <sa3214<nospam schreef in bericht
...
My apologies if this is a stupd question but ... Is it possible to run a
windows xp .dll using vba

TIA




JRB

Newbie Question - Is it possible to run a dll from excell
 
Thank you .
I would like to invoke C:\Windows\System32\shimgvw.dll
Can you help me please


"moon" <6369706865725f6475646540706c616e65742e6e6c wrote in message
. ..
Yes, probably.
Which one?





"JRB @eclipse.co.uk" <sa3214<nospam schreef in bericht
...
My apologies if this is a stupd question but ... Is it possible to run a
windows xp .dll using vba

TIA






moon[_6_]

Newbie Question - Is it possible to run a dll from excell
 

I'm still figuring out how the API call is, but Shell seems to work fine for
now

Public Sub Test123()
Dim nResult As Integer
nResult = Shell("rundll32.exe
C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscre en C:\testimage.jpg")
End Sub


By the way, it was definitely not a stupid question.


"JRB @eclipse.co.uk" <sa3214<nospam schreef in bericht
...
Thank you .
I would like to invoke C:\Windows\System32\shimgvw.dll
Can you help me please


"moon" <6369706865725f6475646540706c616e65742e6e6c wrote in message
. ..
Yes, probably.
Which one?





"JRB @eclipse.co.uk" <sa3214<nospam schreef in bericht
...
My apologies if this is a stupd question but ... Is it possible to run a
windows xp .dll using vba

TIA








JRB

Newbie Question - Is it possible to run a dll from excell
 
Thank you very much for your help
I have used your Shell code and it does all that I want to achieve at this
time
I do not pretend to understand the syntax but you have got me out of a hard
place
Thanks again

"moon" <6369706865725f6475646540706c616e65742e6e6c wrote in message
. ..

I'm still figuring out how the API call is, but Shell seems to work fine
for now

Public Sub Test123()
Dim nResult As Integer
nResult = Shell("rundll32.exe
C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscre en C:\testimage.jpg")
End Sub


By the way, it was definitely not a stupid question.


"JRB @eclipse.co.uk" <sa3214<nospam schreef in bericht
...
Thank you .
I would like to invoke C:\Windows\System32\shimgvw.dll
Can you help me please


"moon" <6369706865725f6475646540706c616e65742e6e6c wrote in message
. ..
Yes, probably.
Which one?





"JRB @eclipse.co.uk" <sa3214<nospam schreef in bericht
...
My apologies if this is a stupd question but ... Is it possible to run
a windows xp .dll using vba

TIA











All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com