RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums
Views: 1871 | Replies: 0 | Thread Tools  Display Modes
Reply
Join Date: Sep 2005
Posts: 14
Reputation: mcupryk is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
mcupryk mcupryk is offline Offline
Newbie Poster

Debugging Error

  #1  
Sep 13th, 2005
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
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:06 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC