Search:

Type: Posts; User: techman2553

Page 1 of 10 1 2 3 4

Search: Search took 0.17 seconds.

  1. Re: How to detect when the user stops resizing a Form ( Mouse Up )?

    The Form_MouseUp event doesn't fire while resizing a Form. Clicking on the boarder of a Form doesn't register as a Click event or Mouse Up / Down.
  2. Re: How to detect when the user stops resizing a Form ( Mouse Up )?

    Thanks for the responses. The vbaccelerator example is essentially what I was looking for, however the demo code seems to miss a resize event on occasion. I'll need to try this with my own app to...
  3. How to detect when the user stops resizing a Form ( Mouse Up )?

    I have a form that will expand and move various frames and controls as the frame is resized ( using the Form_Resize event ). The form contains heavy graphics that are slow to refresh.

    Does anyone...
  4. Re: Suggestions For Managing Multi-Layer Graphics

    Separate drawing layers are required to minimize the amount of drawing that needs to be done for fast partial updates or user interactive tasks, like dragging items around the graph environment.
    ...
  5. Suggestions For Managing Multi-Layer Graphics

    Sorry for the long post….

    I am looking for suggestions on a better way to manage multi-layer graphics created using multiple PictureBoxes. I create a lot of custom graphs and plots in VB6 as part...
  6. Re: [RESOLVED] Central Control Event Monitoring For Many Forms

    I noticed it choked on a few TextBoxes. I put an On Error Resume Next statement in the For-Next loop that was scanning the controls just to test the concept. I figured that I would go back and...
  7. Re: Central Control Event Monitoring For Many Forms

    IT WORKS !!! - Unbelievable !!!

    That's a brilliantly elegant solution to this problem - thank you LaVolpe soooo much !!

    I just added the code to my diagnostics program, and had it search for...
  8. Re: Central Control Event Monitoring For Many Forms

    Thanks for the quick reply LaVolpe ( 7 min after I posted this !! ).

    I thought of subclassing, but that would be a nightmare.

    This falls into the catagory of using WithEvents for control...
  9. [RESOLVED] Central Control Event Monitoring For Many Forms

    I have built several VB6 diagnostics software packages for different machines that contain various sensor systems. Each program is a MDI interface with 20 or more child Forms. Each child Form is a...
  10. Replies
    7
    Views
    2,044

    Re: Calculate a complex rolling sinewave

    Interpolating the instantaneous amplitude is an option, and one of the more desperate approaches that I was considering. I was concerned about the required peak detect at low amplitudes.

    I did...
  11. Replies
    7
    Views
    2,044

    Re: Calculate a complex rolling sinewave

    jemidiah,

    Thanks again for taking the time to respond.

    You asked:

    "If so you could simply take the arcsin of the height normalized by amplitude and get the phase without hassle."

    That's...
  12. Replies
    7
    Views
    2,044

    Re: Calculate a complex rolling sinewave

    jemidiah,

    Thank you for your response. This is not a school assignment, it's a practical engineering problem that I am trying to work through while developing a sensor system.

    My challenge is...
  13. Replies
    7
    Views
    2,044

    Calculate a complex rolling sinewave

    Imagine taking a spring ( helix ) and stretching a portion of it out, then looking at the spring from the side, you would see a sinewave that has a constant frequency except where it is stretched...
  14. [Resolved] How to force a control to fire one of it's events ?

    brucevde,

    That was exactly what I was looking for. I forgot all about PostMessage !!

    Thanks for the help !!
  15. Re: How to force a control to fire one of it's events ?

    RhinoBull,

    Thanks for the response, but I can't use the RaiseEvent command and "fake" a control's event. I need to actually force Windows to fire a control's event, so that any form or class that...
  16. [Resolved] How to force a control to fire one of it's events ?

    Hello,

    I am doing some strange things with classes and controls that would be lengthy to explain, but what I am looking for is a way ( API call, etc ) to cause a control to fire one of it's...
  17. [2005] How to get the client size ( Height / Width ) from a Graphics object ?

    Hello,

    I am writing a class to manage an interactive graphing environement, and this is the first time that I have used GDI+. Once you create a graphics object from a PictureBox, how do you get...
  18. [2005] How to read back the ScaleTransform Multipliers ?

    I am working with VB.Net 2005. If I apply a ScaleTransform to a graphics object, how can I read back the Transform Multipliers later ? ( without saving the values to a seperate variable )

    For...
  19. Replies
    4
    Views
    633

    Re: Listview Forecolor Bug

    I know I don't have the VB6 Service Pack installed, so maybe that's it. Although I just tried this on another computer ( also W2K ) - same results.

    I'll try this at work, where I know I have the...
  20. Replies
    4
    Views
    633

    Re: Listview Forecolor Bug

    Then either my system is hosed, or it's Windows 2000.... :rolleyes:

    Thanks for the reply !!
  21. Replies
    4
    Views
    633

    Listview Forecolor Bug

    Hello Everyone,

    Is it just me, or is there a very stange bug with the Listview control's ListSubItems.Forecolor property ??

    The Forecolor property doesn't seem to "like" the color Blue ?!?
    ...
  22. Re: Test If Dropdown Menu Lost Focus (or closed) ?

    Thanks RobDog. I appreciate the help !!

    I'll give it a try tomorrow....
  23. Re: Test If Dropdown Menu Lost Focus (or closed) ?

    Thanks guys for the responses.

    RobDog, I figured subclassing was the likely approach, although I try to avoid it whenever possible. Because of the way that my program is structured, it would be...
  24. Test If Dropdown Menu Lost Focus (or closed) ?

    Hello,

    Does anyone know how to detect if a dropdown menu at the top of a form, has been closed ( without clicking on a menu item ) or lost focus ( and therefore closed ) ??

    It would even help...
  25. How To Keep MDI Child On Top - Working Example

    Hello all,

    I spent the entire day searching VBForums, trying to find a way to make a MDI Child Form that is set up as a "Tool Box", to stay ontop of all other MDI Child Forms. There are numerous...
  26. RESOLVED

    Never mind....

    I figured it out: (See Attached Image)

    Thanks Anyways !!
  27. Help with circles and tangents [RESOLVED]

    Hello,

    My Trig / Geometry have obviously been getting really rusty.

    I need help with the following problem: ( See Attached Image )

    Any help to create a formula, or a VB function would be...
  28. Replies
    2
    Views
    503

    You need to use the "WithEvents" statement when...

    You need to use the "WithEvents" statement when declaring the Excel object reference:



    ' Use WithEvents Statement To Capture Events
    Private WithEvents objExcelApp As Excel.Application...
  29. Problems working with tree structured classes.... [Resolved]

    I figured it out:

    This configuration will work if clsClassMain uses the Shared keyword when creating Class1 and ClassA, like this:


    '******************
    '*** Class Main ***...
  30. Thanks, but I have tried every combo of modifiers...

    Thanks, but I have tried every combo of modifiers that would make sense, even forcing everything public doesn't work.

    Any other ideas ???
  31. Problems working with tree structured classes....[Resolved]

    Hello,

    If you have a tree structure of classes, how can you access functions, ect. accross branches of the tree ??

    For example:

    If you have the following classes:

    ClassMain
    Class1
  32. OK - It's a little clearer now: The form can...

    OK - It's a little clearer now:

    The form can be made invisible after the MSComm control is assigned to the form's control collection, and it will still work, however you still see the form for a...
  33. Hey Edneeis, OK - now I'm really confused: ...

    Hey Edneeis,

    OK - now I'm really confused:

    I tried your sugestion, but was still receiving an error at first, then I inserted the frm.Show command, and it worked !!

    The problem now is that...
  34. Instantiating Controls Without A Form Reference...

    Hello,

    I'm just starting to convert from VB 6.0 to VB.NET, and thought I'd see if a solution for this situation has been provided by .NET:

    If you create a control through code in a Class...
  35. The enclosed BMP is a screenshot of the current...

    The enclosed BMP is a screenshot of the current interface. The next version is supposed to be based on several RichTextBox controls instead of ListView controls which will allow copying and pasting...
  36. Thanks for the replies..... The withevents and...

    Thanks for the replies.....

    The withevents and enable properties do not address this particular problem, thanks though.

    The end goal of this project is to create a class module that contains...
  37. A tough question about creating controls at runtime...

    Hello,

    There has to be a solution to this problem, but I can't find it anywhere....

    If you create a control at runtime by adding it to the controls collection of a form, how do you specify...
  38. Assign (associate) icon with custom file type ??

    Hello,

    Does anyone have sample code for how to change or associate an icon with a custom file type ??

    For example:

    I have an icon stored in an image list within a VB program that creates a...
  39. Replies
    0
    Views
    683

    Indirect Call Addressing - How ??

    Does anyone have any idea how a routine can record the ( handle, address, etc ) from a calling routine to a variable, then use that variable to peform an indirect call back to the first routine later...
  40. Replies
    6
    Views
    783

    The code example provided by plenderj will...

    The code example provided by plenderj will generate the string "Chr(&H88) + Chr(&H0) + Chr(&H1) ", which is 31 characters long. If you are parsing a hex data packet, you usually want to convert each...
Results 1 to 40 of 362
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width