January 6, 2005 at 1:34 am
I have created a simple vb6 app that has a MSDataGrid and an ADODC control. It uses a UDL file to get the connection string. I have also a TrueDBGrid using a TrueDatacontrol using the same UDL file. The grids are supposed to show the customers of a database. If I add a listbox and create a connection in code with the same connection string, I can fill the listbox with the customers! I have also tried to set the connection string in the datacontrols (not using UDL). It looks to me as if it is a login/security problem with using datacontrols instead of code. Any ideas? The servers I have tested are both Win2K and Win2003 with SQL 2000. On my own system everything works fine (:crazy.
Any suggestions are good!
Nils, Norway.
January 6, 2005 at 5:27 am
Are you positive you are populating the DataGrid properly? I know that I have had problems in the past and have switched to the Hierarchial FlexGrid which seems to be easier to work with.....
Good Hunting!
AJ Ahrens
webmaster@kritter.net
January 6, 2005 at 5:49 am
Thanks AJ
Well, I think I am populating it correctly. I have to rewrite the whole app but it would be nice to find the answer because it is convenient to use the datacontrols when creating small apps fast. I think maybe it is related to clients running XP SP2 because a client of mine got it to work with an "old" XP workstation...
Nils.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply