Click here to Skip to main content
15,920,896 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can I group multiple datatable columns, with sum/count colyms Pin
Member 1361559729-Jan-18 7:55
Member 1361559729-Jan-18 7:55 
AnswerRe: How can I group multiple datatable columns, with sum/count colyms Pin
Eddy Vluggen29-Jan-18 12:06
professionalEddy Vluggen29-Jan-18 12:06 
GeneralRe: How can I group multiple datatable columns, with sum/count colyms Pin
Member 1361559730-Jan-18 23:28
Member 1361559730-Jan-18 23:28 
GeneralRe: How can I group multiple datatable columns, with sum/count colyms Pin
Eddy Vluggen31-Jan-18 1:28
professionalEddy Vluggen31-Jan-18 1:28 
QuestionCSV to Datagridview Pin
mishphar26-Jan-18 8:28
mishphar26-Jan-18 8:28 
AnswerRe: CSV to Datagridview Pin
Gerry Schmitz27-Jan-18 12:28
mveGerry Schmitz27-Jan-18 12:28 
AnswerRe: CSV to Datagridview Pin
Richard MacCutchan27-Jan-18 20:56
mveRichard MacCutchan27-Jan-18 20:56 
QuestionCompiler does not see reference to control. Closed Pin
mo149226-Jan-18 5:45
mo149226-Jan-18 5:45 
I Have no idea what happened here. I finally just deleted the whole project and started
over. I recreated the old code a little at a time and now everything works. I am sorry for
this post. If anyone has ever encountered this problem I would be interested in what happened
so I don't do it again.
Again, sorry.Confused | :confused:

I do not know why I have never encountered this before but here goes.

I have created a new windows forms project called MyProject.
I create a new UserControl within the project called Test.vb the normal way:
1. Right click MyProject
2. Click Add + UserControl

I do not modify the control in any way.
Compile and build is ok.

I drag the new 'Test' control from the toolbox to the main form and save.
The designer saves the Test control with these entries:

Friend WithEvents Test1 as MyProject.Test
Private Sub InitializeComponent()
Me.Test1 = new MyProject.Test
... plus other normal initialization
End Sub

For some reason the compiler does not recognize the 'MyProject.Test' control as
part of the project. It indicates that 'Test' is 'not defined'. If I change the declaration in
the MyProject.Designer.vb 'Test' without 'MyProject.' reference, the compiler builds with
no errors.

However the next time I edit the form, the designer saves the control
the same way; ie. MyProject.Test.

Why does the compiler not recognize Test as part of MyProject.Test?

thank you

-- modified 27-Jan-18 5:07am.
QuestionAdding two numbers together? Pin
MallardsReach25-Jan-18 23:34
MallardsReach25-Jan-18 23:34 
AnswerRe: Adding two numbers together? Pin
Ralf Meier26-Jan-18 0:19
mveRalf Meier26-Jan-18 0:19 
SuggestionRe: Adding two numbers together? Pin
Richard Deeming26-Jan-18 2:40
mveRichard Deeming26-Jan-18 2:40 
GeneralRe: Adding two numbers together? Pin
Ralf Meier26-Jan-18 6:53
mveRalf Meier26-Jan-18 6:53 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 5:57
MallardsReach26-Jan-18 5:57 
AnswerRe: Adding two numbers together? Pin
Dave Kreskowiak26-Jan-18 4:43
mveDave Kreskowiak26-Jan-18 4:43 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 5:59
MallardsReach26-Jan-18 5:59 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 6:37
MallardsReach26-Jan-18 6:37 
GeneralRe: Adding two numbers together? Pin
Eddy Vluggen26-Jan-18 8:04
professionalEddy Vluggen26-Jan-18 8:04 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 8:45
MallardsReach26-Jan-18 8:45 
GeneralRe: Adding two numbers together? Pin
Eddy Vluggen26-Jan-18 9:40
professionalEddy Vluggen26-Jan-18 9:40 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 10:07
MallardsReach26-Jan-18 10:07 
GeneralRe: Adding two numbers together? Pin
Eddy Vluggen26-Jan-18 11:27
professionalEddy Vluggen26-Jan-18 11:27 
QuestionMaking software, that counts your fold count in a row (PokerStars). Pin
Krišjānis Strods22-Jan-18 15:05
Krišjānis Strods22-Jan-18 15:05 
QuestionInstalling mysql silently and configure mysql using Pin
Osioghole Clifford19-Jan-18 16:23
Osioghole Clifford19-Jan-18 16:23 
GeneralRe: Installing mysql silently and configure mysql using Pin
PIEBALDconsult19-Jan-18 16:49
mvePIEBALDconsult19-Jan-18 16:49 
Questionhow can i create a vb project to glow the light of logic gate output? Pin
Member 1362988617-Jan-18 23:14
Member 1362988617-Jan-18 23:14 

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.