Click here to Skip to main content
15,900,378 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to call ORacle function in vb.net Pin
Colin Angus Mackay21-Aug-06 9:07
Colin Angus Mackay21-Aug-06 9:07 
GeneralRe: how to call ORacle function in vb.net Pin
hemrk21-Aug-06 11:59
hemrk21-Aug-06 11:59 
GeneralRe: how to call ORacle function in vb.net Pin
Colin Angus Mackay21-Aug-06 12:03
Colin Angus Mackay21-Aug-06 12:03 
AnswerRe: how to call ORacle function in vb.net Pin
Navi1521-Aug-06 20:34
Navi1521-Aug-06 20:34 
GeneralRe: how to call ORacle function in vb.net Pin
hemrk22-Aug-06 4:22
hemrk22-Aug-06 4:22 
GeneralRe: how to call ORacle function in vb.net Pin
hemrk22-Aug-06 4:25
hemrk22-Aug-06 4:25 
GeneralRe: how to call ORacle function in vb.net Pin
hemrk22-Aug-06 8:50
hemrk22-Aug-06 8:50 
QuestionASP.net, VB, and File Output Tracing Pin
Tristan Rhodes21-Aug-06 7:08
Tristan Rhodes21-Aug-06 7:08 
I've got a web service running, and i'm trying to build tracing in it that gets outputted to a file. Unfortunately, i can't find a way of enabling TRACE token in a VB Website.

I don't want to use the ASP page trace dump, as it will break my SOAP interface.

This code is called on my application start event:

<br />
<br />
    Dim lstrFileStream As System.IO.FileStream<br />
    Dim objTraceListener As System.Diagnostics.TraceListener<br />
    <br />
    'Create Stream and Listener<br />
    lstrFileStream = New System.IO.FileStream("C:\Temp\Tracer.Log", IO.FileMode.OpenOrCreate)<br />
    objTraceListener = New System.Diagnostics.TextWriterTraceListener(lstrFileStream)<br />
    objTraceListener.TraceOutputOptions = Diagnostics.TraceOptions.Timestamp<br />
    <br />
    'Trace Item<br />
    System.Diagnostics.Trace.Listeners.Add(objTraceListener)<br />
<br />


This is called at the start of one of the SOAP requests:

<br />
    System.Diagnostics.Trace.Write("Add Account Called.")<br />
    System.Diagnostics.Trace.Flush()<br />


This generates an empty file, and never writes anything too it.

While i am aware that this style of trace listener may not be ideal, i'd be happy with it writing anything right now.

Any thoughts?

Cheers Chaps

Tris
Questiontrouble with string in app.config Pin
oakleaf21-Aug-06 5:05
oakleaf21-Aug-06 5:05 
AnswerRe: trouble with string in app.config [modified] Pin
oakleaf21-Aug-06 5:41
oakleaf21-Aug-06 5:41 
GeneralRe: trouble with string in app.config Pin
Stephen McGuire21-Aug-06 12:59
Stephen McGuire21-Aug-06 12:59 
QuestionVB Addin in Word Pin
Anil_vvs20-Aug-06 23:23
Anil_vvs20-Aug-06 23:23 
Questionoutlook context menu Error and PREVIEW PANE Problem Pin
K edar V20-Aug-06 19:43
K edar V20-Aug-06 19:43 
QuestionApplication Settings Pin
wrathofnero20-Aug-06 16:24
wrathofnero20-Aug-06 16:24 
AnswerRe: Application Settings Pin
Keith Malwitz20-Aug-06 18:58
Keith Malwitz20-Aug-06 18:58 
GeneralRe: Application Settings Pin
Andrew Sturm21-Aug-06 14:52
Andrew Sturm21-Aug-06 14:52 
Question2 month between now and date Pin
campbells20-Aug-06 16:03
campbells20-Aug-06 16:03 
AnswerRe: 2 month between now and date Pin
Keith Malwitz20-Aug-06 16:17
Keith Malwitz20-Aug-06 16:17 
GeneralRe: 2 month between now and date [modified] Pin
campbells20-Aug-06 17:41
campbells20-Aug-06 17:41 
GeneralRe: 2 month between now and date Pin
Keith Malwitz20-Aug-06 18:32
Keith Malwitz20-Aug-06 18:32 
GeneralRe: 2 month between now and date Pin
campbells20-Aug-06 19:48
campbells20-Aug-06 19:48 
AnswerRe: 2 month between now and date Pin
Guffa20-Aug-06 21:47
Guffa20-Aug-06 21:47 
GeneralRe: 2 month between now and date Pin
campbells20-Aug-06 22:15
campbells20-Aug-06 22:15 
AnswerRe: 2 month between now and date Pin
Guffa20-Aug-06 23:14
Guffa20-Aug-06 23:14 
GeneralRe: 2 month between now and date [modified] Pin
Keith Malwitz21-Aug-06 2:07
Keith Malwitz21-Aug-06 2:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.