PC Review


Reply
Thread Tools Rate Thread

How can Debug.Print?

 
 
Christian Blackburn
Guest
Posts: n/a
 
      9th Sep 2003
Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn


 
Reply With Quote
 
 
 
 
W1ld0ne [MCSD]
Guest
Posts: n/a
 
      9th Sep 2003
Debug.Write

I use that in the command window

"Christian Blackburn" <Christian@Damn@(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Gang,
> I'm wondering what the VB6 equivalent of Debug.Print is?
> Thanks in Advance,
> Christian Blackburn
>
>



 
Reply With Quote
 
Narayan
Guest
Posts: n/a
 
      9th Sep 2003
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@(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Gang,
> I'm wondering what the VB6 equivalent of Debug.Print is?
> Thanks in Advance,
> Christian Blackburn
>
>



 
Reply With Quote
 
Christian Blackburn
Guest
Posts: n/a
 
      9th Sep 2003
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" <(E-Mail Removed)> wrote in message
news:uDX%(E-Mail Removed)...
> 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@(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Gang,
> > I'm wondering what the VB6 equivalent of Debug.Print is?
> > Thanks in Advance,
> > Christian Blackburn
> >
> >

>
>



 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      9th Sep 2003
"Christian Blackburn" <Christian@Damn@(E-Mail Removed)> schrieb
> Hi Gang,
> I'm wondering what the VB6 equivalent of Debug.Print is?
> Thanks in Advance,
> Christian Blackburn


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.

 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      9th Sep 2003
Hello,

"Christian Blackburn" <Christian@Damn@(E-Mail Removed)> schrieb:
> I'm wondering what the VB6 equivalent of Debug.Print is?


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

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


 
Reply With Quote
 
Narayan
Guest
Posts: n/a
 
      9th Sep 2003
Hi Gary,

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

Regards

Narayan

"Christian Blackburn" <Christian@Damn@(E-Mail Removed)> wrote in message
news:u640#(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:uDX%(E-Mail Removed)...
> > 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@(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi Gang,
> > > I'm wondering what the VB6 equivalent of Debug.Print is?
> > > Thanks in Advance,
> > > Christian Blackburn
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Print Mike H. Microsoft Excel Programming 2 22nd Aug 2008 12:10 PM
Debug.print ? =?Utf-8?B?TWFyaw==?= Microsoft Access Form Coding 2 21st May 2005 12:33 PM
Debug.Print Gunawan Microsoft C# .NET 3 14th Feb 2005 06:50 AM
Re: Debug.Print Phil Hunt Microsoft Access VBA Modules 0 30th Mar 2004 05:56 PM
Debug.Print ExcelMonkey Microsoft Excel Programming 1 6th Feb 2004 04:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:44 PM.