Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

Formatting problem with Windows 7

$
0
0
Hello everyone. I have developed a vb6 app that displays rows of data from an Access database(the data will be retrieved through ADO call each time) and wanted to display it in a tabular format (one column per field) so that each olumn looks correctly aligned. I am writing in XP and used MSFlexGrid and later Listview as the container for the data. On machined running XP there is no problem at all. Unfortunately most people at work now have machines with Windows 7 on them which do not recognise FlexGrid or Listview controls. I have read about copying the .ocx files onto their machines but I would like to know if there is an easier way to achieve my task? For example is there another container in vb6 that will work automatically with Win 7? I tried populating a ListBox but the fields do not line up properly at all (longer rows of data stretch way too far compared to shorter rows of data). I read a bit about embedding (OLE) Excel sheet or Word file but this seems like more work for the app to do.

Anyone able to help?

Thanks, Tim Christopher

Viewing all articles
Browse latest Browse all 21843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>