Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ChaosTheEternal

Page 1 of 29 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    479

    Re: Can sum1 take a look

    Without looking at the code, did you put breakpoints in your code at the first line of the command button's click event and the image's click event?

    If you break into those and step through, you...
  2. Replies
    1
    Views
    561

    Re: IsNumeric Bug

    If IsNumeric is causing an issue, you could always try:

    Common.UserLevel = 0

    If Not Integer.TryParse(Common.UserLevel, Nothing) Then
    IsUser = False
    End IfReplace Integer with whatever...
  3. Replies
    29
    Views
    1,905

    Re: Goto's?

    I had to type something, and I hate just saying "Here".
  4. Replies
    29
    Views
    1,905

    Re: Goto's?

    Dev-C++, using the g++ compiler, gives a warning about it being a Divide by 0.
    VS2005 gives the warning "potential mod by 0", but since it is Modulus division, it's still dividing by 0.
  5. Replies
    29
    Views
    1,905

    Re: Goto's?

    If it weren't for the division by 0 and the missing label, then maybe you'd be able to figure it out.

    Of course, that's assuming there's nothing fundamentally wrong with the Universe.
  6. Replies
    6
    Views
    1,540

    Re: VB IDE Crashes When Unloading Form

    Well, I just noticed that it's a Public Function, so maybe it's located in a module and not a form, in which case there is no Me object so the check that you're not unloading wouldn't work.

    Unless...
  7. Replies
    24
    Views
    2,786

    Re: webbrowser

    At this point, you'll just have to see how it acts when you do an upload and see if the page redirects or just updates something on the page.

    If it does redirect, you can use DocumentComplete (at...
  8. Replies
    6
    Views
    1,540

    Re: VB IDE Crashes When Unloading Form

    First step would be to add the code as Gremmy shows so you don't call Unload on the form in the middle of your function. Next is to debug each form unloading.

    Put a breakpoint on the line with...
  9. Replies
    24
    Views
    2,786

    Re: webbrowser

    Can't exactly replicate pressing Enter with a mouse click on an edit box.

    I tried WM_KEYDOWN and WM_KEYUP in it's place, but the dialog wouldn't dismiss. You may just have to find the Open button...
  10. Replies
    24
    Views
    2,786

    Re: webbrowser

    It's a lot more complicated. FindWindowEx can only find children directly under the window you're looking in. The Edit control isn't a first child. The actual hierarchy (from Windows XP and IE7's...
  11. Replies
    24
    Views
    2,786

    Re: webbrowser

    For some reason, I believed the Timer control in VB6 was tied to the UI thread and wouldn't trigger if it were blocked.

    I guess I'm wrong. And I'm glad to be proven wrong rather than falsely...
  12. Replies
    24
    Views
    2,786

    Re: webbrowser

    In VB6, with a Reference to Microsoft Internet Controls (using IE7) and the following code:

    Option Explicit

    Private WithEvents ie As InternetExplorer

    Private Sub Form_Load()
    Set ie =...
  13. Replies
    24
    Views
    2,786

    Re: webbrowser

    Unfortunately, you can't. Using either the WebBrowser control or an IE object, if you programmatically click the "Browse" button, your program is blocked, waiting for the dialog to be dismissed.
    ...
  14. Replies
    7
    Views
    14,714

    Re: mfc80.dll & msvcr80.dll problem

    I have VB 6.0 and VS2005 installed (in the order of VS2005 then VB6).

    I see a reference to mfc80.dll and msvcr80.dll in the registry under:...
  15. Replies
    7
    Views
    14,714

    Re: mfc80.dll & msvcr80.dll problem

    Hrm... they're both in my System32 folder, and both have multiple copies in multiple folders in WinSxS.

    I found them in the former, hence why I suggested it.
  16. Replies
    24
    Views
    2,786

    Re: webbrowser

    If you're trying to set the Value property of an HTMLInputElement with the TYPE attribute of FILE, you won't succeed.

    (e.g. the HTML tag looks similar to: <INPUT TYPE=FILE NAME="uploadfile"> )
    ...
  17. Replies
    7
    Views
    14,714

    Re: mfc80.dll & msvcr80.dll problem

    Those DLLs do not "need to be installed" via regsvr32.

    They are Visual C++ libraries (the MFC and CRT assemblies from VS2005, to be precise). They should work fine if you put them into your...
  18. Re: Frustrated - Webbrowser1 !!!

    If they want to change where the page is stored, then the SRC attribute for the FRAME can change.

    Frames are a normal part of HTML. While the intent of frames is generally to not require you to...
  19. Re: Frustrated - Webbrowser1 !!!

    I thought it odd too, that I could load the page in a WebBrowser and your code wouldn't find a form, but viewing the source showed a FORM tag.

    So, I looked through the WebBrowser1.Document object....
  20. Re: Problem with calling a case statement from a case statement

    You define labels in code with a ':' after the label text.

    '...
    Exit Sub

    ErrorOccured:
    MsgBox Err.Description
    '...
    Starting with a ':' makes VB believe it's a blank statement.
  21. Replies
    19
    Views
    2,277

    Re: Form1 Error

    aniskhan's and Shuja Ali's comments highlight and solve your problem.

    When the program creates Form1, it goes into the Sub New, which is defined as:

    Public Sub New()
    MyBase.New()
    ...
  22. Re: How to make a Form non-movable at Runtime?

    It is doable with subclassing, but there can be a way to do it without subclassing.

    If you need to have it always unmovable (e.g. when you change it to be unmovable, it will not be movable again...
  23. Re: Help with simple Array program

    Option Base 1 means that that Dim statement makes an array that goes from 1 to 10.
    Even Option Base 0 would have an index of 10 in that array, but you'd have 11 items (from 0 to 10).

    My...
  24. Replies
    4
    Views
    3,644

    Re: webBrowser (firefox)

    Did you read the page at all?

    If you ran the installer, it registered itself. And do recall, it's called the Mozilla ActiveX Control (not the Firefox ActiveX Control), so you need to look for...
  25. Replies
    4
    Views
    3,644

    Re: webBrowser (firefox)

    Mozilla ActiveX control

    Works similar to the WebBrowser control. The developer has a note, though, if you use the control:
Results 1 to 25 of 712
Page 1 of 29 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center