Please support our VB.NET advertiser: Programming Forums
![]() |
•
•
Join Date: Sep 2005
Posts: 14
Reputation:
Rep Power: 4
Solved Threads: 0
When I am in Debug mode, I want to set the value of the textbox on the dialog form.
What happens the dialog form appears before , even when I am starting debug bug mode.
The values of the textbox in show dialog sub routine they appear to be set in an empty string.
How ever this does not occur such that the dialog for populates with aparent values.
When not in tracing mode.
Why do I get this problem?
Here is the function===:
Public Overloads Sub ShowDialog(ByRef objTransoverride As TransOverride.structTransoverride)
'
' Do All the work that you want to i.e. the one that you have written in the Load
'
'
oldPolicyNumber = objTransoverride.PolicyNumber.ToString()
oldTransCode = objTransoverride.TransCodeOrig.ToString()
oldTransEffDate = objTransoverride.TransEffDate.ToString()
txtAccountName.Text = objTransoverride.Account_Name.ToString()
txtPolicyNumber.Text = objTransoverride.PolicyNumber.ToString()
txtPlanYear.Text = objTransoverride.Plan_Year.ToString()
txtUserId.Text = objTransoverride.ModifiedUID.ToString()
txtDate.Text = objTransoverride.ModifiedDate.ToString()
lbRecNum.Text = objTransoverride
lbRecNum.Text = objTransoverride.RowNum.ToString()
DateTimePicker1.Text = objTransoverride.TransEffDate.ToString()
DateTimePicker1.Value = objTransoverride.TransEffDate.ToString()
FillComboBocmbOriginalTransCode, objTransoverride.TransCodeOrig)
FillComboBocmbOverrideAction, objTransoverride.Override_Action)
FillComboBocmbOverrideNR, objTransoverride.Override_New_Renewal)
FillComboBocmbOverrideTransactionCode, objTransoverride.Override_Transaction_Code)
MyBase.ShowDialog()
End Sub
What happens the dialog form appears before , even when I am starting debug bug mode.
The values of the textbox in show dialog sub routine they appear to be set in an empty string.
How ever this does not occur such that the dialog for populates with aparent values.
When not in tracing mode.
Why do I get this problem?
Here is the function===:
Public Overloads Sub ShowDialog(ByRef objTransoverride As TransOverride.structTransoverride)
'
' Do All the work that you want to i.e. the one that you have written in the Load
'
'
oldPolicyNumber = objTransoverride.PolicyNumber.ToString()
oldTransCode = objTransoverride.TransCodeOrig.ToString()
oldTransEffDate = objTransoverride.TransEffDate.ToString()
txtAccountName.Text = objTransoverride.Account_Name.ToString()
txtPolicyNumber.Text = objTransoverride.PolicyNumber.ToString()
txtPlanYear.Text = objTransoverride.Plan_Year.ToString()
txtUserId.Text = objTransoverride.ModifiedUID.ToString()
txtDate.Text = objTransoverride.ModifiedDate.ToString()
lbRecNum.Text = objTransoverride
lbRecNum.Text = objTransoverride.RowNum.ToString()
DateTimePicker1.Text = objTransoverride.TransEffDate.ToString()
DateTimePicker1.Value = objTransoverride.TransEffDate.ToString()
FillComboBocmbOriginalTransCode, objTransoverride.TransCodeOrig)
FillComboBocmbOverrideAction, objTransoverride.Override_Action)
FillComboBocmbOverrideNR, objTransoverride.Override_New_Renewal)
FillComboBocmbOverrideTransactionCode, objTransoverride.Override_Transaction_Code)
MyBase.ShowDialog()
End Sub
![]() |
Similar Threads
Other Threads in the VB.NET Forum
- Debugging error C2653 (C++)
- general debugging error (ASP.NET)
- Compilation Error Handles cmdLogin.ServerClick (ASP.NET)
- c++ debugging error (C++)
- debugging error messages (Web Browsers)
Other Threads in the VB.NET Forum
- Previous Thread: Compilation error urgent?
- Next Thread: Passing Object of Type Structure Through A Dialog Call
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode