473,806 Members | 2,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Code Templates(Item/ Project) in C#

Hey all , I wanted to create a project or item template in C# such
that when I use that template a parameter wizard comes up asking for
values. I know how to create the template without implementing the
wizard, i.e., work the parameter replacement using the
<CustomParamete rskeyword in XML.

So any hints or suggestions towards the procedure to having the
parameter replacement wizard (a GUI of some sort) would be greatly
appreciated,

cheers

May 23 '07 #1
2 1841
Hello ka*******@hotma il.com,

Emmm, not quite understood u. Does the CodeSmith tool meet your requirements?

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Hey all , I wanted to create a project or item template in C# such
that when I use that template a parameter wizard comes up asking for
values. I know how to create the template without implementing the
wizard, i.e., work the parameter replacement using the
<CustomParamete rskeyword in XML.

So any hints or suggestions towards the procedure to having the
parameter replacement wizard (a GUI of some sort) would be greatly
appreciated,

cheers

May 23 '07 #2
On May 23, 11:01 am, Michael Nemtsev <nemt...@msn.co mwrote:
Hello kanepa...@hotma il.com,

Emmm, not quite understood u. Does the CodeSmith tool meet your requirements?

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:http://spaces.live.com/laflour
Team blog:http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Hey all , I wanted to create a project or item template in C# such
that when I use that template a parameter wizard comes up asking for
values. I know how to create the template without implementing the
wizard, i.e., work the parameter replacement using the
<CustomParamete rskeyword in XML.
So any hints or suggestions towards the procedure to having the
parameter replacement wizard (a GUI of some sort) would be greatly
appreciated,
cheers- Hide quoted text -

- Show quoted text -
Thanks for the response.. to be clearer, these are the steps:-

1) Create a project
2) file -export - (create a project template)
3) file -new project -you will now be able to see the project you
exported as a template
4) what i want is that when I try to import that project, I should be
able to replace custom parameters using a wizard rather than
specifying values for them in the .vstemplate file using the
<CustomParamete rattribute

May 24 '07 #3

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

Similar topics

8
1591
by: Hasani | last post by:
The reason I ask this is because I'm having problems accessing an array of type TrackSelection in a VBS script I'm using to test my code. item.AdditionalInformation returns an array of type TrackSelection. I don't know what I'm doing wrong. All the classes (that I need for COM) seem to follow the requirements for COM interop. Code for Item -> http://www.skidmore.edu/~h_blackw/Item.cs Code for TrackSelection ->...
7
3110
by: Dan | last post by:
I'd like to have a set of more-or-less common code which I want to use for both desktop and smart device projects. I have two questions: 1. How can I set up conditional compile directives for those parts of the code which are different on desktop and smart device projects 2. How can I actually share the same .cs source code files between the two projects. If I try to open a smart device project and add the files which are in the...
6
2202
by: Peter Row | last post by:
Hi, Can someone give me a set of steps for an ASP.NET project (well actually its just a VB.NET class DLL that implements HttpHandler) that will work when moved to another developers machine? Here are some specifics: 1) The code, project/solution files are in MS Visual Source Safe
2
1448
by: Simon Prince | last post by:
Help I have a ASP:Listbox on a form. My page Adds items to this this via Client-Side Script only. Such as... var vObj_TargetElement = document.getElementById("_PageTemplate_innerHolder_oASP_Lbx_Invoice"); var vObj_SourceElement = document.getElementById("oHTML_Tbx_Invoice"); var vInt_OptionTotal = vObj_TargetElement.length++;
1
1391
by: Howie | last post by:
Hi, is there a way to crypt a softwareproject (c++) to confirm only two persons together can compile these project ? Any suggestions ? Thanks in advance, Howie
0
1865
by: IlQlo | last post by:
Hi All. I'm looking for a control to use in VB.NET 2005 that merge a Listview functions with a Treeview. A good example is this one: http://www.codeproject.com/cs/miscctrl/treelistview.asp The only problem is that after I've added a reference and also the control, I can compile it, use it, work on it only one time in VB. After, when I want to reopen the Designer to Edit the Form1 (that contains the control) I receive an error:
4
4409
by: Janne Pyykkö | last post by:
Hello, Is it ok to let users download DShowNet.dll from my site instead of www.codeproject.com that needs username & password? The software using dll is for detecting meteors from night sky and used in a non-business manner. -Janne
7
3809
by: colin | last post by:
Hi, I have my property editor wich uses the pop up collection editor for arrays etc, but i have had to use a generic wrapper for the elements in some types of collections. although the editing actually works well, and I can set the name ok in the primary property editor, this makes a mess of the type name displayed in the pop up colection editor, is there any way to change this ?
4
4568
by: shifflav | last post by:
The code below puts each item in a float:left DIV. After each 3rd DIV it needs to clear the previous 3 DIVs and start a new row. The code below works, but it requires that I edit a 'column' element in my XML file. Every 3rd item in my XML file has a <column>3</column> element added to it so the xsl:if test code knows when to add my clearing DIV. This seems inefficient to me and I'm sure there is a way the XSLT processor can insert my...
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10623
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10373
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,...
1
7650
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
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
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...
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
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.