Adding an OLE Application

How can I add Notepad++ as an OLE application?


Greg Miller - Mon Nov 03 15:13:58 EST 2014

Re: Adding an OLE Application
Mathias Mamsch - Mon Nov 03 15:32:53 EST 2014

I am not sure what you mean by "adding Notepad++ as an OLE application" ...

Notepad++ is as far as I know not an OLE enabled application, meaning it cannot act as a COM Server / Client which means, you can not insert OLE Objects in Notepad++, nor can you embed Notepad++ documents (text files?) inside another document.

If you mean that you want to open existing OLE objects with Notepad++ instead of their native application (e.g. word), then I guess this would also not make a lot of sense. The reason for this is, that OLE is not 'file' based ... The embedded data is directly sent to the Server application, which has a special interface implemented to receive and handle such embedded documents.

The only meaningful sense behind your question I can find is:

How can I configure my computer, that he would open "Packager" OLE objects (i.e. files, that have been inserted with no native application, like .txt) to be opened with notepad++ ... In this case the packer uses the normal application, that the file type that you embedded (e.g. .txt) is assigned to in your explorer.

Does this help? Regards, Mathias

Re: Adding an OLE Application
Greg Miller - Mon Nov 03 18:24:40 EST 2014

Mathias Mamsch - Mon Nov 03 15:32:53 EST 2014

I am not sure what you mean by "adding Notepad++ as an OLE application" ...

Notepad++ is as far as I know not an OLE enabled application, meaning it cannot act as a COM Server / Client which means, you can not insert OLE Objects in Notepad++, nor can you embed Notepad++ documents (text files?) inside another document.

If you mean that you want to open existing OLE objects with Notepad++ instead of their native application (e.g. word), then I guess this would also not make a lot of sense. The reason for this is, that OLE is not 'file' based ... The embedded data is directly sent to the Server application, which has a special interface implemented to receive and handle such embedded documents.

The only meaningful sense behind your question I can find is:

How can I configure my computer, that he would open "Packager" OLE objects (i.e. files, that have been inserted with no native application, like .txt) to be opened with notepad++ ... In this case the packer uses the normal application, that the file type that you embedded (e.g. .txt) is assigned to in your explorer.

Does this help? Regards, Mathias

Mathias

Sorry, I ask the question incorrectly.

I have embeded a code file into a DOORS object using the OLE Package, only having the file icon and title rather than veiw the content as can be done with Microsoft and Open Office applications.

I would like to be able to embed Notepad++ object into DOORS as viewable OLE objects.  This editor is used to create Source Code, that would be traced to the Software requirements, that would be traced to the System requirements, that would be traced to the Customer requirements.  In addition the Software testing could be traced to the Source Code.

Having the capability to embed, edit, view, export, trace, and manage Source Code using the code editor would be and ideal solution for us.

Thanks

 

Re: Adding an OLE Application
Wolfgang Uhr - Tue Nov 04 05:00:31 EST 2014

Greg Miller - Mon Nov 03 18:24:40 EST 2014

Mathias

Sorry, I ask the question incorrectly.

I have embeded a code file into a DOORS object using the OLE Package, only having the file icon and title rather than veiw the content as can be done with Microsoft and Open Office applications.

I would like to be able to embed Notepad++ object into DOORS as viewable OLE objects.  This editor is used to create Source Code, that would be traced to the Software requirements, that would be traced to the System requirements, that would be traced to the Customer requirements.  In addition the Software testing could be traced to the Source Code.

Having the capability to embed, edit, view, export, trace, and manage Source Code using the code editor would be and ideal solution for us.

Thanks

 

Hello

The feature you asked for isn't a feature of doors but of the other application. For example Microsoft Word has a com interface and therefore it can be used for this ole-embedding.

Notepad++ does not support such an interface.

Best regards

Wolfgang

Re: Adding an OLE Application
Mathias Mamsch - Tue Nov 04 10:11:04 EST 2014

Greg Miller - Mon Nov 03 18:24:40 EST 2014

Mathias

Sorry, I ask the question incorrectly.

I have embeded a code file into a DOORS object using the OLE Package, only having the file icon and title rather than veiw the content as can be done with Microsoft and Open Office applications.

I would like to be able to embed Notepad++ object into DOORS as viewable OLE objects.  This editor is used to create Source Code, that would be traced to the Software requirements, that would be traced to the System requirements, that would be traced to the Customer requirements.  In addition the Software testing could be traced to the Source Code.

Having the capability to embed, edit, view, export, trace, and manage Source Code using the code editor would be and ideal solution for us.

Thanks

 

Agree with Wolfgang ... Of course you can write your own COM Server to establish the behaviour.

However did you think about stuff, like external links pointing to source code files, that are made visible using a special layout / attribute DXL ?

Regards, Mathias

Re: Adding an OLE Application
Greg Miller - Tue Nov 04 19:10:24 EST 2014

Mathias Mamsch - Tue Nov 04 10:11:04 EST 2014

Agree with Wolfgang ... Of course you can write your own COM Server to establish the behaviour.

However did you think about stuff, like external links pointing to source code files, that are made visible using a special layout / attribute DXL ?

Regards, Mathias

Thanks, a COM Server may be a possibility.  We are using ClearCase for Source Code for now.  I did look into the DOORS-ClearCase Interface but there are tracing issues.

Re: Adding an OLE Application
Wolfgang Uhr - Thu Nov 06 09:54:27 EST 2014

Greg Miller - Tue Nov 04 19:10:24 EST 2014

Thanks, a COM Server may be a possibility.  We are using ClearCase for Source Code for now.  I did look into the DOORS-ClearCase Interface but there are tracing issues.

> Thanks, a COM Server may be a possibility

Here I aggree with Mathias

> However did you think about stuff, like external links pointing to source code files, that are made visible using a special layout / attribute DXL ?

Of course, you can make the problem more complicate than necesary, it's your job.

Best regards

Wolfgang