Search:

Type: Posts; User: FSPH

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    665

    VB.NET versus Java - refer to old thread

    Hello there,

    a while ago I initiated a thread in which I wondered what the best programming language is as a successor to VB6. The thread is on
    ...
  2. URLs/articles to make decision on alternative language to VB6?

    Hello there,

    in the past I built an extensive scientific model in VB6 that is composed of various modules. For a contract I now worked on one particular module. I feel that now would be the time...
  3. Re: Trouble with code to round down a number

    Hello,

    anhn - thanks very much for the code, it works.

    Bruce Fox - thanks for the clarification that I should have put in.
  4. [RESOLVED] Trouble with code to round down a number

    Hi there,

    I obtained code to round down a number to a second non-zero digit. Unfortunately, it doesn't work properly. When dblX is 82.02, I would like to round down this number to 82. Would you...
  5. Re: How to delete comment symbol (') & text in VB6.0?

    I think you have a good point there. You may have convinced me to leave the code the way it is. Thanks for your input.
  6. Re: Results of posted functions ArcTan, etc. in degree or radian?

    Thanks very much, that answers my question.
  7. Re: How to delete comment symbol (') & text in VB6.0?

    Why do I want to delete the code? That's a fair question: Under a contract I have to give my employer the code. Just in case I don't get the follow-up contract, I don't want to make it too easy on...
  8. Re: Results of posted functions ArcTan, etc. in degree or radian?

    To convert a result into radian, I believe one multiplies a result in degree by (Pi / 180).

    ResultRadian = ResultDegree * (Pi / 180)

    The ArcTan function below, however, multiplies Atn() by (180...
  9. Re: How to delete comment symbol (') & text in VB6.0?

    Thanks very much, I will try the code you posted in a few days and then report back.
  10. [RESOLVED] How to delete comment symbol (') & text in VB6.0?

    Hi there,

    I would like to remove all comment text (comments beginning at the left edge of the screen and inline comments) symbolized by " ' " from a particular module.

    How can I do this...
  11. [RESOLVED] Results of posted functions ArcTan, etc. in degree or radian?

    Hello there,

    a while ago "dsheller" put the code for three functions (ArcTan, ArcSin, and ArcCos) onto

    http://www.vbforums.com/showthread.php?t=451608&highlight=arctan

    Could someone please...
  12. Re: Sudden "Error accessing the system registry"

    I did that this morning without any effect. In fact, I shut down the computer and re-tried it right afterwards, again without any success.

    A few hours later I restarted the computer again, and...
  13. [RESOLVED] Sudden "Error accessing the system registry"

    Hello there,

    my VB 6 (SP6) model ran smoothly until this morning when I suddenly got the message "Error accessing the system registry". When I tried to run my model on another computer, I got the...
  14. Re: Getting out of all multiple recursions at once

    No, an Exit Function (in the case of a function) or an Exit Sub (in the case of a procedure) only takes you down one (1) level. So in my example of multiple recursions where I arrived at stream cell...
  15. Getting out of all multiple recursions at once

    Hello there,

    I want to "step up" successive stream cells to find out a particular attribute. As the stream cells are not yet connected, the algorithm uses multiple recursions: Look around stream...
  16. Re: Rounding down an unknown number according to its (negative) size

    Hello ANHN,

    yes, of course, I got the formula from you. That's why I refered to the previous thread from a week ago. I am sorry, I could not remember your acronym ANHN, otherwise I would have...
  17. [RESOLVED] Rounding down an unknown number according to its (negative) size

    Hi there,

    a week ago I started a thread called "Rounding up an unknown number according to its size".

    I wanted to find a reasonable map category upper bound for model results. For example,...
  18. Re: Rounding up an unknown number depending on its size

    Hi there,

    allright:

    If X < 1 then
    ' Len() difficult to work with if X < 1. WHAT'S THE ALTERNATIVE?

    Elseif X > 1 then

    n = Fix(x) + (5 * 10 ^ (Len("" & Fix(x)) - 2)) - Fix(x) Mod...
  19. Re: Rounding up an unknown number depending on its size

    Hello Anhn,

    thanks very much for coming up with this great formula.

    Is there any likewise smart formula around for values < 1?

    Regards!
  20. Rounding up an unknown number depending on its size

    Hi there,

    I would like to map values across a landscape through 5 map categories. For example, map class 1 with values 0-<10, class 2 with values 10-<20, etc.

    Trouble is, the max. value of any...
  21. Replies
    8
    Views
    746

    Re: [RESOLVED] VB6: Control name on Toolbox

    It worked like a charm. The graph control is NOW properly licensed.
  22. Re: Run-time error 429 - license info not found

    Hi there,

    my licensing problem was solved.

    I found an old note in my file "PCDiary.doc": "Error message “License information for this component not found”. Find and double-click on file...
  23. Replies
    8
    Views
    746

    Re: VB6: Control name on Toolbox

    Hi there,

    my licensing problem was solved.

    I found an old note in my file "PCDiary.doc"

    "Error message “License information for this component not found”. Find and double-click on file...
  24. Replies
    8
    Views
    746

    Re: VB6: Control name on Toolbox

    Hi Fazi,

    problem is, there is no "Graph" under Components.

    I tried to switch off some components to see which controls disappear from the ToolBox, but I can't switch off all when loading the...
  25. Replies
    8
    Views
    746

    [RESOLVED] VB6: Control name on Toolbox

    Hi there,

    I have a license problem with a (graph) control.

    Trouble is, I don't know what the control (i.e., the actual file) is called. On the Toolbox it only says "Graph".

    How can I find...
  26. Re: Run-time error 429 - license info not found

    Hello there,

    thanks for all your inputs.

    Yes, I get my program running by switching off the controls.

    However, ............

    I have "THREED32" on my desktop, it says "Control Typelib...
  27. Re: Run-time error 429 - license info not found

    Hi there,

    the form mdiStatus contains 4 controls called "SSRibbon" which is a "Sheridan 3D controls" ("threed32.ocx"). I registered the control again, but I still get this error message.

    By the...
  28. Re: Run-time error 429 - license info not found

    Yes, MDIForm is a simple form that I developed with a few buttons on.

    It is in no way a commercial product.

    It's the first time that I encounter this problem when attempting to run my program...
  29. [RESOLVED] Run-time error 429 - license info not found

    Hello there,

    I get a strange error message during loading:

    "Run-time error '429': License information for this component not found. You do not have an appropriate license to use this...
  30. Re: Visually distinguishing 2 versions of same VB program

    Hello everyone,

    hi Al42,

    Bingo, thank you.

    Both approaches - "Caption = App.Path" with or without status bar and changing project name in VB IDE - are very useful.

    Thanks very much!
  31. Re: Visually distinguishing 2 versions of same VB program

    Hello Hack and Mark,

    thanks very much - yes, I can add "Caption = App.Path" inside Load_Form of every form in my program. Alternatively, I can add a status bar to a form.

    However, this doesn't...
  32. [RESOLVED] Visually distinguishing 2 versions of same VB program

    Hi there,

    I have to switch between two versions of my own VB 6.0 program. Each of the two versions is in a different directory. Each program has a different name - for example, MyProgram 2007 09...
  33. Replies
    4
    Views
    531

    Re: Rounding problem

    Thanks, the last 2 code solution works like a charm!
  34. Replies
    4
    Views
    531

    [RESOLVED] Rounding problem

    Hi there:

    I would like to round negative fractions up and positive fractions down to to nearest .5 value.

    Example: Given a time step of 0.5, "-6.85" should become "-6.5" while "5.32" should...
  35. Replies
    4
    Views
    56,407

    Function Max in Visual Basic 6.0?

    Hi there,

    I read about the function "Max" and "Min" in the newest version of VB and also in VB for Applications (Excel).

    But they don't seem to exist in VB 6.0.

    Or is there a special trick...
  36. Replies
    2
    Views
    7,621

    Mathematical term for VB functions Atn or Atan

    Hi there,

    Atn (in VB6) or Atan (in newer version) returns a Double value containing the angle whose tangent is the specified number.

    Forget about programming and VB - how would I express this...
  37. Replies
    1
    Views
    524

    Trouble with accuracy in VB6

    Hello there,

    the result of the computation below in VB6 contradicts a sampe computation in a text book. Could you please plug this in for me.........?


    Const dblPi as double = 3.141592

    X =...
Results 1 to 37 of 37



Click Here to Expand Forum to Full Width