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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Motor11
  • Content: Threads
  • Order by date
  1. Motor11

    Auto-scrolling text box

    Hey all, I've written an app with a textbox that I hope to have scroll to the bottom as I add information to it (a terminal window that shows processing information). All the info I can find on this issue says to add text1.selstart=len(text1.text) and possibly text1.selLength=0 This does...
  2. Motor11

    OOP and VB

    Sorry that this turned into a long rant. Maybe someone will find it interesting enough to make it all the way through and comment. I've been programming VB for quite a while but have managed for the mostpart to avoid using classes. On my latest project I decided to bite the bullet and go...
  3. Motor11

    OOP and VB

    Sorry that this turned into a long rant. Maybe someone will find it interesting enough to make it all the way through and comment. I've been programming VB for quite a while but have managed for the mostpart to avoid using classes. On my latest project I decided to bite the bullet and go...
  4. Motor11

    Detecting available serial ports

    I typically use the MSCOMM control for my serial communication. Since my company (offshore surveying) often uses many serial devices into or out of a single computer, the 16-port limitation of this control has always be inconvenient, but I have managed to live with it. Now, I have purchased an...
  5. Motor11

    Control Arrays and element zero

    Hi Folks, I have a program with a single control array element (a command button) and other elements of the array that are created dynamically with the Load command. I am seeing some unusual behavior with element zero. It seems that sometimes this element exist and sometimes it doesn't. I...
  6. Motor11

    Declaring DLL - works only sometimes

    I have a project which accesses a .dll. I have sucessfully accessed the dll in the past by packaging it under the subdirectory with my project. I have declared and used this dll without any problems. Now I am working on a new project on a new Windows 2000 machine. The exact same code to...
  7. Motor11

    Feed back on new FAQ - A different way to make a Wizard

    Hi all, I have an alternate way to make a Wizard-like interface. I'd like to post it as a FAQ, but perhaps someone would be willing to give me some feedback first? Here is the FAQ: Using the SSTab control to make a Wizard in VB: I like to use the SSTab control to make my Wizard-like...
  8. Motor11

    Additional Com Ports with MSCOMM control

    Hello all, Is there a way to access additional comm ports (say, up to com24) with the MSCOMM control? Is the API the way to go? Regards, Ryan
  9. Motor11

    Program crashes as exe but not in design evironment

    Hi all, I am working on a program that reads data from a serial port. I am using a commercial Com-port library (Greenleaf) to poll the port. The program runs fine in design mode but when I try to run the .exe (or an install from the deplotment wizard) the program crashes and returns the...
  10. Motor11

    Number changes value when converting from single to double

    I am working on a project where values of up to 10 decimals points are significant. I am loading values from a binary file, so I am forced to read them in as singles. They are stored in a temporary variable which, for the sake of simplicity, I am calling "mysingle". If certain...
  11. Motor11

    Looking for feedback on new FAQ

    Hi everyone, I just submitted a new FAQ (which hasn't yet been posted). I would however like to make it as good as possible, so I would like any feedback that users here would like to offer. So, to get the feedback rolling, I'm posting the text of the FAQ below: How to draw a...
  12. Motor11

    Unix timestamp conversion

    Hi Folks, Unix sytems often timestamp data with a unique timestamp. This time is typically defined as the number of seconds since Jan 1, 1970. Has anyone come across a formula to convert this "Unix time" to a more meaningful time (ie: a date and time that I can read)? Is this...
  13. Motor11

    "Selectable" structure data type

    Is there a way to choose the data type of a structure in code? A silly example to illustrate the idea: type mystruct x as double y as double end type private sub testsub() dim myvariable as mystruct dim flag as string flag = "x" myvariable.flag = 10 end sub Of course...
  14. Motor11

    Why ByRef argument type mismatch?

    I have an argument type mismatch, but I believe all variables are of matching types. Any ideas why this might be occuring? How the variables are defined in the calling subroutine: Dim x_small, y_small, x_large, y_large As Double Dim xmid, ymid As Double Dim x_adjust, y_adjust As...
  15. Motor11

    VB 5 Application setup Wizard Error (Win 2000)

    Hi Everyone, I am running VB 5 on Windows 2000. When I try to run the application setup wizard I get the following error: "Invalid Property Value" "An Unexpected Error Has Occured" Is anyone familiar with this problem? Any ideas are most appreciated. Thanks, Ryan
  16. Motor11

    Overflow error with variant data types

    Hello gentlemen, When running a program, I get an overflow error. If I put a breakpoint on the offending line, the overflow errors cease. The code is: x_small = CDec(xavg - (scale_val / 1.9)) All the variables are variants (scale_val is a decimal) and have been declared as such. When...
  17. Motor11

    Exporting contents of pic-box

    Hi everyone, Is there any straightforward way to save the contents of a picture box as, say, a metafile, or another type of raster image (the "print screen" button, notwithstanding). The idea here is to plot some data in a picbox and report the results in a Word document. BTW I am...
  18. Motor11

    Reading text file to array - why is it slow?

    VB-ers, I just discovered this site this morning and must say that I am excited by the find. This appears to be a great forum. My question is this: I stumbled upon a seemingly great way to load a text file to an array in the FAQ. The code is: Get #ff, 1, wholefile Close #ff If...

Part and Inventory Search

Back
Top