Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
AnswerRe: GetGenericArguments() on non-generic subclasses of arbitrary generic types? Pin
Scott Dorman28-Sep-07 7:22
professionalScott Dorman28-Sep-07 7:22 
GeneralRe: GetGenericArguments() on non-generic subclasses of arbitrary generic types? Pin
Yellowseed28-Sep-07 8:52
Yellowseed28-Sep-07 8:52 
QuestionDisplaying a messagebox Pin
Albu Marius28-Sep-07 6:02
Albu Marius28-Sep-07 6:02 
AnswerRe: Displaying a messagebox Pin
TJoe28-Sep-07 6:26
TJoe28-Sep-07 6:26 
QuestionWriting To A Text File Pin
rowdykuttan28-Sep-07 5:21
rowdykuttan28-Sep-07 5:21 
AnswerRe: Writing To A Text File Pin
Colin Angus Mackay28-Sep-07 5:32
Colin Angus Mackay28-Sep-07 5:32 
GeneralRe: Writing To A Text File Pin
rowdykuttan28-Sep-07 5:36
rowdykuttan28-Sep-07 5:36 
GeneralRe: Writing To A Text File Pin
Colin Angus Mackay28-Sep-07 5:43
Colin Angus Mackay28-Sep-07 5:43 
rowdykuttan wrote:
am sending this text file to a DOT MATRIX printer, that too to a PREPRINTED STATIONARY


You might like to specify that next time. It helps people understand your problem.

If you have a fixed external constraint like the size of preprinted paper then you have to truncate the information printed. Lop off a few characters. You'll find an appropriate method on the string class. Subseq, Substring or some such thing.

rowdykuttan wrote:
is there any way i can specify X & Y positions in text file


If the file is formated as fixed length lines then you can calculate any XY position in the file and Seek to it.

(Y*LineLength) + X

LineLength includes the two character line feed and carriage return characters. It also assumes a fixed 8-bit character encoding.


Upcoming FREE developer events:
* Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ...

My website

AnswerRe: Writing To A Text File Pin
Matthew Cuba28-Sep-07 5:40
Matthew Cuba28-Sep-07 5:40 
AnswerRe: Writing To A Text File Pin
PIEBALDconsult28-Sep-07 6:07
mvePIEBALDconsult28-Sep-07 6:07 
GeneralRe: Writing To A Text File Pin
rowdykuttan28-Sep-07 6:39
rowdykuttan28-Sep-07 6:39 
GeneralRe: Writing To A Text File Pin
PIEBALDconsult28-Sep-07 7:15
mvePIEBALDconsult28-Sep-07 7:15 
GeneralRe: Writing To A Text File Pin
rowdykuttan28-Sep-07 8:03
rowdykuttan28-Sep-07 8:03 
GeneralRe: Writing To A Text File Pin
PIEBALDconsult28-Sep-07 8:16
mvePIEBALDconsult28-Sep-07 8:16 
GeneralRe: Writing To A Text File Pin
rowdykuttan28-Sep-07 8:34
rowdykuttan28-Sep-07 8:34 
GeneralRe: Writing To A Text File Pin
PIEBALDconsult28-Sep-07 8:43
mvePIEBALDconsult28-Sep-07 8:43 
QuestionMy tables hate me Pin
Evan St. John28-Sep-07 4:53
Evan St. John28-Sep-07 4:53 
AnswerRe: My tables hate me Pin
Colin Angus Mackay28-Sep-07 5:19
Colin Angus Mackay28-Sep-07 5:19 
GeneralRe: My tables hate me Pin
BoneSoft28-Sep-07 5:22
BoneSoft28-Sep-07 5:22 
GeneralRe: My tables hate me Pin
ESTAN28-Sep-07 9:42
ESTAN28-Sep-07 9:42 
GeneralRe: My tables hate me Pin
Colin Angus Mackay28-Sep-07 10:08
Colin Angus Mackay28-Sep-07 10:08 
GeneralRe: My tables hate me Pin
Evan St. John2-Oct-07 6:51
Evan St. John2-Oct-07 6:51 
AnswerRe: My tables hate me Pin
rowdykuttan28-Sep-07 5:26
rowdykuttan28-Sep-07 5:26 
GeneralRe: My tables hate me Pin
Evan St. John28-Sep-07 5:36
Evan St. John28-Sep-07 5:36 
QuestionCustom Drawing of list Items Background Pin
Sukhjinder_K28-Sep-07 3:19
Sukhjinder_K28-Sep-07 3:19 

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.