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

Search:

Type: Posts; User: ergas

Page 1 of 11 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    3
    Views
    1,479

    Re: VB 6 using break points and steping

    With F9 put breakpoint on a line in source code where you want your program to stop.
    With F8 execute to next line.
  2. Replies
    9
    Views
    6,895

    Re: Double Click on Command Button ?

    Something similar yes, but not exactly. Double execution in my case was caused by a complex code, from somewhere in the program event was re-fired. My approach was to trace some debug info to a log...
  3. Replies
    9
    Views
    6,895

    Re: Double Click on Command Button ?

    From your description I couldn't see how your question is related to VB6.
    If you have VB6 source, you can add some debug.print information to check an trace how your command button is executed twice.
  4. Replies
    3
    Views
    1,098

    Re: Help with enter button

    Do you have VB6 SP6 installed?
  5. Replies
    4
    Views
    1,076

    Re: Incerementing a string "single" value

    Did you tried something like this?


    I didn't run the code, but it shoud work with explicit type conversion.
  6. Re: Microsoft Access and VB 6.0 Multiple connections

    Hi

    Your question is very general.
    A solution to your problem is somewhere in a way you have opened your recordset.

    Scenario:
    Two users opens a recordset from a database.
    1st user make...
  7. Re: ActiveX dll - could someone explain what is happening?

    Hi Great Hannes

    The purpose why I'm experimenting with ActiveX is to convert my old exe project to ActiveX. It's full of global variables and arrays. I can't change that, it would be to...
  8. Thread: VB timer query

    by ergas
    Replies
    2
    Views
    1,212

    Re: VB timer query

    If I understand your problem, you want a timer alway running, not paused by mouse actions.

    Add another form to your project and make it invisible. Put a timer to this invisible form, so it will...
  9. Replies
    2
    Views
    725

    Re: Deployment problem

    Do you have the latest VB Service Pack installed? I think the last one is SP6.
  10. Replies
    7
    Views
    1,132

    Re: Counting files in a directory

    Here is a code that uses FileSystemObject to count files in a folder C:, and to show a list of files. Maybe it can help.


    Private Sub Form_Load()

    Call ShowFileList("C:")

    End Sub
    ...
  11. Re: ActiveX dll - could someone explain what is happening?

    Hallo Great Hannes

    Thank's for your example.
    I have added a module with a public index variable and a public array, so it is now simmilar to my project.

    With a public array, if you add data...
  12. ActiveX dll - could someone explain what is happening?

    I'm trying ActiveX in my project, but I'm still confused.

    My ActiveX object is CMyX, and I use that object from my Client app.
    In one method I have declared 2 ActiveX objects.
    Then I add some...
  13. Replies
    6
    Views
    991

    Re: ActiveX unexpected behaviour

    It's OK with a VB ActiveX variable scope. I have made a stupid error. I have called a method on Form1 from inside a Client project, while I was thinking I'm in Server project.

    Regards
    ergas
  14. Replies
    6
    Views
    991

    Re: ActiveX unexpected behaviour

    It seems that it is not allowed to have ActiveX control with MDI form inside a MDI project.

    My sample application converted to MDI, fails with a message "Only one MDI form allowed."
  15. Replies
    6
    Views
    991

    Re: ActiveX unexpected behaviour

    In a sample project (attached), it works OK.

    Project1 is a client. It declares CMyAppA, and calls a TestMethod().
    TestMethod() calls a MyTask() method of a Form1.

    Both client and server have...
  16. Replies
    6
    Views
    991

    Re: ActiveX unexpected behaviour

    ActiveX has a lot of global variables, global arrays, global objects.
    That's why I'm trying to make it ActiveX, and then to use it from "identical" client application as an ActiveX object, with an...
  17. Replies
    6
    Views
    991

    ActiveX unexpected behaviour

    I'm surrprissed about ActiveX Form scope.

    I have two basically the same projects.
    1. MyAppA is an ActiveX exe server.
    2. MyApp is Standard exe, a client program.

    I have added a public class...
  18. Replies
    6
    Views
    922

    Re: Help with graphics

    Thanks Keang.

    I'm new to Java. My problem is to draw sometning in a new window, so I had an idea to use a new class for drawing.

    Now I have tried a new approach.
    I create a new JFrame and I...
  19. Replies
    6
    Views
    922

    Re: Help with graphics

    Perhaps there are some mistakes but it isn't important, I can fix it myself later. I only don't know how:
    1. Send variables a, b, c from the first class to the second class
    2. Create a command on...
  20. Replies
    6
    Views
    922

    Help with graphics

    Ok... I need help with something

    When I push the button, I need to draw graph of function f(x) = a* x*x + b*x + c in the new window. a, b & c are in the text area.
    The main problem is how to...
  21. Re: Problems running programme on different users.

    Have you installed application uder your sisters profile?
    Installation may register needed controls.
  22. Replies
    17
    Views
    1,587

    Re: Inadvertent looping!

    You have defined Names field:
    Dim names(5) As String

    but you loop from 0 to 5, that means Names field must be defined as:
    Dim names(6) As String

    Check also other fields.
  23. Thread: 3d surface plot

    by ergas
    Replies
    3
    Views
    4,391

    Re: 3d surface plot

    Do you want to make a perspective projection of graphs, using trigonometry and VB drawing functions?

    It is not a simple task. You can imagine your graphs as 3D objects, and you have to make...
  24. Replies
    17
    Views
    1,587

    Re: Inadvertent looping!

    You have two nested loops:


    For row = 0 To 5
    For col = 0 To 2
    ...
    'DISPLAY RESULTS
    lstdisplay.AddItem (names(row) & " " & SCORES(row, col) & ...

    Next 'ROW
  25. Replies
    3
    Views
    1,481

    Re: TextStream.WriteLine - NewLine problem

    I prefer using Scripting object for writing, and I also had an idea to write an explicit NewLine to my string, but in mean time problem was solved and it was not software-related,

    Problem I was...
Results 1 to 25 of 275
Page 1 of 11 1 2 3 4





Click Here to Expand Forum to Full Width

Featured