Assume there is no powerpoint installed on an end-users system.
Is there any way to display ppt slides on a vb.net form when there is no powerpoint installed ? Sort of like the slide sorter view in powerpoint.
I can then use the powerpoint viewer to display the slides.
Thanks for any help
I added a windows media player to my form after referencing wmp.dll
Can anyone show me how to programmatically call up a named visualization like "bars"
Thanks !
Is there any way to check if mpeg-2 codec is already installed on an end user's machine and if not, install it ?
Can I use ClickOnce's features to do this ?
I have datarepeater with 1 picturebox control which on form load I would like to fill with images (*.jpg, *.bmp, *.tiff, *.png) found in my pictures.
I have textbox1 used to pass a searchstring to the filter.
Once loaded I would like to filter the pictures in the datarepeater by filename
Code...
Thanks cjard.
Can I ask you what is the most efficient way to populate the datagridview with filenames of only certain filetypes say, image files, in a specified directory ?
Agreed. Search should not start until len(searchstring)>2. The timer idea is very interesting. Please do you have some code/pseudo ?
Also I'd appreciate any help with the actual datagridview populating/filtering
I have a datagridview1 and search textbox1 on my form
On form load I need to fill datagridview1
with absolute path+filename of certain filetypes like *.jpg,png,gif,bmp
in a specific directory like Application.StartupPath & "\Images"
When user types in search textbox1
datagridview1 contents...
John, I would like to use this code in a mdi forms scenario.
When parent calls child, fade the parent.
When child is closed, show parent as normal in full color.
Can you please show me how this should be coded ?
I need to read filenames within a specific directory into a temp table.
When user types into search textbox1, the filtered filelist needs to be displayed in a listbox/datagridview.
I know this must be child's play for most of you, but please can you show me how to code this scenario ?
Thanks
The only problem with the above code is that it causes flickering on any control hosted within the splitcontainer's panels. 100 points for anyone who can tell me why ?? :)
Yes, my assumptions were incorrect but I do ask terrific questions don't I ? :)
If anyone is interested in the actual answer, hope this helps.
Private SplitColor As System.Drawing.Color
Private Sub SplitContainer1_MouseEnter(ByVal sender As System.Object, ByVal e As System.EventArgs)...
Thanks for switching on my option strict. My codeblock shows what I am attempting. And yes, it is now throwing up all kinds of warnings.
With that said, do you have safer code for what I am trying to achieve here ?
Alas! I cannot escape the textchanged/keydown event. It has to occur as user is typing. So to make the best of a bad situation, how best can I code this with as little flickering as possible ?
Agreed. Right then, let's start afresh with your logic.
CONDITION: IF Line starts with "2"
then add spaces to right edge of richtextbox and terminate virtual line with newline
and highlight entire line as the user types "2"
What event do we use to fire your code above ?
So let me know if this your code amended is correct:
Private Sub RichTextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown
'aware of Paste or Insert
If e.Control AndAlso e.KeyCode = Keys.V _
OrElse...
The only event I think would be applicable would be the mousehover event. But mousehover applies to the splitcontainer as a whole.
How do I trap the mousehover event only IF the mouse is over the splitter (when the cursor changes to splitter cursor) THEN color splitter red.
That's funny - I had access to the code at the time of posting, but not the exception details.
To recreate exception that occurs in nested splitcontainers....
Drag splitcontainer1 onto form with vertical split. Drag splitcontainer2 into pane2 of splitcontainer1 and split horizontally.
Drop...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.