Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #2406
| From | GS <gs@v.invalid> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc, microsoft.public.vb.general.discussion |
| Subject | Re: MS Excel COMAddins Manager VB6 app |
| Date | 2019-12-05 15:58 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <qsbr1c$879$1@dont-email.me> (permalink) |
| References | <qs3d3g$nnt$1@dont-email.me> <20191204094658.00002584@eternal-september.org> <qsat3n$9fs$1@dont-email.me> <20191205143625.00006dd2@eternal-september.org> <20191205144658.00006d26@eternal-september.org> |
Cross-posted to 2 groups.
>>> On Thu, 5 Dec 2019 14:36:25 +0100 >>> (comp.lang.basic.visual.misc,microsoft.public.vb.general.discussion) >>> <20191205143625.00006dd2@eternal-september.org> >>> Arne Saknussemm <idm.10.arnsak@mamber.net> wrote: > >> Let me know if it will help sorting out your issue, notice that it >> could be a good idea to have a look at the other tools on that site, >> they may come really useful at times, then, for more tools, also have >> a look at the Nir Sofer website https://www.nirsoft.net/ - notice that >> some of the tools offered may be flagged by some AVs as "dangerous", >> this does NOT mean they're malware or whatever, just that they allow >> to perform operations which a regular user won't usually need to >> perform :) > > Also, and since we're at it, you may consider the idea of picking this > simple (yet useful) tool > > https://docs.microsoft.com/en-us/sysinternals/downloads/debugview > > at that point, in your own VB code, add a bas module containing the > following code > > ' ==================================================================== > Private Declare Sub OutputDebugString Lib "kernel32" > Alias "OutputDebugStringA" _ > (ByVal lpString as String) > > > > Public Sub DbgPrint(ByVal sTxt As String) > Dim sStr As String > > sStr = "[" & App.ExeName & "] " & sTxt & vbCrLf & Chr(0) > Call OutputDebugString(sStr) > End Sub > ' ==================================================================== > > now, throughout your code, whenever you'll want to have some diagnostic > message, just add a call to the DbgPrint sub, at this point, to view > the messages, even in the compiled (exe or dll) program, just fire the > debugview tool (link above) set the filter to only show messages from > your application (that is "[youappname]") and start (or load) your > application :) Arne, Not sure I follow; - I already implement a central error handling system that writes to error.log so what useful purpose would a runtime messaging system serve? (I haven't read the link yet!) -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-02 11:11 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-04 09:46 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-04 12:59 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-05 09:44 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-05 03:57 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-05 10:11 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-05 04:39 -0500
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-05 07:27 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-05 14:36 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-05 08:39 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-05 14:46 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-05 15:58 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-06 09:29 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-06 04:47 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-06 13:16 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-06 12:52 -0500
Re: MS Excel COMAddins Manager VB6 app Arne Saknussemm <idm.10.arnsak@mamber.net> - 2019-12-09 09:28 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-09 03:52 -0500
Re: MS Excel COMAddins Manager VB6 app ObiWan <obiwan@mvps.org> - 2019-12-09 10:12 +0100
Re: MS Excel COMAddins Manager VB6 app GS <gs@v.invalid> - 2019-12-09 09:42 -0500
csiph-web