Hi there \r\n \r\nI have successfuly written a VB program that I have published. \r\n \r\nIn my program I have a rtf file which I located on my C:\\ whilst I developed. The VB program opens this file up when running as an input into the program. \r\n \r\nIn my program I use the following code to load the text in a rtb - \r\n \r\nrtb.LoadFile("C:\\rawreport.rtf") \r\n \r\nI have noticed the "Application files" listed under the Publish tab. There is not the option to add my rtf file into here. \r\n \r\nI basically want to prevent the user from installing the program and then having to go and add the rawreport.rtf in the correct location ie - "C:\\rawreport.rtf". I assume there is someway to do this automatically. I have included rawreport.rtf in the resources folder but cannot work out what to do next. \r\n \r\n \r\nDavid
I have successfuly written a VB program that I have published.
In my program I have a rtf file which I located on my C:\ whilst I developed. The VB program opens this file up when running as an input into the program.
In my program I use the following code to load the text in a rtb -
rtb.LoadFile("C:\rawreport.rtf")
I have noticed the "Application files" listed under the Publish tab. There is not the option to add my rtf file into here.
I basically want to prevent the user from installing the program and then having to go and add the rawreport.rtf in the correct location ie - "C:\rawreport.rtf". I assume there is someway to do this automatically. I have included rawreport.rtf in the resources folder but cannot work out what to do next.
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe