Answer Questions
danatcofo Troubles with my TreeView
I have a treeview with 5 roots. 4 of those roots have 3 children each. My problem is that none of the nodes have any events, at all. I can only create events for my treeview. So I use an event ( menuTree.NodeMouseClick ) to create and display controls. The controls that are created differ depending on which root or child is selected. Even though I have given my nodes names, I cannot seem to refer to them. I guess I could use: If menuTree.Sele ...Show All
leimiaomiao StringTokenizer in VB.NET and highlighting
Is there anything like a StringTokenizer in VB.NET e.g. If I've got a String "artificial intelligence", how to divide it into two strings Another question is about highlighting particular words. e.g If I have a short text "He is a professor" in a Label. What I need to is to highlight the word "professor" by displaying it using different colour. Hey, not everything ...Show All
Mark Storen New Web Site command; Visual Basic 2005 Express (May 10, 2006)
To Whom It May Concern: Hello. My question is that I do not have the full version of Visual Basic 2005 (which I will correct in short order, say, within the next 30 days of this writing), but have the Express version of Visual Basic 2005. I have noticed that there are certain items that are probably part and parcel of at least the standard edition of Visual Basic 2005. FOR INSTANCE, the New Web Site command, according to Halvorson ( Micros ...Show All
awani Problem with using .net forms from vb6
I have an wierd problem with the tab key in .net forms: If i create a standard form and then instantiate it in the usual way from a .net application then everything works perfectly. However, if i create a com interop wrapper that instantiates the form on behalf of a vb6 client, then the tab key refuses to work. I have also discovered that this behaviour only occurs if the form is displayed non-modally (f.show()). If it's shown as a d ...Show All
Jerry Hung MsFlexGrid
I use MsFlexGrid in VB6 , My purpose is to let user to input several row then update to database such as invoice, I used to write a for loop of Recordser.Addnew. How should I replace this action in VS 2005 Yes, You determine when you want to commit the changes to the database - the chnages to the datagridgrid result in chnages to a local dataset (not the database). When you use the update statement then the changes fr ...Show All
PattiBiggs How to open a Web page in my default browser from a VB .NET application?
This may sound stupid to some of you, but there is some pressing issue about which I have absolutely no idea. I am developing a VB .NET application, and I want one of my buttons in this application to open a web page in my default browser. Can someone here give me some insight on how I should go about this Thanks, Renee. That helped a lot. Now I can get on with my dictionary/thesaurus program in VB .NET. Better yet... Process. ...Show All
sohamraj Splash Screen Hang
I have been working on my program for a while but when i came to the splash screen, I became frustrated. When I launched my application, the splash screen just stayed there and never went away. How do I set it so that it goes away after a certain amount of time Thank you all, I fixed my problem. First of all, what's your concept on doing splash screen Did you se ...Show All
Christian Warren Using IWshRuntimeLibrary to get all computers in an NT domain
Hi all, i'm trying to get a list of all the computer in a domain using the IWshRuntimeLibrary library. I'm just stomped, i got a .vbs script that can do that but i don't have a clue as to how to integrate it in .NET. Here is my .vbs code : Dim strDomain 'string containing the NT domain name Dim objDomain 'ADSI Domain object Dim ob ...Show All
zseven How to Suppress / Hide Base Class Method ?
I'd like to make a method inherited from a base class not visible/ usable. I tried to shadow the method with a private one but that does not stop access to it if the instance is cast as the ancestor type or assigned to a class variable dim'd as the ancestor type. any suggestions It is not possible to hide a virtual method from the base class. The idea is that when class Derived derive ...Show All
E A S Cannot save my.settings if one of the setting fields is a sortedList
The following gives me a null reference error. Setting: name = Recipe, type = SortedList, scope = User Code: my.settings.Recipe = new SortedList my.settings.Recipe.Add("aKey", "aString") my.settings.Save() < Null reference error occurrs here. I have tried (and failed) with many different approaches to use a sorted list in my.settings. I would love to know the correct way to do this. Jack ...Show All
jwelch Best way to plot points along a curve (oh yeah, AND to draw the curve)
Hello again people. I am writing an application that requires a function to draw a curve that is plotted between two points where the user can specify the amount of curvature of the line between the two points. (If that makes sense). Once this has been processed, I need to be able to break down that curve into an infinite number of points and find the perpendicular normal angle of each of those points. I know, I know, it's enough to mak ...Show All
Randy .NET 2.0 ComboBox
Curious about combo box in .net 2.0. I have quite a few item in the combo box list. I have AutoCompleteMode = Append And AutoCompleteSource =ListItems For example the item listed as below : Cameron AaRon Ddaddy Normally, we can scroll through all the item in the combo box in two ways. 1. mouse scroll 2. click on drop down button to select. Problem arised. Once I type "C" in the combo box, it autocomplete with "C ...Show All
adamjake PropertyGrid problems
Hi, I am currently using the propertygrid control to browse an object containing many properties of different types, some being structures which contain properties of their own. The first problem is that when I create a class inheriting from ExpandableTypeConverter, and use this class as the type converter for a property in my base class, I cannot find a way to unbold the display text using the DefaultValue attribute... The second (mor ...Show All
James Coleman Understanding late binding
I started a project with Options Strict Off and decided to turn it on after reading about it. I got the error regarding late binding being disallowed. I have checked some books, online help and several postings on this site about binding. I basically understand the difference between early and late binding, but I don't know how to fix my code to comply with Options Strick On. Here's the code. It is in a private su ...Show All
EJKing89 method CalculateCharges
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
