Answered by:
What is the equivalent for this in VB.NET

Question
-
Dear Team,
If we need to comment more than one line we'll use the following syntax in C#.NET.
/* this.comboBox1 = new System.Windows.Forms.ComboBox(); this.button1 = new System.Windows.Forms.Button(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.textBox1 = new System.Windows.Forms.TextBox(); this.panel3 = new System.Windows.Forms.Panel(); this.textBox2 = new System.Windows.Forms.TextBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout();*/
What is the equivalent for this in VB.NET. I know the following syntax, I'm expecting other than this
' .ToolTipIcon = Tipicon ' .ShowAlways = False ' .IsBalloon = True
I look forward to hear from you.
Thanks and Regards, Bharath S.Friday, October 22, 2010 9:39 AM
Answers
-
Multi-line comments do not exist in VB. If you want to comment a lot of lines in one go, you can use ctrl+K, ctrl+C. To uncomment them, ctrl+K, ctrl+U. Or there's a button to do it, or you can look under Edit->Advanced.
HTH,
Andrew
- Proposed as answer by Chao KuoModerator Monday, October 25, 2010 8:41 AM
- Marked as answer by Chao KuoModerator Friday, October 29, 2010 11:35 AM
Friday, October 22, 2010 10:44 AM
All replies
-
Multi-line comments do not exist in VB. If you want to comment a lot of lines in one go, you can use ctrl+K, ctrl+C. To uncomment them, ctrl+K, ctrl+U. Or there's a button to do it, or you can look under Edit->Advanced.
HTH,
Andrew
- Proposed as answer by Chao KuoModerator Monday, October 25, 2010 8:41 AM
- Marked as answer by Chao KuoModerator Friday, October 29, 2010 11:35 AM
Friday, October 22, 2010 10:44 AM -
Dear Andrew,
Thanks for your reply.
CTRL + K,C
Having any Microsoft ref document for this?. Awaiting for your reply.
Thanks and Regards, Bharath S.Friday, October 22, 2010 11:24 AM -
Look in the Edit menu under Advanced...
--
AndrewFriday, October 22, 2010 11:37 AM