|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to hardcode lots of text into a textbox/RichTextbox?I am adding a makeshift Help component to my VB2005 project. That means I am not using HTML help to create a chm (unless someone can explain how you connect a chm file to a project - I have HTML workshop - and sort of know how to use it). Anyway, I am currently using a tab control and placing textboxes/RichTextboxes in the various pages with my information. The problem I am having is that I want to hardcode the text, so I am entering it in the Textbox Property Sheet Text window. The only other option I know of using this method is to write the text in the IDE and load it at run time - also kind of painful. I am thinking that the last thing I could do is to write my information in a Word Doc and then load that into a RichTextbox. Does this sound doable? The only hassel is that I would have to ship the WordDoc with the app. Any suggestions appreciated on the best way to create my makeship helpfiles. BTW, how do I read a Word Doc into a RichTextbox? Thanks, Rich its very simple to use a .chm file with VB. heres a little sample
Private Sub mnuHelp_Click(...) Dim proc As New Process Dim procSI As New ProcessStartInfo("C:\MyChmHere.chm") proc.StartInfo = procsi proc.Start() end Sub hope that helps! -- -iwdu15 Thank you for your help. Very useful. Now I will have to reread my HTML
Help workshop book (by the lady from HP) so I can create some chm's. And as a result of my posting this message, I experimented with the richtextbox which reads a word.rtf file no problem. Now I have some options. Many thanks for your help. Rich Show quoteHide quote "iwdu15" wrote: > its very simple to use a .chm file with VB. heres a little sample > > Private Sub mnuHelp_Click(...) > > Dim proc As New Process > Dim procSI As New ProcessStartInfo("C:\MyChmHere.chm") > > proc.StartInfo = procsi > proc.Start() > > end Sub > > > > hope that helps! > -- > -iwdu15
RegEx Either Or
Newbie question - VB.net, referencing controls GPS & Windows Mobile Discrepancy in DataGridView column order & databound DataTable Icon.FromHandle(..) not working? Lauch VB.NET App From Network Drive Or Network Share. Need help/advice to make a decision Any way to pass an optional array? positioning a watermark on a web page regardless of screen size Move from one cell to the next cell in a datagrid |
|||||||||||||||||||||||