CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: lsmeteor

Page 1 of 18 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    2,612

    Re: HashMap replaces pair key/value, why?

    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...
  2. Replies
    7
    Views
    2,612

    Re: HashMap replaces pair key/value, why?

    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.

    2030103300
    ...
  3. Replies
    7
    Views
    2,612

    Re: HashMap replaces pair key/value, why?

    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...
  4. Replies
    7
    Views
    2,612

    HashMap replaces pair key/value, why?

    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...
  5. Replies
    10
    Views
    4,281

    You're right. I guess the Intellipoint software...

    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.

    Now I...
  6. Replies
    10
    Views
    4,281

    I had the same issue with my mouse at work. I...

    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...
  7. How can I programmatically retrieve db table indexes?

    Hello,

    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,...
  8. Replies
    3
    Views
    931

    Jinto's code seems to be doing exactly what you...

    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...
  9. Replies
    1
    Views
    700

    Not sure I understand correctly, but I don't...

    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??
  10. Replies
    5
    Views
    1,225

    hmmm, That is odd. I don't work with the PDW...

    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...
  11. Replies
    1
    Views
    768

    Not sure if this can help you but...

    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.
    http://www.codeguru.com/forum/showthread.php?s=&threadid=238008
  12. Replies
    4
    Views
    813

    You can download the component from...

    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.
  13. Replies
    3
    Views
    887

    Actually, if you make your app heavily dependent...

    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.
    ...
  14. Replies
    4
    Views
    918

    I think you are looking for the 'GetWindow' API...

    I think you are looking for the 'GetWindow' API call.

    Check out www.allapi.net and download the API-Guide application.
  15. Replies
    5
    Views
    1,225

    Hi, The entries in the Add/Remove Program...

    Hi,

    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...
  16. Replies
    8
    Views
    1,626

    Glad you could resolve it.

    Don't worry, we'll let you out from time to time!!! :):)
  17. Replies
    8
    Views
    1,626

    I concur with sotoasty. Using End is a brutal way...

    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'

    I...
  18. Replies
    8
    Views
    1,626

    Make sure that the Visual Basic for Applications...

    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...
  19. Replies
    5
    Views
    720

    olb??

    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...
  20. Thread: SStab Help

    by lsmeteor
    Replies
    1
    Views
    736

    something like label1.Caption = rs(0)...

    something like

    label1.Caption = rs(0)
    label2.Caption = rs(1)
    .
    .
    .
    ???

    Need more info
  21. I just read that you need to have Internet...

    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...
  22. Thread: unzip

    by lsmeteor
    Replies
    1
    Views
    611

    http://www.codeguru.com/forum/search.php?action=sh...

    http://www.codeguru.com/forum/search.php?action=showresults&searchid=1142524&sortby=lastpost&sortorder=descending
  23. Replies
    8
    Views
    1,091

    Congrats for you new job, and many thanks for...

    Congrats for you new job, and many thanks for your help. :)
    Don't forget us!
  24. Wow, You're on a roll. I think this is a great...

    Wow,

    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...
  25. Good point and we do show the info in the About...

    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...
Results 1 to 25 of 450
Page 1 of 18 1 2 3 4





Click Here to Expand Forum to Full Width

Featured