Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / December 2007

Tip: Looking for answers? Try searching our database.

Log Message

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
HoustonK - 28 Dec 2007 03:09 GMT
Hi,

I wrote a compact framework 2.0 dll, in this dll, I would like to print out
some message on screen.

Problem here is that if I use windows application (Project),
console.writeline message won't show.  

Also, is it possible to run windows (GUI) and console at the same time?

Can you suggest any techniques to implement this?

Thx.

-KK
<ctacke/> - 28 Dec 2007 03:20 GMT
How about another Form that you write messages to - maybe with a ListBox?

WM and PPC don't have a console built-in (though there are add-ons like
Pocket Console).

Signature

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com

> Hi,
>
[quoted text clipped - 12 lines]
>
> -KK
Scott Gifford - 28 Dec 2007 05:51 GMT
> I wrote a compact framework 2.0 dll, in this dll, I would like to print out
> some message on screen.

I use log4net for this:

   http://logging.apache.org/log4net/

I have some code to display the log messages in a scrolling textbox,
which I can turn on in debug versions of the code.  I adapted it from
here:

   http://blog.markjordan.org/archive/2006/09/05/TextBoxAppender-for-Log4Net.aspx

and here:

   http://blog.opennetcf.org/afeinman/PermaLink,guid,7e8df78c-a583-4b35-ae5d-022072
10ab40.aspx


It's very handy, especially if you are accustomed to programming in an
environment where you can just print stuff out to see what's going on
in your program.

Hope this helps,

----Scott.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.