PC Review


Reply
Thread Tools Rate Thread

Compile time text import

 
 
amccool
Guest
Posts: n/a
 
      8th Jan 2005
Hi,

I'm looking for something to read a text file into a string at compile
time. I swear I've seen something along these lines.

TIA,
Alex

 
Reply With Quote
 
 
 
 
Bob Powell [MVP]
Guest
Posts: n/a
 
      8th Jan 2005
It seems to me like you need an embedded resurce. Add the file to the
solution and set it's build action to embedded resource.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





"amccool" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I'm looking for something to read a text file into a string at compile
> time. I swear I've seen something along these lines.
>
> TIA,
> Alex
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
access text file linked at compile time as resource TD is PSP Microsoft C# .NET 0 17th Sep 2008 08:51 AM
The same Date / Time field contains time in different format after import from text file Evgeniy Microsoft Access 4 20th Jun 2008 02:04 PM
VBAProject name compile error, not defined at compile time Matthew Dodds Microsoft Excel Programming 1 13th Dec 2005 07:17 PM
extract time from text import =?Utf-8?B?SG14UGV0ZQ==?= Microsoft Excel Programming 6 18th Aug 2005 10:41 PM
can't import text time into field of type Date/Time CGoane Microsoft Access External Data 0 28th Aug 2003 06:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:59 PM.