VB.NET : Log File

Coding a Log File

Page 1 of 1

9 Replies - 6629 Views - Last Post: 18 October 2010 - 01:41 PM Rate Topic: -----

#1 Yusuf_20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 16-October 10

VB.NET : Log File

Posted 16 October 2010 - 01:41 AM

I need to code a view log file button so as when the user click on he can see all the logs since the program started running. I know i should use System.Diagnositics.Trace class but i can't get the code. Please I've already check this forum, the codes are not working fine, so give me according to your own experience and not links.



Thanks. :)

Is This A Good Question/Topic? 0
  • +

Replies To: VB.NET : Log File

#2 Amrykid  Icon User is offline

  • 4+1=Moo
  • member icon

Reputation: 148
  • View blog
  • Posts: 1,589
  • Joined: 16-December 08

Re: VB.NET : Log File

Posted 16 October 2010 - 06:47 AM

Can you show us the code you have so far? Maybe we can help you form there :)
Was This Post Helpful? 0
  • +
  • -

#3 Yusuf_20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 16-October 10

Re: VB.NET : Log File

Posted 16 October 2010 - 09:12 AM

Im dumb in vb, i just started coding, i don't know where i should start, or if you can give me a sample code of how it would be.... then i can improve on it.
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10564
  • View blog
  • Posts: 39,091
  • Joined: 27-December 08

Re: VB.NET : Log File

Posted 16 October 2010 - 09:14 AM

I'm sorry, but that's not how it works. Show us your good faith efforts, and we will be happy to help. If you don't konw where to begin, you should check out the VB.NET Tutorials section to learn the language more. :)
Was This Post Helpful? 0
  • +
  • -

#5 Yusuf_20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 16-October 10

Re: VB.NET : Log File

Posted 17 October 2010 - 03:44 AM

There is nothing as such in the VB.Net tutorial!! If you think you have it here provide me with the link!!!!!
Was This Post Helpful? 0
  • +
  • -

#6 TEH  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 29
  • View blog
  • Posts: 152
  • Joined: 30-January 08

Re: VB.NET : Log File

Posted 17 October 2010 - 04:07 AM

If you have just started coding then maybe that is just too difficult project for you at this point.

If you can't find a tutorial about that then use MSDN or google.
I'm very sure there is something about that in web and then, when you get your project done, you can make the tutorial about that for us.

And what macosxnerd101 said was that you can learn basics of coding with VB.NET by completing tutorials, and basic references you can found here.
Was This Post Helpful? 1
  • +
  • -

#7 Yusuf_20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 16-October 10

Re: VB.NET : Log File

Posted 17 October 2010 - 04:22 AM

I tried MSDN and google also but nothing. Never mind will download the link you provided me! Thanks :)
Was This Post Helpful? 0
  • +
  • -

#8 motcom  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 290
  • View blog
  • Posts: 1,371
  • Joined: 16-June 08

Re: VB.NET : Log File

Posted 18 October 2010 - 03:10 AM

Hi,

You can use the Application.Log namespace. Here is the link on how it works

Logs on MSDN
Was This Post Helpful? 0
  • +
  • -

#9 Yusuf_20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 16-October 10

Re: VB.NET : Log File

Posted 18 October 2010 - 08:46 AM

@motcom thanks a bunch, this is what i was searching for :)
Was This Post Helpful? 0
  • +
  • -

#10 motcom  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 290
  • View blog
  • Posts: 1,371
  • Joined: 16-June 08

Re: VB.NET : Log File

Posted 18 October 2010 - 01:41 PM

cool, press + if I helped you...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1