Click here to Skip to main content
16,005,697 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk12-Jul-06 7:27
hemrk12-Jul-06 7:27 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk12-Jul-06 7:49
hemrk12-Jul-06 7:49 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
Dave Kreskowiak12-Jul-06 8:17
mveDave Kreskowiak12-Jul-06 8:17 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk13-Jul-06 10:09
hemrk13-Jul-06 10:09 
QuestionConditional Installer of Desktop Shortcut using VB.NET Pin
Yojimbojinn11-Jul-06 8:07
Yojimbojinn11-Jul-06 8:07 
AnswerRe: Conditional Installer of Desktop Shortcut using VB.NET Pin
Dave Sexton11-Jul-06 20:43
Dave Sexton11-Jul-06 20:43 
GeneralRe: Conditional Installer of Desktop Shortcut using VB.NET Pin
Yojimbojinn12-Jul-06 1:14
Yojimbojinn12-Jul-06 1:14 
QuestionBUG? '' Pin
Len Miller11-Jul-06 6:47
Len Miller11-Jul-06 6:47 
----------------------------------------
Visual Studio 2003 v7.1.3088
.NET Framework 1.1.4322 SP1
----------------------------------------

I have a large WinForms project.

I have a form where I added a checkbox chkIsEmployee.

Sporatically, I get errors:
'chkIsEmployee' is not a member of 'ClearView.SMS.frmStudentManagement'

However, all of the designer code appears to be intact:
...
[Line 133] Friend WithEvents chkIsEmployee As System.Windows.Forms.CheckBox
...
[Line 181] Me.chkIsEmployee = New System.Windows.Forms.CheckBox
...
[Line 346] Me.grpDemographics.Controls.Add(Me.chkIsEmployee)
...
'
'chkIsEmployee
'
[Line 371] Me.chkIsEmployee.Location = New System.Drawing.Point(222, 99)
[Line 372] Me.chkIsEmployee.Name = "chkIsEmployee"
[Line 373] Me.chkIsEmployee.Size = New System.Drawing.Size(92, 16)
[Line 374] Me.chkIsEmployee.TabIndex = 16
[Line 375] Me.chkIsEmployee.Text = "is employee"
...

Now, I open the form, and the checkbox control is visibly gone.

It is almost as though the compiler is ignoring line 133. All lines after 133 have the error - not 133.

I rebuild the app and sometimes, suddenly all is OK.
I have tried deleteing the checkbox and re-adding it. The problem keeps re-surfacing. It was doing this behavior on a different control before.

Later, I open the form, and the control is gone again, but all the declaritive code in the form is still there.

This happened to me before (in this project with a different form), and I had to create a new form, paste controls on, paste my code in, delete the old form and the behavior went away.
I tried that here, but the behavior keeps comming back.

Is anyone aware of a bug or a fix for this?


Thanks,
-Len Miller

"If I had eight hours to chop down a tree, I'd spend six sharpening my axe."
-Abraham Lincoln
AnswerRe: BUG? '' [modified] Pin
Dave Kreskowiak11-Jul-06 9:24
mveDave Kreskowiak11-Jul-06 9:24 
QuestionDLL as child form in MDI form Pin
kjarrig11-Jul-06 5:25
kjarrig11-Jul-06 5:25 
AnswerRe: DLL as child form in MDI form Pin
Dave Kreskowiak11-Jul-06 16:53
mveDave Kreskowiak11-Jul-06 16:53 
AnswerRe: DLL as child form in MDI form Pin
Dave Sexton11-Jul-06 20:47
Dave Sexton11-Jul-06 20:47 
GeneralRe: DLL as child form in MDI form Pin
kjarrig12-Jul-06 0:11
kjarrig12-Jul-06 0:11 
GeneralRe: DLL as child form in MDI form Pin
Dave Kreskowiak13-Jul-06 5:29
mveDave Kreskowiak13-Jul-06 5:29 
GeneralRe: DLL as child form in MDI form Pin
kjarrig14-Jul-06 12:57
kjarrig14-Jul-06 12:57 
GeneralRe: DLL as child form in MDI form Pin
kjarrig31-Jul-06 6:03
kjarrig31-Jul-06 6:03 
GeneralRe: DLL as child form in MDI form Pin
Dave Kreskowiak31-Jul-06 16:14
mveDave Kreskowiak31-Jul-06 16:14 
QuestionProblem clearing process ... Pin
Rashar11-Jul-06 5:19
Rashar11-Jul-06 5:19 
AnswerRe: Problem clearing process ... Pin
Dave Kreskowiak11-Jul-06 9:19
mveDave Kreskowiak11-Jul-06 9:19 
QuestionSelecting the TreeNode Pin
MAP Tiger11-Jul-06 5:18
MAP Tiger11-Jul-06 5:18 
QuestionVBA macro selection with word Pin
Waldermort11-Jul-06 4:01
Waldermort11-Jul-06 4:01 
Questionstored procedure Pin
vidyashankar11-Jul-06 1:54
vidyashankar11-Jul-06 1:54 
AnswerRe: stored procedure Pin
Dave Sexton11-Jul-06 2:15
Dave Sexton11-Jul-06 2:15 
AnswerRe: stored procedure Pin
Christian Graus11-Jul-06 4:11
protectorChristian Graus11-Jul-06 4:11 
Questioncreate table command from listview Pin
newbjohny11-Jul-06 0:51
newbjohny11-Jul-06 0:51 

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.