473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How can Debug.Print?

Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn
Nov 20 '05 #1
6 41938
Debug.Write

I use that in the command window

"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn

Nov 20 '05 #2
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@Sp**@Hotmail.com> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn

Nov 20 '05 #3
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" <ns******@veritas.com> wrote in message
news:uD****************@TK2MSFTNGP12.phx.gbl...
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@Sp**@Hotmail.com> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn


Nov 20 '05 #4
Hello,

"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> 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
Nov 20 '05 #5
Hi Gary,

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

Regards

Narayan

"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> wrote in message
news:u6**************@TK2MSFTNGP12.phx.gbl...
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" <ns******@veritas.com> wrote in message
news:uD****************@TK2MSFTNGP12.phx.gbl...
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@Sp**@Hotmail.com> wrote in message
news:OY**************@TK2MSFTNGP12.phx.gbl...
Hi Gang,
I'm wondering what the VB6 equivalent of Debug.Print is?
Thanks in Advance,
Christian Blackburn



Nov 20 '05 #6
"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> 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.

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tim Marshall | last post by:
For an mdb or mde release, does having debug.print without the comment single quote add any processing time to the application? I assume an mde won't since debug.prints would not be compiled in...
3
by: Gunawan | last post by:
In vs 6 I can use debug.print as alternatif debugging value at runtime. Which function that I can use in C# 2005 Express for windows form apps? TIA, Gunawan
5
by: MLH | last post by:
I use a fair number of debug.print statements. My apps are fairly well 'peppered' with them. I've often wondered if leaving them in the mdb, creating and rolling out an mde intended for use in the...
9
by: David A. Beck | last post by:
When I do a debug.print("blabla") in VB (VS2005) it doesn't show up in the output window, what gives?
6
by: swartzbill2000 | last post by:
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to...
3
by: Daniel Manes | last post by:
Strangest thing, but, if I put debug.print statements in my code, they simply get ignored when I run the project. Also, if I try to put a breakpoint on a line containing debug.print, it jumps down...
4
by: Dom | last post by:
VB had a neat object called "Debug". You could use "Debug.Print()" in your code, and you could get useful debugging information in the immediate window. Is there something like this in CSharp? ...
4
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I tried the (good old...)vb6 command debug.print and it does not work in vb.net 2005 I googled some and found these samples: Debug.WriteLine("hello") Console.WriteLine("hello")...
7
MitchR
by: MitchR | last post by:
I am looking to capture the Debug.print of computers connected to the backend of my database. Using the Microsoft example I can see the list of computers connected to my backend. I would like to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.