Search results for query: *

  1. X

    Display powerpoint ppt slides on form

    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
  2. X

    Windows media player: add visualization

    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 !
  3. X

    Is mpeg-2 codec installed ?

    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 ?
  4. X

    How do i make my program work for 5 times and then Expire

    If you're looking for a 3rd party solution, try PC Guard .NET You can protect your app by numerous methods.
  5. X

    Datarepeater: filter by <filename>

    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...
  6. X

    Richtextbox: Highlight a line only if line starts with "string"

    John, still haven't been able to figure this one out. Do you have a moment to help ?
  7. X

    Datagridview: filenames with bindingsource filter

    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 ?
  8. X

    Datagridview: filenames with bindingsource filter

    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
  9. X

    Application.DoEvents Alternative

    Using Application.Doevents on a child form halts my UI until it completes. Is there any alternative that will not affect user interface ? Thanks
  10. X

    Datagridview: filenames with bindingsource filter

    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...
  11. X

    Form Fade from color to grayscale on quit

    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 ?
  12. X

    Filter filenames in temp table

    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
  13. X

    Splitcontainer : change splitter color on drag

    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 ?? :)
  14. X

    Splitcontainer : change splitter color on drag

    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)...
  15. X

    Picturebox : maintain 4:3 aspect ratio

    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 ?
  16. X

    Richtextbox: Highlight a line only if line starts with "string"

    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 ?
  17. X

    Richtextbox: Highlight a line only if line starts with "string"

    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 ?
  18. X

    Strip formattng from richtextbox

    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...
  19. X

    Splitcontainer : change splitter color on drag

    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.
  20. X

    Picturebox : maintain 4:3 aspect ratio

    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...
Back
Top