DanDead's Q&A profile
Visual Studio 2008 (Pre-release) Feb CTP, XAML error in new project
I just installed the February CTP of WinFX and Windows SDK. The optional of the Visual Studio "Orcas" CTP. Try to create a new WindowApplication with XAML and visual studio 2005 RTM keep saying the type 'Application', 'Application Resources', 'Grid' cound not be found Does anyone know what's this issue about. Hi, Me too got the same error. When i deleted the Application,Application.Resources and Grid tags and gave the same again. It worked fine. Can anyone tell why is it so ...Show All
SQL Server Constraint and Linked Server query problem
Hi, I've got a problem querying a remote table via linked server (SQL Server 2000 SP4). If I do select * from <linked server>.<database name>.<db owner>.<Table1> it returns all data, as expected. However, if I do: select * from <linked server>.<database name>.<db owner>.<table name> where ColumnID = 51588 it doesn't return a row, even though it exists in the remote table. A likely reason for this could be the fact that the column ColumnID has a constraint on it: ALTER TABLE [dbo].[Table1] ADD CONSTRAINT [repl_identity_range_sub] CHECK NOT FOR REPLICATION ([ColumnID] > 90000 and [Colu ...Show All
Windows Forms Subcribing to a parent event from a child....form / usercontrol...
RE: Windows Forms / User Controls and VB.NET From within a user control, how can i recieve notification when the control's parent form is closing. I want the notification before anything is disposed so that i can save control states to the registry, namely, the user's last known listview column widths. I'm thinking of subcribing to the parent form's closing even ...Show All
Visual Studio Express Editions How to include winsock2.h?
Hi, Sorry for a stupid question but if anyone can give me some insight i shall be grateful. After making a new project using windows console template, the line #include <winsock2.h> is added to stdafx.h (as instructed by the auto generated comments, i do not have enough knowledge of why), the compile ends disastrously with 274 errors(!) And I did not yet add any code i needed... I think i have followed the VC++ express install instruction: VC++ itself and the platform sdk and some of the manual file update as on the msdn site. Most of the errors are like these: c:\program files\microsoft visual studio 8\vc\incl ...Show All
Visual C++ VS 2005 cl "failed to initialize" in cygwin environment
Hi, We are putting together a build script that has to be run from a cygwin environment. When the make file has to invoke CL (c++ compiler) it responds with "The application failed to initialize properly (0xc0150004)". For VS 2005 en the invoking script exports the following definitions: export DevEnvDir="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE" export FrameworkDir="C:\WINNT\Microsoft.NET\Framework" export FrameworkDir_UNIX="/cygdrive/C/Windows/Microsoft.NET/Framework" export FrameworkSDKDir="C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0" export FrameworkSDKDir_U ...Show All
Software Development for Windows Vista broken link "Installation Instructions" INSIDE SDK Readme
I am not sure where to report this but the link "Installation Instructions" in Microsoft R Windows R SDK Readme for the February 2006 CTP http://download.microsoft.com/download/8/1/c/81c912c1-893b-4603-8c40-bf128444a932/WindowsSDK_Readme_FebCTP.htm is broken Guennadi Vanine Ahhh, yes that is pointing to an internal Microsoft site. The good news is that the information is still on that page, just scroll down to chapter 5. Thanks for the find and the post. We'll be fixing shortly. Steve ...Show All
Visual C++ Using SSE3 inline with VC++2003
Dear All, Is there any way to allow the inline assembler in VC++2003 to support SSE3 instructions There is a file of macros/opcodes available on the Intel website for SSE3, but it is for MASM rather than the VC inline assembler. Thanks in advance, David Considering that SSE3 came after VS2003, I doubt you'll find the mnemonic in the compiler. In case it helps, you can inject bytes directly into the codestream with __asm. (So if you know the bytecode for the SSE3 instructions you can add them this way.) e.g. __asm { int 0x10 int 0x20 int 0x33 int 0x66 } injects the fou ...Show All
SQL Server Trigger Context Connection is Already in use by Other Session.
Hi, I have Created CLR Trigger(SQL Server Project) Project. In that project i have used the Following Code. SqlConnection con = new SqlConnection ("context connection = true"); con.Open(); // Some Proceesing based on the row Inserted. con.Close(); After Closing the Connection I want to open a New SqlConnection for other Database like below. string conStr = "Server=192.168.1.25;Database=" + DatabaseName + ";User Id=" + UserId + ";Password=" + Password; SqlConnection con = new SqlConnection (conStr); con.Open(); When i try to do this its giveing the following error: Error:- Trigger Context Connection is Already in ...Show All
Visual C# A problem about binary file source safe versioning
Does anyone of you ever try to check in your binary files for versioning We have this habit since the day when we work on VB projects. Since COM versioning is very important, we have very clear habit to keep different versions of the DLLs. Now in .net, with VS.NET 2003, we realize there is a very strange behaviour which prevents binary files checking from working properly. Lets say, we have 3 projects: ClassLibrary1, ClassLibrary2, WindowsApplication1 -->: reference ClassLibrary2 --> ClassLibrary1 WindowsApplication1 --> ClassLibrary1, ClassLibrary2 When I have checked out all WindowsApplication1 binary files, while leaving ClassLib ...Show All
Visual Studio Team System Trouble getting Team Explorer in VS 2005 RC1 installation.
I have installed TFS Beta 3. When I installed VS2005 RC1 on the server machine, it has Team Explorer. But when I did what I actually wanted to do, which was install RC1 on a different machine, it lacks the Team Explorer, connect to team foundation server menu item, etc. Based on older posts on this forum, I installed the Team Foundation Client from the TFS Beta 3 bits to see if this "plugged in" the missing items. The install said it was successful, but I still see no signs of Team features in my Visual Studio. Thanks in advance for any help, John Rhoads Does anyone know if there is an alternative ...Show All
Visual Studio Tools for Office VSTO and ReportViewer
Hello, I open a form with a report viewer from a VSTO project. In the local report I have an expression like =Today().ToShortDateString() When I open the form, an error occurs with the message Failed to load expression host assembly I saw an old thread with this problem : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=88997&SiteID=1 But no solution was clearly exposed. I changed the permission of my project to FullTrust but the problem is still the same. Does anyone exprienced the same problem And resolved it Thanks Could you post more details on your problem ...Show All
Windows Forms TaskVision in your pocket
The PocketPC version of TaskVision has been released. Check it out at: <a href="http://windowsforms.net/taskvision">http://windowsforms.net/taskvision</a>. -mike ...Show All
Visual Basic Arranging Pictures On Win Forms a la Win Desktop
All, I'm trying to create an app that uses a form like the Win desktop where you can arrange icons. Instead of icons I'll be using picture box controls. I understand how to use the drag and drop events, but can't figure out how to drop the picture box and make it stay exactly where it's dropped on the form. Do I need to use a different container control than the form itself I'll also need to figure out how to auto-arrange the picture boxes if they're dragged on top of or too close to existing picture boxes. All suggestions would be appreciated. Thanks in advance! You'll have trouble doing that because ...Show All
Visual Studio Does C# express support SCC API
1. I would like to use source control with c# express, suggest me some options. 2. Does C# express support SCC API Regards Aslam Hi Chris, Yes, the Standard, Professional and Enterprise products fully supports MSSCCI (Microsoft Source Code Control Interface) interface. A source control provider implementing MSSCCI use the UI (checkin, checkout, change source control dialogs, etc) provided by VisualStudio (same as in previous VS versions). SourceSafe is an example of such provider. In addition to MSSCCI, these VS versions will support a new interface (VSIP SCC), that will allow a source control provider deep integra ...Show All
SQL Server SSRS 2005 & Sharepoint portal
how to integrate reporting services 2005 with Sharepoint portal There are new Sharepoint Portal Server Webparts which can be used to display reports sources on a reporting services 2005 instance: http://www.microsoft.com/technet/prodtechnol/sql/2005/2005ssrs.mspx HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
