Search:

Type: Posts; User: Elroy

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Re: Installation problem again - unexpected error quitting

    ... and people jump on me for making sure my large application is always portable ...
  2. Re: VB6 QUESTION: How many here have rolled their own msgbox dialog boxes?

    I still use the standard message box, but I virtually always use API calls to display it so I can control my button captions, put timers on it, and a few other things. I've never needed a "roll my...
  3. Replies
    4
    Views
    202

    Re: Monitor Numbering

    Personally, I've never been able to get this to work (correct numbering) with EnumDisplayMonitors. However, I haven't examined the order in which the monitors are returned by the WMI. Maybe they're...
  4. Replies
    19
    Views
    676

    Re: Organization of VB6 Source Code

    Yeah, I completely agree with that, both aspects of it. For me, especially when starting some new little project that I think is going to be fairly trivial. For those projects, I often don't pay...
  5. Replies
    19
    Views
    676

    Re: Organization of VB6 Source Code

    I tend to keep my constants close to whatever functionality is using them. Now sure, I've got a few globally used constant, but even then, they're kept close to similar functionality. As a good...
  6. Replies
    13
    Views
    502

    Re: How To Parse WMI Return

    Hmm, ok, maybe you're onto something. I'm still not sure that gets you all the way to the EDID information (if available). But it might.
  7. Replies
    13
    Views
    502

    Re: How To Parse WMI Return

    Yeah, I have never found a bullet-proof way to match this WMI information (nor registry information) with specific monitor handles (via EnumDisplayMonitors).

    If someone figures this out, that'd be...
  8. Replies
    52
    Views
    1,357

    Re: [RESOLVED] VB.Variant vs C#.Object

    Yes, I was quite aware of those distinctions. However, many VB6 functions just say "number" or "expression" for their input arguments. And, when tested, they work equally well with a variety of...
  9. Replies
    19
    Views
    676

    Re: Organization of VB6 Source Code

    184836
  10. Re: Code in Form vs code in Module ? Why one more the other ?

    Oookkkk. :) Good to know. So, for a simplistic function, there's going to be more overhead the more complex it gets .... Private vs Friend vs Public, in BAS vs Class.

    But, for an involved...
  11. Re: Code in Form vs code in Module ? Why one more the other ?

    Trick, you just mean the one extra jump through the vTable, correct? Once we get into the compiled procedure, it should all be the same, right?
  12. Re: Code in Form vs code in Module ? Why one more the other ?

    Goodness no. I've started out many "quickie" projects that way. However, quite often, they turn into a somewhat larger project, and I'm quite soon breaking that "utils" module up into more...
  13. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    Why not learn VB6? Or maybe VBA if it's something we're trying to teach to users.

    This seems like a point you should be making: And why would we target VB6 as our output language rather than...
  14. Re: [RESOLVED] What features in the subclass cannot be replaced by other technologies

    SDO, you say that you're wanting custom controls, but with subclassing, it makes your code difficult to debug.

    An easy solution is to just get this subclassing control going like you want, and...
  15. Replies
    19
    Views
    676

    Re: Organization of VB6 Source Code

    The primary thing that I'd like is sub-folders under each module type in the Project window. However, I've sort of already done that with the way I name my modules (particularly BAS modules), and I...
  16. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    I'm still clueless as to why you want a C#-to-VB6 transcompiler.
  17. Re: Code in Form vs code in Module ? Why one more the other ?

    Yes, Techgnome about covered it. Again, it's really more about organization of your source code than anything to do with compiler or speed issues. And also remembering that duplicate code in your...
  18. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    I'm as big a fan of VB6 as there is. But why in the world would anybody attempt to write a C#-to-VB6 transcompiler?
  19. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    Truth be told, I agree with Dil. To me, even the title of this thread doesn't make sense. It's like asking for a comparison of Egypt and the Pacific Ocean ... just not the same thing at all.
    ...
  20. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    To my way of thinking, a Variant is an intrinsic type (but I suppose that depends on your definition of "intrinsic type"). It's certainly not an object, other than the fact that it might contain a...
  21. Replies
    2
    Views
    202

    Re: ERROR Failed to export the report

    "SP3"??? Upgrade to "SP6". I've never heard of a single reason not to, and all the prior Service Packs have bugs. SP6 has bugs, but far fewer than some of the prior ones, and it's the one we're...
  22. Replies
    2
    Views
    373

    Re: Correlated Dataset Generator

    Ahhh, I did this years ago. Changing the mean and/or standard deviation doesn't change the correlation, and it's easy to do, as different means and/or SDs are just linear transformations.
    ...
  23. Replies
    52
    Views
    1,357

    Re: VB.Variant vs C#.Object

    There's weakly typed and then there's self-declaring (no Option Explicit). Personally, I think the self-declaring is the worst of all of it, as a simple mis-spelling can cause horrible consequences....
  24. Replies
    6
    Views
    260

    Re: Listbox : Center the selection line ?

    Ahhh, I totally misunderstood as well. I thought he wanted the items horizontally centered. Looks like Eduardo got it done though.
  25. Replies
    6
    Views
    260

    Re: Listbox : Center the selection line ?

    It would definitely take some subclassing of the ListBox.

    Personally, I'd probably "home-grow" (custom user control) my own ListBox, possibly using a small array of TextBoxes that the items scroll...
  26. Re: How Can I Change The Help Button Action in Runtime Error Dialog

    Yeah, that's right. The "compiled time" error message doesn't even have the "Help" button on it at all. It's just got an "OK" button on it. It'd take considerable work to get a "Help" button on...
  27. Re: How Can I Change The Help Button Action in Runtime Error Dialog

    That's not going to be easy, but it is an interesting idea.

    The only way I can think of to do it is to hook the thread, and then monitor for window creations. Then maybe check the class name,...
  28. Re: Too many controls using subclassing

    Personally, I'd say a timer that then checks whether certain things are happening (mouse down, keys down, mouse at a certain spot, whatever) would cost far more than a subclass that simply monitors...
  29. Re: Too many controls using subclassing

    I'd say "no". But a control like this, I'd definitely consider compiling it separately and making an OCX out of it.
  30. Replies
    14
    Views
    373

    Re: Multiple listboxes

    Or a ListView. The way he describes it, I'd tend to grab the ListView.
  31. Replies
    11
    Views
    405

    Re: how to draw .obj 3d models on picturebox

    gauser, OBJ (3D) files are arrays XYZ vertices (and, in triangle form, which isn't the only way), along with an integer array of triplets that tells us how to form triangles out of the vertices. ...
  32. Re: What features in the subclass cannot be replaced by other technologies?

    Yeah, I don't think you can though without a thunk of some kind. I wasn't clear, but I should have said "without a thunk" (i.e., just straight VB6 code).
  33. Re: What features in the subclass cannot be replaced by other technologies?

    Let me be a bit sardonic for a moment ... One might say that they "just don't like subclassing". Fair enough, but the only way to truly avoid subclassing is to return to the DOS (or CP/M) days, and...
  34. Re: A Container control that encapsulates Subclassing and has Scrollable features

    I'd like to know what "encapsulates the subclass" means.

    This should possibly be an addendum to what I said in the other thread, but I'll say it here.

    When we want some event that Windows...
  35. Re: What features in the subclass cannot be replaced by other technologies?

    To me, it's very important to understand what subclassing is. when it's done, and why you think you need to avoid it.

    Subclassing is nothing but a monitoring of the message pump, and...
  36. Re: VB6 QUESTION: Best Practice for Storing Small Images

    DLLs is a good point. I've got tons of images in DLLs, especially for one particular "help" system that has lots of pictures of xrays with examples of how to interpret things and setup things. ...
  37. Re: VB6 QUESTION: Best Practice for Storing Small Images

    And hey, Eduardo, I'm not saying that the ImageList or the PictureBox aren't good alternatives. They are. :)

    I suppose one advantage I see with resources is that you don't have to load a form to...
  38. Re: VB6 QUESTION: Best Practice for Storing Small Images

    It's just the standard Microsoft one that comes with the VB6 development package. I've never had any problems with it.
  39. Re: Setting submenu item Checked results in error 387

    In theory, I suppose it would make sense if you could work out a "Checked", "Gray Checked", & "Unchecked" option, with "Gray Checked" meaning partially checked items. And then checking (or...
  40. Re: Setting submenu item Checked results in error 387

    To me, it looks like you're trying to set a sub-menu container as checked, and not an actual menu item.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width