Re: need traceback from "has encountered an error and must close"



Thanks a bunch guys, I have the application running now using DataGridView in
place of FLexGrid. It runs a lot faster. I am now going through and
converting the other VB6 calls. Thanks again.
--
Robert Styma
Principal Engineer (DMTS)
Alcatel-Lucent


"Cor Ligthert[MVP]" wrote:

Jeffrey,

The Microsoft.VisualBasicCompatiblity.vb6 namespace is still suported and a
part of all current Net framework 2.0 and its full compatible versions
including 3.5. However I would nobody advice to use it. This the same as
with the Collection class in the Microsoft.VisualBasic namespace although
that is an official full part of the Net framework. (Some mix the Net
framework up with the System.Net namespace, where Net is in fact a part of
the System namespace (In other words, in the System namespace are parts not
in the Microsoft namespace of Net, the latter sentence written smilling)

(I have this not mailed personally to you to, to be shure that your message
will not give by you not intended wrong results)

http://msdn2.microsoft.com/en-us/library/microsoft.visualbasic.compatibility.vb6.aspx

Cor


""Jeffrey Tan[MSFT]"" <jetan@xxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:RDgUHRMiIHA.4672@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Robert,

Can you show us the screenshot of this error message? If I remember
correctly, the FlexGrid is a VB6 COM control and is not a part of the .Net
Framework. So if the OS did not install and register the FlexGrid COM
control, the OS loader can not find the COM control. This will cause the
OS
loader error dialog pop up for failure. Since the OS loader fails the
application, our code did not have the chance to execute yet. That's why
the error dialog is not very informative.

To troubleshoot loader problem, I would recommend Process Monitor from the
link below:
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

You may take care of the file system&registry activitiy records with "Not
Found" result. If you are not familiar with using Process Monitor for
troubleshooting, I highly recommend Mark Russinovich's online tech talk
below:
"Advanced Windows Troubleshooting with Sysinternals Process Monitor"
http://www.microsoft.com/emea/itsshowtime/sessionh.aspx?videoid=346

Anyway, this is just one possible cause. If it is a runtime code error
instead of the loader time problem, I have written a blog regarding how to
get a comprehensive stack trace in production server using Windbg and
Process Explorer:
"How to debug application crash/hang in production environment?"
http://blogs.msdn.com/msdnts/archive/2006/11/24/how-to-debug-application-cra
sh-hang-in-production-environment.aspx

Finally, I agree with Cor that you'd better move to the new .Net
DataGridView control. This control is in .Net Framework, so your
application can use it without any portability issue on all OS with .Net
Framework installed.

Hope it helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.




.



Relevant Pages

  • Re: need traceback from "has encountered an error and must close"
    ... The Microsoft.VisualBasicCompatiblity.vb6 namespace is still suported and a part of all current Net framework 2.0 and its full compatible versions including 3.5. ... the OS loader can not find the COM control. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: need traceback from "has encountered an error and must close"
    ... The Microsoft.VisualBasicCompatiblity.vb6 namespace is still suported and a part of all current Net framework 2.0 and its full compatible versions including 3.5. ... the OS loader can not find the COM control. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: SP3 potential problem
    ... Windows Explorer and I get a message to send the info to MS. ... Remove all SP2 and later Microsoft Net Framework items and then ... Start, Help and Support, Keep your Windows up- to-date with Windows ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... Windows Explorer and I get a message to send the info to MS. ... Remove all SP2 and later Microsoft Net Framework items and then ... Start, Help and Support, Keep your Windows up- to-date with Windows ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)
  • Re: SP3 potential problem
    ... locate and place cursor on Microsoft Net Framework 2.0 ... Start, Help and Support, Keep your Windows up- to-date with Windows ... from the event viewer for the last day or so. ... Event Source: Application Error ...
    (microsoft.public.windowsxp.basics)