CKa's Q&A profile
Visual Studio FileProperties2 interface in VsSDK ProjectBase
Hi, I'm implementing my custom project type for VS and I use ProjectBase project from the latest version of VsSDK (C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Common\Source\CSharp\Project). Now when I create custom project the project items (files) does not have all available properties regular project has. For example, CopyToOutputDirectory. I start to looking for that property and found that this property belong FileProperties2 interface. So i didn't find that interface in Sdk example implementation as well as FileProperties. So questions are: Why Do I understand right tha ...Show All
Visual Studio 2008 (Pre-release) Path & Data
Hello, I just sow some XAML examples of dealing with Path's Data like: <Path Data="L 100, 200 ..."> I wonder if I can do the same by code The only Path's Data I can see is of Geometry type and it doesn't allow for XAML-like simplified syntax. Thanks. Yes you can. Assuming this Xaml declaration: < Path Name = " _path " Stroke = " Black " StrokeThickness = " 2 " Fill = " Lime " /> just add this line in your code: _path.SetValue ( Path . DataProperty , Geometry . Parse ( "M0,0L150,20L130,40L40,30z" )); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Image protection/encryption with DDS-files
Hello, I want to sell image-data in DDS-format for a 3D-viewer. Is there any possibility to get a copy-protection on the DDS-files I thought about encrypting the DDS-files and make the 3D-viewer unencrypt them on-the-fly. Would this be possible or are there licence limitations on DDS-format Or is there already a software-solution for my purpose Thank you very much in advance ! Best Regards, Piepens After you have encrypted and saved it with a new header it is not longer a DDS file. Use another file extension and anything will be fine. But I should wa ...Show All
Visual C# Culture ID 2155 (0x086B) is not a supported culture
I have a C# program compilation error that says: C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1306,9): error MSB3095: Invalid argument. Culture ID 2155 (0x086B) is not a supported culture. Done executing task "ResolveAssemblyReference" -- FAILED. I am using Visual .NET 2005. The o.s. is XP Professional Version 2002, SP1. Thanks to any help. This problem is caused by one or more incorrectly applied .NET Framework patches on your system. You should solve this by uninstalling and re-installing .NET Framework on you system. For additional details check: http://www.ope ...Show All
SQL Server SSL issue while uninstalling or installing RS
While uninstalling Reporting Services (Septembre CTP) I get the error message " SQL Server Setup failed to retrieve the SSL Certificate Name". Here a portion of the log. We get the same error on a second machine while installing the official release of SQL Server 2005 Developper Edition. Any suggestion ----------------------------------------- <Func Name='GetXMLAttributeValue'> Error to get a named attribute userName <EndFunc Name='GetXMLAttributeValue' Return='2' GetLastError='0'> MSI (s) (B4!00) [17:17:18:537]: PROPERTY CHANGE: Adding RSUSESSL property. Its value is '1'. Info: SS ...Show All
SQL Server impoert and export data
where is the import and export data function in sql server 2005 express i have a data in ms access which i want to import to sql server 2005 express.. thank you erd wrote: do you have to uninstall the existing sql server 2000 enterprise edition to install the sql server 2005 trial version does it have to be clean install Hi erd, you don't necessary have to. However to do an 'upgrade' you have to ensure that your system has the meet sql 2005's minimum requirement stated in the sql2005 details website as well as doing some preparation work before performing the upgrade. Its adviseable to foll ...Show All
SQL Server "Too low memory" and XML in cache
Hi, I've read that the parser can use 1/8th of the available memory for the xml-cache, but I've run into this limit much sooner than I'd expect. I'm not using "sp_xml_preparedocument", but rather operating on columns with XML as datatype. This means I don't have the handle to the document and can't use "sp_xml_removedocument" to free the memory. It's a simple application written in C#, so should it be sufficient to "reset" the sql-connection or how should I do it *I've tried to keep the post as simple as I could, but I might have simplified it too much * ...Show All
.NET Development Using TransactionScope to share transactions between Methods
Hi, Before we start: This is all taking place on a single database. And I really don't want the overhead of Distributed Transactions. If I want to have lots of separate data access routines that do work on the database. Sometimes I want these routines to take part in a larger transaction. Sometimes they will just be running in their own transaction. I looked at TransactionScope and I thought this would do the trick. I now realise I would need to pass an open connection object in to each routine. TransactionScope takes care of sharing my transaction but it doesn't help me with sharing connections. Becuase... If I have 2 connection ...Show All
Visual Studio Team System Team Explorer Source Control Branches have Red "X"
Hi, I am running a new deployment of TFS Beta3 Refresh in a single server installation. Occasionaly the source control branches in team explorer show at the top of the tree with a red X icon instead of the usual spot at the bottom of the tree. On the client side I am running the VS 2005 team suite trial on 64 bit XP. What are possible causes of the red X Dean ...Show All
SQL Server Report Generation Image
Is there any way to change the image "Report is being generated" to something else or at least change the location of it. I have a report that is very long and our users have to scroll down to see that. They think the report is frozen when in all reality it is still generating. It is postioning in the center of the page and I want it to position at the top. Try this out for handling the body onload event in order to toggle the visibility of a Report is being generated label. You can also create your own spiny image here and download it as a gif image to add to your project. http://www.ajaxl ...Show All
.NET Development Event is not bubbling up to the form when a user control is added dynamically
I have a form and two user controls. Based on the business logic in the form i am dynamically adding the user control. Both the user controls have a button. when a button is clicked i want this event to bubbled up to the form, so that i can handle the business logic in the main form. But the event is not getting bubbled up to main Form. Does this work if this works can some one plz provide me the code example. My last option is adding the user controls during design time itself. Thanks in advance. You have to wire the event to an event handler on your form. So after you create the button (assuming ...Show All
Visual Studio Error 0x80072EFD: Unable to connect to the server
I receiving an Error )x80072EFD when trying to access Source Safe with https. I try the source by placing the url in the IE broswer. The browser ask my for my username and password. I can access the asmx page thereafter. Could you let me know what the problem is Thanks Stephen Try re-registering Internet access for this server and the database in VSS Admin. Make sure you have ASP.NET 2.0 selected for SourceSafe Virtual folder in IIS properties. Were you able to get web service manifest when navigating to httpS://yourserver/sourcesafe/vssservice.asmx (You need to modify ...Show All
Visual Studio 2008 (Pre-release) Stopping all animations on an object.
I have a uielemtn with a rendertransform being animated. Is there any way to stop all animations on it programatically Either get a handle on the DispatchTimer or create it initially programatically and call Stop on it from your code when you want to stop the animation. ...Show All
SQL Server Email Functionality from SQl 2005
I am fairly new to MS SQL and an wondering if the following is possible; Step 1 - person fills out a form on our website and submits it to our SQL DB via a stored procedure Step 2 - the stored procedure inserts some of this information into a DB table and sends some of the information via the inbuild DBMail in an email. Firstly, is this possible Sencondly, is there a way of encrypting this email before it is sent "Firstly, is this possible " Sure, look in the BOl for sp_send_dbmail for more information. "Sencondly, is there a way of encrypting this email before it is sent " What do you mean by t ...Show All
Visual Studio Team System Coded Webtest - capturing failure, taking action
I have a coded Webtest that basically traverses my entire Content Management hierarchy, just looking for simple things like not going to error pages [thanks for the ValidateResponseUrl JoshC] and making sure all images load. When I view the results in the testing window when I run the test, I can see (1) if it failed my few validation rules, and (2) if any images are broken within the page. I think I'm missing something simple, because all I'd like to do, is when the current iteration of the WebTestRequest runs, I want to be able to see if it failed or not. If it fails, I want to do some action such as logging which images broke, just ...Show All
