Search:

Type: Posts; User: Andrewpeter

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,667

    How to join in Garena by VB6 code?

    Hello,
    I want to join in Garena app by VB6 code, but I dont find any code to execute this. How to do this? Hope that help me solve it. Thanks.
  2. Replies
    1
    Views
    2,073

    Draw a 3D curve with OpenGL in VB6?

    Hi everyone,
    I heard that the OpenGL can be used in VB6 to draw 3D graph, is it right? If you can, you help me have an example, I searched - but it is not displayed. Thanks you.
  3. Re: How to draw an arc through three points in VB6?

    Ah, thanks. All three points are on the Arc (e.g: A(x1, y1), B(x2, y2), C(x3, y3)). Hope you help me solve this. Thanks.
  4. Re: API Viewr (2004) Run Time Error 5

    You can report directly for KPD Team to solve it. In my opinion, API Viewer is not sure to run well and stably on W7-64b PC. On my PC (W7-32b), it runs well.
  5. How to draw an arc through three points in VB6?

    Hello,
    I am working in VB6. I have to draw an arc through three-point on a Form. I dont know how to start doing this! I have this question with your ideas to help me solve it. Thanks.
  6. Re: Vs2008 is out when I drag my usercontrol into Form?

    I solved. Thanks.
  7. Re: SendMessage WM_GETTEXT LB_GETTEXT returns nothing

    I do this as following:

    1. hWndList is ListBox handle, you find it yourself.
    2. Declare two messages: LB_GETCOUNT and LB_GETTEXT.
    3. The code to get text of the current item:

    Dim index As...
  8. Vs2008 is out when I drag my usercontrol into Form?

    I have a usercontrol (in attachment), I don't understand what reason that I can't drag it into my Form, when I do this then VS2008 is out. Please check it to help me, thanks.
  9. Can you help me a demo of Navier-Stockes equation solver?

    I'm an engineer, please help me a demo of Navier-Stockes equation solver, thanks.
  10. Re: Please support to compile this control to ocx file?

    In this control please show me Variable uses the type not supported in VB? Thanks. I've found but cant find it. Thanks.
  11. Re: Please support to compile this control to ocx file?

    But I want to compile it to ocx file, I tried to do it (follow what you support above) but not successful. I get an error "Variable uses a type not supported in Visual Basic", not dislay error line....
  12. Re: Please support to compile this control to ocx file?

    Thanks techgnome, but It's a ActiveX project, not use Ctrl+F5 to take to the error?
  13. Please support to compile this control to ocx file?

    When I compile this control (printpreview) to ocx I get an error "Variable uses a type not supported in Visual Basic (Error 458)" and not compile it and not display error location. How to do solve...
  14. Replies
    0
    Views
    625

    How to convert VB6 to C#?

    I have a user control that wrote by VB6, I want to convert it to C#. Hope you help me, thanks. (I'm new C#).
  15. Get ProgID of dll file without use external tool?

    I wan to get ProgID of dll file, not use external tool to get it. How to do this? Thanks.
  16. Re: Add a child menu items in code to MenuStrip in C#?

    Thanks. I have resolved!
  17. Re: [C#] How to call function in ActiveX dll without Add Reference?

    Yes, I consult it at: http://www.csharp-examples.net/reflection-examples/. It uses System.Reflection. I tried and work well.
  18. [RESOLVED] Add a child menu items in code to MenuStrip in C#?

    I have a MenuStrip in Form, in there I had many Menu items:
    -a
    --b
    --c
    --d

    I want to code to have:
    -a
    --b
    --c
  19. Re: [C#] How to call function in ActiveX dll without Add Reference?

    Oh, thank you. I have found things I need. I use System.Reflection to do this.
  20. [C#] How to call function in ActiveX dll without Add Reference?

    I create a ActiveX dll (abc.dll) with a class "Class1" that contains a method (function) "def()". I want to call "def()" function without add reference "abc.dll". How to do this? Thanks.
  21. Re: How to show a Form from dll (VC# of VS2008)?

    Oh, thanks! I have found it: http://www.vbforums.com/showthread.php?t=472072.

    [Resolved]
  22. [RESOLVED] How to show a Form from dll (VC# of VS2008)?

    I want to create a dll file that contains a Form, I work as follow:
    Create a "Class Library" project with project name is DllTest that contains a TestDC class:

    using System;
    using...
  23. Re: Hook a message of an external application

    You can consult it at: http://www.vbforums.com/showthread.php?t=391338. However, I am not sure that is true with you. OK?
  24. Replies
    0
    Views
    434

    How to get SMTP server name?

    Hi everyone, I want to get SMTP server name (with "gmail.com", "yahoo.com",...). How to do this? Thanks.
  25. Replies
    8
    Views
    1,105

    Re: Please get "Tet" of my country (Vietnam)

    Oh, hope you'll come to VietNam to get "Tet", please listen my songs about "Tet", wish you will be happy:
    http://www.youtube.com/watch?v=ak6vrmSWRL0
    And:...
  26. Replies
    14
    Views
    26,484

    Re: removing double quotes from string

    With string constant (String type) you cannot remove double quotes around it. It's required by VB6 compiler.
  27. Replies
    39
    Views
    6,916

    Re: Opinions about DoEvents

    In my opinion, you can use DoEvents() in the loop (normally is While loop), and of course you can use anywhere in your project (as LaVolpe said). Have fun!
  28. Re: [RESOLVED] question: how to remove prefix characters

    Thereto, you can use code below (add a ListBox, a CommandButton in Form):
    Private Sub Command1_Click()
    Dim str As String
    Open "D:\abc.txt" For Input As #1
    Do While Not EOF(1)
    ...
  29. Replies
    8
    Views
    1,105

    Re: Please get "Tet" of my country (Vietnam)

    Thank you very much, hope you'll be happy and you can help all of my friends over the world come in my country in "Tet". Thanks against.
  30. Replies
    8
    Views
    1,105

    Re: Please get "Tet" of my country (Vietnam)

    Oh, hi hi, I'll give you a paper plane, it's very good. Today is the first of new year, in my country we are welcoming "Tet",... Hope you and all will come in my country. Thanks.
  31. Replies
    8
    Views
    1,105

    Please get "Tet" of my country (Vietnam)

    Hi everyone, in my country (Vietnam), "Tet" (new year) is coming in, please invite you come to my country to get "Tet" tradition. Thank you!
  32. Replies
    13
    Views
    1,297

    Re: Four arguments in one?

    Hi RhinoBull, I think it is a pointer to an array as techgnome posts above. In C/C++ that is always true. It must be a pointer.
  33. Replies
    13
    Views
    1,297

    Re: Four arguments in one?

    Hi techgnome, in my opinion, glFOGf is not a Data type (as long, as integer,...), so the declare above is wrong.
  34. Replies
    13
    Views
    1,297

    Re: Four arguments in one?

    Yes, please give me the prototype of that function; I think it require value parameter is a pointer.
  35. Replies
    13
    Views
    1,297

    Re: Four arguments in one?

    It's not four arguments, value is an argument of glFOGf substraction; and it's an array includes four elements. You try to search "pass an array argument in Vb6". Good luck.
  36. Replies
    10
    Views
    1,734

    Re: Send email with API function?

    Thank incidentals for your question, I want to the customs send a email to me when they need. What can I do? Thank you and hope you help me.
  37. Replies
    7
    Views
    813

    Re: Silly Timer problem

    You add declare line below in the top of code window:
    Dim A As Integer

    Have fun!
  38. Re: void pointer to interrupt function

    You check ext1isr variable, it's not been declared in code scope.
  39. Replies
    7
    Views
    718

    Re: [RESOLVED] Sub function question

    Thereto, you can use syntax below if you have a function:
    Dim x As DataTypeOfReturnFunction ' DataTypeOfReturnFunction can be "long", "integer",...
    x=Test() ...
  40. Replies
    7
    Views
    718

    Re: [RESOLVED] Sub function question

    We have two methods to call a sub or function:
    1. to use Call command, these are the samples:
    - Call Test
    Usage: No parameter.
    - Call Test(parameter1, parameter2,...)
    Usage: Test contains at...
Results 1 to 40 of 128
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width