Changing PowerPoint Presentation Colours
Dec 9, 2009I am looking for a way or a code that will change the colours used in a powerpoint presentation, I will also need to change the background colours of active x text boxes etc.
View 6 RepliesI am looking for a way or a code that will change the colours used in a powerpoint presentation, I will also need to change the background colours of active x text boxes etc.
View 6 Replieshow to set a powerpoint presentation as the powerpoint.application.activepresentation? In the program below, when the form is loading, it will open 2 powerpoint files (Test1.ppt and Test2.ppt). After Test2.ppt is opened, it will be the activepresentation because it is opened last.What I am trying to do is when I press button1, it will set Test1.ppt as activepresentation so that when I press button4, it will show me "C:Test1.ppt".The same also goes to button2 making Test2.ppt as activepresentation..But what I get is, no matter how many times i press button1, Test2.ppt is always the activepresentation.[code]
View 1 RepliesI am using Visual Basic Express Edition 2008 and Office 2007
View 3 RepliesI'm putting the finishing touches to a fullscreen Winforms Application in VB (.net 3.5, VS2008). This is Q2 for today, as I seem to be coming up with all these little glitches I can't figure out!!I have a webcontrol, which I use to show a PowerPoint presentation - by using webctl.navigate("c:MyPresentation.ppt").This works perfectly, and my presentation shows exactly as desired.However, sometimes, when I close my application, the Powerpnt.exe process is left running.Is there any way of programatically forcing this to close if it has been left open, or am I not disposing of something I should (I can't find anything along these lines when running powerpoint through a web control)?
View 5 RepliesHow do I Automate the starting of a Powerpoint Presentation from Visual Basic? I would like to create a simple program in visual basic (2008 Express Edition that starts and runs a Powerpoint (powerpoint 2007) presentation in full screen on certain days of the week at certain times. The days of the week and times need to be user input variables.I am writing the program to automate a projector
View 4 RepliesI want to embed a PowerPoint presentation with narration, timings and the presentation PASSWORD in my application so that it will automatically start the Pesentation and enter the password, when a button on the form is clicked. I want to do this so that the PowerPoint presentation can only be viewed from within the application, where the password is embedded in code, and cannot be run by just finding the PowerPoint presentation file and clicking on it to run it.
I do not intend for the user to be given the password. I would imagine that i could use process.start to run the presentation, which can be put on the target computer at the time of instal, but I don't know how to handle the password with code on the button.
I'm looking for a way to put a powerpoint presentation into a VB project I'm working on. Is this possible? I've searched google upside down, but I couldn't find anything usefull.
View 1 RepliesI am designing a vb.net application and I want the user to be able to access a powerpoint presentation within the windows form. Can anyone direct me to a good site with good enough instructions for VB.net (not vb 6
View 1 RepliesI created a presentation which runs in kiosk mode as a PowerPoint Macro-Enabled Show. Now the problem is, that the presentation resets itself to slide one if there is no user input for 5 minutes. How do I disable this feature?
I am using Powerpoint 2010 (Version 14.0.6112.500 (32-bit))On a side note: I already found an Add-In (KioskAssistant) which enables me to increase the time before the slide is reset. But this change is only done locally for my machine and not saved into the presentation itself. So this not a sufficient enough solution if I want to ship my presentation to my client
is there an easy way to stop the changing of colours when you disable a control. i want the controls to look normal just not do anything if you try to use them would have thought there is a global setting or something??
View 3 RepliesPublic Class Form1
Dim x As Integer, y As Integer
Dim img As Bitmap
Dim pixelColor As Color
Public Function getpixel(ByVal x As Integer, ByVal y As Integer) As Color End Function Private Sub find_img_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles find_img.Click
[Code]...
whenever i load the image, i have to load it a second time to get the colour, or if i load a new one, i get the colour from the previous image, any ideas as to why?
I'm trying to copy a Range from Excel and Paste the information in powerpoint in either the HTML or the default format, however, I am having some difficulties. I am able to get the code to work for pasting the Range as an OLE Object but nothing else. The problem with doing this is that having the embedded excel documents in the powerpoint makes the file extremely large and unstable. I just need to be able to paste the information without the embedded information where it is editable (so, not as a bitmap or picture).
With ppt2Slide
Sheets(index2).Activate
Range("CP12:CT" & RangeIndex2).Copy
[code]....
If I have a small double in vb.net like this:
dim x as double = 0.00000003
A conversion to a string would produce a E-presentation (3E-7). in debugging the value it will be shown as full number (0.00000003). How can I get the full number in a string?
I've been working to refactor my code and ended up with a quite clean main BLL class that has only a few manager classes that pass information between eachother. They handle separate tasks/areas like socket connection, data, etc. It's only one instance of each of these manager objects, so I believe maybe the base layout is a structural singleton (?) ..but not sure. This seems to give quite good oversight and a clean separation of PL/BLL as the main form only access the BLL through one instance of a single class. But now I'm trying to figure out how to lay out the presentation layer. So with this I would like to understand a few points: Do you have all controls as members of the form class, or can you make sub classes where some controls only exist on lower levels? Like for example if you have a tab where all controls only interact with each other, and not the rest of the form, would it then be possible to make this a separate class that holds both controls and additional logic ? The first problem I get when trying this is with the events, as if I simply move an event handler method to another class than the form class, I get the message: Handles clause requires a WithEvents variable defined in the containing type or one of its base types.What does this mean? and is there an easy way around this? I would like to understand how a slightly more complex PL is designed, so I know what direction to move in for studying/developing this.
View 3 RepliesIm currently working on an n-layer application that does alot of database work.90% of all database queries are updates, and inserts and I want to be able to view the results of my query in the presentation layer.I was thinking of creating a QueryResult class that has a few properties like QuerySuccessful (boolean), Message (string) - holds success or error message, and optional field to hold any additional data that may need to be passed back to the presentation layer.So I guess my question is, am I going about this the correct way by creating a QueryResult class, and passing that back up through the layers to my PL?
View 2 RepliesI am writing a program that utilizes a three-tier structure with presentation, business and persistence classes. I am needing to use a ComboBox to select a specific account type which will call a class. How do I get the program to call a class after the user has selected an account type from the ComboBox?
View 1 RepliesI have a text box where I write different frames from a serial port.
I'd like to write those frames in two different colours but I don't know how to do it.
If I change the option Textbox.Forecolor, it changes the colour of every single line, and that's not what I am trying...
in a windows form if i want to duplicate the properties window layout on my form, which is basically a 2 column table with title on the left and value on the right, what control do i use to achieve that?
View 1 RepliesI am combining data from multiple tables into one table for a presentation software. I am doing a select statement and running a loop. Inside that loop I have multiple selects and I build a datatable an enter the data into the main table. There is a ton of records and it takes forever.
'Requisition Demands
InsertStr =
"SELECT COUNT(*) FROM Requisition WHERE (DMD_DT = " & dateVal & ") AND (QTY_REQ > QTY_PEND_CANC + QTY_CANC + QTY_REJT) " & searchvalString
[code].....
With my program I have made a settings form - changing the colour of other forms- and instead of writing the code for each individual form I was thinking if I can create an automatic system. The forms have different types of names & the items within have different names.In the setting form i have 3 color dialogs (one for background,Text colour -labels-, and a button color -forecolor-)
Code for Formsettings
Public Background As Color
Public TextForecolour As Color
Public buttontext As Color[code]......
i cant remember how to get font colours to change, so thought doining it with the hello world would be best
View 1 RepliesI have a colour that is not predefined and I want to change the selectionbackcolor in a DGV. In the DGV it is defined as 255,255,192.
RoomNamesDGV.DefaultCellStyle.SelectionBackColor = " a colour "
How do I set the colour using 255,255,192.I need to do this as I have 2 DGV side by side and I want to show where the focus lies.
I am using Visual Basic.NET 2008. I was earlier a VB 6 developer. I found a (VB 6) code online which generates gradient colours on a form. It has a small sub (routine) which does the trick. If we pass red, green and blue values then form's backcolour changes and it appears like a gradient.Now that code is not working in VB.NET.i mean is there an easier way to generate gradient colours in VB.NET (2008)convert the code I have into .net specific so form's backcolour becomes gradient.I have attached a zip file which contains the code.
View 11 RepliesI've found out how to change colours for the text editor, etc, but is there any way to change the colours in the help? It'd be nice to be able to have [for example] white text on a black background. It'd be easier on the eyes for lengthy reading sessions.No crops were circled, or animals mutilated in the making of this sig.
View 3 RepliesI'm a beginner to VB2010. If I draw a red line on a BLANK form, obviously its red. But if I draw a second red line, which crosses the first, is there a way of controlling the colour at the crossover position, for example returning it to the original colour of the form?
View 4 Replieshow to work with monthcalendar and their colours?We have lots of problems to work with calendar colors now... (basically change color date, backgrounds, etc... any alternative to have a calendar with the chance to change the dates and backgrounds?)
View 3 RepliesIs it possible have different colours in each of the cells of a TableLayoutPanel?
View 10 RepliesI've got a picturebox where someone can draw what they like on it and I have added a colordialog so the person can change the colour of the pen.[code]The trouble is, when I change the colour, the stuff ive already drawn on the picturebox changes colour too but I want it so that it only changes the colour of the pen and not what has already been drawn
View 3 RepliesI'm trying to make it so my textbox is colour-coordinated automatically. By this, I mean that if a line begins with a certain bit of text (for example, a line starting with <text>) then it will make the whole line red.I realise that this may not be possible with a standard textbox, so I don't mind any suggestions that need an RTF item.
View 1 RepliesCan I create a Pen dashpattern that consists of alternating colours rather than a solid colour followed by a space? For example:
LinePen.DashPattern = New Single() {6, 4}
creates a pattern with a dash of 6 pixels followed by a space of 4 pixels. Rather than a space, I would like a different solid colour. That way I could create a rectangular cursor with something like a black/white alternating pattern, which would be clearly visible on top of any picture.