Suppose I want to over-write one file with another but I want to backup the over-written file. Use io.file.replace, right?
Now what if I want to check to make sure there is adequate disk space first? Is it possible that another thread can write a file to the hard drive between my disk space...
I often use structures to group various friend variables into logical categories. Is there any reason why I shouldn't declare a datatable in a structure?
I ask because I'm not clear on some of the memory limitations of various objects in .net.
I'm not exactly a newbie but I need a better understanding of how .net deals with instances of classes that are no longer used.
The way I understand it, the garbage collector will only reclaim resources when it needs to. So if I declare an instance of a class with a procedure-level variable...
If I remove a node from the treeview control like this:
treeview1.selectednode.nodes(0).remove
without first assigning the node to a variable, is that node actually disposed of or is it floating out there in limbo - taking up resources? If it is just floating in limbo, can the garbage...
Everyone knows about the extreme dominance of the windows platform on the desktop which makes learning to be a windows programmer a no-brainer. But Windows has no such edge on the web. Hosting is more expensive with no real extra value. Linux is pretty much the standard there. I'm curious what...
Sorry if this is a real basic question but I can't seem to find how to refer to an object with a simple string variable. If a user wants to set a default font, for instance, I want to be able to persist that preference on the hard drive by storing a string representation of the font - like it's...
I'm working on an application which needs to search through every word in a rich text box and match individual words and phrases to those in a database. I'm thinking it would be faster to save the text to a string class first and search through it rather than through the rich text box itself...
The rich text box control uses the rtf code 'cf0' to denote default text color. It builds a color table to define other colors which are used in the rtf document in the order in which they appear. If the first colored word is red for instance, the rtf code 'cf1' is used to define red.
Is there...
Hi everyone! This is my first post here. I'm yet another vb6 coder finaly taking the .net plunge. :eek: If I understand the OOP concept correctly, there really is no place for public variables in it. I know vb.net still allows it but it doesn't seem to fit the new paradigm.
In vb6, I often used...
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.