Click here to Skip to main content
15,513,571 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Run .bat file from ftp using console apps Pin
Eddy Vluggen14-Mar-22 15:44
professionalEddy Vluggen14-Mar-22 15:44 
Questionconvert image to matrix Pin
CR7 Madara13-Mar-22 3:23
CR7 Madara13-Mar-22 3:23 
GeneralRe: convert image to matrix Pin
Richard MacCutchan13-Mar-22 3:32
mveRichard MacCutchan13-Mar-22 3:32 
AnswerRe: convert image to matrix Pin
Kenneth Haugland13-Mar-22 7:08
mvaKenneth Haugland13-Mar-22 7:08 
QuestionSimple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
lewist577-Mar-22 14:57
lewist577-Mar-22 14:57 
AnswerRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Richard MacCutchan7-Mar-22 22:21
mveRichard MacCutchan7-Mar-22 22:21 
QuestionRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
CHill607-Mar-22 22:22
mveCHill607-Mar-22 22:22 
AnswerRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
lewist578-Mar-22 12:34
lewist578-Mar-22 12:34 
Using Visual Studio Community 2022 17.1.1

1) Select Visual Basic/desktop/windows form/.NET 6
project opens with Form1 as default
no code, no changes, Build Solution, compiles with no errors

2) Select Visual Basic/desktop/windows form/.NET 6
project opens with Form1 as default
using the Properties window, change the name of Form1 to frmMain, save all files
no code, no other changes
Build Solution = BC30451 'Form1' is not declared. It may be inaccessible due to its protection level

So the question is, if I change the name of a form, do I need to do something else such that VS/VB will "update" everything to acknowledge Form1 has been renamed frmMain?
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Dave Kreskowiak8-Mar-22 16:57
mveDave Kreskowiak8-Mar-22 16:57 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
lewist579-Mar-22 9:17
lewist579-Mar-22 9:17 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Dave Kreskowiak9-Mar-22 10:11
mveDave Kreskowiak9-Mar-22 10:11 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
lewist579-Mar-22 14:57
lewist579-Mar-22 14:57 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Dave Kreskowiak9-Mar-22 15:59
mveDave Kreskowiak9-Mar-22 15:59 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Richard MacCutchan8-Mar-22 23:14
mveRichard MacCutchan8-Mar-22 23:14 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
lewist579-Mar-22 9:10
lewist579-Mar-22 9:10 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Richard MacCutchan9-Mar-22 22:37
mveRichard MacCutchan9-Mar-22 22:37 
GeneralRe: Simple question: why does Visual Studio "freak out" when changing Form1 name to something different Pin
Slow Eddie20-May-22 9:21
professionalSlow Eddie20-May-22 9:21 
Questionspur gear Pin
Member 155582647-Mar-22 10:29
Member 155582647-Mar-22 10:29 
AnswerRe: spur gear Pin
Dave Kreskowiak7-Mar-22 11:23
mveDave Kreskowiak7-Mar-22 11:23 
SuggestionRe: spur gear Pin
CHill607-Mar-22 22:27
mveCHill607-Mar-22 22:27 
GeneralRe: spur gear Pin
Member 155582648-Mar-22 12:16
Member 155582648-Mar-22 12:16 
QuestionRe: spur gear Pin
CHill608-Mar-22 22:31
mveCHill608-Mar-22 22:31 
GeneralRe: spur gear Pin
Mycroft Holmes13-Mar-22 13:15
professionalMycroft Holmes13-Mar-22 13:15 
GeneralRe: spur gear Pin
Slow Eddie20-May-22 9:22
professionalSlow Eddie20-May-22 9:22 
Questionclose app without having form in foreground Pin
Benjamindh3-Mar-22 8:05
Benjamindh3-Mar-22 8:05 

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.