Print Page | Close Window

File linking

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22078
Printed Date: 21 November 2024 at 12:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: File linking
Posted By: flumiflo
Subject: File linking
Date Posted: 28 November 2013 at 7:59am
I want to link the content of an ASCII text file with a report control and vice versa. The report control is used in a GUI to visualize and manage the content of the text file (add new line, delete line, edit content of line.

The content of the text file looks like this:
Car;Speed;Weight
BMW;100;1600
Audi;120;1550

The report control should look like this:
Car   | Speed | Weight
----------------------------
BMW | 100     | 1600
----------------------------
Audi  | 120     | 1550

The GUI has for example 3 buttons to add / delete / edit a record. After changing a record, the text file should be updated accordingly.

Any suggestions how to implement this (vb code please)?

Thanks



Replies:
Posted By: Xander75
Date Posted: 07 March 2014 at 3:31am
Hi,

Sounds like you're wanting someone to do your homework for you here... lol

The Samples provided by Codejock show how to implement a ReportControl and how to add rows of data to it. As for loading the textfiles, do a google search as it's not that hard at all.


-------------
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net