Answer Questions
Vi_Tinh invalidcastexception derived treenode
hi all! in my program i have a treeview formed by some classes derived from the treenode parent class...the scope of my program is to write an xml file by the structure of the treeview... i can save my project( and so write the xml file) and when i save a new project i can do a good cast...for example: org = (Organization) node; ->org is an instance of Organization(derived from treenode) node is an instance of TreeNode i can also ...Show All
Conchur Using VB.NET Compiler as an older version
Is there a way to make the VB 2005 Beta 2 Program compile to an older version e.g. VB6 OK. I got that, but how do you use it I can't figure out how to make it affect my programs. No. VB6 and VB.NET a completely different languages. The only thing that is similar is the syntax. You may be able to compile VB 2005 (.NET 2.0) applications to .NET 1.0/1.1 using the MSBui ...Show All
Nadi Help with TextBoxes
Hi, I'm a Newbie. Suppose I have 20 Text Boxes; say TextBox.1 to Textbox.20. How can I access or add data to these Text Boxes by using a variable (e.g. put 5 in Box 5, put 9 in Box 9, etc.) I don't want to write a separate piece of code for each individual Text Box. Thanks, David. The code posted above does that. It creates an array called Textboxes and then adds references to all your te ...Show All
NuclearIntern Inhirtence
hi again , okai have a problem in which i want to display the text from a text box which is on form number 1, to the text box which is on form number 2, both forms are in one project. clearly it is a case of inheretence but plz give me its code... Thankyou... hi, no its not inheretence, its properties, or constractor Public Class Form1 Inherits Form &nb ...Show All
Martin Flores How to disable the column header sorting in DataGridView?
I did not see the "AllowSorting" property in DataGridView. How can I disable the header sorting Thanks for your help! Hi To disable Sorting, u can write " DataGridViewColumnSortMode .NotSortable;" Code is given Below: for ( int i = 0; i < gvDirectorySubmission.Columns.Count - 1; i++) gvDirectorySubmission.Columns .SortMode = DataGridViewColumnSortMode .NotSortable; ...Show All
Jan Ku?era Beginner: Why is a ToolTip only shown once at runtime...?
I'm using a Tooltip control but its being only shown once at runtime when "AutoPopDelay" property has past , why how can I do this different Code: Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load ToolTip1.SetToolTip(LinkLabel1, "testing..." ) End Sub End Class In the help for the ...Show All
hellomahesh Could someone recommend a good book for VB 2005?
I'm new to programming and this is the language I've choosen to start with. Could someone suggest a good book to begin with jkolodziejski, I am offering a personal opinion and my own impressions. The poster know as Bronco Billy, reports that he's never mastered visual basic. He has been interested in C# for approximately one week. Were I seeling information, I'd prefer input from members of the community having demonstrated te ...Show All
vogue Raising Click Event
Perhaps a newby question-----How do you raise a click event in code For example, a button click event runs a method to connect to a database. Some circumstance changes where I would like to reconnect to a different database but not send the user back to the screen to do this. Other than dupicate the code, I thought if I could simply raise the click event again programmatically, that I could reconnect under different database. Does this make sens ...Show All
et3ishak Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxio ...Show All
vinaypm2006 Adding other platforms?
Hi. I want to learn C++, and i just downloaded VC++ Express. But my goal is to program for the Nintendo DS, so i would ask if it's possible to make VC++ compile for the DS - Kenny The way to run homebrew in the Nintendo DS is not made by Nintendo, and the stuff needed to make homebrew games/apps on it is not from nintendo either. devkitPro << the compiler for Nintendo DS, PSP and some others. i know that i should learn any .NET stu ...Show All
RobertLevy Installation Problems
I open the installer and get to click the "Install >" button, after this the setup goes to the d/l screen and waits a bit, like it is connecting, then comes up with The following item failed to download: Microsoft .NET Framework 2.0 Setup has stopped because the item listed above could not be downloaded. and the normal error screen asking for a report of the problem, which I have sent. This is what was contained in th ...Show All
Kmaure Connecting to access mdb file problem.
I am having some trouble connecting to my Access Database from Visual Studio Express 2005. I can add a connection if it is a sql database, but when i change the Datasource to the access option and hit ok i get a window that allows me to change my Connection string, and thats it. If i cancel it exits the wizard. Also the only data provider i have is .net framework provider for ole db. Should i have a second provider The other softw ...Show All
ChrisPeers System.InvalidOperationException in System.Windows.Forms.dll
Hello, I use to do programming long time ago, in the DOS era, survived TRS80, Tiny Basic, GWbasic and Quickbasic. Recently I managed to pickup programming Basic style again with Visual Basic Express. After installing it and playing a bit around, I tried to find an initial setup for a Local area network packet sniffer. Google came up with a package called PackMon.NET and Sniffer.NET from v2softwares http://www.1vbstreet.com/vb/scripts/ ...Show All
lordali Intellisense ())
Im am going thru Bob Tabor's videos Absolute Beginner Series for C#. With syntax like this: int result = 2 MessageBox.Show(result.ToString()); It seems the ())...is added, after ToString,...instantly, using Intellisense When I do it the ()) is'nt added. Just .ToString. I swear he could'nt be typing that fast....its instant. Am I missing a shortcut It would really help. Thanks He could have an add in like Visual Assist installed, perhaps ...Show All
PhilJComputerGuy Modding the Pong starter kit - questions
I finally have some time to put to practice some elements of object oriented programming I learned from that Deitel & Deitel C++ book I partly read a few months ago. I'm trying out the C# starter kit that contains a working Pong game. http://msdn.microsoft.com/coding4fun/gamedevelopment/tenniscs/default.aspx I don't really have any ambitions of becoming this great game programming of the ages, but I've always learned progr ...Show All
