Click here to Skip to main content
15,920,383 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Sourcecode for control Scanner Pin
Smithers-Jones20-Dec-11 22:52
Smithers-Jones20-Dec-11 22:52 
QuestionHow to delete record from DataGrid control VB Pin
rizaky201119-Dec-11 14:35
rizaky201119-Dec-11 14:35 
AnswerRe: How to delete record from DataGrid control VB Pin
Dave Kreskowiak20-Dec-11 3:33
mveDave Kreskowiak20-Dec-11 3:33 
GeneralRe: How to delete record from DataGrid control VB Pin
rizaky201120-Dec-11 19:12
rizaky201120-Dec-11 19:12 
GeneralRe: How to delete record from DataGrid control VB Pin
Dave Kreskowiak21-Dec-11 1:38
mveDave Kreskowiak21-Dec-11 1:38 
AnswerRe: How to delete record from DataGrid control VB Pin
qyasn20-Dec-11 23:24
qyasn20-Dec-11 23:24 
QuestionOracle forms 10g Pin
Member 380338516-Dec-11 21:06
Member 380338516-Dec-11 21:06 
AnswerRe: Oracle forms 10g Pin
Dave Kreskowiak17-Dec-11 3:33
mveDave Kreskowiak17-Dec-11 3:33 
QuestionSaving rtf-file Pin
jtpaa15-Dec-11 20:00
jtpaa15-Dec-11 20:00 
QuestionRe: Saving rtf-file Pin
Framework .l.15-Dec-11 20:31
Framework .l.15-Dec-11 20:31 
AnswerRe: Saving rtf-file Pin
jtpaa15-Dec-11 20:35
jtpaa15-Dec-11 20:35 
GeneralRe: Saving rtf-file Pin
Framework .l.15-Dec-11 22:02
Framework .l.15-Dec-11 22:02 
GeneralRe: Saving rtf-file Pin
Richard MacCutchan15-Dec-11 22:34
mveRichard MacCutchan15-Dec-11 22:34 
GeneralRe: Saving rtf-file Pin
jtpaa15-Dec-11 22:52
jtpaa15-Dec-11 22:52 
GeneralRe: Saving rtf-file Pin
Richard MacCutchan15-Dec-11 23:35
mveRichard MacCutchan15-Dec-11 23:35 
GeneralRe: Saving rtf-file Pin
jtpaa15-Dec-11 23:53
jtpaa15-Dec-11 23:53 
GeneralRe: Saving rtf-file Pin
Richard MacCutchan16-Dec-11 0:01
mveRichard MacCutchan16-Dec-11 0:01 
GeneralRe: Saving rtf-file Pin
jtpaa16-Dec-11 0:07
jtpaa16-Dec-11 0:07 
GeneralRe: Saving rtf-file Pin
Richard MacCutchan16-Dec-11 0:16
mveRichard MacCutchan16-Dec-11 0:16 
GeneralRe: Saving rtf-file Pin
jtpaa16-Dec-11 0:28
jtpaa16-Dec-11 0:28 
GeneralRe: Saving rtf-file Pin
Richard MacCutchan16-Dec-11 0:35
mveRichard MacCutchan16-Dec-11 0:35 
GeneralRe: Saving rtf-file Pin
jtpaa16-Dec-11 1:21
jtpaa16-Dec-11 1:21 
OK
There is RichTextBox (MyRtb), which content is saved as rtf-file.
Rtf-file contains page formatting data, which I have tried to modify so that the page orientation is Landscape.


I have tried to set Document Formatting Property "\landscape" and
Section Text Property "\lndscpsxn".

Those properties are documented in rtf specification.

Code lines, which I used for setting those properties:

<pre lang="vb">Myrtb.Rtf = "{\rtf1\landscape}"</pre>
<pre lang="vb">Myrtb.Rtf = "{\rtf1\lndscpsxn}"</pre>

Well, it might be that those parameters are not in the right place in rtf-code.
But anyway, it seems that those lines do not affect rtf code at all.

And the main question is: Is it possible at all (in code) to modify rtf-file so that the page orientation is in Landscape mode ?
GeneralRe: Saving rtf-file Pin
Richard MacCutchan16-Dec-11 1:29
mveRichard MacCutchan16-Dec-11 1:29 
GeneralRe: Saving rtf-file Pin
jtpaa16-Dec-11 1:46
jtpaa16-Dec-11 1:46 
GeneralRe: Saving rtf-file Pin
Richard MacCutchan16-Dec-11 2:29
mveRichard MacCutchan16-Dec-11 2:29 

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.