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 Shaun E 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: frothytoad
  • Content: Threads
  • Order by date
  1. frothytoad

    Subtraction error

    Here is an odd thing that perhaps someone can help with. In an immediate window, type the following: ? 22.8 - 22.6 What you get is 0.199999999999 Now, it may have been a long time since my last math class, but I still can't help but to expect the answer 0.2. Anyone know why this happens...
  2. frothytoad

    Adding controls to a form and pointing to a field in TblDefs.Fields

    Hello all, I have been running into two problems that have me completely stumped, and I am hoping someone can offer an answer for one or both. The first has to do with creating controls programmatically. For some reason, when I try to add controls to my form (in design view), it comes back...
  3. frothytoad

    Customizing combobox scrollbar

    I have an application where I need an autocomplete combo box that is capable of holding a lot (like 10^5 or 10^6) of entries. Up to this point, I have created my own ActiveX control, based upon a standard combo box, and simply filled it in with small subsets of data for display purposes. It...
  4. frothytoad

    ADO vs. SQL

    I have VB code that accesses a MySQL database, and am hoping that someone can educate me on the following issue. There are two methods that are immediately obvious to me (although I am sure there are many others, probably more clever) for updating the database. The first is to open a...
  5. frothytoad

    Assigning a connection to a recordset, to set or not to set

    Here is an odd situation. I wrote a piece of code to open a new recordset. Starting with a previously opened connection: Set MyConn = New ADODB.Connection MyConn.ConnectionString = ConnString MyConn.Open the code to open the recordset looks like this: Set rst = New...
  6. frothytoad

    Arrays, Collections, insertion, and speed

    Hello. I could use some advice from people who have faced this problem already. For an application I am building I need an autocomplete combo box. Naively, I went and coded one, and it worked fine, but it used a linear search. When I realized that I might have many tens or hundreds of...
  7. frothytoad

    Where oh where are the MS Enumerations

    Perhaps this is just because I didn't get the intro course, but I seem to be missing something important. Where does Microsoft hide the constants for their enumerations? Example: I wanted something that would allow my user to select either a file or a folder. After a bit of hunting I...
  8. frothytoad

    Preventing user from changing applications

    I am working on an Access db project, and want to ensure that while the user is on a particular form s/he can't switch to or start another application (any app, even from the start menu). Does anyone know if there is a way of doing this (an application-level LostFocus event, for example, or...
  9. frothytoad

    Rank > 1 Assumed Size Arrays

    Hi I am passing rank 2 and rank 3 arrays to a subroutine, and running into the following problem: The compiler (Lahey Fortran 90) tells me that only the last dimension of an array can be of an assumed size. Is this really true, or am I just not asking it correctly? I have tried using...
  10. frothytoad

    Command line arguments

    Hi all, Does anyone know if it is possible to pull in arguments from the execution statement of a Fortran 90 code? For example: C:\> MYPROGRAM inputfile.in outputfilename.out Working... Output sent to 'outputfilename.out'. Thank you for using MYPROGRAM. C:\> _ One would normally expect...

Part and Inventory Search

Back
Top