Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JRB JRB is offline
external usenet poster
 
Posts: 12
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
JRB JRB is offline
external usenet poster
 
Posts: 12
Default 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





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default 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







  #5   Report Post  
Posted to microsoft.public.excel.programming
JRB JRB is offline
external usenet poster
 
Posts: 12
Default 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









Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question - excell format not correct memko Excel Discussion (Misc queries) 0 October 10th 07 11:09 AM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Excell Newbie Viki Mason Excel Discussion (Misc queries) 1 September 9th 05 10:46 PM
Excell Newbie Quesion Please Help KeyWest JetSki Excel Programming 10 June 14th 05 10:38 PM
Excell Newbie Question Please Help KeyWest JetSki Excel Programming 1 May 11th 05 04:20 PM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"