473,660 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1325
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******** ******@TK2MSFTN GP10.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***@bellsout h.net> wrote in message
news:OC******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP10.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
47322
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 snipplet: //************************************* //*************************************
4
3967
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. Is this by design or am I doing something wrong. <HTML> <HEAD> <TITLE>Javascript Test</TITLE> </HEAD> <SCRIPT language="JavaScript">
5
4203
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 = document.selection;
7
2747
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 bug</TITLE> <Script Language="JavaScript"> function load() { var w = window.open('','','');
3
9138
by: takarimasu | last post by:
How can i create an input object (text area,select) at runtime ? B.
2
2697
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 with window tried without Please help. This code pulls XML from a web site then parses it into a dynamically created table built with javascript. The write table is not working correctly, other methods work fine. This code also locks up Fire Fox...
13
2150
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 document.getElementById("idvalue").innerHTML but not clear how to do it... This is how I have done it at the moment ...
2
4450
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 template is from a server and used by multiple users I only want to add it. Then when the Word document is closed hopefully it won't ask if the user wants to save changes to the template. Can someone help me with the simple open, add the template...
8
2480
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
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8542
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.