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 SkipVought 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: *

  1. TheVampire

    Klugy app deployment

    I do remember my son talking about .net framework components for computers that do not already have them." If you are installing net framework items as well as your app, then you could very well be increasing the amount of time it takes to install dramatically. Especially if you are only using...
  2. TheVampire

    Adding attribute to panel

    I'm trying to find out if there is an attribute that I can add to a panel control so that I can run a javascript function when the panel is enabled. What I have are several text boxes and some buttons inside a panel. I've added attributes to two text boxes so that they have to have text in...
  3. TheVampire

    Adding treeview node at runtime

    The two methods I have for adding a treenode would be like this: tvwconfig.Nodes.Add(New TreeNode("Connection")) or Dim tn as TreeNode = tvwconfig.Nodes.Add("Connection")
  4. TheVampire

    VB.NET Book Recommendations

    I don't know if Francesco Balena has any books on VB2005, but he does have "Programming Visual Basic.Net 2003" which I got used off of Amazon for about 5 bucks some time back and it was in excellent condition and came in handy. His stuff is highly recommended.
  5. TheVampire

    NULL issue

    Is it that the MyTree.SelectedNode itself is null, and that's what you need to trap? Since there was no click on the tree, there's no selected node set?
  6. TheVampire

    detecting when user prints

    This page has full details on how to monitor a printer and show the number of pages printed, along with a ot of other information. http://www.codeproject.com/KB/printing/printwatchvbnet.aspx
  7. TheVampire

    File Handles not being closed

    Never was able to find out why the file handles were not being discarded. I spent some effort in trying to use an external DLL and creating a new appdomain and a class that inherited MarshalByRefobject, but after I got all the code to work to do that, it still would attach the file handles to...
  8. TheVampire

    Loading a DLL into a new Appdomain

    Trying to get some assistance on how to load a dll into a new appdomain that I've created, retrieving a result from a function in that DLL, and then unloading the appdomain. I've set my DLL class as serializable. I know how to create the appdomain, but loading the DLL into the domain and...
  9. TheVampire

    loading a DLL into a new Appdomain

    Sorry, I thought I was in the net forum. Sigh...
  10. TheVampire

    loading a DLL into a new Appdomain

    Trying to get some assistance on how to load a dll into a new appdomain that I've created, retrieving a result from a function in that DLL, and then unloading the appdomain. I've set my DLL class as serializable. I know how to create the appdomain, but loading the DLL into the domain and...
  11. TheVampire

    File Handles not being closed

    Anybody else have any suggestions on why these file handles are not being disposed of? Thanks.
  12. TheVampire

    How to close a specific resource handle?

    I don't use data controls. I do it all in code. Thanks for the suggestion though.
  13. TheVampire

    How to close a specific resource handle?

    I've got a VB.NET app that is leaking file handles despite me disposing of the OdbcConnection and OdbcCommand objects correctly. Eventually these file handles proliferate to the point of causing errors due to low system resources. I need to find out how to use the API to locate all file...
  14. TheVampire

    File Handles not being closed

    Just for a test I tried using a OleDbConnection instead and the Microsoft Jet driver. Then I got 13 (!) file handles to the database folder that didn't go away... And from searching around after my last post, I read that the people that wrote Process Explorer have an undocumented way to get at...
  15. TheVampire

    File Handles not being closed

    Frankly I'd be happy if I could find out a way to track down an open file handle based on a string value, and close it. If Process Explorer can do it then it's possible. I can see the total number of handles by using GetCurrentProcess in mmy program and looking at the HandleCount, but that's...
  16. TheVampire

    File Handles not being closed

    Well, thanks for trying but it still fails to release the handles. It actually creates several file handles when I click the button (it has always done this). Two Named Pipes that go away after about 10 seconds, and two handles to files, one of them being PDOXUSERS.NET which is used for...
  17. TheVampire

    File Handles not being closed

    Thanks for the effort but unfortunately the problem persists. The Release com fails into catch block with error "The object's type must be __ComObject or derived from __ComObject.
  18. TheVampire

    File Handles not being closed

    Thanks for the suggestion. I had tried using a CMD.Connection.Dispose() command in there and had no luck, and then I tried the CMD.Connection.Close() at your suggestion and this also did not help. I cut out the code and created a separate project that has just the code to open the database and...
  19. TheVampire

    File Handles not being closed

    I've got an app that runs fine for a while, but eventually will start reporting "Insufficient system resources exist to complete the requested service." errors. Using process explorer shows me that certain file handles are not being closed when I use an OdbcCommand object to connect to a...
  20. TheVampire

    To Buy, or Not To Buy?

    There are ways to get a setup project other than buying Professional. Advanced Installer works well.

Part and Inventory Search

Back
Top