Results 1 to 9 of 9

Thread: Does vb.net have a cache or something? *Unresolved*

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    Does vb.net have a cache or something? *Unresolved*

    I gave my program to someone else, with all the Interop.* files, and for some reason, my data is showing up on his computer. i have a control that lists all the network cards installed on a computer. when i gave my friend the program, it listed my netword cards - why could it be doing this? is it because of the interop files?

    in vb6, the control delivered my network cards to me, and his network cards to him, just like its supposed to..

    but now its listing mine in his? what could be causing this? am i supplying the wrong files or something?
    Last edited by VaxoP; Aug 3rd, 2003 at 12:48 PM.

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    VB .NET is not the same as VB6, their is probably an error within the coding.

    Is it saving to 1 of the files?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269
    no, nothing is being saved

    it just queries the ocx with what adapters are on the pc

    but i have no idea what the interop.* files are.. does it save settings to that or something?

    why is he getting my results?

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269
    any idea?

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269
    anyone?

  6. #6
    Addicted Member Sheppe's Avatar
    Join Date
    Sep 2002
    Location
    Kelowna, BC
    Posts
    245
    The interop* files are there to allow .NET to work with you COM components. As to why you're having a problem - I don't know. It's probably an issue with the COM component and .NET. You know, there is free code out there that will enumerate the network adapters for you.
    [vbcode]
    On Error Goto Hell
    [/vbcode]
    Sheppe Pharis, MCSD
    Check out http://www.vb-faq.com
    Click here for access to the free Code-Express source code and component sharing network for VB6
    Want a better way to skin your .NET applications? Click here!

  7. #7
    Addicted Member PeteD's Avatar
    Join Date
    Jun 2003
    Location
    Sydney
    Posts
    158
    If nothing has been saved, then either you have hard-coded the network cards or your friend has the same network cards!

  8. #8
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Or the COM component has saved a file in the directory you copied to give to your friend.

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Or maybe the file in the bin directory which is called "Project1.exe.config" , try to delete this one .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width