Type: Posts; User: lsmeteor
Search took 0.03 seconds.
June 27th, 2005, 09:29 AM
It was more like the first case. I would only be able to access 2 of the 3 items entered. The debugger would confirm what the code was about to do. I was logging the iteration and one item was indeed...
June 17th, 2005, 09:55 AM
I thought about that too.
I put in the following code to check:
log.info("date hashcode: " + date + " : " + date.hashCode());
and the code is different for each date.
June 16th, 2005, 04:50 PM
Thanks for taking the time to look at it.
Correction: The indicated size is 3 as expected, but there are only 2 keys since one of them is overwritten. I just can't understand why it shows a size...
June 16th, 2005, 11:00 AM
I am having this problem with a HashMap: when trying to insert a new Long value using a Date as the key, my first or second pair key/value entry gets replaced with the third one even though the key...
February 24th, 2004, 02:41 PM
You're right. I guess the Intellipoint software is more than just the driver, but I used to have a non major brand name wheel mouse and it still worked in Visual Studio on my home system.
February 23rd, 2004, 11:21 PM
I had the same issue with my mouse at work. I installed the proper driver for my mouse and it worked. - It is an MS-mouse. My co-worker with the same type of mouse did not install the driver, and he...
January 29th, 2004, 05:39 PM
Is there a technique to retrieve the indexes of a db table programmatically?
I am using P2000i SP4 (Btrieve) and an ADO/OLEDB connection.
In the particular database I am connecting to,...
January 29th, 2004, 09:55 AM
Jinto's code seems to be doing exactly what you are looking for. Read in the whole file, and rewrite the file leaving out the last line.
BTW, if you need to delete a specified line from a text...
January 27th, 2004, 02:26 PM
Not sure I understand correctly, but I don't believe you can add to any position in a listbox.
Anyhow shouldn't the last item be put at ListboxB.ListIndex??
January 23rd, 2004, 08:49 AM
hmmm, That is odd. I don't work with the PDW much but there might be some settings that prevents the uninstall file from being created at all.
As Bill mentioned, ensure that you are installing your...
January 22nd, 2004, 01:21 PM
Take a look at this thread. This was to get a millisecond delay measurement.
Maybe you can find the start of an answer in there.
January 22nd, 2004, 01:16 PM
You can download the component from www.microsoft.com/data
MDAC 2.6 and later no longer include the Jet 4.0 components. You can download it as a separate install.
January 22nd, 2004, 01:13 PM
Actually, if you make your app heavily dependent on the registry and/or dll files, it will be very hard for someone to just copy your application to another machine without a proper installation.
January 22nd, 2004, 09:41 AM
I think you are looking for the 'GetWindow' API call.
Check out www.allapi.net and download the API-Guide application.
January 22nd, 2004, 09:04 AM
The entries in the Add/Remove Program screen is usually kept in the registry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key
That is the most human readble...
January 21st, 2004, 05:07 PM
Don't worry, we'll let you out from time to time!!! :):)
January 21st, 2004, 02:27 PM
I concur with sotoasty. Using End is a brutal way to exit an application.
It should be the very last command after unloading forms and memory properly.
Maybe use 'Unload Me' instead of 'End'
January 21st, 2004, 10:34 AM
Make sure that the Visual Basic for Applications reference is selected.
The 'Close' statement should be fine (closes all open files).
If you still get the error without the 'Close' statement, and...
January 21st, 2004, 09:40 AM
You also have to be careful with olb files. I believe they can't be freely distributed either.
I am not 100% sure, this has to be verified.
In my case, I have my applications detect Outlook...
January 20th, 2004, 10:53 AM
label1.Caption = rs(0)
label2.Caption = rs(1)
Need more info
January 19th, 2004, 09:18 AM
I just read that you need to have Internet Explorer 4.0 or later for the API call (SHGetDiskFreeSpace) to work on NT4.
Hopefully this is what is missing, but I am a bit skeptical that this is your...
January 16th, 2004, 12:32 PM
January 16th, 2004, 09:06 AM
Congrats for you new job, and many thanks for your help. :)
Don't forget us!
January 16th, 2004, 09:02 AM
You're on a roll. I think this is a great idea. :) The control file can be binary so that it cannot be easily edited.
Most of our users have no clue anyways but we deal with people who...
January 15th, 2004, 06:09 PM
Good point and we do show the info in the About box.
Actually this is a great idea. I am showing all this info already but it is not correct when we don't use our licensing control. I'll modify it...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.