Slide Editor In VB
Hi, I'm Victor Chew from Malaysia that i'm taking a project that need to create a slide editor in VB. The slide editor is just like the Microsoft Power Point that can let user create and edit their works as a slide.Anyone there can help me please, Thank you very much.regards,Victorchewvictorchew@catcha.com
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Programing A Code Editor/brain Editor
how may i program a code editor. e.g. what i mean by that is in visual basics when you are programing and type if when you go to the next line the if becmes blue and if you put the symbal ' everything after it will be green.
how can i do something like this so when the user who is using my program puts special words like if, and, or, open etc. they turng blue no matter where they are. and if the user types this symbal ";" then everthing after that symbal on the same line will turn green.
i have visual basics proffesional edition v6.0. how can i do whats above?
Menu Editor In MS Access VB Editor
Hi guys!
I am developing small database using access and in the interface i want to include menus with drop downs in my frame. But the VB editor of access doesn't have menu editor like vb 6.0 (there is no Tool - menu editor). am i missing sth or...?
how could i do this?
looking forward for ur help.
Slide Bar
Is there some kind of equivalence to a slide bar in VB 6? I'm trying to zoom in on a graph that's in a picturebox and it needs to be periodic, not at all once. thanx.
Slide Bar
Could ne one help me i need to get a Slide Bar (size 20 ticks) to make an Image Change on each tick!! ive got 20 images could anyone help me!!!
Slide .
is there a way to make the form slide out from the screen. for instance if i put my mouse top the left edge of the screen a form will slide out, and when i take my mouse off it goes back in, kinda like the microsoft office shortcut bar?
Slide Bar
I am trying to utilize the Microsoft slide control. I want to have a textbox reflect the change at the same time the value changes. I have tried the event onupdate and nothing happens. How can I do this?
Thank you
Slide Show
I am having trouble making a simple slide show using a timer. I set my interal at a second and set enabled as false till i hit the command. I saved my pictures under a common name (Bpic in JPEG) on my E drive. I think my code to call the pictures is incorect. Any help would be very appreciated. So far my code is this:
Dim counter As Integer
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
Picture1.Picture = LoadPicture("e:\" & bpic & ".jpg")
counter = counter = 1
End Sub
Changing Slide
This may seem like a simple question, but I am having problem when using VBA in powerpoint. I have a command button on a slide, and I desperately need it to go to another slide when it is pressed. Any ideas?
Thanks
Getting To The Next Slide In PowerPoint
I have seen several instances of code that allows you to advance to the next slide in PowerPoint, but all of these instances require that you be in Slide Show mode. I am looking for a way to advance to the next slide while outside of the slide show so I can then have visual basic delete and modify objects on the next page, which doesn't work if you are viewing the slide show. Any help would be appreciated.
Thanks
Insert Slide
Maybe a stupid question but how can i add a slide after a present slide in powerpoint with VBA?
Mouse Slide
Is there a way that when you press the left or right mouse button that your cursor slides down the screen.
Slide Show
What is the best way to display pictures as a slide show? I would like the "Windows Picture And Fax Viewer"-style display with all the basic finctions like e-mail, rotate, save as, etc....
Slide Menu
Ok well i tryed this in the .net section but no one knew so i think ill try it here
OK in .net and officeXP the tools menu slideds in and out the buttons move up and down to show the dif tools anyone know how i can do this ??
Slide Form
Hi all,
How I do to slide a form in a screen?
As the start menu in windows?
I need to put a command button, and when it's clicked, a form apears sliding, as a start menu....
Slide Effect
Using a timer control and a text box control, how could I create a slide effect for text shown in the text box, similar to the <marquee> effect in HTML.
Actual code would be good.
At the moment I am using the Mid() function with an integer, that tracks the leading character each time, the timer runs.
Slide Show
Im teaching myself vb, so im really clueless, but would anyone know how to move a img without making it look like a slide show,, it blurs across the screen.... I tried putting the image in a form and moveing the form, but that still makes the img blur,,,, HELP ME STOP THE BLUR ahhhhhhhhh
-thx EdTHeGreat
VB Slide Show
Guys I'm trying to program a slide show using VB 6.0.
I'm using a picture box to dispaly the images and a timer control to to set the interval of the pictures. I also want a vertical scroll bar to adjust the speed at which pictures are displayed.
I know I should probably is a array to accomplish this. I have 10 pictures I want to use for the sildeshow. My problem is i really dont know where to begin.
Any and all help will be greatly appreciated. I am brand new to programming and need all the help I can get.
Thanks,
"pictures or examples of code would be alot of help"
Code To Go To Next Slide
Does anyone know the code I could add to a command button to move to the next slide in power point?
e.g/
After entering data off in a form in slide 4, pressing commandbutton_8 and being able to enter the dat into slide 5 then.
Any help appreciated as I am fairly new to code.
Tim
Wingeronside@hotmail.com
Slide Show
I was wondering if there is a way to display multiple pictures in a single form. I have 24 pictures that I would like the user to be able to scroll through using the arrow keys on the handheld. I want to try and minimize the amount of work I have to do. Does anyone have an idea on how to do this without placing 24 pictureboxes on the form and changing the focus. Example code would be appreciated since I am very new to VB and eMbedded VB.
Add A Slide Module To The VBE With VBA
I would like to be able to programmatically create a PowerPoint Slide object in the Visual Basic Environment. Since this code will need to reside within or be activated by the slide, I would like to know how to programmatically add a Slide Module to the Visual Basic Editor. I already know how to add code to an already existing Slide Module from a remote application, but not how to add the actual Module. I thought that by adding a new slide the corresponding code module would be created. Below is the code I use to add code from another application. Trying to use the Add method ends with no results; no error or Slide Code page.
Code:
objPPTApp.VBE.VBProjects("PPTWeb").VBComponents(1).CodeModule.InsertLines(1, strCode)
Button Slide
hi
i had desighned a form with a single command button my objective is that
the button ..at run time the mouse pointer focus should not be able to reach the button
ie.. if i place mouse pointer on the button.. button should slide of randomly all over the form so that i should not be able to click that button at all
can some one help me over this problem
regards
Nike
Highlight Slide
I have a VB project that opens PowerPoint presentations on a dual-monitor system. On the left side (the VB application) is a screen that looks like powerpoint slide sorter mode. When a slide is clicked on the VB monitor, it's highlighted (with a black rectangle around it) and that slide is maximized on the other screen in slide show mode. When Page up and Page down are pressed on the keyboard the next/previous slide are shown on the slide show monitor. I need the slide to be highlighted that is up on the slide show monitor when page up and down are pressed. Does anybody know how I could do this (if this makes any sense to anybody!)? Thanks in advance.
Getting Shape Added From A Slide
help! help! does anyone noes how to get a shape from a slide during slideshow mode? i tried the codes below but it didnt work... it gave me the error of "Type Mismatch"...
dim myDoc as slide, shapeAdded as shape
myDoc = ppt.SlideShowWindow.View.Slides(slideIndex)
with myDoc
set shapeAdded = .Shapes(shapeName)
end with
Showing A Slide In PowerPoint
Hi,
How do you show a certain of slide in MS PowerPoint using a command button? for example, I created several controls in Slide(5). During Slide Show, If I click on a command button, it shows Slide(10). How do I make it work?
Thanks,
TXK
Slide Selection/Deselection - PPT
I gotta say, this site has been the most prompt and helpful of any site I have sent VB problems too. Im trying to do alot having never used Visual Basic before, thanks for all the help.
My problem this time is an error people may know about: "To Select a Shape, Its View Must Be Active." In this program, I create a new slide and add a series of charts/ranges to it. I have one example here. Somehow, despite adding a new slide, it does not become the active slide, but rather the slide highlighted when the macro was started remains the active slide (It is possible that both are selected). Is there a way to deselect/select slides that will give an "active view"? Thanks in advance!
Code:
Dim xlApp As Object
Dim xlWrkBook As Object
Dim xlWrkBook2 As Object
Dim oS1 As Slide
Set oS1 = ActivePresentation.Slides.Add(Index:=ActivePresentation.Slides.Count + 1, Layout:=ppLayoutTitleOnly)
oS1.Shapes("Rectangle 2").TextFrame.TextRange.Text = "AMC Ambulatory Surgery Outpatient Service Line"
Set xlApp = CreateObject("Excel.Application")
Set xlWrkBook = xlApp.Workbooks.Open("\Sfa19pmd$ReportingPatient Reporting - TSIPatient Finan" & _
"cial ReportingPFR FY05FY05 Q2Reporting TemplatesFY05q2 OP OTF Master template.xls") 'line break added by moderator.
Set xlWrkBook2 = xlApp.Workbooks.Add
xlWrkBook.Worksheets(2).Range("B12:M26").CopyPicture
xlWrkBook2.Worksheets(1).PasteSpecial Format:="Picture (Enhanced Metafile)", Link:=False, DisplayAsIcon:=False
xlWrkBook2.Worksheets(1).Shapes(1).Copy
'*Where I need help*
oS1.Select 'Don't think this is Solving my Problem
oS1.Shapes.Paste.Select
With ActiveWindow.Selection.ShapeRange
.Left = 350
.Top = 77.652
.ScaleWidth 0.88, msoFalse, msoScaleFromTopLeft
.ScaleHeight 0.88, msoFalse, msoScaleFromTopLeft
End With
xlWrkBook2.Worksheets(1).Shapes(1).Delete
[/size]
Listbox On Slide Won't Populate (VBA In PPT)
I have a listbox on my slide and it's not populating. I know I'm supposed to use the .AddItem to put the values into it, but it doesn't populate on my slide unless I go into the code and press F5. And then if I save and close my presentation, when I reopen it, it is not populated again. How can I have it already populated when the slide appears?
Private Sub ListBox1_Initialize()
With ListBox1
.AddItem "Nemo"
.AddItem "Dory"
.AddItem "Marlin"
.AddItem "Bruce"
.AddItem "Crush"
End With
End Sub
THANK YOU in advance for any assistance.
Events On Slide Load??
Hi,
I am trying to execute events on slide load and dont know exactly what the object for loading a slide is. I have tried the code below but doesnt work. I want to initialise a variable integer to 0 and load text into a label.
Can someone please help!!
Private Sub appPPT_PresentationOpen(ByVal Pres As Presentation)
With
Pres.SlideShowSettings.Run
points = 0
Label2.Caption = ("Check your answer")
End With
End Sub
Need Help Creating A Slide Out Form
Hey folks,
Is it possible to make a slide out form that attaches itself to the left side of my main form? My idea is to have a button that has an arrow < and when you click it, the form will slide out to the left of the main form. Is this possible? I'm using Visual Basic 2008 Express Edition.
Thanks,
n3m.
Powerpoing Slide Transitions In VB
Hello All,
Iam using Powerpoint API thru visual basic for opening a presentation which I have managed it. Can any one tell me how can I make slide transitions through my code? I will have a Browse button, which will open the presentation and Next and Previuos buttons, which will do the slide transitions.
Now how will I manage to make this Next and Previuos buttons to work.
Thnx in advance,
Pres.
Slide Show Or Animation
I am going to integrate a slide show or animation type demonstration in a program that i'm making. The demonstration doesn't have to be smooth animations because it's more of a slide show than a smooth animation.
What is the best way to present this? The following is a list that i've thought up. Please choose the best one or give me your idea for the best way in terms of system resources and whether it's hard to do.
Imagebox control and just update with pics
use mediaplayer control to play AVI
Thanks in advance
Making A Slide Show?
How can you make a slide show with a bunch of pictures without having to refer to the file path? Is there a way you can put the pictures in an array of sum sort?
I have cut and pasted a picture into a Picture box control. But I would like to have a bunch of pictures you can view by just clicking a button. Does anybody have any ideas?
I am using jpg files.
Using Timer To Slide Form
I've never needed to use timers and am now needing to. What I want to do is give a form a sliding effect when a button is pressed. (like it's sliding into the edge of the screen) Anyone give me a tip? TIA.
-Adam
RichTextBox And Powerpoint-Slide
Hallo and good evening.
I have here a Problem and no solution.
Ok here we go.
I have a Richtextbox and over a Button-Click event the text will copied into a Powerpointslide.
If the Textlength of the Richtextbox is shorter or exactly equal long of the Powerpointshape it works.
But if the Richtext is longer I have a Problem.
How can I programmed it that, if the Text is longer a 2. or x Powerslide will added and the rest of the Text will copy to the 2. or x Powerpointslide.
Thanks in advance and greetings
Powerpoint Slide Transitions In VB
Hello All,
Iam using Powerpoint API thru visual basic for opening a presentation which I have managed it. Can any one tell me how can I make slide transitions through my code? I will have a Browse button, which will open the presentation and Next and Previuos buttons, which will do the slide transitions.
Now how will I manage to make this Next and Previuos buttons to work.
Thnx in advance,
Pres.
Slide Transition Effects
Are there any ready made functions in VB that will do slide transition effects (wipes, dissolves etc) similar to the ones in MSPowerPoint?
Cheers
Matt
Code To Move To Next Slide
Question:Does anyone know what the code is to nove from one slide in ppoint to the next
For instance, when you click a commandbutton on my form to insert text boxes, what would be the code to move to the next slide, usng End With.
Any help wuld b appreciated
The Computer Kid
Slide Block Puzzle
Can anyone tell me how to create a sliding block puzzle in VB 6? The puzzle needs to be 4 x 4 thanks
VBA - Change Images On A PPT Slide
Okay here's my challenge:
Slide 1: Contains 3 buttons and an image. When the user clicks on a button, i want the original image to be replaced by a different image. This PPT will be sent to other users, and I can't rely on them to place images locally with a the same static file path.
Any ideas? Thanks!
Powerpoint Hide Slide
I'm trying to activate/deactive the "Hide Slide" option from within a Powerpoint2000 presentation using an ActiveX checkbox. Just some context: This is a flashcard program that displays all slides in a random order. The program must not show the flashcards that users already know, which they indicate by clicking the checkbox.
I have...
Sub CheckBox1_Click()
' If CheckBox checked then set Hide Slide option Active.
If (CheckBox1.Value = Checked) Then
ActivePresentation.Slides(2).SlideShowTransition.Hidden = msoTrue
ElseIf (CheckBox1.Value = Unchecked) Then
ActivePresentation.Slides(2).SlideShowTransition.Hidden = msoFalse
End If
End Sub
Any thoughts?
Power Point Slide In Vb
How do i include a slide presentation in a vb project?
anyone please help. thanx in advance.
Highlight Next/Previous Slide
I have a VB project that opens PowerPoint presentations and runs the chosen slides in slide show mode on a dual-monitor system (the VB application on one and the slide show on the other). When a slide is clicked on the VB monitor, it's highlighted (with a black rectangle around it) and when Page up and Page down are pressed on the keyboard the next/previous slide are shown on the slide show monitor. I need the slide to be highlighted that is up on the slide show monitor when page up and down are pressed. Does anybody know how I could do this (if this makes any sense to anybody!)? Thanks in advance.
Creating New Powerpoint Slide Using Excel?
ok.. Im trying to add a new slide to a presentation that has NO slides (from excel) using:
Code:
Set PPT = GetObject(, "PowerPoint.Application")
PPT.ActivePresentation.Slides.Add(1, ppLayoutTitle).SlideIndex
but it does not reconize ppLayoutTitle (SlideFormat). so I tried:
Code:
Set SlideType = PPT.Presentations.Sliderange.Slides(1).Layout
PPT.ActiveWindow.View.GotoSlide Index:=PPT.ActivePresentation.Slides.Add(Index:=1, Layout:=SlideType.ppLayoutTitle).SlideIndex
but no success. Any ideas??
Thanks, JEff
Focus Problem During Slide Show Run From VB
This's the situation: there's two form, one is used to display ppt slide and one more is interface to control the ppt slide viewing in the other form. there's no problem to run the ppt slide when focus is set to the ppt form(ei by click on the ppt form). but when user click back on the control form, the ppt slide show stop switching its slide. the ppt will play again when user click back to the ppt displaying form. any i dea to make the ppt to continue switching it slide when user click on other form(when the ppt form lose it focus).
Trying To Close Powerpoint Pps Slide Programatically
I am trying to find out how to programatically close down Powerpoint programatically ina pps file. I have tried the application.quit command but PPt does not recognise it and goes straight to the <End of Presentation> black screen. I am slightly at a loss at what to do....if anyone can give something to get me started or a lead, it would be greatly appreciative.
Powerpoint Slide Navigation Using Combo Box?
I am not a programmer so I was wondering if there is anyway to code a combo box in Powerpoint so when you select an option in the drop down, it goes to different slides throughout the presentation based on your selection. If there is, does anyone have any sample code for this to get me started?
Or if you know of a site that would point me in the right direction, that would work too. Thanks!
Image To EXISTING Powerpoint Slide
this should be simple and i apologize if i am missing something stupid but i can not get this to work but every example i have looked at is either coded wrong giving me errors or deals with adding a slide then putting an image file on the slide
Dim oPP As PowerPoint.ApplicationClass
Dim oPresSet As PowerPoint.Presentations
Dim oPres As PowerPoint.PresentationClass
oPP = CreateObject("PowerPoint.Application")
oPP.Visible = True
oPresSet = oPP.Presentations
If firstpass = True Then
oPres = oPresSet.Open("c:plantest.ppt", , , True)
Else
oPres = oPresSet.Open("c:plan beta.ppt", , , True)
End If
oPP.ActiveWindow.View.GotoSlide(Index:=layoutvalue(x, 1))
Dim oSlide As PowerPoint.Slide
*** i thought one of the next lines would declare the oslide var to a slide but it is not working*****
'oSlide = opresset.ActivePresentation.Slides(layoutvalue(x, 1))
'oSlide = opresset.slides(1)
**** because i want to use this line to put the image to the slide****
oSlide.Shapes.AddPicture(spic, False, True, 150, 150, 500, 350)
if anyone can point me in the right direction or show me some example code it would be greatly appreciated.. again i apologize if i am doing something stupid.
THANKS!!!
|