Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB 6.0 >>> VB.NET / October 2003

Tip: Looking for answers? Try searching our database.

VB Upgrade Wizard hangs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Piyush - 02 Oct 2003 13:40 GMT
Hi,
    I am trying to upgrade VB 6.0 project to VB.NET(beta version)
    I am using MSComm control & Power Tool's ChartBuilder control
    in my VB6 project.The project contains about 17 project items.
    when I start upgrade wizard , it analyses 1st form successfully
    but for 2nd form it shows analysing for hours (I tried it for abt
    5 hours).
    I also tried same with command line but without success.
    What may be the problem or the wizard would take more time to
    analyse ?
    Can anybody please help me out ?
    Thanks.
Piyush
John Hart [MSFT] - 02 Oct 2003 20:22 GMT
Hi Piyush,

The Upgrade Wizard can with certain projects take a while to upgrade. When
you canceled the process did you get another error message?  If not I would
suggest you try the upgrade again and at the point you thing the Wizard is
hung check to see if the VBU.exe process is still running if it is then I
would let it continue.  If it is not running. It sounds like the upgrade
engine has run into a problem with a control on the second from. Can you
tell me more about which version of VS.Net you're using and what version of
the ChartBuilder control you're using?

Thanks

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 7 lines]
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1065098432 29346 127.0.0.1 (2 Oct 2003
12:40:32 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Thu, 2 Oct 2003 12:40:32 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!tdsnet-transit!newspeer.tds.net!sn-xit-02!sn-xit-06!sn-xit-08!sn-xit-09!su
pernews.com!postnews1.google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5410
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 11 lines]
>     Thanks.
> Piyush
Piyush - 03 Oct 2003 05:47 GMT
Hi,
   When I canceled the process I get message as "RPC Server cannot be
used".
   Also VBU.exe is not running. I kept the process running for more
than
   12 hours now but still same situation.
   I am using VS.Net 1.0 Japanese version (sorry, I didnt mention it
in
   first post) & ChartBuilder version 5.0J (Japanese). Here is the
log file
   that is generated.

<?xml version="1.0" encoding="utf-8"?>
<UpgradeLog>
   <Settings>
       <Setting
           Name = "&#12525;&#12464;&#12501;&#12449;&#12452;&#12523;
(/LogFile): "
           Value = "Watchlogger.log"
       />
       <Setting
           Name = "&#12463;&#12521;&#12473;&#29992;&#12395;&#29983;&#25104;&#12373;&#12428;&#12383;&#12452;&#12531;&#12479;&#12540;&#12501;&#12455;&#12540;&#12473;
(/GenerateInterfaces): "
           Value = "FALSE"
       />
       <Setting
           Name = "&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#21517;
: "
           Value = "Watchlogger"
       />
       <Setting
           Name = "&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#20986;&#21147;
: "
           Value = "Watchlogger.vbproj"
       />
       <Setting
           Name = "&#12479;&#12540;&#12466;&#12483;&#12488;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;
(/Out): "
           Value = "C:\Fujita\TestMigration\pjtKt_100.NET"
       />
       <Setting
           Name = "&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;
&#12497;&#12473;: "
           Value = "C:\Fujita\Sorce\Watchlogger.vbp"
       />
       <Setting
           Name = "&#12450;&#12483;&#12503;&#12464;&#12524;&#12540;&#12489;&#12373;&#12428;&#12383;&#12501;&#12449;&#12452;&#12523;&#12398;&#31278;&#39006;
: "
           Value = "0"
       />
   </Settings>
</UpgradeLog>

   Thanks
Piyush
Piyush - 03 Oct 2003 16:18 GMT
Hi,
   The problem got solved. There was some problem in frx file.
   But I wanted to know whether the chart control will be subborted by
   .NET or I will have to write the whole code again using some other control.
   Thanks for your help.

Piyush
John Hart [MSFT] - 04 Oct 2003 01:12 GMT
Hi Piyush,

I'm glad to hear you solved the problem. I'm sorry it was so time consuming
to get it solved. I'm not clear on your last question. I'm assuming you're
asking if the ChartBuilder control will supported in .Net. It should run as
it does today with the use of COM interop.

