Ken Levy's Q&A profile
Visual C++ Visual Studio Aborts
When I try to add a new variable from an object, the dialog appears Ok. Then I pull down the Access field and then VS Aborts. Anybody have any suggestions Please could you give us more details about what you're trying to do Which version of Visual Studio are you using What language are you using (VB, C#, C++ ) What steps are you going through to add the new variable Are you just typing in the editor, or something else (like going through a wizard) What do you see on the screen when VS aborts Do you get an error message ...Show All
.NET Development "Cannot view XML input using XSL style sheet" error
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Once again. Your server sends the ASPx file to the client as is. Browser thinks this is XML and tried to convert it to HTML using XSLT. Because ASP(X) is not an XML this can't work. Error is deceptive, but the problem is on the server. This question is completely out off scope of this forum. ...Show All
.NET Development "Could not create type..." error deploying webservice
I know this question has been asked a billion times already because I've found several instances on the net, but none of the proposed solutions seems to solve my problem, so I'd appreciate any help. I've created a C# webservice on my local machine that runs fine. Now I'm trying to deploy it to a webserver. The server is Windows 2003 with IIS 6. I created a new virtual directory in IIS, set it to be an application, and gave it "scripts only" execute permissions. I've manually copied all the files from my local webservice directoy to the virtual directory on the server. When I try to access the page, I get the dreaded "Could ...Show All
Visual Studio Howto determine the startup form of a project?
I'm trying to figure out which form is the startup form for a WinForms project. Ive looked for some property in the project or the VB file itself and neither one seems to know the answer. More specifically, I'm looking at the Properties collection of the project and the projectitems objects using the DTE. Obviously I'm missing it here. Where can I look to find this information Thanks Bill Would this work Sub Macro2() Dim objProject As Project = DTE.Solution.Projects.Item(1) For Each objPI As ProjectItem In objProject.ProjectItems If objPI.Name = "My Project" ...Show All
Windows Forms ClickOnce updates all assemblys!
Hi, I am now trying to deploy with Click Once, and have run into 2 problems/questions. I have 6 projects 1 win and 5 class libs. I seem to think that with Click Once I should be able to make a change to library X and redeploy, in turn the user would only need to download that one assembly. The problem I am having is, a change to 1 library forces the user to download the entire application again. I must just be missing something, what is the way around this Thanks Are you sure it download the whole app ClickOnce is designed to only download changed files. When the user gets an update, the new file ...Show All
SQL Server SQL Server Management Studio Express: Missing DataBases from VWD Project
LOST DATA BASES I appear to be doing something stupid! I created a VWD express project that contains a database. In VWD the DB application works fine. I can see all my tables. VWD stores the DB in the applications area of MY DOCUMENTS in a project folder under “SQL SERVER Management Studio Express”. However, when I run the SQL Server Management Studio Express, I get a instance of the “(computer_name)SQL\express” that contains the System DB, but not the DB that I developed in VWD. After investigating I found the SQL DB for the Studio Express under MY COMPUTER, “Microsoft SQL Server” in a subfolder under "MSSQL" folder. Mi ...Show All
Software Development for Windows Vista Invoking one workflow from another
I want to invoke one workflow from another and get some back some return values from the second workflow. I tried the InvokeWorkflow activity but have some issues with that. 1. If I use a workflow in the same project for the InvokeWorkflow activity then I get the following error "You cannot invoke a workflow compiled in the same project as the invoking workflow." Why is this not allowed 2. I invoked a workflow from a different project but that other workflow had some "out" and "ref" params so that it can return a value back to the calling workflow. However I got the following error: "Workflows with Out or Ref parameters cannot be invoked fr ...Show All
Microsoft ISV Community Center Forums Is an Excel bug that set PivotItem.Visible to true will generate 1004 Macro Error?
In a Excel PivotTable, I want to programically hide or show some PivotItems of a PivotField. To hide, it works fine (just set mPivotField.PivotItems("xxx").visible = False). However, to show, it does not work: mPivotField.PivotItems("xxx").visible = True. Program breaks with an error 1004, macro error. When try to record a macro for setting a non-visible PivotItem to visible, macros recorded is to use ...PivotItem("xxx").visible = True. However, this generated macros never works as it generates 1004 error. So, now my solution is let user manually set all pivot items to be visible first and click a button which will ...Show All
Windows Forms Is there a way to embed XSD to application?
I have some XSD's in my applications that I want to deploy. Instead of a floating file I want XSD file to be more of a resource. Any thought Add the file via "Add Existing..." then change the build action in the properties pane to "Embedded Resource". http://msdn2.microsoft.com/en-us/library/7k989cfy(VS.80).aspx is a good resource for performing this. ...Show All
Visual Studio Team System Team System and Windows Domain
Hello everyone, Just single question: why the Windows Domain is a requirement for Team System As far as I see, groups and security is managed using ADAM, so why then to use AD Thanks, Romualdas ADAM will not be used in the next release. The current release requires a Windows domain account, but the production version 1 code will not. Buck ...Show All
Visual Studio Team System Cannot Delete or Move
I am using a Beta or Pre-release version of Team Foundation Server. The problem I am having is that I moved a directory to a new location and it went to the wrong directory: \DirA\DirA instead of \DirA. Then things got out of sync. The directories under \DirA\DirA, I tried to move to \DirA and then delete \DirA\DirA. It then gave errors that the directory already exists when I tried to do a move. I now can't do anything without getting an error. Is there some sort of analysis or repair utility that I can run to get things in sync Surely someone can tell me how to repair this thing. A source code rep ...Show All
Visual Studio Tools for Office About Outlook Account Management API Features
Hello, I am currently working on a mass emailing application, and, to help users configuring it, I would like to import their default Outlook account. To get these informations from Outlook Express and old Outlook versions, I used to read some registry keys, but it seems that Outlook 11 (provided by Office 2003) don't store user account informations in the same way. Thus, I've heard about the Outlook Integration API and in particular the Account Management API. Then I wonder, and I ask you, if this API can help me to get all the informations I need to import an Outlook 2003 account to my software, ie the Account Name, the SMTP Server, the Us ...Show All
.NET Development Running legacy asp
In a .NET website can you run legacy asp / com pages intermixed with .NET Hi, Yes you can. As long as its in a seperate page (you cannot mix asp and asp.net codes on a single page) cheers, Paul June A. Domag ...Show All
Visual Basic How to manage / call methods, procedures, forms in multiple Modules, classes, ect.?
Hello and thank for the help. I am such an amature. Can't find the right books either. I have created a windows form, and a lable array class and a sub main in a module BeamCalculation is a form Label Array is a class Calculate is a Module I am trying to run my program from the Module, I din BC as New BeamCalculation withthe hope that I can use BC throughout the module to perfor data and controlminipulation, A Dynamic Form that I change according to the calculation tye. I am getting 2 errors at line 15. 1. An unhandled exception of type 'System.NullReferenceException' occurred in Beam Calculations.exe ...Show All
Visual Studio Where does VS2005 store source control provider info?
In VS 2003 and previous versions, the list of source control providers and the default SCC provider were stored in HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider. It looks like Whidbey does not use these values. I'm trying to make sure that our SCC tool will appear in the Whidbey list, and also have the capability for the user to set the default VS SCC provider from our app. How do I do that in VS 2005 Oh, I see now what you were looking for, to set Vault as active provider when you install it. I think there are a couple of ways to do that: 1) Delete the HKCU\Software\Microsoft\Visual ...Show All
