Search Results - VBForums

Search:

Type: Posts; User: 7edm

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    135

    Re: How to (best) detect siting of a control?

    I think you are missing the point, the values stored in the collection are configuration values concerning a controls anchor preferences at resizing. This is read in at a default, like anchor left...
  2. Replies
    13
    Views
    135

    Re: How to (best) detect siting of a control?

    Maybe I still haven't made this absolutely clear, the control is a resizer control, but this part isn't about the actual resizing but the configuration of the resizing that will take place as at run...
  3. Replies
    13
    Views
    135

    Re: How to (best) detect siting of a control?

    Not entirely correct, UserControl code executes both at run-time and design-time, but I wasn't clear of that either before I started to dive in to this.
  4. Replies
    13
    Views
    135

    Re: How to (best) detect siting of a control?

    As for sited, only InitProperties, but that just concerns my UserControl, it's the other controls of the form I'm after. ReadProperties fires every time an instance of the UserControl is created,...
  5. Replies
    13
    Views
    135

    Re: How to (best) detect siting of a control?

    You are correct, although I thought it was understood by "sited on the form" - but - a control can of course be dynamically sited during run-time as well. Thanks for pointing it out, will try to be...
  6. Replies
    13
    Views
    135

    Re: How to (best) detect siting of a control?

    No, I want to detect at design-time when a control is sited (i.e. placed) on or unsited from the form, so I can add it to or remove it from a collection that stores anchor values for all resizeable...
  7. Replies
    13
    Views
    135

    How to (best) detect siting of a control?

    I am working on a resizer control and one of the problems I am facing is how to detect when a control is sited on the form? One way to do this is obviously to use a timer and continusly check the...
  8. Replies
    11
    Views
    381

    Re: Persisting data in vb6 classes/objects

    Oh, just a question regarding the the .Prop method of the cCollection, is it equal in function to .Add and/or is it only for use when in JSON mode? Otherwise, can it be used to update an object slot...
  9. Replies
    11
    Views
    381

    Re: Persisting data in vb6 classes/objects

    Thanks for that example Olaf,

    that code describes the process greatly and will help a lot even if the values I want to save isn't control coordinates but anchor information for each control. These...
  10. Replies
    11
    Views
    381

    Re: Persisting data in vb6 classes/objects

    Hi Olaf,

    I was thinking that technique could also be used to serialize and persist object related values that only change during design time and stays unchanged during runtime but is loaded into a...
  11. Replies
    8
    Views
    438

    Re: Install VB6 in Win 8.1 ,Is possible ?

    @gibra: Needed this to get my VB6 into my new NB, signed up so I could download 4.0 of your tool but got a zip package that was broken and when I trid to download from same url again I just get a...
  12. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    That's not the case here, but thanks for your contribution to the discussion.
  13. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    Yes, SP6 all the way.
  14. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    No such checks. The arrays involved in the surrounding code are all statically dimensioned, although some are multi dimensioned. I believe we can guess until we are blue without finding out what it...
  15. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    Yes you are right. Unfortunately that's not really feasible, at least not now, as this is a small part of a bigegr whole and I would have to spend a lot of time separating it all out. I may...
  16. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    Interesting, it prints 5 but most of all - it doesn't generate any error any longer!
  17. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    @Schmidt: Olaf, you give many good advices as usual and indeed most of them have already been done or are ongoing. This project has a history of over 30 years originally taking off in 1982 on a...
  18. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    I do, UniSuitePro unicode controls (definitely a candidate), Some API's, another dll called "Time2Win.dll" which may also be a candidate as the programmer seem to have disappeared, Olaf's...
  19. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    Yes, just did that and surprise surprise, or not really, it works w/o problem. Of course it does as there really isn't anything wrong with the function as far as I can see. A sucker really.
  20. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    Here are some statistics about the project, which is pretty big as you can see. I said about 65 000 lines above, as that's what I thought it was but after a closer look that's something of an...
  21. Replies
    24
    Views
    1,162

    Re: Very strange Overflow error

    Thanks for replying.

    Public P As Double


    Yes, of course. All variables are declared/dimensioned, no Variants.

    I know what an Overflow error is and what causes it. This one just doesn't seem...
  22. Replies
    24
    Views
    1,162

    Very strange Overflow error

    So this is very strange or can anyone explain to me why I get an Error 6:Overflow at line 100 in this code?

    Public Function CalculateT(ByVal IsGregorianCal As Long) As Double
    'On Error Resume...
  23. Replies
    34
    Views
    3,819

    Re: DoEvents and Performance

    I didn't intended to comment further on this thread (which if I was moderator would have considered to lock at this point as there is nothing more to prove) and to take a stand pro/against the ban I...
  24. Replies
    34
    Views
    3,819

    Re: DoEvents and Performance

    I sure hope you did that ban short and sweet because VF doesn't want to loose such a resource as Olaf. Yes, he has a somewhat "edgy" language and having German roots myself, and being a vbRichClient...
  25. Replies
    17
    Views
    3,267

    Re: [vbRichClient] How To...

    Just noticed Olaf got Banned (as an outcome of this thread: http://www.vbforums.com/showthread.php?739047-DoEvents-and-Performance), so let's hope we will come back once the ban is lifted. Otherwise,...
  26. Replies
    17
    Views
    3,267

    Re: [vbRichClient] How To...

    @DrUnicode: I don't want to sound negative, and I do appreciate you replying and your contribution, but when it comes to the library classes mentioned above there is really not much there to learn...
  27. Replies
    17
    Views
    3,267

    Re: [vbRichClient] How To...

    I would say vbRichClient is too great to keep covered in only one topic thread and think it's better to "tag" each topic with "vbRichClient" as well as putting [vbRichClient] in the subject, but I...
  28. Re: [vbRichClient] SQLite Pragma and Foreign Key support.

    Ok I see, I have to set it in code each time I open the db, fair enough. I just didn't get that when reading sqlite.org and thought that as the 'user_version' change was persistence the...
  29. [RESOLVED] [vbRichClient] SQLite Pragma and Foreign Key support.

    Hi Olaf,

    I hope you will see this.

    I'm trying to switch On SQLite Foreign Key support in RC5 but without success :-(

    While
    Call con.Execute("PRAGMA user_version = 1") seam to work and set...
  30. Thread: Sqlite with vb6

    by 7edm
    Replies
    13
    Views
    6,028

    Re: Sqlite with vb6

    I think you misunderstood my sig and have now edited it to be a bit clearer. I love VB6, since many years and while I have been looking for a replacement due to M$ abandoning it I have found nothing...
  31. Thread: Sqlite with vb6

    by 7edm
    Replies
    13
    Views
    6,028

    Re: Sqlite with vb6

    Maybe you would like to checkout http://www.vbrichclient.com, includes sqlite connectivity and some other goodies. I haven't tested the latest v5 but uses v3 myself. It's a bit more lightweight as...
  32. Replies
    4
    Views
    386

    Re: How do you make your form ontop

    To show the form on top locking out the posibility to act on other open forms:


    To make the form stay on top but allow for actions on the form opened from. If the original form closes, the "on...
  33. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    I installed an older version of my program in clean W8 and it installs these files:


    After a full wu update, including IE10 updates, they are still the same and my program have no problem to run,...
  34. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    After applying all updates to a clean install of W8 there is still no mscomctl.ocx or mscomctl2.ocx present, so I think it's safe to say that W8 or IE10 by themselves don't bring in any update of...
  35. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    After installing an OS in VMWD I always take a snapshot to have as a clean slate, in case I need to go back, so just checked an Win8 doesn't come with any MSCOMCTL.OCX, doing updates now to see if it...
  36. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    @DrUnicode: Somewhat OT, in your About box I see in the lower right corner "Forms3: 15.0.4420.101" while on my own I have "Forms3: 12.0.6604.100", otherwise all is same (apart from License box of...
  37. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    I think it's pretty clear that IE10 breaks and it makes sense to warn about that.


    And what verification of validity do we have about these scenarios? People often "remember things" not...
  38. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    Shouldn't the titel of this topic change to something like "Warning: IE10 breaks loading of Common Controls in VB6 IDE" and be made sticky?
  39. Replies
    86
    Views
    103,927

    Re: Windows 7 64-bit -- Library Not Registered problem

    I was hit by this today as well and can confirm that uninstall of IE10 solves the problem. Likewise, as far as I can tell, programs compiled without the IE10 "upgrade" seem to work ok also on...
  40. Replies
    8
    Views
    4,556

    Re: VB6 - AppEx Class, Assists Vista Programming

    I was a bit puzzled first as when I run the example program it said OSversion 5.01 and ServicePack 3, while this is Windows 7-64, but then I remembered that I run VB6IDE in XP SP3 compatibility mode...
Results 1 to 40 of 48
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.