Let me know if you have any other upgrade problems or questions.

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310030718.658e4781@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<KaqXLqRiDHA.1772@cpmsftngxa06.phx.gbl>
<892b2231.0310022047.37c3dbb3@posting.google.com>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1065194283 11861 127.0.0.1 (3 Oct 2003
15:18:03 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Fri, 3 Oct 2003 15:18:03 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.uncensored-news.co
m!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!postnews1.
google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5420
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 5 lines]
>
> Piyush
Piyush - 07 Oct 2003 12:41 GMT
Hi,
   After studying upgrade code I have a couple of questions.
   1. Control artrays in VB.Net are gone so what does upgrade
      do about it.I have used one method which handles event for all
      controls. But how can I refer to control by index  as in
      optMax(0) or optMax(1) ? Would I have to loop through all controls on
      form or is there any other metho ?
   2. How to upgrade Active Reports for .Net
   Thanks,

Piyush
John Hart [MSFT] - 07 Oct 2003 20:28 GMT
You're right Control Arrays are not part of the .Net framework but you will
notice that your upgraded code was upgraded to use the Control Arrays in
the VB6 Compatibility library so you should be able to use them just as you
did in VB6.  If you don't want to use the compatibility library then in
your event handler just check the sender parameter of the event for which
control fired the event.

As for your second question I believe http://www.datadynamics.com/ has a
.Net version of ActiveReports and I also believe they have some way of
migrating the reports as well

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310070341.23673965@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<KaqXLqRiDHA.1772@cpmsftngxa06.phx.gbl>
<892b2231.0310022047.37c3dbb3@posting.google.com>
<892b2231.0310030718.658e4781@posting.google.com>
<Twc3twgiDHA.456@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1065526897 4579 127.0.0.1 (7 Oct 2003
11:41:37 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Tue, 7 Oct 2003 11:41:37 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-02!sn-
xit-06!sn-xit-08!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5458
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 9 lines]
>
> Piyush
Piyush - 08 Oct 2003 13:31 GMT
Hi,
  Thanks for your help on control arrays.I have one last question.
  I am getting an error "File cannot be open because another process is
  using the file", when I try to open it using fileopen function. I am sure
  the file is not open as its happening for all files.
  The same code is working in Vb 6.0 .
  What might be the problem ?
  Thanks for your help.
Piyush
John Hart [MSFT] - 08 Oct 2003 18:49 GMT
Hi Piyush,

It sounds like this knowledge base article addresses the problem you're
seeing with FileOpen.

http://support.microsoft.com/default.aspx?scid=kb;en-us;316155&Product=vbNET

Let me know if you have any other questions.

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310080431.8673025@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<KaqXLqRiDHA.1772@cpmsftngxa06.phx.gbl>
<892b2231.0310022047.37c3dbb3@posting.google.com>
<892b2231.0310030718.658e4781@posting.google.com>
<Twc3twgiDHA.456@cpmsftngxa06.phx.gbl>
<892b2231.0310070341.23673965@posting.google.com>
<B98n7kQjDHA.560@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1065616319 9799 127.0.0.1 (8 Oct 2003
12:31:59 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Wed, 8 Oct 2003 12:31:59 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-
xit-09!supernews.com!postnews1.google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5478
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 7 lines]
>    Thanks for your help.
> Piyush
Piyush - 09 Oct 2003 13:03 GMT
Hi John,
   Thank you very much for your help, John.
   All of my problems seem to be solved now
   its been satisfying experience to migrate
   a VB project to .Net. I really had to make
   very few changes in migrated version to make it
   running again.Though I had used third party controls,
   it got migrated correctly & giving me same output.
   Migration utility is great and it surely eases ones work.
   The only thing, I think, should be added to it is just a migration
   report without actully migrating it to .Net.It would help
   in deciding whether to migrate the project or not.

   Thanks again.
Piyush
John Hart [MSFT] - 10 Oct 2003 03:12 GMT
Hi Piyush

Thanks for the feedback.  

We do actually have a little tool that would help you identify issues prior
to upgrading your project.

It's called the Visual Basic 6 Code Advisor and it's available for download
at:

http://www.microsoft.com/downloads/details.aspx?familyid=a656371a-b5c0-4d40-
b015-0caa02634fae&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylan
g=en

