Search:

Type: Posts; User: Louix

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    6,711

    Re: Retaining Panel AutoScroll Position

    Problem solved using this post from Microsoft Support:

    http://support.microsoft.com/kb/829417
  2. Replies
    1
    Views
    6,711

    [RESOLVED] Retaining Panel AutoScroll Position

    Hi,

    I am in the process of making a custom list control and am using the panel control to contain list items. My problem is as I'm pulling data from a webserver frequently, I need to repopulate...
  3. Re: Can't get responseText from an ASP.NET page using XMLHttpRequest in JavaScript

    I get a response with status 200 if I browse to it, so there appears to be nothing wrong with my server code either.
  4. Re: Can't get responseText from an ASP.NET page using XMLHttpRequest in JavaScript

    Thank you for your replies, sorry this is a bit overdue but I had to go away for the past few days.

    I've got the JavaScript side down alright, but thank you for your code mendhak because it helped...
  5. Can't get responseText from an ASP.NET page using XMLHttpRequest in JavaScript

    Hi, no browsers (apart from Safari) can seem to get responseText from an ASP page on the ASP.NET Development Server app that comes with Web Developer.

    Here's my client side JavaScript code used to...
  6. Re: Is There A Way To Disable Ctrl-N on a WebBrowser?

    Got it!

    Disabling the WebBrowserShortcutsEnabled property stops any accelerator keys (such as Ctrl-N from being used)!
  7. Re: Is There A Way To Disable Ctrl-N on a WebBrowser?

    I think that's a little overkill for just disabling Ctrl-n!

    I'm trying to stop users from opening a new window in a WebBrowser.
  8. [RESOLVED] Is There A Way To Disable Ctrl-N on a WebBrowser?

    Hi, is there any way to disable Ctrl-N on a WebBrowser control using VB or JavaScript? I couldn't find any straight or working answers on Google so I thought maybe we could finally get a straight...
  9. Re: How Do You Ignore Illegal Characters In An XmlDocument?

    I found the solution!!

    http://seattlesoftware.wordpress.com/2008/09/11/hexadecimal-value-0-is-an-invalid-character/

    Very handy!!

    Thank you for your help guys :)
  10. Re: How Do You Ignore Illegal Characters In An XmlDocument?

    We are converting a CSV file from our product supplier to XML. The CSV file already has some illegal characters in it, so they get passed through when we convert it. Any way to ignore these...
  11. Re: How Do You Ignore Illegal Characters In An XmlDocument?

    I'm not allowed to give you the XML file but I can tell you that I'm using XML 1.0 and my RegEx looks like this:

    #x((10?|[2-F])FFF[EF]|FDD[0-9A-F]|7F|8[0-46-9A-F]9[0-9A-F])
  12. Re: How Do You Ignore Illegal Characters In An XmlDocument?

    I have this code which uses RegEx, but it doesn't work:



    String xmlFile = File.ReadAllText("myfile.xml"));

    string xmlFileFinal = Regex.Replace(xmlFile,...
  13. How Do You Ignore Illegal Characters In An XmlDocument?

    Hi,

    I'm trying to read quite a large (7mb) XML file which has quite a lot of illegal characters in it. How do I ignore them or ignore the run-time exceptions?

    Thanks

    Louix
  14. Re: Is It Possible To Calculate Maths From A String?

    Well, I found a way, even if it is a bit patchy, it still works.

    In my application, I use MSHTML. This solution is ideal for me, but can work for anyone else.

    I made a WebBrowser 0px in height,...
  15. Re: Is It Possible To Calculate Maths From A String?

    Hmm, interesting function, but I tried your example and it's returning 0. I've also tried a less complex sum such as 1 + 1, but that returns 1.
  16. Re: Is It Possible To Calculate Maths From A String?

    I've heard of that before, it's quite interesting the way it works, but what about implementing error detection? For example a sum such as "3 ** 4".
  17. [RESOLVED] Is It Possible To Calculate Maths From A String?

    Is there a method to calculate an equation from a string that looks something like "(1 + 1) * 2"?
  18. Replies
    2
    Views
    612

    Re: Homework Help Exe Protection

    Are you talking about .NET binary obfusication? There are a few products out there to do this, but your professor must be crazy if he/she thinks you can do this all by yourself.

    You can bind files...
  19. Can't Reference MSHTML For Some Odd Reason :S

    Every time I try to reference the MSHTML TypeLib, VC# crashes. Does anyone know of a fix?

    Thanks,

    Louix :)
  20. Re: How Do You Save Whatever's In The Clipboard To An Object?

    Thank you :)

    this isn't quite what I was looking for, I said whatever's in the clipboard. Is there any way to get the format of the data in there then apply it to your code?
  21. How Do You Save Whatever's In The Clipboard To An Object?

    Hi, I need to save the users clipboard contents to an object before I modify the clipboard, but I don't know how to do it. Any help is appreciated,

    Thanks

    Louix
  22. How Do I Control An Iframe Inside of A WebBrowser?

    Hi, I've tried this to control an Iframe inside of a WebBrowser control on my form as a test:


    Form1.WebBrowser1.Document.Window.Frames("page").Document.Focus()


    But I keep getting a Null...
  23. Replies
    4
    Views
    620

    VS 2008 Re: Creating a PHP, HTML coder?

    Make a button that says "Save", then you'll need to put in a SaveFileDialog with the Filter Property with something like "HTML Files|*.html|PHP Files|*.php" (without the quotes).

    Then click the...
  24. Replies
    0
    Views
    436

    Please Help Me With This Scrolling Problem!

    Hi guys, my form has the AutoScroll property set to true. It contains a panel as a "dummy control" so it scrolls, and a WebBrowser inside the panel.

    The panel has a background image, which is why...
  25. How Do I Save My Form's AutoScroll Position?

    Hi, I've made a form in my app scrollable, when I refocus the form, the scroll jumps back to the top, I've tried various ways of doing it but nothing works!
  26. Re: How Do I Keep A Window As The Top-Most Window Only In My Application?

    Thank you :), but the msghook library appears to be VB6 only :(
  27. Re: How Do I Keep A Window As The Top-Most Window Only In My Application?

    Thanks, but I said I didn't want a dialog, just a tool window that sticks on top of all the other windows in my application while my application has focus, then when another application is selected,...
  28. Re: How Do I Keep A Window As The Top-Most Window Only In My Application?

    Thanks, but this isn't what I'm looking for. I have a Toolbox form, and it's meant to stay on top of all other windows only in my application (not a dialog). When the application loses focus, this...
  29. How Do I Keep A Window As The Top-Most Window Only In My Application?

    There doesn't seem to be anything about it :S
  30. Replies
    5
    Views
    666

    Re: Why Isn't This Code Working?

    Thanks Atheist, your code did exactly what I needed to accomplish! :)
  31. Replies
    5
    Views
    666

    Re: Why Isn't This Code Working?

    This writes to the page about:blank in a webBrowser control.

    It looks like this goes after the </html> tag, and works perfectly the first time, but the second time, it's just a blank page, with...
  32. Replies
    5
    Views
    666

    [RESOLVED] Why Isn't This Code Working?

    Hi, I have this code, which works perfectly the first time I click a button:

    private void button3_Click(object sender, EventArgs e)
    {
    webBrowser1.Navigate(new...
  33. Replies
    0
    Views
    668

    How do I use webbrowser.document.write?

    This one's got me :S
    When I try something like webBrowser1.document.write("<tag>"), it throws a Null Reference Exception
  34. Re: Is It Possible To Have Two Forms Focussed At The Same Time?

    I meant one text box on a separate form with highlighted text, with the ability to keep editing text on another form at the same time.
  35. Is It Possible To Have Two Forms Focussed At The Same Time?

    Hi, I need to have text selected in a box in one form, and edit text in another at the same, if this is possible, how do I do this?
  36. VS 2008 Re: Is It Possible To Make A webBrowser Control "Wrap" Its Contents?

    Thanks for replying :)
    I found a way to do it by using the CSS property, "word-wrap".

    CSS:

    word-wrap: break-word;

    JavaScript:

    document.body.style.wordWrap = 'break-word';
  37. VS 2008 Is It Possible To Make A webBrowser Control "Wrap" Its Contents?

    I'm working a project I can't discuss on here, but could someone tell me if it's possible to make a webBrowser control to have its contents wrapped like you can wrap the text in a textBox control? If...
  38. Replies
    10
    Views
    1,298

    VS 2005 Re: Using Enter key without the Beep

    Try adding this in the KeyDown event:
    e.suppresskeypress = true
  39. Re: How Do I Minimize A Form To Its NotifyIcon In The System Tray?

    Okay, thank you very much for your help anyway, it might help with another part of this app.
  40. Re: How Do I Minimize A Form To Its NotifyIcon In The System Tray?

    No, what I mean is I need the minimize animation to fly over to the far right of the screen instead of minimizing to its task bar button. Hence "I need to make a form minimize to it's system tray...
Results 1 to 40 of 369
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width