stigmat's Q&A profile
Visual Studio 2008 (Pre-release) Explicit vs. Implicit Behaviour
Prefacing some words about the focus of this post: I am looking at the features described below having only the maintainability of the resulting code in mind. The assumed situation is having an enterprise project with > 20 developers, internal and external, who built the application, and a completely different team of developers maintaining the system later on. Also, the assumption is that none of the developers who originally created the system will be available for questions by the maintaining staff. The members of the developing and maintaining team will be average developers, maybe 'just' programmers, who are not familiar with (and ma ...Show All
Visual C++ How do I partially specialize a template function?
I have template < class P_T1, class P_T2> static inline void f() {} I want to redefine template<class P_T2> static inline void f<void, P_T2>() {} to do something else (as a special case when P_T1 is void). It does not work because I get error C2768: 'f' : illegal use of explicit template arguments Anybody help Thanks, so I did, only that the method must be static. It also throws new light on the deprecated std::use_facet(std::locale, T * = 0): such dummy parameters should not be deprecated because it gives a false impression that you can easily do without them, which is not tru ...Show All
SQL Server Adding ScriptTask programatically
Hi, I'm developing tool for generating SSIS packages. I need to add ScriptTask to package programatically and set its script code. There is no problem for adding package, but I don't know how to set its script code, programatically. Can anyone help me Thanks in advance, Borko The trick is to use ScriptTaskCodeProvider class, PutSourceCode method. Monicker argument is build from ScriptTask.VsaProjectName property. It is usefull to analyze valid package XML during this action. Regards, Borko ...Show All
Visual C# C# references to typelibs
Ignoring the fact that Visual Studio 2005 C# projects do not seem to be able to reference a typelib, I have another question about 2003 C# projects. When the typelib importer encounters an argument of type "INT_PTR" or "UINT_PTR" in a type library, the importer creates a type of "int". Why doesn't the import tool import the type as IntPtr Is there a way I can coerce the importer to do so I cannot test Visual Studio 2005 C# projects (see earlier posts) but I assume that 2005 will create the same signature. Thanks. I now see that Visual Studio 2005 does not add "/env win64" for my idl file when it ...Show All
Visual Studio Team System I do not have permission to view the sharepoint webpage
Hello! I've just installed Windows Sharepoint Services and when trying to got to http://localhost/ I get this: ------ You are not authorized to view this page You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept. ----------- I am logged in to the Administrator of the domain, what is it that I have to do and how do I do it =) Thanks in advance! See this post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2127 ...Show All
Visual Studio Team System ADAM & AMD 64
Is there a AMD 64 version of the ADAM tool I need it to be able to install the Team server. Had some issues when installing teamserver on x64 windows but found solution for most of it. Now only problem i have is the ADAM tool. I can't install the team server without it and can't install the tool. If i use 32bit version of the tool, it says i need the IA64 version ... So when installing IA64 version it says it has been build for other type of processor and fails to install. Running Windows 2003 server x64 on AMD 64 processor. k, On the ms newsgroups they told me to use windows server R2 x64 to get a AMD64 com ...Show All
Windows Forms Menu on left, multiple windows on right
Can I implement a "menu" using a form with a treeview/list on the left and anchor it permanently to the right side of the form, and have multiple windows open in the remaining space I'd like it so that if the user maximized one of the right-hand windows it does not cover the left side, similar to using a panel and splitter. For example: ...Show All
Visual C# app.TaskVisible = false
How is this done with my main form with C# app.TaskVisible = false The D wrote: If what you are trying to do is make your main form not show up in task bar... About half way into this article is some info: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncscol/html/csharp06102002.asp --- Excerpt { --- That now means that I can make the main form disappear. The first two steps to do this are easy. You set the ShowInTaskbar property to false and the WindowState to minimized, and the window vanishes. That's not the whole story, however, as you can still get to the window using the ALT+TAB key combination. ...Show All
Visual Studio Team System Suppressing warning for entire ASP.NET project
Hello: I am trying to set up the development environmont our team will use. There are several code analysis warnings we wish to suppress for the entire project without applying the attribute everywhere in the code. For a class library project you can set the suppressions in the project file for the class library. Since this is shared with all developers the suppressions are consistent. Since a web site project doesn't have a project file there doesn't appear to be a place to specify suppressions that will be shared with all developers on the team. I know I COULD got to each machine and go to the Website | Code Analysis Configuration menu ite ...Show All
SQL Server sql mobile question
Hi friends, sorry for interposting but my question was left unanswered in another group. here's the question: The execution of follwing query against sql mobile DB goes fine in SQL Server Management Studio SELECT c.contactID FROM contacts c LEFT OUTER JOIN contactNotes cn ON cn.contactID = c.contactID but when I'm trying to execute it in Visual Studion, it transforms the query into: SELECT c.contactID FROM { oj contacts c LEFT OUTER JOIN contactNotes cn ON cn.contactID = c.contactID } and gives the following error message: SQL Execution Error. Error source: SQL Server Mobile Edition ADO.NET Data Provider Error Message: Ther ...Show All
SQL Server Can we automate and schedule Analysis Services Databases Back up and Restore Actions?
Hi, all here, Would please anyone here give me any advice about wether or not we can automate and schedule the Analysis Services databases backup and restore actions Thanks a lot in advance for any guidance and help for that. With best regards, You just have to create a XMLA backup command, somethink like this: <Backup xmlns=" http://schemas.microsoft.com/analysisservices/2003/engine "> <Object> <DatabaseID>MyDBId</DatabaseID> </Object> <File>c:\MyDB.abf</File> <AllowOverwrite>true</AllowOverwrite> </Backup> Then create a new SQL Server A ...Show All
Windows Forms A problem with databinding
As I know, in the .NET Framework 1.1, if I bind a string property of a type to the Text property of a TextBox and when I change the Text of the TextBox in code, the string property doesn't get updated. Only if the Text is changed by UI action, for example, input some text into the TextBox , the string property will get updated. What I would like to know is in the .NET Framework 2.0, if I use BindingSource, Do I have the function of updating source automatically if I change the text of a TextBox in code. Thanks, Chester ...Show All
Visual Studio Team System VSTS Version Control and Phantom Items
Has anyone else seen this happen A few of my fellow developers have run into what I've called "Phantom Items" in the VSTS Version Control System. Basically, what I mean by this is items that appear in the pending check-ins dialog but that are [no longer] part of the VS solution. When they appear, there seems to be no way to get rid of them short of directly going to the VSTS Version Control window and manually manipulating the repository files (VS won't let you) and even then sometimes they remain until we actually delete the workspace and recreate it. Not very comfortable. I'm not exactly sure how these appear, but I'm starting to beli ...Show All
Visual Studio Team System TF2006: Could not connection to the Team Foundation Server.
After i installed the team foundation server, i can access to work items in team explorer by Administrator account. However, i could not create any other accounts to access work items. When i double click to queue thw work items, it will display the following message. "TF2006: Could not connection to the Team Foundation Server. Check that you have a network connection and that your team foundation server is avaliable." Can anyone tell me what's the matter and how to solve it I think it is the permission problems. Since if i grant local administrator account to new account, it can queue work items. Thanks ...Show All
.NET Development Dynamically create a proxy or call a web service from a WSDL.
Hi, How can I dynamically create a proxy or call a web service from a WSDL. I need to call a variable number of web services which all implement a known method. I can call the services by creating one proxy and changing the URL property. This fails though because the parameters to WebServiceBindingAttribute and SoapRpcMethodAttribute are not correct. Is it possible to change these attributes at runtime Is there another way Thanks I am trying to reinstatiate an object of a type defined in the webservice. How do I serialize the data back into a struct. How do I define and include data types defined in the webs ...Show All