This tool will run through your VB6 code and provide some pointers on areas
that not only might be upgrade issues it will also suggest some good coding
practices that may improve the code even if you decide not to upgrade the
project to VB.Net.   If you do decide to upgrade the project if you follow
the guidance of the Code Advisor first you will find that the code will
upgrade smoother.

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310090403.3f395b6b@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<KaqXLqRiDHA.1772@cpmsftngxa06.phx.gbl>
<892b2231.0310022047.37c3dbb3@posting.google.com>
<892b2231.0310030718.658e4781@posting.google.com>
<Twc3twgiDHA.456@cpmsftngxa06.phx.gbl>
<892b2231.0310070341.23673965@posting.google.com>
<B98n7kQjDHA.560@cpmsftngxa06.phx.gbl>
<892b2231.0310080431.8673025@posting.google.com>
<PqRWVScjDHA.1716@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1065701014 10515 127.0.0.1 (9 Oct 2003
12:03:34 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Thu, 9 Oct 2003 12:03:34 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!diablo.theplanet.net!news.maxwell.syr.edu!postnews1.google.com!not-for-
mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5494
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 13 lines]
>     Thanks again.
> Piyush
Piyush - 13 Oct 2003 10:58 GMT
Hi,
  It seems my problems with upgrade are not over yet.
  Now its design problem. The project I have upgraded contains
  tab control & frame control array associated with tab control.
  Now in Vb.Net that frame control aaray is converted to panel array.
  but I can not see the controls on the form at design time. So I
  cannot make any chnages to design of panels & controls placed in
  these panels.
  Please tell me how can I achieve this.
  Thanks.
Piyush
John Hart [MSFT] - 14 Oct 2003 23:53 GMT
You certainly should be able to see the controls inside the panel.

If you look at the Windows Form Designer generated code (be sure not to
edit the code in this region) do you see your controls that should be
inside the panel?  If you do what are location properties set to?

Did you get errors in the task list when you displayed the form in the
designer?

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310130158.2ad516fb@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<892b2231.0310022047.37c3dbb3@posting.google.com>
<892b2231.0310030718.658e4781@posting.google.com>
<Twc3twgiDHA.456@cpmsftngxa06.phx.gbl>
<892b2231.0310070341.23673965@posting.google.com>
<B98n7kQjDHA.560@cpmsftngxa06.phx.gbl>
<892b2231.0310080431.8673025@posting.google.com>
<PqRWVScjDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310090403.3f395b6b@posting.google.com>
<F4PTCQtjDHA.1548@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1066039101 27806 127.0.0.1 (13 Oct 2003
09:58:21 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Mon, 13 Oct 2003 09:58:21 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5536
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 9 lines]
>    Thanks.
> Piyush
Piyush - 15 Oct 2003 08:18 GMT
Hi John,
  There was problem with location of those panels.
  I am sorry to bother you.
  Thanks for your help.
  Why I am not able to debug the application ?
  When I set a breakpoint , the application hangs &
  after i do End Task, the .Net IDE shows error as there is
  no source code for this location.
  what may be the problem ?
  Thanks
Piyush
John Hart [MSFT] - 16 Oct 2003 02:07 GMT
What line of code are you setting the breakpoint on?  It sounds to me like
it's a call to an external component or something. What happensif you step
over the breakpoint line by hitting F10?

Also be sure and check the project's Properties under the Cconfiguration
Properties Build settings and verify that the Generate debug information is
checked. It should be checked by default.

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310142318.6e478770@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<Twc3twgiDHA.456@cpmsftngxa06.phx.gbl>
<892b2231.0310070341.23673965@posting.google.com>
<B98n7kQjDHA.560@cpmsftngxa06.phx.gbl>
<892b2231.0310080431.8673025@posting.google.com>
<PqRWVScjDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310090403.3f395b6b@posting.google.com>
<F4PTCQtjDHA.1548@cpmsftngxa06.phx.gbl>
<892b2231.0310130158.2ad516fb@posting.google.com>
<4YccrXqkDHA.1716@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1066202309 24296 127.0.0.1 (15 Oct 2003
07:18:29 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Wed, 15 Oct 2003 07:18:29 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5586
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 9 lines]
>    Thanks
> Piyush
Piyush - 16 Oct 2003 07:16 GMT
Hi John,
 Where ever I set the breakpoint, the application hangs.
 The program control doesnt reach the breakpoint at all.
 After doing End Task the message "There is no source code
 available for the current location" pops up.
 Also Generate Debugging Information is checked.
 This problem is encountered for migrated project only
 and at some places in the project.
 Can you give me your personal Id , of course if you wish.
 I have some questions regarding deployment of this project.
 Thanks for your help
Piyush
John Hart [MSFT] - 17 Oct 2003 00:51 GMT
Hi Piyush,

I would suggest instead of starting with Run (or F5) that you start by
stepping into the code with F11 and walking through to the point it seems
to hang. That should help you narrow it down some.  Sounds like it may be
stuck in a loop somewhere prior to your breakpoints.

