Click here to Skip to main content
15,891,910 members
Home / Discussions / C#
   

C#

 
GeneralRe: Displaying "String" in a DatagridView Column with "int" DataType Pin
Herman<T>.Instance30-Oct-07 5:56
Herman<T>.Instance30-Oct-07 5:56 
GeneralRe: Displaying &quot;String&quot; in a DatagridView Column with &quot;int&quot; DataType Pin
pmarfleet30-Oct-07 5:35
pmarfleet30-Oct-07 5:35 
QuestionProblem with using webBrowser control [modified] Pin
t4ure4n30-Oct-07 1:52
t4ure4n30-Oct-07 1:52 
AnswerRe: Problem with using webBrowser control Pin
TJoe30-Oct-07 2:17
TJoe30-Oct-07 2:17 
GeneralRe: Problem with using webBrowser control Pin
t4ure4n30-Oct-07 2:32
t4ure4n30-Oct-07 2:32 
Questionicons in listview and windows xp Pin
allegna30-Oct-07 1:52
allegna30-Oct-07 1:52 
AnswerRe: icons in listview and windows xp Pin
TJoe30-Oct-07 2:24
TJoe30-Oct-07 2:24 
QuestionError when adding a ToolStripMenuItem [modified] Pin
Lucy30-Oct-07 1:40
Lucy30-Oct-07 1:40 
I am having trouble adding a ToolStripMenuItem but I do not know why. I have so far added many ToolStripMenuItems as follows:

File
New
Save
Save As
Print
Close

Format
Font
Colour

Help
Contents
Index
Search
About

I want to add 3 more items under the Format menu, these being: Bold, Italic, Underlined.
Each time I click on the drop down menu at design time and type Bold where it says 'Type Here' and then click away (This menu item with the text Bold should be saved) but the new menu item disappears as though I have not typed anything. When I try to type Bold again this error appears in a dialog box:

The control System.Windows.Forms.TextBox has thrown an unhandled exception in the designer and has been disabled.
Exception:
Object reference not set to an instance of an object.
Stack trace:

I then get an error from Visual Studio saying:

Microsoft Visual Studio has encounted a problem and needs to close.

Also in this dialog box, there are 3 buttons, Debug, Send Error Report and Don't Send.
Can anyone advise me as to what is going wrong when I try to add a ToolStripMenuItem?

Lucy
AnswerRe: Error when adding a ToolStripMenuItem Pin
Anthony Mushrow30-Oct-07 2:25
professionalAnthony Mushrow30-Oct-07 2:25 
QuestionRe: Error when adding a ToolStripMenuItem Pin
TJoe30-Oct-07 2:25
TJoe30-Oct-07 2:25 
AnswerRe: Error when adding a ToolStripMenuItem Pin
Ravi Bhavnani30-Oct-07 3:07
professionalRavi Bhavnani30-Oct-07 3:07 
AnswerRe: Error when adding a ToolStripMenuItem Pin
Lucy30-Oct-07 2:30
Lucy30-Oct-07 2:30 
GeneralRe: Error when adding a ToolStripMenuItem Pin
Lucy30-Oct-07 4:25
Lucy30-Oct-07 4:25 
QuestionTAB key Pin
topcatalpha30-Oct-07 1:21
topcatalpha30-Oct-07 1:21 
AnswerRe: TAB key Pin
Anthony Mushrow30-Oct-07 2:21
professionalAnthony Mushrow30-Oct-07 2:21 
AnswerRe: TAB key Pin
Luc Pattyn30-Oct-07 2:32
sitebuilderLuc Pattyn30-Oct-07 2:32 
GeneralRe: TAB key Pin
topcatalpha30-Oct-07 2:36
topcatalpha30-Oct-07 2:36 
QuestionIs .Net Framework a must on clientside? Pin
narayanagvs30-Oct-07 1:17
narayanagvs30-Oct-07 1:17 
AnswerRe: Is .Net Framework a must on clientside? Pin
pmarfleet30-Oct-07 1:22
pmarfleet30-Oct-07 1:22 
AnswerRe: Is .Net Framework a must on clientside? Pin
N a v a n e e t h30-Oct-07 1:24
N a v a n e e t h30-Oct-07 1:24 
AnswerRe: Is .Net Framework a must on clientside? Pin
Giorgi Dalakishvili30-Oct-07 1:24
mentorGiorgi Dalakishvili30-Oct-07 1:24 
QuestionPDF files Pin
MarkB77730-Oct-07 1:09
MarkB77730-Oct-07 1:09 
AnswerRe: PDF files Pin
Colin Angus Mackay30-Oct-07 1:14
Colin Angus Mackay30-Oct-07 1:14 
AnswerRe: PDF files Pin
Christian Graus30-Oct-07 1:14
protectorChristian Graus30-Oct-07 1:14 
GeneralRe: PDF files Pin
MarkB77730-Oct-07 1:19
MarkB77730-Oct-07 1:19 

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.