• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question about creating grid formatted output

I'm looking for the easiest way to create a grid formatted output without using a database.

I've looked at using MSFlexGrid, but from reading the manual on it, it appears I need to have an access database behind it to make it work. I don't need that and really don't have any way to create that with my program. All I have is a simple text file that the program imports data from and I'd like to display it in a grid fashion if possible.

The simple format I'm thinking of is 3 columns wide, and as many rows as is needed. I could do this with a listbox, but I think that using a simple grid display would look much nicer. Anybody got any good suggestions?

Also, the easier this would be to implement, the better for me since I'm new to doing this type of coding. Thanks.
 
Originally posted by: notfred
I'm new to doing this type of coding

And that type of coding would be?
exactly, "coding" is a wide, wide world even just for Windows: VB6, VC++, ASP, vbscript, ASP.Net, VB.Net, etc.

www.codeproject.com has a grid for VC++ (and VB?) and probably an article or two on using the grid component that ships with VB6 (and can be used with VC++).



 
Sorry, this is me assuming again and not thinking. MSFlexGrid I thought was enough of a clue that I was working in VB, but I guess not. 🙂

I'm coding in VB via Visual Studio 6. Just so ya know. 😀
 
OK, then I think MSDN library has samples for the grid, and it's the same VB6 MS grid we tried using it at work.

If so, it did work OK for displaying non-database values it just wasn't as customizable as we needed so we used Dundas' MFC-based grid instead.

If you don't find any good samples in MSDN (which is also online at msdn.microsoft.com) then I still recommend codeproject.com
 
Where can I find a copy of this Dundas MFC grid? I'd be curious to check that out.

Also, if anybody uses Eudora, look at how the messages are listed in the inbox in that formatted grid showing all available messages. See how it functions? That's how I want mine to work if possible. 🙂
 
Back
Top