Search Results - VBForums

Search:

Type: Posts; User: jmsrickland

Page 1 of 13 1 2 3 4

Search: Search took 0.22 seconds.

  1. Converting one array indexing to another array indexing

    I'm dealing with an 8 x 8 array of pictureboxes that represents squares in a chess game that has the following indexing arrangement:

    57 58 59 60 61 62 63 64
    49 50 51 52 53 54 55 56
    41 42 43 44...
  2. Replies
    8
    Views
    193

    Re: How to interpret this array

    You're right on target.
  3. Replies
    8
    Views
    193

    Re: How to interpret this array

    It came from a chess program. The author made a chessboard out of 64 pictureboxes in an 8 x 8 array starting with index 0 in the upper left corner and index 63 in the lower right corner. Then in code...
  4. Re: How can I prevent the focus rectangle from appearing on a button

    @Magic Ink

    Thanks. It's good for regular buttons but doesn't work for graphical buttons which is what I am using
  5. Replies
    8
    Views
    193

    Re: How to interpret this array

    Thanks for your explanation. I believe however, from further observation of the code usage for this array, that it is more like the attached inage. I'm sure the coordinates are correct in the white...
  6. Replies
    8
    Views
    193

    How to interpret this array

    Public Square(-1 To 10, -1 To 10) As Long

    I don't understand the -1
  7. Re: [RESOLVED] What's wrong in this code ? Please Help.

    Does that 1-liner account for leap year?
  8. Re: How can I prevent the focus rectangle from appearing on a button

    Ummm....downloaded it but don't know what it is supposed to do.
  9. Replies
    8
    Views
    180

    Re: How can I upload image

    Don't have Twitter so I really don't know but can you upload an image manually? I think so since so many people do it. Then why don't you upload one manually and see if you can follow the links that...
  10. Re: How can I prevent the focus rectangle from appearing on a button

    That's the problem I'm having and the reason for this thread. I was using a picturebox for the buttons and it didn't work right and using Image control has the same problem. This button calls a sub...
  11. Re: How can I prevent the focus rectangle from appearing on a button

    The buttons are part of the game. They will be used quite frequently. Already tried moving the focus away and it didn't work since the focus rectangle appears immediately when user presses the button...
  12. Re: Using Character Strip Image to Copy Characters onto Picture Box to Spell Word?

    In a game I am working on I use special characters that I created for messages. I drew all the special characters, colored them, and made them look unique. I put each character in an array of Image...
  13. Re: Using Character Strip Image to Copy Characters onto Picture Box to Spell Word?

    I wasn't suggesting using .Print for a character from a custom bitmap.
  14. Re: Using Character Strip Image to Copy Characters onto Picture Box to Spell Word?

    why don't you just use the .Print method of the PictureBox. You can change fonts, sizes, styles, color any time to get the characters you need. If they are going to be special custom characters then...
  15. Re: How can I prevent the focus rectangle from appearing on a button

    Don't know anything about manifest and themes.
  16. Re: How can I prevent the focus rectangle from appearing on a button

    You don't understand. In normal Window's applications it is not a good idea but in custom applications like games those conditions no longer apply and in fact it is not a good idea to allow the focus...
  17. Re: How can I prevent the focus rectangle from appearing on a button

    It's OK in my application as I am using graphical buttons and the focus rectangle screws up the appearance of the graphics which has a very unattractive appearance. I was using picturebox for custom...
  18. Replies
    3
    Views
    111

    Re: spltting this proper

    Use InStr and look for the 2nd occurance of <pfont-size=

    1) Find the 1st occurance and mark it's position

    2) Starting at that pos + 12 find the next occurance. If there is a 2nd occurance then...
  19. How can I prevent the focus rectangle from appearing on a button

    I have tried SendMessageW Command1.hWnd, WM_KILLFOCUS, 0&, 0&

    in the _Click, _MouseDown, _MouseUp, and _GotFocus events and it doesn't work
  20. Re: Trim extension and file name of a string

    If you use InstrRev() then why would there be any loop iterations?


    CutFilePath = Mid(strFile, InStrRev(strFile, "\"))
  21. Re: Drop a control on constituent controls of a user control

    I'm not following this thread but I did take an interest in your OLEDragDrop so I have two questions

    1) drag what between the two PictureBoxes

    2) What's the purpose of the Command Button
  22. Replies
    1
    Views
    126

    Re: Problem showing modal Form

    OK, I figured it out.

    The MsgBox was hidden behind the 1st Modal Form because it had it's 'Always On Top' set

    So, I simply made the MsgBox Form also 'Always On Top'. When it is closed then the...
  23. Replies
    1
    Views
    126

    [RESOLVED] Problem showing modal Form

    I have a custom MsgBox that needs to be shown as Modal. It works just fine until an event takes place that the MsgBox must be shown from an already shown Modal Form. The MsgBox does not get...
  24. Replies
    5
    Views
    164

    Re: Simple Mouse Location Question.

    You're asking your question in the wrong Forum. You have VB.NET so that is where you need to present your questions.
  25. Re: listview/imaglist smallicon

    ImageList is only a depository for the images that you will use. So, yes, to enable them you still need to write code to make them show on your ListView
  26. Replies
    13
    Views
    269

    Re: What's wrong with my If statement

    I have been playing chess for more than 50 years. I know the rules and I know the conditions for doing this and that. All conditions are tested for
  27. Replies
    13
    Views
    269

    Re: What's wrong with my If statement

    Yes, I know all the conditions of castling. This is just one of may check points along the way.
  28. Replies
    13
    Views
    269

    Re: What's wrong with my If statement

    I want to enter the If block if one or the other values or both not 0

    Here is the criteria:




    K = King, R = Rook, p = any piece

    60 61 62 63
  29. Replies
    13
    Views
    269

    What's wrong with my If statement

    Square(61).PieceIndex = 6
    Square(62).PieceIndex = 0

    This does not work:

    If (Square(61).PieceIndex <> 0 And Square(62).PieceIndex <> 0) Then
    '
    ' Does not come here
    '
    End If
  30. Replies
    1
    Views
    134

    Loading a control

    I have an array of Image controls numbered 1 to 16. There is no index 0

    Now in my code I load control with index 17

    Load imgPiece(17)

    Question

    1) When this is loaded what piece is used as...
  31. Replies
    16
    Views
    526

    Re: ip calculator in vb6

    I know all of that, DM, but I don't think that is the question I am asking. I can see they increment no matter where I post and they go up but they don't stay the same. So if OP here had a count of...
  32. Re: Socket in array not closing.

    No, that is not necessary. A properly written server/client does not require a signal (/exit) to inform the server it is closing it's socket(s). When the client "stops" as you put it I'm assuming you...
  33. Re: Adding a new control to newly created tab in sstab

    No, Ken, it's by bad, not yours. I just picked up on Tab control and grabbed the one and only Tab control I had on my Toolbox and used it without realizing it as being different from the one you are...
  34. Re: Extract the most left 5 characters from list box

    All this other stuff is fine and dandy but I don't see what it has to do with OP's original question which has already been answered. Now if OP is satisfied with the answer then please say so and are...
  35. Re: Socket in array not closing.

    What do you mean ....surprised nobody else has. Maybe nobody else has this problem you are talking about. I know I haven't.

    I can't tell by your server code anything about your problem as it looks...
  36. Re: Modeless form while a modal form is open

    It can be shown; it just cannot continue on with the code until the Modal Form is closed.
  37. Replies
    16
    Views
    526

    Re: ip calculator in vb6

    I have four prior posts and all say 9032 before I post this one. So, they are not being incremented but I already stated that but when you have two posts that are far from each other the count should...
  38. Re: Socket in array not closing.

    Your code example does not really say anything. You need to post code from client side as well. You need to post all code that server deals with and all code that client deals with because it is very...
  39. Re: Adding a new control to newly created tab in sstab

    OK, I have version 6(SP4) Tab Control @2000 and OP is using version 6 @1997

    Damn, I hate that when there are two completely different controls versions and no one spells out which one they're using
  40. Re: Adding a new control to newly created tab in sstab

    The Tab Control I have looks nothing like this one. No wonder there's a mixup.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.