dcsimg

Search:

Type: Posts; User: tubus

Page 1 of 2 1 2

Search: Search took 0.20 seconds.

  1. Re: Clearing array is fast in VB5 but very slow in VB6

    ...aha, thanks!

    Time to learn something new every day. :thumb:
  2. Re: Clearing array is fast in VB5 but very slow in VB6

    Just in case someone ends up here in search of high precision timestamps

    ATTENTION!

    The lines:



    should be:
  3. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    ...allready done -> NanoVB

    (..and I don't think MS really cares)
  4. Replies
    41
    Views
    2,800

    Re: Usercontrol property access speed issue

    ...actually i've read several times that GOSUB is faster only in the *IDE*, and *slower* if compiled



    ...agree with that, -> ravioli code

    :D
  5. Replies
    11
    Views
    781

    Re: Question about perfomance

    ...not sure, but what I can say: it speeds up things a lot if you first *check* if these values differ, and *only* update if they do.
  6. Replies
    84
    Views
    5,352

    Re: GOSUB - Is it really bad?

    ... well, sometimes yes, you have a point with this one :o
  7. Replies
    84
    Views
    5,352

    Re: GOSUB - Is it really bad?

    .....yes I know you can replace a GOSUB with a class, but what for? You introduce a new level of complexity only to avoid a GOSUB?
    Instead of 'spaghetti-code' you get 'ravioly-code', does'nt look...
  8. Replies
    84
    Views
    5,352

    Re: GOSUB - Is it really bad?

    Hi Elroy & jbro


    ..hey thanks, thats probably the way do do it!

    May still have somewhat of a performance hit, but certainly not to bad. I will consider this from now on.

    Regarding GOSUB: if...
  9. Replies
    84
    Views
    5,352

    Re: GOSUB - Is it really bad?

    ... well sometimes you just have to have everything within 1 function, and so GOSUB is the only way, due to lack of true Inheritance in VB6.
  10. Replies
    84
    Views
    5,352

    Re: GOSUB - Is it really bad?

    ... I know. May be its because I started my programming career with assembly-programming, so it looks just kind of natural to me :rolleyes:

    But say: how would you do it?

    Whenever I think of it,...
  11. Replies
    84
    Views
    5,352

    Re: GOSUB - Is it really bad?

    ... I have to confess, im using GOTO quite often. Mostly in the context of parsing strings:



    nxt:
    pos = InStr(pos + 1, somestring, searchstring)
    If pos Then
    do something...
  12. Replies
    11
    Views
    1,203

    Re: Code bookmark add-in?

    ...not to derail this thread, but does anyone know if there is a add-in which can search within ' With ... End With' references.
    So that for example:

    With Frm_Hlp
    .Left = ....
    .Top =...
  13. Replies
    7
    Views
    532

    Re: VB6 does not show ServicePack6

    ... thanks, Arnoutdv
    Well, I'm sure it displayed 'ServicePack6' before the crash.
    What i'm not so sure, if I applied the right SP6. I think I tried first erroneously the english version. It's been...
  14. Replies
    7
    Views
    532

    VB6 does not show ServicePack6

    Dear VB-gurus

    Recently my VB6 suddenly stopped working. That is, it crashed on loading of most of my projects, but not all.
    No idea what happened.

    I tried to just reinstall it, did'nt help....
  15. Replies
    480
    Views
    28,555

    Re: Vb6 , the Future, and what I have discovered

    ..yeah, I think this too. Mainly because VB6 apps can be so incredibly compact.
    But, alas, tablets, phones & the like means multitouch

    And how to do that in VB6??

    May be like this:
    (I'm far...
  16. Replies
    480
    Views
    28,555

    Re: Vb6 , the Future, and what I have discovered

    ...I suspect, these numbers would look like 10 times more in favor of VB6!

    And if they took the parallel road, it would hav been obvious to everybody, how lame in comparison VB.NET (at the...
  17. Replies
    480
    Views
    28,555

    Re: Vb6 , the Future, and what I have discovered

    @Elroi

    ... well your right, but I don't think it was just a big-ego at MS, but a hard core business decission.



    I think, they just suspected exactly that!

    I mean, how would these numbers...
  18. Re: IDE crashing after running a program with subclassing

    ...well, you might mitigate this a little bit:

    Make your modifications, edit and continue like normal.
    Then before you close your app, copy the code over to a text editor like Notpad++ (switch...
  19. Replies
    16
    Views
    1,079

    Re: how to add property for LaVolpeButton ?

    ... well, yes!
    And I have to say: in heavy use. Populating my Apps literally by the hundreds.

    And thanks for that!

    But, as I reported earlier, I have some problems with it, mainly that it...
  20. Re: Multiple Sequences of IF..Then Statements on a Single Line

    ^this! We need no Code-Police!

    I for one use a lot of so called 'depreciated' features & coding standarts just because i'm used to it. (a.k.a. my brain is wired that way)

    e.g. I use the Call...
  21. Re: Check which keyboard is typing [BARCODE SCANNER]

    ... don't know if this may be helpfull, but have a look at HIDmacros (www.hidmacros.eu).

    This small utility *can* differentiate between several keyboards and can use this to do different things....
  22. Thread: UDT Pointers

    by tubus
    Replies
    28
    Views
    1,707

    Re: UDT Pointers

    ...may be not, but I don't consider me a first time programmer (started with 6502 assembler somewhere in the stoneage :) )

    But lets aggree to disagree, I will continue to use the registry until I...
  23. Replies
    10
    Views
    1,058

    Re: [RESOLVED] Why form still visible when 'unload'

    Thanks Elroy for your answer

    ...well yes, I do manipulate the Z-order with the respective API calls, I need that to display sort of monitoring or toolbox windows above the main windows.

    To be...
  24. Thread: UDT Pointers

    by tubus
    Replies
    28
    Views
    1,707

    Re: UDT Pointers

    Well, to be honest, I was in the same boat for a long time. Certainly, as I recall, after I installed the very first SoundBlaster Audiocard on my system.
    The registry was afterwards more than six...
  25. Replies
    10
    Views
    1,058

    Re: [RESOLVED] Why form still visible when 'unload'

    ... well, I think I understand that, but *why* a modal form is not automatically the topmost??

    Now all too often I happen to open a modal form and it is hidden below an other one.
    And all to...
  26. Thread: UDT Pointers

    by tubus
    Replies
    28
    Views
    1,707

    Re: UDT Pointers

    ... i suppose I will not make friends around you with my approach of handling this:

    I just throw everything into the registry. I know, this is somewhat depreciated, but since the registry is here...
  27. Replies
    31
    Views
    2,094

    Re: Drawing Without WM_Paint Messages

    ... not shure what your after, but I once tried something similar and just used something like:



    'Erase Old
    oBox.Line (mPrevX, mPrevY) - (mPrevX + .TextWidth("Text"),...
  28. Replies
    53
    Views
    2,411

    Re: Option Explicit: An Option (for personal use)

    ^this

    ... sometimes I go as far as copy/pasting the code back and forth to notepad++ just because of that.
  29. Replies
    15
    Views
    893

    Re: Scope inside Form

    thanks, Elroy & passel!

    ... thats what I thought. Though in my case its more the usual laziness than 'certain good uses...' .....:sick:
  30. Replies
    15
    Views
    893

    Re: Scope inside Form

    ... b.t.w: is this true??

    I'm guilty of this and never experienced any problems.
    I mean, if its forbidden, then the compiler should complain about it, should'nt it?

    Or are there any hidden...
  31. [closed] Re: User Account Control confusion ??

    ... thanks, DataMiser, you are spot on!

    Don't know why it is set that way though, probably I did set it that way myself as a trial to solve just this (or another) problem.

    As dilettante put it,...
  32. Re: User Account Control confusion ??

    ... thanks PlausiblyDamp! No, nothing of the kind. App name is 'InGrid.exe'

    But when I compile with target name 'InGrid1.exe', no UAC interferes ??
    If I rename this back to 'InGrid'; UAC-starts...
  33. [RESOLVED] User Account Control confusion ??

    Hello VB-Gurus,

    ..if I start my VB6 App compiled EXE, the UAC strikes in, well, so far so good.

    What I don't understand, if I just rename the EXE, just add a letter or so, the UAC shuts up...
  34. Re: Slow TextBox Updates When Compiled?

    ... nothing changed.
  35. Re: Slow TextBox Updates When Compiled?

    ...y.a.t. if I break code anywhere with the break key and resume its fast again
  36. Re: Slow TextBox Updates When Compiled?

    ... same here

    And my Aboutbox looks the same except its Forms3: 2.0

    Another thing: if I break code execution on first Property Let SelText and then resume its fast again :confused:
  37. Re: Slow TextBox Updates When Compiled?

    ...forgot to mention, on my machine it runs slow (~43 sec) in the IDE and compiled, just a fraction of a second difference.



    ...anything to do with this?? I'm on German Windows (Switzerland)...
  38. Replies
    73
    Views
    2,675

    Re: "Fast dump" not so fast

    .... well, my machine behaves the same: 43 sec without that extra step, 1.75 with it ??? Very strange!

    (W8.1b 64 i5 3350 8GB)
  39. Re: Help me create manifest for using MSWINSCK.OCX in my program.

    ...you may have a look at Enigma Virtual Box http://enigmaprotector.com/en/aboutvb.html

    The Enigma Virtual Box itself is freeware (not the Enigma Protector) and is a simple way to create portable...
  40. Replies
    22
    Views
    1,534

    Re: Watch functionality broken

    ....update:

    I'm starting to think, my VB6 installation may have issues.

    I've some other (minor) issues as well:
    - starting VB almost always gives me a: 'Method '~' to Object '~' failed' But...
Results 1 to 40 of 68
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width