Click here to Skip to main content
15,924,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing a controls focus rectangle Pin
swb1084-Jun-04 17:34
swb1084-Jun-04 17:34 
GeneralQuickBooks integration Pin
vinny45451-Jun-04 23:30
vinny45451-Jun-04 23:30 
GeneralAdding TableNames in a HashTable in Writing order Pin
Naga the bug fixer1-Jun-04 23:05
Naga the bug fixer1-Jun-04 23:05 
GeneralRe: Adding TableNames in a HashTable in Writing order Pin
Heath Stewart2-Jun-04 4:30
protectorHeath Stewart2-Jun-04 4:30 
QuestionHow to read Ladder diagrams? Pin
sachinkalse1-Jun-04 22:49
sachinkalse1-Jun-04 22:49 
AnswerRe: How to read Ladder diagrams? Pin
Heath Stewart2-Jun-04 4:23
protectorHeath Stewart2-Jun-04 4:23 
GeneralRe: How to read Ladder diagrams? Pin
sachinkalse2-Jun-04 16:18
sachinkalse2-Jun-04 16:18 
AnswerRe: How to read Ladder diagrams? Pin
Heath Stewart2-Jun-04 4:27
protectorHeath Stewart2-Jun-04 4:27 
As it turns out, there's one standardization project currently in design phase. See http://www.bbdsoft.com/control.html[^]. It uses an XML document to save the ladder logic. In this case, it'd be better to use XML Serialization (see the System.Xml.Serialization namespace in the .NET Framework SDK), but to still design an abstract data model where the objects are still drawn on the screen using suitable representations. There is a Java project already using this recommended spec I linked above if you want examples. See http://www.bbdsoft.com/j-ladder.html[^].

It's amazing what a simple search for "ladder diagrams" on google[^] can turn up. Roll eyes | :rolleyes:

As far as embedded this in an RTF, the easiest way would be to allow your application to draw the images to a device context instead of the screen device context and then save that to an image. Simply embed the image in RTF. Attempting to use OLE requires a good working knowledge of OLE, how to embed OLE in RTF, and how to expose CCW effectively from .NET components.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: How to read Ladder diagrams? Pin
sachinkalse2-Jun-04 16:24
sachinkalse2-Jun-04 16:24 
GeneralRe: How to read Ladder diagrams? Pin
Heath Stewart3-Jun-04 3:36
protectorHeath Stewart3-Jun-04 3:36 
GeneralSelecting one value from a cookie Pin
_Searcher_1-Jun-04 22:47
_Searcher_1-Jun-04 22:47 
GeneralRe: Selecting one value from a cookie Pin
Heath Stewart2-Jun-04 4:21
protectorHeath Stewart2-Jun-04 4:21 
GeneralMultiLine datagrid header Pin
denizmercan1-Jun-04 22:32
denizmercan1-Jun-04 22:32 
GeneralRe: MultiLine datagrid header Pin
Torsten Mauz1-Jun-04 23:23
Torsten Mauz1-Jun-04 23:23 
GeneralRe: MultiLine datagrid header Pin
denizmercan1-Jun-04 23:28
denizmercan1-Jun-04 23:28 
GeneralRe: MultiLine datagrid header Pin
Torsten Mauz2-Jun-04 0:01
Torsten Mauz2-Jun-04 0:01 
GeneralRe: MultiLine datagrid header Pin
denizmercan2-Jun-04 0:31
denizmercan2-Jun-04 0:31 
GeneralRe: MultiLine datagrid header Pin
Torsten Mauz2-Jun-04 20:27
Torsten Mauz2-Jun-04 20:27 
GeneralWMI Classes Pin
RockmanHero20031-Jun-04 22:31
RockmanHero20031-Jun-04 22:31 
GeneralRe: WMI Classes Pin
Heath Stewart2-Jun-04 4:18
protectorHeath Stewart2-Jun-04 4:18 
GeneralService - front-end communication Pin
LorenzoDV1-Jun-04 22:09
LorenzoDV1-Jun-04 22:09 
GeneralRe: Service - front-end communication Pin
Heath Stewart2-Jun-04 3:36
protectorHeath Stewart2-Jun-04 3:36 
GeneralRe: Service - front-end communication Pin
LorenzoDV2-Jun-04 10:39
LorenzoDV2-Jun-04 10:39 
GeneralRe: Service - front-end communication Pin
Heath Stewart2-Jun-04 10:46
protectorHeath Stewart2-Jun-04 10:46 
GeneralDataGrid - 10,000 or more record need to be add. Pin
temp55561-Jun-04 19:03
temp55561-Jun-04 19:03 

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.