Message 1 of 7
Not applicable
10-21-2010
03:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dim str As String = ("1/16""" & " = 1'-0""")
MsgBox("Cannoscale = " & CannoScale)
Application.SetSystemVariable("CANNOSCALE", str)
I am new to learning vb.net. This problem will make that readily apparent 😛 What is wrong with this statement? I have checked the output of str with a msgbox and it looks exactly like what I should be feeding the cannoscale system variable, yet it does not change the value. What could I be formatting incorrectly? I have it currently working in vba using the following format:
("1/16" & Chr(34) & "=1'-0" & Chr(34))
but it fires a debug error in vb.net
Output to cannoscale should be --> 1/16" = 1'-0"
Solved! Go to Solution.