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

Search:

Type: Posts; User: javajawa

Page 1 of 21 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    15
    Views
    4,743

    Re: 24 bit integer in VB?

    I agree entirely, although I'd use the MSB
    Surely it makes more sense to ignore the LSB from a design perspective (i.e. two's complement interpretation, allowing certain assembler flags will be...
  2. Replies
    15
    Views
    4,743

    Re: 24 bit integer in VB?

    Quick solution: use the top 24bits of a 32 bit integer: just multiply everything by 2^8, manipulate, divide by 2^8 (ideally, you'd use logical shifts, but I'mm not certain that's possible in VB)
  3. Replies
    7
    Views
    6,147

    Re: PHP Namespace Error

    Namespaces are available in PHP as of PHP 5.3.0.
    [Source: PHP Manual]
  4. Replies
    3
    Views
    857

    Re: playing your own custom screen saver

    Are you talking about making your own screen saver? There are actually just normal programs which have been renamed as .scr, and they have a few standard control inputs.
    A quick search on google...
  5. Replies
    2
    Views
    3,925

    Re: Datagridview select row and column

    Welcome to the forums :wave:

    I think your problem lies in the fact that the first row is row 0, and the first column is column 0.

    Also note that you can determine the cell by looking at...
  6. Replies
    3
    Views
    865

    Re: PHP: Getting Post Information

    Not possible. What you need to do is sort of your javascript.
    I'm taking a blind guess at your code, but you'll need something like this


    var tablebody = .........
    var newrow =...
  7. Replies
    4
    Views
    816

    Re: Save File advise needed

    Oh, that's simple enough. The location the user chooses is put into the filename property of the commondialog control.
  8. Replies
    4
    Views
    816

    Re: Save File advise needed

    There are probably simpler ways, but I generally use the FileSystemObject in the Microsoft Scripting Runtime Library.
    There's plenty of stuff on the forums about that.
  9. Replies
    3
    Views
    1,361

    Re: I want Help For Compress Text in Text Box

    A simpler solution that dglienna's, but not tested (I don't have VB6 on this machine):

    Note: this assumes FORM.scalemode = vbTwips.



    Private Const MaxFontSize = 12

    Private Sub...
  10. Replies
    8
    Views
    3,900

    Re: Javascript: InnerHTML Issues

    And that'd be because I've got the wrong property. Javascript uses length rather than count.
    I think the rest of it should work...
  11. Replies
    8
    Views
    3,900

    Re: Javascript: InnerHTML Issues

    1) What browser are you using
    2) Does x have a value [alert(x)]
    In fact, you might want to try this:

    var x = document.getElementById('info');
    alert(x);
    x = x.rows[0];
    alert(x);
    x =...
  12. Replies
    6
    Views
    23,216

    Re: GetAsyncKeyState vs. GetKeyState ?

    Come on...
    You posted on a thread that was closed 5 years ago, in a forum irrelevant to you question, on a point that you could easily work out for yourself, or even just google, or (in fact) search...
  13. Replies
    1
    Views
    702

    Re: PHP: Please help..

    Welcome to the forums :wave:

    Is one of the files you got in the script called 'index.php', or 'index.html'? If not, you'll need to make one, as this is the file the browser will try and retrieve....
  14. Replies
    8
    Views
    3,900

    Re: Javascript: InnerHTML Issues

    A poor solution would look something like this:


    theCell = document.ge.t....rows[0].cells[2];
    for (i = 0; i < theCell.childNodes.count; i++) {
    if (theCell.childNodes[i].nodeName == 'SELECT')...
  15. Replies
    2
    Views
    858

    Re: Hot to verify existing files

    If Not System.IO.File.Exists(FileName) Then
    Prompt for file / Create default
    End If
  16. Replies
    7
    Views
    1,657

    Re: VB6 Help- Text box not working

    Welcome to the Forums :wave:
    You need to stop your timer.
    Just add
    Timer1.enabled = False inside that if statement.

    Happy Coding
    ~Jawa
  17. Re: please help its urgent....

    I honestly can't see the point in having a LastImage variable, when all slider controls have a .value variable, and the slider represents which image you are on. Perhaps I mis-understand what the...
  18. Re: FOR EACH ... bug/problem/quirk ....

    1) I thought that, in most cases, if you remove an item during a For Each, you got all sorts of strange results generally? I've had a number of programs crash when doing this kind of thing

    2) A...
  19. Re: how to remove flickering when the data is being postback

    Not a direct answer, but for large chunks of text, I generally put a transparent div over them, use that for a fade out affect by making it opaque. This also gives time for complex ajax scripts to...
  20. Replies
    7
    Views
    10,041

    Re: Seperate Div refresh in the same function.

    Right click -> Inspect Element. Somewhere on the bottom bar of that window, there's the console. It's useful, because if you open it, and hen reload the page (it's tied to the process from which you...
  21. Re: please help its urgent....

    [ Merged from Duplicate Thread ]

    Simple Enough.
    You declare a variable called Playing as a boolean in the form
    This is set to true in cmdPlay
    And to False in cmdStop
    In the timer, if playing...
  22. Replies
    7
    Views
    10,041

    Re: Seperate Div refresh in the same function.

    And if you want to make sure, you should have more than one machine to get a good overview of different versions of IE and to a lesser extent FF.
    I'd also just like to add that I prefer Chrome's...
  23. Replies
    8
    Views
    1,346

    Re: MCI not playing certain files

    Legally, no. And We're all bound by the AUP here...
  24. Replies
    8
    Views
    1,458

    Re: Changing the position of underline

    Then you're going against couple of hundred years of tradition. Underlines are always flush with the base line, so by definition, the underline goes through descenders. [Some notes on typography]
  25. Re: Adding tr dynamically :: problem with select as innerHTML from td

    Why not go with:

    newTD = document.createElement('td');
    newSel = document.createElement('select');
    newSel.name = 'doorbelasting-' + lastid;
    newSel.options[0] = document.createElement('option');...
Results 1 to 25 of 512
Page 1 of 21 1 2 3 4





Click Here to Expand Forum to Full Width

Featured