473,700 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange VB6 Datagrid Problem

5 New Member
Hoping someone has experienced this before and can offer a solution.

I have an app. that was designed in vb6. The app works with data from a SQL server, retrieves the data using the adodc (MSADODC.OCX) control and displaying data using the datagrid control.(MSDATG RD.OCX)

Have had no problems to date with windows xp,successfully installed on more than 30 pc's all running windows xp, with the exception of 3 windows xp client machines where i recently installed it and the datagrid control just doesnt display any text! I know the adodc recordset has information to display based on a recordcount,the grid loads and is registered correctly... no errors but simply has no text in it?

Any ideas would be greatly appreciated! Many Thanks...
Nov 21 '06 #1
14 10719
Killer42
8,435 Recognized Expert Expert
A missing font on those machines, perhaps?

I supose that depends on what you mean when you say "no text". Is there definitely no data in there, or is it just not visible?
Nov 22 '06 #2
albertw
267 Contributor
A missing font on those machines, perhaps?

I supose that depends on what you mean when you say "no text". Is there definitely no data in there, or is it just not visible?
according to me, if a font is missing, the program will take ms sans serif as standard
seems more like there is no data
Nov 22 '06 #3
marinho80
5 New Member
A missing font on those machines, perhaps?

I supose that depends on what you mean when you say "no text". Is there definitely no data in there, or is it just not visible?
Hi there thanks for replying...

There is 100% certain data that the grid should be showing... as the datagrid's datasource is an adodc control linking to a SQL table that has info in it.

And this is confirmed as the app works fine with the identical grid and data request working on all but three Windows XP machines.

The Datagrid loads but shows no recordselectors and the text that should be in the grid isn't visible.

Hope this makes sense!

Initially i thought it might VirusScan which was stealing the text due to buffer overflow protection, i uninstalled the anti-virus software tho and it made no change so im stuck?any ideas? Thanks again
Nov 22 '06 #4
marinho80
5 New Member
A missing font on those machines, perhaps?

I supose that depends on what you mean when you say "no text". Is there definitely no data in there, or is it just not visible?
Here is a sample screenshot...

[IMG]Pic1[/IMG]
Nov 22 '06 #5
marinho80
5 New Member
apologies...scr eenshot missing on last post please view attachment
Attached Images
File Type: jpg screenshot.jpg (18.9 KB, 1481 views)
Nov 22 '06 #6
albertw
267 Contributor
apologies...scr eenshot missing on last post please view attachment
hi

do the headers come from your database table?
Nov 22 '06 #7
marinho80
5 New Member
hi

do the headers come from your database table?
hi thanks for replying...
yes the headers come from the table! its weird the app works everywhere else fine...have tried regitering newer versions of the msdatgrd.ocx and the msadodc.ocx with regsvr32...stil l does the same! ive even bundled the app with a vs.net 2003 msi setup file...re-installed it...same thing...this still doesnt explain why it works on all other pc's! could it have something to do with their windows user account? have also tried giving "Everyone" read and right permissions in the security options for the installation directory with no results.
Nov 22 '06 #8
albertw
267 Contributor
hi thanks for replying...
yes the headers come from the table! its weird the app works everywhere else fine...have tried regitering newer versions of the msdatgrd.ocx and the msadodc.ocx with regsvr32...stil l does the same! ive even bundled the app with a vs.net 2003 msi setup file...re-installed it...same thing...this still doesnt explain why it works on all other pc's! could it have something to do with their windows user account? have also tried giving "Everyone" read and right permissions in the security options for the installation directory with no results.
now i'm going to suggest some things which you already did (maybe)

password protected database?
create a new connectionstrin g
(very stupid) your datagrid forecolor? or even fontsize?
Nov 23 '06 #9
Lavs
16 New Member
Halu... I'm a new member of this forum. I just read your post about the datagrid that doesn't show data from the database. And definitely, I can't answer that question because I myself is a beginner in Visual Basic Programming. I'm here to ask you something... It's all about creating a backup files to a storage device...
Can you please give me a sample code for creating a backup files to any storage device like CD ROMs, Floppy Disk, Flash Drives using Visual Basic 6.0... I am using a database created in MS Access 2003 Version. The Provider I used is the Microsoft JET OLEDB 4.0

By the way, about the datagrid... Are you sure that the recordset has retrieved the data you want? Have you tried checking if the recordset is empty or not?
Mar 6 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1534
by: Grzegorz Kaczor | last post by:
Hello all, I've got a VERY strange network problem with Win2k Server and .NET. I've got one central server (hub) getting raw binary data (files) from many locations. Both server and clients are written in C# The server is quite simple: two threads, one accepts new connections and decides whether the client is authenticated to send data or not, and the other thread serves already connected clients: performs a Socket.Select and then...
7
1663
by: M O J O | last post by:
Hi, I'm developing a asp.net application and ran into a strange css problem. I want all my links to have a dashed underline and when they are hovered, it must change to a solid line. Sounds simple, but it's not working. I've cooked down my output code to show you what I mean. If you run the code below, there's no line under the link, but if you either remove the
0
1248
by: Grzegorz Kaczor | last post by:
Hello, I've got a VERY strange network problem with Win2k Server and .NET. I've got one central server (hub) getting raw binary data (files) from many locations. Both server and clients are written in C# The server is quite simple: two threads, one accepts new connections and decides whether the client is authenticated to send data or not, and the other thread serves already connected clients: performs a Socket.Select and then gets...
6
1591
by: Stuart Ferguson | last post by:
I currently have a datagrid which is populated from a dataset table however the contents of the table how can i clear the grid and repopulate it ? *** Sent via Developersdex http://www.developersdex.com ***
0
1271
by: Davewadd | last post by:
I'm having an odd problem with a datagrid in a c# program. The program maintains a schedule of jobs that need to be run. As jobs run, the status and next run date/time info are updated in a SQL database. On the initial load, the datagrid fields are defined. The 1st time the dataset is reloaded, an error is returned stating that the 1st field in the list is not found. On all subsequent reloads, everything is fine. Here's the relevant...
0
949
by: Andreas Klemt | last post by:
Hello, how can I easily solve the nested DataGrid problem working correctly with edit / update events? Is there any very simple example? Who has the same problems? Thanks in advance, Andreas
14
1886
by: James Wong | last post by:
Hi! everybody, I'm facing a quite strange download problem. I use the following code to download an XML file to client side: With Response ' clear buffer Call .Clear() ' specify the type of the downloadable file
1
1090
by: big DWK | last post by:
Hi- We're having a strange caching problem with an ASP.Net app written in VB.Net on Windows 2003 with all the updates. We have two websevers that use a common sql backend and a session server to preserve state. Everything is working on one server, on the second one we have one page that is giving us problems. Basically we changed the ip of our mail server and updated the pages that use it accordingly. One page, however isn't reading...
9
1949
by: Me | last post by:
Hi, I ran into a malloc problem but I can't find the solution. I try to read a file into a variable with malloc like this: BYTE *lcdata; lcdata = malloc(fsize*sizeof(BYTE));
1
1576
by: shaneal | last post by:
Hello all, I've been trying to learn some javascript and I ran into a strange scoping problem I was hoping someone here could help with. I have a fair amount of experience with functional programming, but very little with javascript, so please excuse the unidiomatic code. When I do: var functions = new Array();
0
9220
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6567
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4410
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4660
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3098
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2032
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.