Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wordpad application 1

Status
Not open for further replies.

kyriakos70

Programmer
Jul 24, 2008
87
GR
Hello,
I want to develop an application in VB .Net which will read from text files (a text editor) like wordpad windows, do I need a special component or there is already in VB .Net 2005, and a secondary question (maybe not relative) I open with wordpad a file and I see some characters like squares (numbers mainly) is there some special ttf string type I have to install?

Thank you
Kyriakos
 
I want to make one more comment, the files are type dat idx val lck, they are data files which can open with data apps. Is there any activex for VB .Net to open these files? I know commercial programs that do that but I want to create a custom one.

Thank you
Kyriakos
 
A last comment also files dbf and hed, is there a special combination to do it or just create a dtabase application for oracle etc.

Thank you
Kyriakos
 
If you want to just implement something quickly look at using a RichTextBox. You could also use a stream reader to read in the data. As for the block character yes you have to have the correct font then you also have to change the default font of the control to that font type.

I would suggest doing a google search for vb.net and those file types to see if there are any controls that already support those types. If they are just special formatted text files then a RichTextBox of Stream Reader might work fine as is.

You last question I don't know as I've not worked with either file type. As far as I know though on dbf you shouldn't need to. I believe that you could use an OleDB connection and it will work fine, but again I don't know for sure.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top