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

C#

 
AnswerRe: Failure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
OriginalGriff7-Jan-19 4:46
mveOriginalGriff7-Jan-19 4:46 
Start by trying to read what you wrote - I can;t make any real sense of it!

Then think about the sequence of operations you performed. If I read it right - and I probably didn't - you added a control to a form by drag and drop from the toolbox. And yesterday, it worked. But today, your code can't reference the control by the name it had yesterday.

If so, start by opening your form in design mode.
Does it open without an error message? If not, start praying, and look at the appropriate .designer.cs file together with the error list and see what has happened there.
If it opens ok, is the control still there? If so, look at it's properties, and check it's Name. Is it what it was yesterday?
If it isn't, then you need to look at the files themselves and see what happened in (and to) the .designer.cs file - did you save and exit VS correctly, or was there a problem?

Sorry if that all sounds vague, but ... so is your description, and we can't see your screen at all! Laugh | :laugh:
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

QuestionIP commands Pin
Member 103699864-Jan-19 12:49
Member 103699864-Jan-19 12:49 
AnswerRe: IP commands Pin
Luc Pattyn4-Jan-19 15:24
sitebuilderLuc Pattyn4-Jan-19 15:24 
QuestionUsing Google Calendar API and email send a invitation to a user Pin
Nitish Prasad Satpathy4-Jan-19 4:02
Nitish Prasad Satpathy4-Jan-19 4:02 
AnswerRe: Using Google Calendar API and email send a invitation to a user Pin
Richard MacCutchan4-Jan-19 4:16
mveRichard MacCutchan4-Jan-19 4:16 
AnswerRe: Using Google Calendar API and email send a invitation to a user Pin
Pete O'Hanlon4-Jan-19 4:54
mvePete O'Hanlon4-Jan-19 4:54 
QuestionVisual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 20:47
professionalBillWoodruff3-Jan-19 20:47 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 22:17
mveRichard MacCutchan3-Jan-19 22:17 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 22:37
professionalBillWoodruff3-Jan-19 22:37 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 22:52
mveRichard MacCutchan3-Jan-19 22:52 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 4:31
professionalBillWoodruff4-Jan-19 4:31 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan4-Jan-19 5:09
mveRichard MacCutchan4-Jan-19 5:09 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Luc Pattyn4-Jan-19 6:25
sitebuilderLuc Pattyn4-Jan-19 6:25 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan4-Jan-19 6:37
mveRichard MacCutchan4-Jan-19 6:37 
AnswerRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Luc Pattyn4-Jan-19 0:54
sitebuilderLuc Pattyn4-Jan-19 0:54 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 4:24
professionalBillWoodruff4-Jan-19 4:24 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Luc Pattyn4-Jan-19 4:54
sitebuilderLuc Pattyn4-Jan-19 4:54 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 13:01
professionalBillWoodruff4-Jan-19 13:01 
AnswerRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard Deeming8-Jan-19 7:57
mveRichard Deeming8-Jan-19 7:57 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff9-Jan-19 1:39
professionalBillWoodruff9-Jan-19 1:39 
AnswerRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Super Lloyd10-Jan-19 15:37
Super Lloyd10-Jan-19 15:37 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff11-Jan-19 6:55
professionalBillWoodruff11-Jan-19 6:55 
QuestionSync Database from Local System to server Pin
Member 140373423-Jan-19 20:19
Member 140373423-Jan-19 20:19 
AnswerRe: Sync Database from Local System to server Pin
Pete O'Hanlon3-Jan-19 23:44
mvePete O'Hanlon3-Jan-19 23:44 
QuestionList control Pin
Member 35685022-Jan-19 23:15
Member 35685022-Jan-19 23:15 

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.