473,396 Members | 2,089 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,396 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
Nov 21 '05 #1
2 874
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

Nov 21 '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

Nov 21 '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 --
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: 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...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.