Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Foto Slide Show...

Has anyone done a Macro that displays diferant pictures of fotos?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Foto Slide Show...

How about using a different program?????

I really like:
http://www.irfanview.com/




MESTRELLA29 wrote:

Has anyone done a Macro that displays diferant pictures of fotos?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Foto Slide Show...

IrfanView rocks!

--

Vasant


"Dave Peterson" wrote in message
...
How about using a different program?????

I really like:
http://www.irfanview.com/




MESTRELLA29 wrote:

Has anyone done a Macro that displays diferant pictures of fotos?


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Foto Slide Show...

You kids with your lingo!

Vasant Nanavati wrote:

IrfanView rocks!

--

Vasant

"Dave Peterson" wrote in message
...
How about using a different program?????

I really like:
http://www.irfanview.com/




MESTRELLA29 wrote:

Has anyone done a Macro that displays diferant pictures of fotos?


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Foto Slide Show...

MESTRELLA29 wrote:
Has anyone done a Macro that displays diferant pictures of fotos?


You can use a userform with a WebBrowser control on it. Then use code like
this

Private Sub UserForm_Click()

Dim pthPictures As String
Dim fleCurrPic As String

pthPictures = "C:\Documents and Settings\All Users\Documents\My
Pictures\Sample Pictures\"

fleCurrPic = Dir(pthPictures & "*.jpg")

Do While Len(fleCurrPic) 0
Me.WebBrowser1.Navigate pthPictures & fleCurrPic
Do
DoEvents
Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE
Application.Wait Now + TimeValue("00:00:02")
fleCurrPic = Dir
Loop

MsgBox "Done"

End Sub

See here for more on the WebBrowser control
http://www.dicks-blog.com/archives/2...owser-control/

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Foto Slide Show...

how is that, how do you create a userfrom with a webbrowser control


"Dick Kusleika" wrote:

MESTRELLA29 wrote:
Has anyone done a Macro that displays diferant pictures of fotos?


You can use a userform with a WebBrowser control on it. Then use code like
this

Private Sub UserForm_Click()

Dim pthPictures As String
Dim fleCurrPic As String

pthPictures = "C:\Documents and Settings\All Users\Documents\My
Pictures\Sample Pictures\"

fleCurrPic = Dir(pthPictures & "*.jpg")

Do While Len(fleCurrPic) 0
Me.WebBrowser1.Navigate pthPictures & fleCurrPic
Do
DoEvents
Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE
Application.Wait Now + TimeValue("00:00:02")
fleCurrPic = Dir
Loop

MsgBox "Done"

End Sub

See here for more on the WebBrowser control
http://www.dicks-blog.com/archives/2...owser-control/

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Foto Slide Show...

To get to the VBE, use Alt+F11.

Select your project and choose Userform from the Insert menu.

Right click the control toolbox and choose Additional Controls. Add the
Microsoft Web Browser by check its box.

Now you can add this control to the form like any other control.

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

MESTRELLA29 wrote:
how is that, how do you create a userfrom with a webbrowser control


"Dick Kusleika" wrote:

MESTRELLA29 wrote:
Has anyone done a Macro that displays diferant pictures of fotos?


You can use a userform with a WebBrowser control on it. Then use
code like this

Private Sub UserForm_Click()

Dim pthPictures As String
Dim fleCurrPic As String

pthPictures = "C:\Documents and Settings\All Users\Documents\My
Pictures\Sample Pictures\"

fleCurrPic = Dir(pthPictures & "*.jpg")

Do While Len(fleCurrPic) 0
Me.WebBrowser1.Navigate pthPictures & fleCurrPic
Do
DoEvents
Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE
Application.Wait Now + TimeValue("00:00:02")
fleCurrPic = Dir
Loop

MsgBox "Done"

End Sub

See here for more on the WebBrowser control
http://www.dicks-blog.com/archives/2...owser-control/

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Foto Slide Show...

Excelent !!!!

That is IT,,, another question, is there a way to make the pictures tu fit
the form?

"Dick Kusleika" wrote:

To get to the VBE, use Alt+F11.

Select your project and choose Userform from the Insert menu.

Right click the control toolbox and choose Additional Controls. Add the
Microsoft Web Browser by check its box.

Now you can add this control to the form like any other control.

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

MESTRELLA29 wrote:
how is that, how do you create a userfrom with a webbrowser control


"Dick Kusleika" wrote:

MESTRELLA29 wrote:
Has anyone done a Macro that displays diferant pictures of fotos?

You can use a userform with a WebBrowser control on it. Then use
code like this

Private Sub UserForm_Click()

Dim pthPictures As String
Dim fleCurrPic As String

pthPictures = "C:\Documents and Settings\All Users\Documents\My
Pictures\Sample Pictures\"

fleCurrPic = Dir(pthPictures & "*.jpg")

Do While Len(fleCurrPic) 0
Me.WebBrowser1.Navigate pthPictures & fleCurrPic
Do
DoEvents
Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE
Application.Wait Now + TimeValue("00:00:02")
fleCurrPic = Dir
Loop

MsgBox "Done"

End Sub

See here for more on the WebBrowser control
http://www.dicks-blog.com/archives/2...owser-control/

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com




  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Foto Slide Show...

If there is, I don't know it. I think you'll have size all your pictures at
design time.

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

MESTRELLA29 wrote:
Excelent !!!!

That is IT,,, another question, is there a way to make the pictures
tu fit the form?

"Dick Kusleika" wrote:

To get to the VBE, use Alt+F11.

Select your project and choose Userform from the Insert menu.

Right click the control toolbox and choose Additional Controls. Add
the Microsoft Web Browser by check its box.

Now you can add this control to the form like any other control.

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

MESTRELLA29 wrote:
how is that, how do you create a userfrom with a webbrowser control


"Dick Kusleika" wrote:

MESTRELLA29 wrote:
Has anyone done a Macro that displays diferant pictures of fotos?

You can use a userform with a WebBrowser control on it. Then use
code like this

Private Sub UserForm_Click()

Dim pthPictures As String
Dim fleCurrPic As String

pthPictures = "C:\Documents and Settings\All Users\Documents\My
Pictures\Sample Pictures\"

fleCurrPic = Dir(pthPictures & "*.jpg")

Do While Len(fleCurrPic) 0
Me.WebBrowser1.Navigate pthPictures & fleCurrPic
Do
DoEvents
Loop Until Me.WebBrowser1.ReadyState = READYSTATE_COMPLETE
Application.Wait Now + TimeValue("00:00:02")
fleCurrPic = Dir
Loop

MsgBox "Done"

End Sub

See here for more on the WebBrowser control
http://www.dicks-blog.com/archives/2...owser-control/

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com



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
how do i add a song in my slide show Jack Charts and Charting in Excel 1 December 1st 09 05:43 PM
want to make a slide show in excel Suleman[_2_] Excel Discussion (Misc queries) 5 June 8th 08 08:59 PM
Slide show Suleman[_2_] Excel Discussion (Misc queries) 2 May 6th 08 06:34 PM
slide show Suleman[_2_] Setting up and Configuration of Excel 1 May 5th 08 10:30 PM
chart slide show BINZA@ Charts and Charting in Excel 4 February 24th 07 04:42 PM


All times are GMT +1. The time now is 09:56 AM.

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

About Us

"It's about Microsoft Excel"