As for your deployment question. I'm probably not the best one to ask so
I'd suggest you post a question in the
microsoft.public.dotnet.languages.vb. I will add however, that you will
need to include the Microsoft.VisualBasic.Compatiblity libraries in with
your deployment package as these are not included with the .Net Framework.

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310152216.79fcf201@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<B98n7kQjDHA.560@cpmsftngxa06.phx.gbl>
<892b2231.0310080431.8673025@posting.google.com>
<PqRWVScjDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310090403.3f395b6b@posting.google.com>
<F4PTCQtjDHA.1548@cpmsftngxa06.phx.gbl>
<892b2231.0310130158.2ad516fb@posting.google.com>
<4YccrXqkDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310142318.6e478770@posting.google.com>
<8WPldH4kDHA.2148@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.36.53
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1066284995 23648 127.0.0.1 (16 Oct 2003
06:16:35 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Thu, 16 Oct 2003 06:16:35 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!no
t-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5597
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 10 lines]
>   Thanks for your help
> Piyush
Piyush - 22 Oct 2003 13:02 GMT
Hi John,
  I have one more question John,
  My upgraded application is considerably slower than VB application.
  What may be the reason behind it ? Is it because COM components are
  used instead of .NET components ?
  What can I do to improve the speed of the application ?
  Thanks for your help.
Piyush
John Hart [MSFT] - 22 Oct 2003 20:54 GMT
Hi Piyush,

It impossible for me to say without knowing more about your application why
you're seeing slower performance. Certainly using COM Interop adds an
additional layer but I woudn't expect any significant performance issues
from that. What is your application doing when you're seeing the slower
performance?

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310220402.7a93f892@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<PqRWVScjDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310090403.3f395b6b@posting.google.com>
<F4PTCQtjDHA.1548@cpmsftngxa06.phx.gbl>
<892b2231.0310130158.2ad516fb@posting.google.com>
<4YccrXqkDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310142318.6e478770@posting.google.com>
<8WPldH4kDHA.2148@cpmsftngxa06.phx.gbl>
<892b2231.0310152216.79fcf201@posting.google.com>
<koGSpBElDHA.2624@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.107.132
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1066824132 3050 127.0.0.1 (22 Oct 2003
12:02:12 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Wed, 22 Oct 2003 12:02:12 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!no
t-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5638
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 6 lines]
>    Thanks for your help.
> Piyush
Piyush - 23 Oct 2003 06:53 GMT
Hi John,
    In my application I am communicating with a device that measures
temperature & humidity.
    The communication is carried out using MSComm control.
    The data read from device is displyed using graphs (for which
ChartBuilder control is used) &
    report is displayed (using Active Reports).
    So all these controls are COM components & are upgraded to .Net
    I think one more thing that may be affecting the performance is VB
function.
    The appliction uses Format & date functions which are as it is
upgraded.
    The application takes time in loading the form , otherwise its same
as VB application.
    Can you suggest me something to improve its performance or some
article related to performance ?
    Thanks for your help.
Piyush
John Hart [MSFT] - 25 Oct 2003 01:02 GMT
Hi Piyush,

Can you tell specifically where your seeing that the application is slower?
You say it takes time in loading the form otherwise its the same. Does that
mean the actual performance is the same but the form load is slower?  If
that's the case what are you doing during the Form_Load event?  Is this
where you do the comminication with the MSComm control?

Signature

John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

> From: p_chhapekar@hotmail.com (Piyush)
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
[quoted text clipped - 4 lines]
> Message-ID: <892b2231.0310222153.47235983@posting.google.com>
> References: <892b2231.0310020440.7489be8f@posting.google.com>
<F4PTCQtjDHA.1548@cpmsftngxa06.phx.gbl>
<892b2231.0310130158.2ad516fb@posting.google.com>
<4YccrXqkDHA.1716@cpmsftngxa06.phx.gbl>
<892b2231.0310142318.6e478770@posting.google.com>
<8WPldH4kDHA.2148@cpmsftngxa06.phx.gbl>
<892b2231.0310152216.79fcf201@posting.google.com>
<koGSpBElDHA.2624@cpmsftngxa06.phx.gbl>
<892b2231.0310220402.7a93f892@posting.google.com>
<01XuSZNmDHA.1804@cpmsftngxa06.phx.gbl>
> NNTP-Posting-Host: 210.214.107.132
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> X-Trace: posting.google.com 1066888409 21592 127.0.0.1 (23 Oct 2003
05:53:29 GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Thu, 23 Oct 2003 05:53:29 +0000 (UTC)
> Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
l.t-online.de!t-online.de!diablo.theplanet.net!news.maxwell.syr.edu!postnews
1.google.com!not-for-mail
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5653
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
[quoted text clipped - 16 lines]
>     Thanks for your help.
> Piyush

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.