Hi. For the first question, you'd want to use the DTE object. Add a
reference to EnvDTE.dll to your project. Off the EnvDTE, there is an
interface call Project with a property called FullName that returns a string
See if that will help.
---------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
dr***@enilno.microsoft.com
--------------------
From: "John Smith" <jm***@suomi24.fi>
Subject: How to get project folder at design time?
Date: Fri, 5 Dec 2003 13:18:04 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Organization: Tekla Oyj
Message-ID: <10***************@vanessa.tekla.fi>
Cache-Post-Path: va**********************@z-jtl.fi.tekla.com
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: tahma.tekla.com 193.64.145.22
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftng xa09.phx.gbl!TK2MSFTNGP08.
phx.gbl!TK2MSFTNGP12.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:203518
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi,
How can I get the project folder programmatically at design time?
I'd like to use it in the Forms Designer during dialog design process...
And another question... how can I create a custom tabpage inside my
custom tabcontrol from the Forms Designer (so that I don't have to
modify the code by hand... change the Forms.TabPage to my custom
MyCustom.TabPage control).
TIA,
Jman