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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.