Jul 25, 2008

Progress Bar In Powerpoint Vb

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > VB Programming

free web hosting

Progress Bar In Powerpoint Vb

kvarnerexpress
Hello all,
I have a question that I need your help with since I am still really noob in VB. I am trying to create a VB code for powerpoint that will give me progress bar that will tell me how far I am in the slides. I searched the web to see if there this an existting code and I found the following (modified a little):


Code:


CODE
Sub AddProgressBars()

   Dim X As Long
   Dim dblLeft As Double
   Dim dblTop As Double
   Dim dblheight As Double
   Dim oSh As Shape

   ' This determines how far in from left the progress bar will start:
   dblLeft = 0
   ' This determines how high (in points) the progress bar will be:
   dblheight = 12
   ' This puts the progress bar right against the bottom of the slide, no matter what its height
   dblTop = 35

   For X = 1 To ActivePresentation.Slides.Count
       ' Add a rectangle - it'll be formatted however you have your default object formatting set
       Set oSh = ActivePresentation.Slides(X).Shapes.AddShape(msoShapeRectangle, _
           dblLeft, _
           dblTop, _
           (X * ActivePresentation.PageSetup.SlideWidth) / ActivePresentation.Slides.Count, _
           dblheight)
       With oSh
           ' Change this to any color you like, if you like
           .Fill.ForeColor.RGB = RGB(192, 165, 229)

           ' Don't change this:
           .Name = "ThermometerBar"
       End With
   Next X

End Sub


