Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Rocky Moore12-Jan-04 11:02
Rocky Moore12-Jan-04 11:02 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 13:37
RickardB12-Jan-04 13:37 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB14-Jan-04 0:01
RickardB14-Jan-04 0:01 
General.NET Rebar Control Error Pin
David M. Kean11-Jan-04 15:54
David M. Kean11-Jan-04 15:54 
GeneralRe: .NET Rebar Control Error Pin
Heath Stewart12-Jan-04 1:36
protectorHeath Stewart12-Jan-04 1:36 
GeneralRe: .NET Rebar Control Error Pin
David M. Kean12-Jan-04 10:49
David M. Kean12-Jan-04 10:49 
GeneralMix Events Pin
Heroz11-Jan-04 12:35
Heroz11-Jan-04 12:35 
GeneralRe: Mix Events Pin
Colin Angus Mackay11-Jan-04 14:05
Colin Angus Mackay11-Jan-04 14:05 
QuestionHow to simulate map c++ collection in c# Pin
Rostrox11-Jan-04 11:49
Rostrox11-Jan-04 11:49 
AnswerRe: How to simulate map c++ collection in c# Pin
Heath Stewart11-Jan-04 11:54
protectorHeath Stewart11-Jan-04 11:54 
GeneralRe: How to simulate map c++ collection in c# Pin
Rostrox11-Jan-04 12:13
Rostrox11-Jan-04 12:13 
GeneralRe: How to simulate map c++ collection in c# Pin
Heath Stewart11-Jan-04 12:22
protectorHeath Stewart11-Jan-04 12:22 
Questionstartup parameters? Pin
Leon Radley11-Jan-04 10:35
Leon Radley11-Jan-04 10:35 
AnswerRe: startup parameters? Pin
Colin Angus Mackay11-Jan-04 10:57
Colin Angus Mackay11-Jan-04 10:57 
AnswerRe: startup parameters? Pin
Heath Stewart11-Jan-04 11:32
protectorHeath Stewart11-Jan-04 11:32 
GeneralRe: startup parameters? Pin
Nick Parker11-Jan-04 11:38
protectorNick Parker11-Jan-04 11:38 
GeneralRe: startup parameters? Pin
Heath Stewart11-Jan-04 11:42
protectorHeath Stewart11-Jan-04 11:42 
QuestionRegEx Guru? Pin
Rocky Moore11-Jan-04 10:13
Rocky Moore11-Jan-04 10:13 
AnswerRe: RegEx Guru? Pin
Heath Stewart11-Jan-04 11:35
protectorHeath Stewart11-Jan-04 11:35 
AnswerRe: RegEx Guru? Pin
Rocky Moore11-Jan-04 16:47
Rocky Moore11-Jan-04 16:47 
I have text input via a multipe line TextBox and onces I Server.HTMLEncode it, I need to add the <BR>s for linefeeds. In a specially flagged section though I will be using a < Pre > tag and it requires linefeeds instead of the <BR>s. There are no HTML tags in any of the text entered, just a special tag which I will replace with < Pre > section.

This is for my HintsAndTips.com site that I will FINALLY be launching tonight (and hopefully, people will like posting tips to share Wink | ;) since there are only a couple at the moment ). When they post their tips I have to have a special section for things such as code that you do not want text wraping and handle this through a special tag people can use to enclose that section. It is replaced with a scrollable div and a pre tag (to be more compatible with old IEs or would just use the "white-space" css feature).

At the moment I have it replacing all the linefeeds with <BR>s and they look okay in the browser, but the < Pre > does not handle blank lines and stacks the lines on top of each other.

I will be providing a better method of composing tips in the near future, but just needed something to allow people to display text that is much wider then the area provided and a scrollable div works great for that. Kind of like on CP when someone does not format an article good and it takes three monitors to view it horizonally Wink | ;) Did not want that happening Wink | ;)

Here is an example of tip with the Pre section I was referring to:

http://www.hintsandtips.com/hat.aspx?P=ShowTip&C=31&T=10[^]

Please excuse the home page at the moment, it will be created later tonight Blush | :O

Rocky <><
www.HintsAndTips.com
GeneralCoding search and replace on content of file Pin
cgcrute11-Jan-04 5:59
cgcrute11-Jan-04 5:59 
GeneralRe: Coding search and replace on content of file Pin
Mazdak11-Jan-04 6:12
Mazdak11-Jan-04 6:12 
GeneralRe: Coding search and replace on content of file Pin
cgcrute11-Jan-04 8:50
cgcrute11-Jan-04 8:50 
GeneralRe: Coding search and replace on content of file Pin
Mazdak11-Jan-04 9:11
Mazdak11-Jan-04 9:11 
GeneralRe: Coding search and replace on content of file Pin
cgcrute11-Jan-04 9:24
cgcrute11-Jan-04 9:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.