Connecting Tech Pros Worldwide Help | Site Map

How can Debug.Print?

Christian Blackburn
Guest
 
Posts: n/a
#1: Nov 20 '05
Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn


W1ld0ne [MCSD]
Guest
 
Posts: n/a
#2: Nov 20 '05

re: How can Debug.Print?


Debug.Write

I use that in the command window

"Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> wrote in message
news:OYQ1FdrdDHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi Gang,
> I'm wondering what the VB6 equivalent of Debug.Print is?
> Thanks in Advance,
> Christian Blackburn
>
>[/color]


Narayan
Guest
 
Posts: n/a
#3: Nov 20 '05

re: How can Debug.Print?


Hi,

If you are referring to VB.NET it is
System.Diagnostics.Debug.WriteLine()

Check up the numerous methods of the System.Diagnostics.Debug object.

Best Regards

Narayan

"Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> wrote in message
news:OYQ1FdrdDHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi Gang,
> I'm wondering what the VB6 equivalent of Debug.Print is?
> Thanks in Advance,
> Christian Blackburn
>
>[/color]


Christian Blackburn
Guest
 
Posts: n/a
#4: Nov 20 '05

re: How can Debug.Print?


Thanks Guys,
It looks like I can use Debug.Write or Debug.WriteLine. If I type in a
command like Debug.WriteLine what's the easiest way to find out it's parent
object? Check the online help?
Thanks,
Christian
"Narayan" <nsubrama@veritas.com> wrote in message
news:uDX%23blrdDHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi,
>
> If you are referring to VB.NET it is
> System.Diagnostics.Debug.WriteLine()
>
> Check up the numerous methods of the System.Diagnostics.Debug object.
>
> Best Regards
>
> Narayan
>
> "Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> wrote in message
> news:OYQ1FdrdDHA.1636@TK2MSFTNGP12.phx.gbl...[color=green]
> > Hi Gang,
> > I'm wondering what the VB6 equivalent of Debug.Print is?
> > Thanks in Advance,
> > Christian Blackburn
> >
> >[/color]
>
>[/color]


Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#5: Nov 20 '05

re: How can Debug.Print?


Hello,

"Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> schrieb:[color=blue]
> I'm wondering what the VB6 equivalent of Debug.Print is?[/color]

Use 'Debug.Write' and 'Debug.WriteLine' etc. instead.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


Narayan
Guest
 
Posts: n/a
#6: Nov 20 '05

re: How can Debug.Print?


Hi Gary,

Try object.GetType().BaseType.ToString()

Regards

Narayan

"Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> wrote in message
news:u640#GsdDHA.1632@TK2MSFTNGP12.phx.gbl...[color=blue]
> Thanks Guys,
> It looks like I can use Debug.Write or Debug.WriteLine. If I type in a
> command like Debug.WriteLine what's the easiest way to find out it's[/color]
parent[color=blue]
> object? Check the online help?
> Thanks,
> Christian
> "Narayan" <nsubrama@veritas.com> wrote in message
> news:uDX%23blrdDHA.1636@TK2MSFTNGP12.phx.gbl...[color=green]
> > Hi,
> >
> > If you are referring to VB.NET it is
> > System.Diagnostics.Debug.WriteLine()
> >
> > Check up the numerous methods of the System.Diagnostics.Debug object.
> >
> > Best Regards
> >
> > Narayan
> >
> > "Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> wrote in message
> > news:OYQ1FdrdDHA.1636@TK2MSFTNGP12.phx.gbl...[color=darkred]
> > > Hi Gang,
> > > I'm wondering what the VB6 equivalent of Debug.Print is?
> > > Thanks in Advance,
> > > Christian Blackburn
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Armin Zingler
Guest
 
Posts: n/a
#7: Nov 20 '05

re: How can Debug.Print?


"Christian Blackburn" <Christian@Damn@Spam@Hotmail.com> schrieb[color=blue]
> Hi Gang,
> I'm wondering what the VB6 equivalent of Debug.Print is?
> Thanks in Advance,
> Christian Blackburn[/color]

Simply type "Debug." and you should get a list of available members.

See also (VS 2003 docs):
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB/vbcn7/html/vaconProgrammingElement
sChangesInVB7.htm

(see hints in signature)


--
Armin

- Links might be split into two lines. Concatenate them using notepad.
- Links might require to add a ".nnnn" after the "2003FEB", e.g.
"2003FEB.1033" for localized versions.
- Links starting with "ms-help" are URLs for the document explorer (<F1>).
Paste them in the URL textbox and press enter. Using internal help (menu
tools -> options -> environment -> help), display the "Web" toolbar that
contains the textbox.

Closed Thread