Wizard

$SpecificSolutionName$ is always empty. How can I tell if the user is making a new solution directory or not?

痴心易碎 提交于 2019-12-20 03:55:07
问题 In Visual Studio 2017, creating a C# Project Template project with the IWizard interface, I pop up my customised dialog to the user but I can't determine whether they've previously selected the "Create Directory For Solution" checkbox. I need to know this while still in the RunStarted() interface function, before the Project object is generated (in other words, I can't use project.DTE.Solution). Microsoft's awesome documentation says I can just look at $SpecificSolutionName$ , but it's always

making a wizard interface in delphi 7

妖精的绣舞 提交于 2019-12-19 05:47:30
问题 I'm using delphi 7 and I'm trying to make a wizard interface. I don't know if there is an easier way to make a wizard, so I was thinking of making separate forms for each step of the wizard, and when the user clicks "Next" the active form closes and the next one opens. Here's a screen-shot of two successive forms: I've made a procedure that take 2 forms as parameters: the form that will be closed and the next form of the wizard class Procedure Tspad.nextForm(showForm, closeForm: TForm); begin

Wizard Control in ASP.NET - How to set the NextButton Causesvalidation property to false

感情迁移 提交于 2019-12-19 04:42:10
问题 I have tried setting it in the code and also in the markup but when the Next Button is clicked, the page is validated, I want to prevnt this from happening and control when validation should occur and when not. Any suggestions or code samples would be appreciated 回答1: The easiest way to do this would be to remove all validator controls from the WizardStep in which validation is to be skipped. However, if you need advanced functionality, you will need to set the CausesValidation property of

Generate SQL server scripts from command line?

帅比萌擦擦* 提交于 2019-12-18 11:25:23
问题 In Microsoft SQL Server Management Studio 2008 there is a "Generate scripts..." option under the Tasks menu. I'm just wondering if this tool is available from the command line somehow? It looks similar to the sqlpubwiz.exe command line tool that was available for SQL Server 2005, but I can't find this executable anywhere in the SQL 2008 installation. 回答1: The script generating options of Management Studio are just a wrapper around the SMO scripting capabilities. Simple scripts are obtained by

Going to a custom step with jQuery-steps

﹥>﹥吖頭↗ 提交于 2019-12-18 11:21:16
问题 I am using a jQuery-steps on my app to for a wizard-like situation. I am having trouble finding out how to change to a custom step though. Any help with this one? $(function () { $("#wizard").steps({ headerTag: "h2", bodyTag: "section", transitionEffect: "slideLeft", enableFinishButton: false, labels: { next: $('#next').html(), previous : $('#previous').html() }, onStepChanged: function (event, currentIndex, priorIndex) { if( priorIndex == 0) { var selected = $('input[name=radio_wizard]

Using IWizard in an item template without installing assembly in GAC?

纵然是瞬间 提交于 2019-12-18 01:14:11
问题 I would like to create a custom item template that includes a wizard (IWizard interface). On http://msdn.microsoft.com/en-us/library/vstudio/ms171411%28v=vs.100%29.aspx and some other places it is always described that the assembly containing the wizard has to be installed in GAC. I would like to distribute my template in my organisation, and not everybody has right to install anything into GAC. So I'm wondering, is there no way to have the assembly containing the wizard code inside the

Postback problem for my custom control load wizard

匆匆过客 提交于 2019-12-13 20:09:17
问题 I have some problem that happens when controls are loaded in init and it still doesn't help me to get proper postback event fired on time. I am trying to create a rich wizard control that will enable switching, links with description, completely customized steps, integration of substeps - by using dynamic control load that is avoids standard asp.net wizard way of loading. Idea is to have on left part navigation, on right part content, or substeps that are run from right part and that go over

Should I Use the Data Wizard in Visual Studio?

若如初见. 提交于 2019-12-13 06:39:41
问题 I'm using Visual Studio 2008 to interface with several data sources, mostly SQL Server 2008 Express and Visual Foxpro. Should I use the Data Source Configuration Wizard or should I build my own Connection, DataAdapter, DataSet, Command, and DataTable using code? What factors should influence my decision? I usually go the code route if it gives me more power or control. However, I know from experience that there are certain products (like SBS 2008 or SonicWall) where using using the built-in

Invoke SQL Script Wizard programmatically

半腔热情 提交于 2019-12-13 03:57:32
问题 Could someone please tell me if there is someway to invoke the SQL Script Wizard programmatically or through the command line? It's a great tool for deployment but I am sick of having to set the countless options each time I use it. 回答1: The SSMS scripting wizard is just a shell over the Scripter SMO object capabilities. From the scripting example on MSDN: using System; using Microsoft.SqlServer.Management.Smo; using Microsoft.SqlServer.Management.Sdk.Sfc; public class A { public static void

How to query SQL columns that have parentheses ( ) in their name?

佐手、 提交于 2019-12-12 14:25:54
问题 The column names looks something like: "Ab. (Cd)" It has , '.' as well as ( ) in the column name. I have tried square brackets [ ] around the column name and have also tried ' ' and " " without much success. Please help. I am using SQL Server Import and Export Wizard to import some data. The query looks like: Select 'Trans. Z4 (St 85)' from `'Monthly Prices$'` The full SQL statement used is: Here's the query: Select F1, HH, AECO, Sumas, Stanfield, Malin, [PG&E], Opal, SoCal, SJ, wTX, sTX, HSC