By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,970 Members | 1,193 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,970 IT Pros & Developers. It's quick & easy.

Does Console.Write() work in Compact Framework?

P: n/a
When I do Console.Write("something here") or WriteLine() on the Compact
Framework, nothing appears in the output window. I have also tried it
on another developer's machine with the same results. The Docs say
this is supported in the Compact Framework. Any ideas?

Thanks,
Brett

Nov 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
See the thread linked below (from the
microsoft.public.dotnet.framework.compactframework archives).
http://groups-beta.google.com/group/...417715eae292d5

--
Tim Wilson
..Net Compact Framework MVP

"brett" <ac*****@cygen.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
When I do Console.Write("something here") or WriteLine() on the Compact
Framework, nothing appears in the output window. I have also tried it
on another developer's machine with the same results. The Docs say
this is supported in the Compact Framework. Any ideas?

Thanks,
Brett

Nov 17 '05 #2

P: n/a
Where exactly is dev/null as described in the above link, "It will go
to the device console, but Pocket PCs don't have a Console, so the
output goes to /dev/null... "

I did a search under files/folders for dev/null but didn't get any
results.

Brett

Nov 17 '05 #3

P: n/a
IMO, the best thing to do is to just download and install Pocket Console.
http://www.symbolictools.de/public/pocketconsole/

--
Tim Wilson
..Net Compact Framework MVP

"brett" <ac*****@cygen.com> wrote in message
news:11********************@g43g2000cwa.googlegrou ps.com...
Where exactly is dev/null as described in the above link, "It will go
to the device console, but Pocket PCs don't have a Console, so the
output goes to /dev/null... "

I did a search under files/folders for dev/null but didn't get any
results.

Brett

Nov 17 '05 #4

P: n/a
Will installing the 3rd party console allow Console.Write() to output
to the VS.NET output window?

Thanks,
Brett

Nov 17 '05 #5

P: n/a
IIRC, no, the output will go to the console on the device only.

If you need to see output in the output window, although I haven't tried any
solutions out there, here are some resources that might get you started...
http://enfieldfamily.com/blog/PermaL...e8a88dfa6.aspx
http://www.danielmoth.com/Blog/2004/...writeline.html
http://groups-beta.google.com/groups...mpactframework

--
Tim Wilson
..Net Compact Framework MVP

"brett" <ac*****@cygen.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Will installing the 3rd party console allow Console.Write() to output
to the VS.NET output window?

Thanks,
Brett

Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.