Now this code simply draws a wider rectangle everytime I progress in slides. What I am looking for is to have a bordar around each rectangle (like having a # of rectanglualrsegmants correspoding to the # of slides). SO I was wondering how can I intoroduce a boarder to this or of there is another code/solution u saw, I will really appriciate it. Thanks alot for your help in advance and sorry for the long email.

 

 

 


Reply

Sizux
Hmm. After reviewing the code and your idea, I could just suggest making each "bar" its own. If the bar just gets wider, then it's impossible to create multiple borders dividing it. Why not just create a bunch of separate ones to cover it up? It is more work, but I believe it's the only way.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. progress bar in powerpoint - 7.70 hr back. (1)
  2. progressbar ppt - 27.56 hr back. (1)
  3. vb status, progess bar - 53.54 hr back. (1)
  4. make loading bar use pwerpoint - 64.96 hr back. (1)
  5. powerpoint progress side - 70.35 hr back. (1)
  6. powerpoint loading bar - 70.78 hr back. (1)
  7. vbscript timer progression bar - 74.95 hr back. (1)
  8. .ppt progress bar - 88.46 hr back. (1)
  9. powerpoint sidebar progress add - 90.52 hr back. (1)
  10. create loading bar in powerpoint - 102.53 hr back. (1)
Similar Topics

Keywords : progress, bar, powerpoint, vb

  1. Ispring Pro - Review
    A nice add-on for Microsoft Powerpoint (1)
  2. My Progress Making This Sig
    help me or tell me what you think (9)
    i'm not sure if this is the right place for this topic, so if it isn't, please move (i would
    think possibly the sig section) ok so i downloaded some new brushes and started this sig I liked
    the blue color and figured i should give it a black background for a neat look. I had the bg
    set to white instead of transparent so i thought i would have to start all over, but then remembered
    invert =) A simple Ctrl+u and colorize and i changed the color what do you think? Any
    suggestions are helpful /smile.gif" style="vertical-align:middle" emoid=":)" bord....
  3. Pure Css Design (in Progress)
    suggestions/comments (13)
    Well I Thought I kill more time and junk and so I thought Why not try a pure css website
    /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> I have the
    bare bones of the basic design 3 column with a header and footer. To make my life easier I used
    afew online tools to set most of it. The rest was just editing it to line up. The few problems
    that I have run through so far is that my horizontal nav menu is verticle, havn't found why it
    is like that. Try changing numbers here and there nd nothing yet. Next is my right column for....
  4. Cf’s Tips To Powerpoint Making.
    (4)
    Begin half-rant After viewing several presentations trying to teach a point, there are some things
    that must be said to improve the quality of presentations. 1. Do not put clipart on every slide. A
    few pictures here and there that help explain a point are good, but when every slide has at least
    one picture on it, one begins to wonder how some pictures even relate to what is discussed in the
    slide. 2. Do not use slide transitions. If you do, do not set it on random or have an obnoxious
    transition. Really, no one cares about how the slides change, we are more interest....
  5. Microsoft Warns Of Virus Entering Pcs Via Powerpoint
    (3)
    QUOTE Microsoft has alerted users of a virus that enters PCs through the PowerPoint program. The
    virus attaches itself to a contaminated presentation that when accessed installs a keylogging
    software on a computer. Users are being warned to take precautions because Microsoft patch that
    guards against the security loophole will still be tentatively released on August 8. Reports say
    the virus has infected relatively few people with the poisoned presentation. Malicious hackers used
    the bug found in PowerPoint 2000, 2002 and 2003. Security experts report that the vir....
  6. The Price Of Progress?!?
    Are we ready to accept the price of progress? (5)
    It is hard to define progress so I'll give you an example out of my own life. A few months ago
    my parents decided that my room needs to be repained and refurnished. I thought it was a good idea,
    I needed some change... But just a week ago we started emptying my room so I only have my bed now.
    The other day I thinking that (in problems regarding directly me I'm pretty conservative) it
    looked better the way it was and I started feeling remorses. I'm very sentimental and I need a
    way to connect to my past. I fear that someday I might forget from where I left. MA....
  7. How To Put Music In The Background Of A Powerpoint Presentation
    without having the viewer download the music file (9)
    Well, i made this power poit presentation in memory of my grandfather as many of you kno, passed
    away exactly a week ago....and i am trying to get this song to play as background music..and i did,
    but there is one humongus problem... in order for the people who are viewing it to hear the
    background music they have to download the music file as well ad the powerpoint presentation, which
    on my DSL conntection taked almost 2 minutes, and i could just imagine what it will be for a dial-up
    user (my grandma who wants to see it)... Some people may say, its impossible, but i kn....
  8. Cloning Technology
    new life creating progress (24)
    Maybe anyone not understand the "Cloning Technology". I found this full article at
    http://allfreeessays.com/student/Cloning_Technology.html for all: QUOTE Cloning can be a very
    sensitive subject. It seems that it?s a battle between science and ethics. Does the ladder outweigh
    the former or vice versa? Maybe a few definitions will shed some light on the subject. ?Cloning is
    to create a genetic duplicate of an individual organism through asexual reproduction, as by
    stimulating a single cell? (Webster?s 211). ?Parthenogenesis is reproduction of organisms without
    con....
  9. Rafael Benitez
    Not seeking perfection....just progress! (1)
    Yes the Swedish Goddess is back...... No managers are perfect. FACT! This has been shown with
    all mangers over the years. However football is becoming more important every year due to the
    finances now days. Competition has increased, which inevitably means standards and quality has
    risen. Manchester United have found this over the last few years a big problem. They used to be able
    to loose five or even more matches a season and STILL win the Premiership. However Arsenal and
    Chelsea have shown that teams cannot afford to loose that many matches anymore. Hence as Liv....
  10. Hockey Association Web Site Needs Review, Please
    Kindly have a look - work in progress (4)
    Hi, just got posted this morning and I' have a project I am working on that I uploaded and would
    like to get some comments on. CODE <a
    href="http://jlhaslip.trap17.com/index.html">GDMHA</a> GDMHA The site
    is for a Minor Hockey Association. A general information web site that links to Hockey related sites
    and provides each team with a page for own their pictures and comments. Please review and comment.
    The Layout will change a bit. The "Rams" text is being replaced a graphic logo, for one thing. The
    background and side bar colo....
  11. Sig In Progress
    before i do the text see what people tink (8)
    beginning image updated image what should i add or take off?....
  12. Anyone Heard Of Xna?
    Microsoft's In Progress Xbox cross PC dev language (3)
    hey guys i saw this thing in the paper a little while ago about new microsoft technoloqy called
    xna... the general idea is that through the one programming language developers will be able to
    write games for PC and XBOX....... who's keen? www.msdn.com/xna take a looksy, well worth
    the time /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> cheers....
  13. Image Preloader With Progress Bar Status
    Pure Client-Side JavaScript tested in 4 Browsers! (22)
    Tutorial: Image Preloader with Progress Bar, by Rob J. Secord, B.Sc. (SystemWisdom)
    Description : A Tutorial for a Client-Side Image Preloader with Dynamic Real-Time Progress Bar
    Indicator written in JavaScript! Tested to work with 4 Major Internet Browsers: Firefox, MSIE,
    Netscape, Opera (Complete sample solution provided at end of tutorial, just put it on your
    web-server, add your images and go!) Intended Audience : Beginner to Intermediate Web
    Developers. Although this tutorial will cover some advanced aspects of JavaScript, I will try to
    explain....
  14. 11 Great Powerpoint Templates
    Very good ones (2)
    Here: CODE http://www.robinjones.addr.com/PowerPoint/ ....
  15. Fusion Design
    A work in progress... (9)
    Hey all, Some of the people who have been reviewing my templates in the review forum asked me to
    post when I started scripting for my site so they could take a peek at the layout in action. Well,
    I've been scripting it togethor for the past two days (cause I am usually babysitting and
    don't get a lot of time) and I finally have enough of the script and template put together to
    show off a bit. Keep in mind, this is still a work in progress. Not all of the template is put
    together and there is practically no content at the moment. But, if you continue to visit t....
  16. Alliance In Progress
    Help Building a Strong Alliance (25)
    Hey, I was wondering if anyone wants to create an alliance with me? Alliance: Dragon Spirit
    1.)SilverBoarder 2.) Florisjuh 3.) PenDragon 4.) Too_Hot 5.) odomike 6.) hatebreed 7.) zyklon 8.)
    Zenchi 9.) Chaos....

    1. Looking for progress, bar, powerpoint, vb

Searching Video's for progress, bar, powerpoint, vb
advertisement



Progress Bar In Powerpoint Vb



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE