Skip to main content
The 2024 Developer Survey results are live! See the results
28 events
when toggle format what by license comment
Feb 25, 2019 at 0:26 history edited ib11 CC BY-SA 4.0
clarified no duplicate
Feb 24, 2019 at 7:10 comment added ib11 @jww Definitely not a duplicate. Please read the post and the accepted answer with bounty. This question and its answer does not locatable elsewhere on SO. If you read my post, I have linked this very question in the 2nd paragraph.
Feb 23, 2019 at 9:15 review Close votes
Feb 27, 2019 at 0:00
Feb 23, 2019 at 8:58 comment added jww Possible duplicate of What's the equivalent of VB's Asc() and Chr() functions in C#?
May 23, 2017 at 11:51 history edited URL Rewriter Bot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Aug 23, 2016 at 20:51 history edited ib11 CC BY-SA 3.0
just corrected minor typos
Jul 8, 2016 at 22:05 history edited ib11 CC BY-SA 3.0
edited the beginning of the question to make it clearer
Jun 11, 2016 at 2:40 vote accept ib11
Jun 5, 2016 at 6:03 history edited ib11
edited tags
S Jun 4, 2016 at 2:53 history bounty ended ib11
S Jun 4, 2016 at 2:53 history notice removed ib11
Jun 2, 2016 at 18:15 history edited ib11 CC BY-SA 3.0
update
Jun 1, 2016 at 21:48 answer added Dirk Bester timeline score: 3
Jun 1, 2016 at 0:43 answer added Dmitry Nogin timeline score: 4
May 28, 2016 at 16:42 comment added ib11 @TomBlodget -- Thanks. I updated the question. I offered the bounty to have this question fully explained so anybody, any noob can understand it.
May 28, 2016 at 16:41 history edited ib11 CC BY-SA 3.0
updated with more data
May 28, 2016 at 14:32 comment added Tom Blodget Why do you mention Chr() at all? Are you translating code from VB6 or something? (char)7 means, exactly: convert an integer value, modulo 65536, as a UTF-16 code unit to the natural data type used for UTF-16 code units (char). (A string is a counted sequence of UTF-16 code units.)
May 28, 2016 at 0:23 answer added IS4 timeline score: 6
May 27, 2016 at 23:10 answer added Hans Passant timeline score: 24
May 27, 2016 at 22:22 history edited ib11 CC BY-SA 3.0
added 107 characters in body
S May 27, 2016 at 22:16 history bounty started ib11
S May 27, 2016 at 22:16 history notice added ib11 Draw attention
May 2, 2016 at 7:48 comment added ib11 The difference is the real time compiling errors VS 2013 gives. It only reports the error when I build.
May 2, 2016 at 7:40 comment added yaakov "did not give a compiler error, only at build time" What's the difference between the compiler and build time?
May 2, 2016 at 7:40 comment added yaakov According to MSDN, Chr returns a Char. Is it possible that VB just has an implicit cast from Char to String?
May 2, 2016 at 7:13 comment added ib11 A line of code did not give a compiler error, only at build time, which made me to start looking for the answer. The line of code was: if (oWordDoc.ActiveWindow.Selection.Text.EndsWith((char)7) And when I looked many posts stated what I have in my OP. This is what I want to clarify and make sure I have it right: that one always have to cast to string if he wants to use it as string.
May 2, 2016 at 7:04 comment added Quality Catalyst What problem are you trying to solve? There is no implicit cast unless you implement that cast yourself.
May 2, 2016 at 6:32 history asked ib11 CC BY-SA 3.0