\r\n\r\n
Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Installation / Documentation > Including files with a vb installation


\r\n \r\n
 
 
Thread Tools Display Modes

\r\n\r\n\r\n
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
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[1340403] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 08-30-2009, 11:36 AM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n fisolofee\r\n fisolofee is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 08-30-2009, 11:30 AM
djm2 djm2 is offline
Newcomer
 
Join Date: Oct 2007
Posts: 7
Default Including files with a vb installation


Hi there

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.


David
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
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
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->