467,920 Members | 1,120 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,920 developers. It's quick & easy.

Does Console.Write() work in Compact Framework?

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
  • viewed: 4005
Share:
5 Replies
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
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
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
Will installing the 3rd party console allow Console.Write() to output
to the VS.NET output window?

Thanks,
Brett

Nov 17 '05 #5
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.

Similar topics

reply views Thread by Earle Oxner | last post: by
1 post views Thread by Asad Khan | last post: by
24 posts views Thread by luowan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.