Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,187 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,119 people online right now. Registration is fast and FREE... Join Now!




VB6 hanging when using Crystal report 1st time

 
Reply to this topicStart new topic

VB6 hanging when using Crystal report 1st time

ECR
27 Sep, 2007 - 07:32 AM
Post #1

New D.I.C Head
*

Joined: 27 Sep, 2007
Posts: 2


My Contributions
VB6 hanging when loading a Crystal report (8) the 1st time. Thereafter it seems to work fine. Is there a reason for this ? Some computers do not have this problem. I notice that the network icon and broadband icon lights up while the report is loading. Could this have some connection ?
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: VB6 Hanging When Using Crystal Report 1st Time
27 Sep, 2007 - 09:29 AM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,199



Thanked: 213 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Are you loading the report control ocx from across the network? Is the rpt file on a network server somewhere? Whenever possible you want that stuff local to your machine since VB6 still has a few problems dragging things across the network (it doesn't have the disconnected architecture of .NET you know).

That might be part of the reason for your hang. It can also be a problem if the data you have to load is a lot of records and you are dragging them from across the network. Once it is in memory on your computer, I would assume that is why it is faster from then on.

I would investigate further. I haven't used 8 or 8.5 with vb6 for awhile now but I always experienced slow loading when dealing with pulling data across the network with it.

Good luck! smile.gif
User is offlineProfile CardPM
+Quote Post

ECR
RE: VB6 Hanging When Using Crystal Report 1st Time
27 Sep, 2007 - 10:17 PM
Post #3

New D.I.C Head
*

Joined: 27 Sep, 2007
Posts: 2


My Contributions
The rpt files are created locally on each PC, as is the database file for the report, which is an Access MDB file. I wonder if does not have something to do with memory allocation of programs in Windows ?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 01:18AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month