473,651 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 41953
Debug.Write

I use that in the command window

"Christian Blackburn" <Christian@Damn @Sp**@Hotmail.c om> wrote in message
news:OY******** ******@TK2MSFTN GP12.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.Diagnost ics.Debug.Write Line()

Check up the numerous methods of the System.Diagnost ics.Debug object.

Best Regards

Narayan

"Christian Blackburn" <Christian@Damn @Sp**@Hotmail.c om> wrote in message
news:OY******** ******@TK2MSFTN GP12.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******@verit as.com> wrote in message
news:uD******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi,

If you are referring to VB.NET it is
System.Diagnost ics.Debug.Write Line()

Check up the numerous methods of the System.Diagnost ics.Debug object.

Best Regards

Narayan

"Christian Blackburn" <Christian@Damn @Sp**@Hotmail.c om> wrote in message
news:OY******** ******@TK2MSFTN GP12.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.c om> schrieb:
I'm wondering what the VB6 equivalent of Debug.Print is?


Use 'Debug.Write' and 'Debug.WriteLin e' 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.ToSt ring()

Regards

Narayan

"Christian Blackburn" <Christian@Damn @Sp**@Hotmail.c om> wrote in message
news:u6******** ******@TK2MSFTN GP12.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******@verit as.com> wrote in message
news:uD******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi,

If you are referring to VB.NET it is
System.Diagnost ics.Debug.Write Line()

Check up the numerous methods of the System.Diagnost ics.Debug object.

Best Regards

Narayan

"Christian Blackburn" <Christian@Damn @Sp**@Hotmail.c om> wrote in message
news:OY******** ******@TK2MSFTN GP12.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.c om> 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.2003 FEB/vbcn7/html/vaconProgrammin gElement
sChangesInVB7.h tm

(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.10 33" 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
2894
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 the final product, right? But in an mdb, wouldn't debug.print add a bit of processing time, however miniscule? When developing, debug.prints still active where I don't need them can
3
16716
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
2848
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 A97 runtime environment might ever be cause for concern. I've noticed no symptoms to indicate a problem. Are there drawbacks to this practice?
9
10833
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
4109
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 make it work in Release build? Bill
3
1506
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 to the next available line of code when I run the project (or jumps down immediately if the project is already running). Another thing that's stopped working is the gray highlighting that shows which blocks of code were played prior to the...
4
38265
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? Dom
4
3471
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") Trace.WriteLine("hello")
7
2618
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 capture the information displayed in the debug.print and send to my self in an email. 'Output the list of all users in the current database. Debug.Print rs.Fields(0).Name, "", rs.Fields(1).Name, _ "", rs.Fields(2).Name, rs.Fields(3).Name...
0
8352
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8697
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8579
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6158
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2699
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.