Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there an equivalent to TEXT/ENDTEXT in C#?
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00954090
Message ID:
00954412
Views:
12
Or for that matter store the static content in a file and load it at runtime... Even if hte text is non-static both work well using string.Format with embedded expressions.,

+++ Rick ---

>Mike,
>
>If you truly have static text like this embedded in the EXE can you use ResourceManager.GetString()?
>
>>Thanks Rick. Perhaps I should give some details as to what I'm trying to do.
>>
>>I have a webBrowser control on my C# windows form. I want to display an HTML page. This page is static. I can simply have it sitting in a predetermined folder with a predetermined name. The content never changes. I don't want this html file always there, so after I'm thru showing it, I want to delete it. If the user navigates back to that page, the code will recreate it.
>>
>>For the latter, I was going to StreamWriteer.WriteLine(). While this works fine for short, simple pages, what I want to show is long and more complex and having to WriteLine() over and over and over is really going to do me in. I realize that once it is written, I don't have to redo it again, but, I dread the idea of even doing it once.
>>
>>As you know, the nice thing about VFP's TEXT was that it gave me the ability to simply cut and paste the entire content and then ENDTEXT it. Painless, over and done in seconds! Now if I could only find a similar way in .NET...
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform