bugs >> MSHflexgrid control with WinXP SP2

by SG93YXJk » Mon, 19 Dec 2005 23:00:03 GMT

Hello everybody

My VB6 project crashes on WinXP SP2 machines when a MSHFlexGrid control is
filled with too many rows. I don't actually get an error message, but the
controls on the form move from their initial positions, some dissapear and
the grid isn't formatted properly.

The problem only comes up when running the EXE, not when running the
application throught the IDE. I have tried compiling both on a SP1 machine
and on a SP2 machine, the EXE produced seems to behave in exactly the same
way, i.e. it runs perfectly well on SP1 machines and crashes on SP2 machines.

Any ideas?

Regards
Howard




bugs >> MSHflexgrid control with WinXP SP2

by Ken Halter » Tue, 20 Dec 2005 00:47:48 GMT






How many rows? There are definite limits on the number of "cells" (can't
find the article). Maybe this will help...

How To Display Recordset 'Pages' in an MSFlexGrid Control Without Loading
Entire Recordset into the Grid
"Generally it is not a good idea to populate a Grid control with more than a
1000 rows"
http://support.microsoft.com/default.aspx?scid=kb ;en-us;254117

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm





Similar Threads

1. Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2

Hi

I just installed SQL Server 2000 to run locally on a WinXP Pro SP2 PC.
When I run  the following VB.NET code:

Protected Const SQL_CONNECTION_STRING As String = _
        "Server=localhost;" & _
        "DataBase=Northwind;" & _
        "Integrated Security=SSPI"

 Dim connectionString As String = SQL_CONNECTION_STRING

Dim cnnNW As New SqlConnection(connectionString)

I can't connect to sql server.
This code works fine on a Windows 2000 Pro SP2 pc.

Thanks.

Dee 


2. How to include WinXP SP2 in prerequisites? - VB.Net

3. CR/LFs now visible after update WinXP Prof with SP2

Hi

I've made a program about 2 years ago.
The main window is a ListView.
The contents of the ListView is copied from a multiline TextBox.

After the installation of the SP2 for WinXP Prof the CR/LF pairs are now
visible.  :-(
I've not recompiled my solution, I've only updated WinXP Prof from SP1
to SP2.

I think MS has something changed in the platform API?!

Is my problem known?
How can I resolve it?

TIA
p 

4. WM_QUERYENDSESSION not caught on WinXP Pro SP2 - VB.Net

5. Security Requirements, WebBrowser Ctrl, VB2005, framework 2.0, WinXP SP2

Good afternoon,

I was wondering if there is a way you can determine what the security
requirements are of a control.  I have an application that throws a
security exception if there is a WebBrowser control on my main form.
The exception simply states "Request Failed".  If I remove the
WebBrowser control from the form, it works fine.  The application is a
full trust application, and I have set the URL property of the
WebBrowser to about:blank.

Thanks for any suggestions!

6. Security Requirements, WebBrowser Ctrl, VB2005, framework 2.0, WinXP SP2 - VB.Net

7. winxp sp2 screen resolution

I need a script that changes the screen resolution to say 1152x864 or 
1024x768. All machines have been deployed an image with 1280x1024 resolution, 
which is too high...

Thanks

-- 
George

8. ftp -s in HTA fails on WInXP Pro SP2