Search Results - VBForums

Search:

Type: Posts; User: jmsrickland

Page 1 of 13 1 2 3 4

Search: Search took 0.27 seconds.

  1. Re: how to get data in proper format from winsock

    I'll just sort of generalize (very general) but you should get the idea.

    Put a string variable at module level, let's say, you call it Buffer



    Dim Buffer As String
    '
    '
    '
  2. Re: Copy all properties from Form to other Form

    I also assume that but my statement was based entirely on what OP said, common sense or not.
  3. Re: Copy all properties from Form to other Form

    Why not? Name is a property of a Form but Command1 is not a property

    If the OP means Form properties then that includes Name but if OP means child windows of a Form then that includes Command1.
    ...
  4. Re: Copy all properties from Form to other Form

    The question is Copy all properties from Form to other Form so I assume OP means the properties of the Form which includes the name of the Form
  5. Re: Removing unwanted characters from a string

    Remove all ? and the one on the end
  6. Removing unwanted characters from a string

    Let's say I have a string like this:

    "abcd?fghijkl?nopqr?tuvwxy?"

    and I need the results like this:

    "abcdfghijklnopqrtuvwxy?"
  7. Re: Copy all properties from Form to other Form

    Well you can't copy all properties otherwise you will have naming conflicts
  8. Re: Code for shutting down using winsock in vb6

    How you choose the one you want is up to you based on things about a particular client that the server deems necessary to shut down.

    The server has the index of each client. That's how the server...
  9. Re: Code for shutting down using winsock in vb6

    I gave you an example in post 3. Is there something you don't like about it or did you just skip over it
  10. Re: Code for shutting down using winsock in vb6

    Use session codes that are pre-fixed to all messages being sent from Server to Client and from Client to Server. These codes will determine what action to take upon receiving a message.

    Your...
  11. Re: Looping while Form is active

    OK, modal is what I was looking for. Thanks all
  12. Re: Looping while Form is active

    I'm aware of using a switch but I was thinking without setting a variable; maybe something like If Form2.Active = False Then Exit Do or something that is already part of the Form properties
  13. [RESOLVED] Looping while Form is active

    I show Form2 and then go into a loop. What can I put in the loop to test so that when Form2 is closed (clicking on X button or command button) I can exit the loop



    '
    '
    Form2.Show

    ...
  14. Replies
    0
    Views
    214

    [RESOLVED] Opening a file

    I want to open an output text file. I have following code



    #include <stdio.h>
    void showStructs()
    {
    FILE *fp;

    if((fp = fopen("argcm", "rb")) == NULL)
  15. Replies
    5
    Views
    166

    Re: Msgbox icon in the right?

    It's still weird looking; it's kind of un-natural like (being that I am so use to seeing the normal way)

    Personally, I'd rather make my own MsgBox to display icon on the right than to look at that...
  16. Replies
    5
    Views
    166

    Re: Msgbox icon in the right?

    Wierd looking
  17. Replies
    2
    Views
    126

    Re: draw and animation circle

    Have no idea what you are asking

    BTW: Welcome to the Forum
  18. Re: Color definition of listbox selected item

    You will need to subclass
  19. Replies
    10
    Views
    292

    Re: Permutation

    Just out of curiosity and a little off topic I 'm wondering why /(n-k)! when n! = 24 when n = 4
  20. Replies
    1
    Views
    254

    Question about using a pointer

    I have a function similar to this:



    void VSanToSz(PSAN psan, char * sz)
    {
    if(psan->cmf & cmfCASTLE)
    {
    if((psan->isqTo == isqG1) || (psan->isqTo == isqG8))
    {
  21. Replies
    3
    Views
    143

    Re: Covert C++/Java array to a VB6 array

    You are dealing with arrays within an array.

    I don't know how to write a code or script to convert this but to do the same thing in VB as it is in the C code you need to set it up like similar to...
  22. Re: web browser open tab different ip address

    I get both the same
  23. Re: Has anyone ever heard of / used mario paint composer?

    Other than describing what/how Mario Paint Composer is/works the only question you ask is Is there anything that Vb6 might have a problem with as far as the multiple sounds?

    The best I can get out...
  24. [RESOLVED] Problem with embedded If statements

    I have the following If statements:



    If aa1 = -1 And bb1 = -1 Then
    If aa2 = -1 And bb2 = -1 Then
    If aa3 = 1 And bb3 = -1 Then
    '
    ' Do some stuff here
    '
  25. Re: UC Question - One UC picture on top of the other UC picture

    That only works when the mouse pointer is over the object. If the mouse pointer is in the center of the control to move then it won't detect anything when the picture first starts to move over the...
  26. Re: UC Question - One UC picture on top of the other UC picture

    It has nothing to do with my game so how to do pixel collision?

    Wouldn't something like drag over work?
  27. Re: [RESOLVED] How to check if a Word in a TextBox contains "+" Dosnt work For me

    OK, but that's not what it appears that you posted
  28. Re: [RESOLVED] How to check if a Word in a TextBox contains "+" Dosnt work For me

    I went by the If statement; not what was in the clause although I would say OP wants to test if + does not exists and tell user
  29. UC Question - One UC picture on top of the other UC picture

    I have two user controls each with a picture in it. How can I tell if I move one of the UC picture on top of the other UC picture?
  30. Re: Adding controls on Picturebox in SSTab

    Clicking on one tab or another should automatically go to the clicked tab - no coding is necessary. Make sure you are clicking on the tab and not the picturebox that you placed on the tab. If you...
  31. Re: [RESOLVED] How to check if a Word in a TextBox contains "+" Dosnt work For me

    I wonder why
    InStr(TxtServiceName.Text, "+") <> 0 or
    InStr(TxtServiceName.Text, "+") > 0 or
    Not InStr(TxtServiceName.Text, "+") > 0 when
    InStr(TxtServiceName.Text, "+") = 0 does the same...
  32. Re: Collision Detection on Transparent PictureBox Images...

    That's why I suggested a UC because it allows you to detect the image inside the box
  33. Re: How to check if a Word in a TextBox contains "+" Dosnt work For me

    You might want to re-think this
  34. Re: How to check if a Word in a TextBox contains "+" Dosnt work For me

    InStr(TxtServiceName.Text, "+") <> 0 is correct. So is InStr(TxtServiceName.Text, "+") > 0

    If Not InStr(TxtServiceName.Text, "+") > 0 is to check for the absence of the + mark
  35. Re: Collision Detection on Transparent PictureBox Images...

    You can make a User Control that will allow you to detect the visible image part of a transparent image instead of the entire boundary box the image is in. Using Image Controls or Pictureboxes will...
  36. Re: Capture a screenshot of a form and then pasting that screenshot in a smaller picu

    It appears you already know how to do what you ask. After you take the screenshot just reload it back into an image control (which you also have stated) so that the screenshot will be resized
  37. Re: Passing foreign language strings to a C# program

    Can you not have a table in the C# program that has the translations so the VB6 app sends "This window will be closed" and the C# app will look that up in a table and find the German translation "Das...
  38. Re: [Help] Looking for a few references for making a button show an image

    little_box.picture = LoadPicture(path_to_picture)
  39. Replies
    1
    Views
    147

    Not sure I understand this

    I have the following C sub:



    void VFixPi(PCON pcon)
    {
    int co;

    for(co = coWHITE; co <= coBLACK; co++)
    {
  40. Re: Resize a picturebox, so that the picture inside the box changes in size?

    OK, it worked all along. I didn't know I had to right mouse down within the picture and drag and Bonnie's method required you drag the edges
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.