Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ildenizen

  1. ildenizen

    Static variables and initialization

    Thank you everyone. Yes, I did start this thread, and yes, it does seem as though there are opinions out there on this! The application I am porting calls a routine. Within the routine, I check a flag/boolean. If the flag is not set, I initialize values and set the flag. The next time the...
  2. ildenizen

    Static variables and initialization

    Ok - It must be late. And yes, I am still a beginner here in the VB stuff. How can I, within a Private procedure, define a static variable, AND initialize it? In fact, if I am not able to initialize the static item, I am a little confused over why I would ever choose to use a static...
  3. ildenizen

    Compile error help for a young Visual Basic programmer

    To One and all - many thanks! I just needed to get the type declared in a module, and PUBLIC! I also needed to move my functions from my module where I defined the type to the form where they were used. Simple it was, but your help invaluable!
  4. ildenizen

    Compile error help for a young Visual Basic programmer

    Zemp, My new data type is defined in the declaration section for my form (I only have one form). It is defined as Type Complex Real as Double Imag as Double End Type I have a command button on my form, and for the click event, I perform some graphics initialization, data acquisition...
  5. ildenizen

    Compile error help for a young Visual Basic programmer

    Good evening, I just got the following error message: Compile Error: Only user-defined types defined in a public object module can be coerced to or from a variant or passed to late-bound functions. My code is really simple. I am defining a new data type (Complex number, with a Real and...
  6. ildenizen

    Using MSComm getting system lockup

    It has taken a while, however, I now have the final answer to all my problems, and it was partly what all you guys said. #1) I needed to be much more careful on how I clocked data from the USBMOD4 side. It is very finnecky. I no longer get any computer lockups, and the USBMOD4 chip now...
  7. ildenizen

    Using VB6, should I go to VB Net?

    Please forgive my very simplistic question. I am using VB6, and have not even touched the surface of all I can do with it. However, I may have a VB net version available. But I do not want to install or use it if it does not provide me with some significant advantages. Does anyone know the...
  8. ildenizen

    Using MSComm getting system lockup

    Thanks for the input! I think I have half the story now. The following is a bit long, so tune out if you are not interested :-) First, I have a USB chip connected to my USB port. The USB chip has drivers that are supposed to make it look like a serial port (Virtual). Also, the USB chip is an...
  9. ildenizen

    Using MSComm getting system lockup

    Good day. I have already been helped once here today, let's see if I can bat 1000! I am slowly putting together a com application. I have now been able to successfully open and send a character of information to a USB device configured as a Virtual Serial Port. However, here is the odd...
  10. ildenizen

    PC Com Port "Problems"

    Good day. I have already been helped once here today, let's see if I can bat 1000! I am slowly putting together a com application. I have now been able to successfully open and send a character of information to a USB device configured as a Virtual Serial Port. However, here is the odd...
  11. ildenizen

    PC Com Port "Problems"

    Thank you for you help! I have added that and run it. Guess what? Com Ports 1 through 8 are all unavailable. I am guessing that there is something going on with my Computer, not the code. I of course at this point am about to throw up my hands, as this seems a little beyond me. If you can...
  12. ildenizen

    PC Com Port "Problems"

    Good day, I am an average programmer, but have only just entered the Visual Basic world. I am happy to say it all makes good sense and am progressing quickly. One problem is that I can't get any comm port to open in my system! I am using the most simple of codes to see if I can simply open...

Part and Inventory Search

Back
Top