Search:

Type: Posts; User: mpdeglau

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds.

  1. VS 2008 Re: Get Javascript Generated HTML from WebBrowser

    Well I came up with a way. I'm not sure if it's the best way. But it works.

    I modified the js to raise an event that the .net form processes. The js passes in the html source, which is the must...
  2. VS 2008 Re: Get Javascript Generated HTML from WebBrowser

    The javascript adds a class to a dom element that the user clicks on. So the javascript doesn't do anything until there is user interaction.
  3. VS 2008 Get Javascript Generated HTML from WebBrowser

    I'm loading HTML into the web browser control, and adding a bit of javascript that hightlights a section of html when the user clicks on the area, by changing the classname. If you know the FireBug...
  4. Replies
    4
    Views
    7,789

    Re: [RESOLVED] Split Paragraph into sentences

    Thanks, that worked. I knew it could be done with regex. For some reason I just can't grasp regex. It's usually pure luck if I can figure out the correct pattern to use, and that's always a simple...
  5. Replies
    4
    Views
    7,789

    [RESOLVED] Split Paragraph into sentences

    I have an app that has a paragraph(s) passed in, and I need to figure out how many sentences it has.

    Right now, this is how I'm doing it:


    private long getSentenceCount(String text){...
  6. Replies
    10
    Views
    880

    Re: Icon for Custom Component?

    Are you sure you have the correct path for the image? And you rebuilt the control? And the image you are using is a bitmap? I'm just assuming it has to be a bitmap because of what the Atribute is...
  7. Replies
    10
    Views
    880

    Re: Icon for Custom Component?

    Imports System.ComponentModel

    <ToolBoxBitmap("c:\PathToImageLocation.bmp")> _
    Public Class YourCustomControl

    End Class
  8. Replies
    4
    Views
    566

    Re: Uploading screenshots

    Sounds like fun.

    Do you have a question about your project? Or are you just letting us know what you are up to?
  9. Replies
    3
    Views
    556

    Re: Problem with User Controls

    What do you mean by passing data from one user control to another? Pretend we have no idea what your project is and what you are trying to do. The first thing that comes to my mind when you asked...
  10. Replies
    8
    Views
    977

    Re: I am a VB newbie, please help me..

    You'll want to use the InnerText property of the item. If you want to become a guru you will want to become very familiar with this site. When you have a question about what property to use, or what...
  11. Re: Need help - Starting directives for a background application

    The Windows.Forms.Timer does not work in services. You need to use the System.Timers.Timer.
  12. Re: [2005] Timer running in the background

    No it won't work...Once the application is closed everything stops. It you want this to work without the application running you'll want to do it in a service.

    Just to note the...
  13. Replies
    15
    Views
    1,004

    Re: [2005] Working with Services

    Found it (I think)
    http://www.ftponline.com/vsm/2001_12/magazine/columns/desktopdeveloper/
  14. Replies
    15
    Views
    1,004

    Re: [2005] Working with Services

    I didn't read this article completely. But it looks like it has all the info you'll need.
    http://msdn2.microsoft.com/en-us/library/aa288037(VS.71).aspx
  15. Re: [2005] Timer running in the background

    I don't think there is a limit to the amount of form timers you can use. You are correct the System timer and the Threading timer don't have tick events.

    The system timer has an elasped event. A...
  16. Re: [2005] Bringing a dynamically created form to the front

    BringToFront should be bringing your form to the front, as long as nothing is stealing focus afterwards. But something you may want to consider is assigning the main form as the search forms owner. ...
  17. Re: [2005] Timer running in the background

    It's up to you which timers you want to use. You could still use the ideas I posted. If you wanted to use events, you can raise a different event for each task, or pass an argument which would tell...
  18. Re: [2005] Timer running in the background

    The timer shoudl probably be on the Main form.

    There are 2 ways that I can think of off the top of my head to do this.
    1. Pass a reference of the timer on the main form to the mdi child when...
  19. Replies
    5
    Views
    963

    Re: [2005] Picture box painting

    No problem. Don't forget to mark your thread resolved in the Thread tools at the top of the page.
  20. Replies
    5
    Views
    4,407

    Re: Convert String to Expression

    It's not easy in .Net, and I'm not sure if it can do it to the extent that you want it done. But what you want to do is called reflection. This might be a good place to start reading up on...
  21. Replies
    5
    Views
    963

    Re: [2005] Picture box painting

    You would want to do that in the forms Pain event. When you use the Paint event you don't need to create the graphics object. Ii is one of the properties provided in PaintEventArgs variable that is...
  22. Replies
    3
    Views
    727

    Re: [2005] Setup Projects and Live Update?

    Here is a work around to getting it that should work:


    Dim str As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop).ToLower
    Dim str2 As String =...
  23. Replies
    2
    Views
    544

    Re: Closing a window

    The form has 2 closing events, FormClosed and FormClosing. Move the code that is in the exit button's event to one of these. Then just call close from the exit button.
  24. Re: [2005] Add child node in TreeView using the key;

    Look at the Find method in the Nodes property of the treeview.
  25. Replies
    5
    Views
    963

    Re: [2005] Picture box painting

    Any drawing that is done using GDI+ should be put in the paint event of the control. You are painting your doors once. But once the control is repainted for some reason, which can happen when...
  26. Replies
    2
    Views
    465

    Re: [2005] ListView

    Not sure what you mean by parallel code? Could you explain that a bit more?
  27. Replies
    1
    Views
    485

    Re: [2005] Help with DLL

    Well no one here is going to be able to help you directly because no one knows what dll you are using.

    Is this web browser a custom control that you are planning on adding to your own form? Or...
  28. Re: [2005] A simple question about rectangles

    The starting point of the rectangle is always the top left. You just need to do a little basic math if you don't have that value.

    You have the x, y of the lower left lets say 5,100
    You have the...
  29. Replies
    0
    Views
    499

    [2005] csc.exe crashing my app

    For some reason on some computers csc.exe crashes, and then freezes my app. If I end the scs.exe process, my app runs fine. I know csc.exe is the c# compiler.

    Why would a vb appliction be...
  30. Replies
    10
    Views
    6,632

    Re: Using bullets in strings

    I could be mistaken, but I believe that emails that are sent out that have color, images, bullet points ect.... are done in HTML format. So if you add html tags to your string variable that would...
  31. Replies
    4
    Views
    824

    Re: [2005]Rounding up a decmial

    Look at the math class. Specificly the Round function.
  32. Replies
    6
    Views
    1,005

    Re: Returning Microphone Volume

    Here is a project done in c# that looks like it does what you are asking.
    http://www.codeproject.com/useritems/AudioLib.asp
  33. Replies
    6
    Views
    1,005

    Re: Returning Microphone Volume

    It looks like you're going to need to use a few APIs. Take a look at this link. It's one of the API's you'll probably need to use, and it has an indepth exmple using the mixer. The sample is in vb...
  34. Replies
    1
    Views
    655

    Re: [2003] Create Service in VB.Net (urgent)

    You need to use the System.Timers.Timer not the Windows.Forms.Timer. You can find the System.Timers.Timer component in the toolbox under Components.
  35. Re: How to find out what MDI childs are opened?

    'assuming you are calling this from the parent
    Me.MdiChildren
  36. Replies
    1
    Views
    546

    Re: [02/03] Passing in a type

    To allow the user to use a class of there own you would need to create an interface the user implements. This interface would then have the procedures and properties that you expect. The user would...
  37. Re: [2005] Treeview DragDrop Problem

    What is the problem you are having? Is there an error?

    The problem is occurring at tvSelected.SelectedNode = tnAdd? Have you stepped through the code to see if it is running that line of code?
    ...
  38. Replies
    3
    Views
    759

    Re: [2005] Windows Mobile 2005 Cursor

    windows.forms.Cursor is available in the compact framework. This is the class you use to change the cursor.
    http://msdn2.microsoft.com/en-us/library/system.windows.forms.cursor.aspx
  39. Re: [2005] Calling functions using a variable

    I'm going to assume that getThis is a function that returns an integer. Is this correct? If it is this is how you would want to set up your procedure

    Private Sub populateCB(ByVal cb As CheckBox,...
  40. Re: [2005] Calling functions using a variable

    First, just for future reference, if you enclose your code in [Highlight=VB] [ /vbcode] (remove the space between the bracket and /) tags it makes it much easier to read.

    There are a couple of...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width