473,385 Members | 1,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to Create a New Document Window in a VS.NET Add-in

Does anyone know how to create a new document window in VB.NET (or any other
language)?

I have Googled extensively but to no avail.

I am creating a VS add-in, and want to include my own document window to
present some information.

Any pointers greatly received.

TIA

Charles
Aug 5 '05 #1
2 1315
Hi,

Take a look at the addfromtemplate and addfromfile methods

http://msdn.microsoft.com/library/de...temsobject.asp

http://msdn.microsoft.com/library/de...temsobject.asp

Link to some good resources for vs.net add-ins and macros
http://www.knowdotnet.com/add-insmacros.html
Ken
----------------------
"Charles Law" <bl***@nowhere.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Does anyone know how to create a new document window in VB.NET (or any other
language)?

I have Googled extensively but to no avail.

I am creating a VS add-in, and want to include my own document window to
present some information.

Any pointers greatly received.

TIA

Charles

Aug 5 '05 #2
Hi Ken

Thanks for the reply. The first two look like they are to do with files, in
some way. I am thinking more in terms of creating a form: either a windows
form or an html form. In each case, there is no file to load from. A good
example of what I am trying to achieve is what Document X! does with its UI.

I will look more closely at the third link.

Cheers.

Charles
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Hi,

Take a look at the addfromtemplate and addfromfile methods

http://msdn.microsoft.com/library/de...temsobject.asp

http://msdn.microsoft.com/library/de...temsobject.asp

Link to some good resources for vs.net add-ins and macros
http://www.knowdotnet.com/add-insmacros.html
Ken
----------------------
"Charles Law" <bl***@nowhere.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Does anyone know how to create a new document window in VB.NET (or any
other
language)?

I have Googled extensively but to no avail.

I am creating a VS add-in, and want to include my own document window to
present some information.

Any pointers greatly received.

TIA

Charles

Aug 6 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Templar | last post by:
Hi i'm bothering with such problem... I must dynamic create an Iframe, and then put som raw HTML into it. But I can't. When I create iframe, I can't access its properties. Here's the coe...
4
by: Richard Bell | last post by:
I would like to open a 'child' window win and check it's ready state. Unfortunately, when I try to do so, I discover that win.document does not appear accessable from the parent window, see below....
5
by: George Hester | last post by:
function spawn(ev){ var oSelect = ''; var oFlag = false; if (ns4 || ns6) oSelect = document.getSelection(); else if (ie4 || ie5){ if (!ev) ev = window.event; oFlag = true; oSelect =...
7
by: Remi Bastide | last post by:
I'm trying to open a blank window and write a message in it. The following page works as expected in IE, but in Firefox the message is not written: <HTML> <HEAD> <TITLE>Document.write...
3
by: takarimasu | last post by:
How can i create an input object (text area,select) at runtime ? B.
2
by: Adam | last post by:
This is frustrating me. Opening IE displays the following code fine. When I open a new window the code no longer works. All the HTML is overwritten with the first document.write statement. Tried...
13
by: Geoff Cox | last post by:
Hello, How do I create a form without using document.write() which opens a new window? I imagine it has to do with using a <SPAN ID='idvalue' etc element and...
2
LegalIT
by: LegalIT | last post by:
Hello, I am a bit confused with using Word from VB.net. I would like to create a file name, then create a file with that file name. After the file is created I want to add a template. Since the...
8
by: Martin Honnen | last post by:
VK wrote: Mozilla has document.height document.width IE has scrollHeight/scrollWidth, depending on compatMode you will need these properties of document.documentElement or document.body --
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.