Click here to Skip to main content
15,888,337 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Dave Kreskowiak27-Nov-16 14:08
mveDave Kreskowiak27-Nov-16 14:08 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Sonhospa28-Nov-16 3:19
Sonhospa28-Nov-16 3:19 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Eddy Vluggen30-Nov-16 7:36
professionalEddy Vluggen30-Nov-16 7:36 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Sonhospa1-Dec-16 8:58
Sonhospa1-Dec-16 8:58 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Eddy Vluggen2-Dec-16 2:56
professionalEddy Vluggen2-Dec-16 2:56 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Sonhospa13-Dec-16 6:48
Sonhospa13-Dec-16 6:48 
GeneralRe: Help Needed Again: Funny Effects about My.Settings Pin
Eddy Vluggen13-Dec-16 8:31
professionalEddy Vluggen13-Dec-16 8:31 
QuestionMy.Settings out of scope? Pin
Sonhospa24-Nov-16 0:42
Sonhospa24-Nov-16 0:42 
Hello to everyone,

it might sound funny, but in a current project "suddenly" (i.e. I don't know what I exactly did) the references to "My.Settings" didn't work anymore. Instead, I had many errors saying that "Settings" isn't a property of "My".

What I did: I opened a completely new (winforms-) project and looked into the files having "My.Settings" (etc) in their text, and adapted my project files "app.config", "settings.settings" and "settings.designer" (manually inserting the properties) to the syntax and entries I saw in the new (sample) project.

First I thought it's ok: All the error messages disappeared. But when debugging, I can see that my settings references (e.g. "My.Settings.UserPath") only supply empty strings. This implies to me that the valid entries must be out of the valid scope (or something like that), i.e. I must have overlooked something... typos are checked.

Could one of you please advise me, where else I might look for errors or what else I could do?

Thank you very much in advance,
Mick
AnswerRe: My.Settings out of scope? Pin
Richard MacCutchan24-Nov-16 1:08
mveRichard MacCutchan24-Nov-16 1:08 
GeneralRe: My.Settings out of scope? Pin
Sonhospa24-Nov-16 1:25
Sonhospa24-Nov-16 1:25 
GeneralRe: My.Settings out of scope? Pin
Richard MacCutchan24-Nov-16 2:10
mveRichard MacCutchan24-Nov-16 2:10 
Answer[Resolved] Re: My.Settings out of scope? Pin
Sonhospa24-Nov-16 2:32
Sonhospa24-Nov-16 2:32 
Questionvb.net using string and custom objects Pin
dcof18-Nov-16 17:10
dcof18-Nov-16 17:10 
AnswerRe: vb.net using string and custom objects Pin
Richard MacCutchan18-Nov-16 22:02
mveRichard MacCutchan18-Nov-16 22:02 
GeneralRe: vb.net using string and custom objects Pin
dcof21-Nov-16 5:31
dcof21-Nov-16 5:31 
GeneralRe: vb.net using string and custom objects Pin
Richard MacCutchan21-Nov-16 6:59
mveRichard MacCutchan21-Nov-16 6:59 
GeneralRe: vb.net using string and custom objects Pin
Dave Kreskowiak21-Nov-16 9:28
mveDave Kreskowiak21-Nov-16 9:28 
AnswerRe: vb.net using string and custom objects Pin
David Mujica21-Nov-16 10:56
David Mujica21-Nov-16 10:56 
Questionissue in vb script while using MSXML2.ServerXMLHTTP.6.0 object Pin
praveenvb17-Nov-16 0:17
praveenvb17-Nov-16 0:17 
AnswerRe: issue in vb script while using MSXML2.ServerXMLHTTP.6.0 object Pin
Member 1032934426-Jul-17 17:23
Member 1032934426-Jul-17 17:23 
QuestionSet Focus on a textbox after showing form.showdialog() Pin
Hermawan2611-Nov-16 19:46
Hermawan2611-Nov-16 19:46 
AnswerRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard MacCutchan11-Nov-16 23:20
mveRichard MacCutchan11-Nov-16 23:20 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard Deeming12-Nov-16 3:55
mveRichard Deeming12-Nov-16 3:55 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard MacCutchan12-Nov-16 4:33
mveRichard MacCutchan12-Nov-16 4:33 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard Deeming12-Nov-16 4:37
mveRichard Deeming12-Nov-16 4:37 

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.