473,499 Members | 1,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
5 4227
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2578
by: Earle Oxner | last post by:
We are developing an application on PocketPC2002 platform and we are trying to make webservice calls using HTTPS. HTTP works fine but HTTPS does not work. The same code which doesn't work on...
1
2489
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard...
1
1985
by: Ben | last post by:
Hello, I'm having trouble with the JoinMulticastingGroup function with C# ..NET and the Compact Framework. My console application on my PocketPC has to listen for any datagrams coming from the...
2
3640
by: ecomputerdelicacy | last post by:
Compact Framework SP3 (and I think also SP2 and SP1) XmlTextReader does not handle !DOCTYPE and (maybe?) rdf elements. How can I get the XmlTextReader to read these without issuing a...
1
4782
by: noleander | last post by:
Hi. I've got a C++ program written in Visual C++ 2003. The program is trivial, created with the Program-creation wizard: used the .NET "Form" template. The program has a trivial...
0
2202
by: Harley | last post by:
I am trying to write a personal app to keep a bank balance and history. The problem I'm haveing is finding a decent way to store the data on a pocketpc under .net compact framewok useing vb.net....
1
1219
by: Richard | last post by:
(not sure what the correct newsgroup is for this - is microsoft.public.smartphone.developer a managed newsgroup?) The code from this article: ...
3
2610
by: Greg | last post by:
Hello all, I am looking to download an image from a website from within a compact framework pda app. I have tried everything I could find and thus I turn to you. Any help or suggestions would be...
24
3791
by: luowan | last post by:
Hi I am currently building an application on .NetCF 3.5 in C#. The application needs to process xml files. I am thinking about using LINQ to process XML. I wrote a piece of code to modify the...
0
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6894
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7388
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.