Variable contents appear as Nothing in Intermediate Window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Problem: When I try to print a variable in the Immediate Window (ie "? mststSwitch"), the immediate window indicates that it is nothing. But, if I put a "MsgBox(mststSwitch)" at the same breakpoint, it indicates that the value (correctly) contains a "T". Why does the Immediate window indicate that the variable is empty when it isn't

Background: Running VB.NET 2003. Component with the "nothing" variables uses EnterpriseServices. The variable is declared at the module level

Any help will be greatly appreciated!
 
Hello,

Thanks for your post. As I understand, the problem you are facing is that
Immediate window does not evaluate a variable properly. To narrow down the
problem, I think more information is needed:

1. Does the problem occur to a specific project or to all VB projects?

2. What's the data type of the variable mststSwitch?

3. Based on my research, I did not find a known issue about this problem.
Is it possible for you to post a sample project and tell me the detailed
steps to reproduce the porblem?

I look forward to your response.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi,

I am currently standing by for an update from you and would like to know
how things are going there. Should you have any questions or concerns on
the recent questions/ information I've posted, please don't hesitate to let
me know directly. It's my pleasure to be of assistance.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top