Click here to Skip to main content
15,887,585 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Filter percent (%) and apostrophes (') contained in a string Pin
paas12-Feb-09 1:06
paas12-Feb-09 1:06 
AnswerRe: Filter percent (%) and apostrophes (') contained in a string Pin
Guffa12-Feb-09 1:33
Guffa12-Feb-09 1:33 
QuestionRubber Banding in VB 2008 Pin
StefanGeorgiev11-Feb-09 16:45
StefanGeorgiev11-Feb-09 16:45 
AnswerRe: Rubber Banding in VB 2008 Pin
Ranjit Viswakumar11-Feb-09 17:29
Ranjit Viswakumar11-Feb-09 17:29 
GeneralRe: Rubber Banding in VB 2008 Pin
Guffa12-Feb-09 1:41
Guffa12-Feb-09 1:41 
AnswerRe: Rubber Banding in VB 2008 Pin
Guffa12-Feb-09 1:39
Guffa12-Feb-09 1:39 
QuestionAdding web-address to menustrip and access from there. Pin
Gagan.2011-Feb-09 16:26
Gagan.2011-Feb-09 16:26 
AnswerRe: Adding web-address to menustrip and access from there. Pin
Dave Kreskowiak13-Feb-09 3:42
mveDave Kreskowiak13-Feb-09 3:42 
You add menuitems the same way you add controls to a form. You create an instance of the ToolStripMenuItem, set it's properties, wire up it's events, then add it to the Items collection of the parent you want it to show up under.
Dim newMenuItem As New ToolStripMenuItem
newMenuItem.Size = New Size(152, 22)
newMenuItem.Text = "Some &Menu Item"

AddHandler newMenuItem.Click, AddressOf MyMenuItemHandler

FileToolStripMenuItem.Items.Add( newMenuItem )



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




Questiongrouping subroutines Pin
Duane195811-Feb-09 15:58
Duane195811-Feb-09 15:58 
GeneralRe: grouping subroutines Pin
Luc Pattyn11-Feb-09 16:32
sitebuilderLuc Pattyn11-Feb-09 16:32 
GeneralRe: grouping subroutines Pin
Duane195811-Feb-09 16:55
Duane195811-Feb-09 16:55 
QuestionWorking with Active Directory in VB.NET Pin
sdavis8811-Feb-09 14:23
sdavis8811-Feb-09 14:23 
AnswerRe: Working with Active Directory in VB.NET Pin
Dave Kreskowiak13-Feb-09 3:43
mveDave Kreskowiak13-Feb-09 3:43 
QuestionInitialize array parameter? Pin
craigmg7811-Feb-09 10:56
craigmg7811-Feb-09 10:56 
AnswerRe: Initialize array parameter? Pin
Dave Kreskowiak11-Feb-09 14:11
mveDave Kreskowiak11-Feb-09 14:11 
GeneralRe: Initialize array parameter? Pin
Luc Pattyn11-Feb-09 14:38
sitebuilderLuc Pattyn11-Feb-09 14:38 
GeneralRe: Initialize array parameter? Pin
craigmg7812-Feb-09 4:41
craigmg7812-Feb-09 4:41 
AnswerRe: Initialize array parameter? Pin
Guffa11-Feb-09 16:10
Guffa11-Feb-09 16:10 
QuestionCrystal Report and VB.net 2005 Pin
SCHOTM11-Feb-09 10:45
SCHOTM11-Feb-09 10:45 
QuestionCheck for Framework version Pin
ivo7511-Feb-09 8:46
ivo7511-Feb-09 8:46 
AnswerRe: Check for Framework version Pin
Dave Kreskowiak11-Feb-09 10:18
mveDave Kreskowiak11-Feb-09 10:18 
AnswerRe: Check for Framework version Pin
Ranjit Viswakumar11-Feb-09 17:36
Ranjit Viswakumar11-Feb-09 17:36 
GeneralRe: Check for Framework version Pin
Dave Kreskowiak11-Feb-09 19:08
mveDave Kreskowiak11-Feb-09 19:08 
QuestionVB.Net 2005 FTP Automation Pin
hariyansa11-Feb-09 7:54
hariyansa11-Feb-09 7:54 
AnswerRe: VB.Net 2005 FTP Automation Pin
Dave Kreskowiak11-Feb-09 8:12
mveDave Kreskowiak11-Feb-09 8:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.