Raffaele Rialdi's Q&A profile
.NET Development how to zip an Xml Document
Dear All, I found a library (name Chilkat ) through which i can easily zip(compress) xml file, but it has only 30 days evolution period, could any one please show me way how to compress xml. thanks You can use SharpZipLib to compress anything and it's free: http://www.icsharpcode.net/OpenSource/SharpZipLib/ ...Show All
Visual Studio Team System Build fails as the DLLs are in separate directory.
Hi, I am trying to do a team build but it fails while local build happens successfully. Teh reason is perhaps because in the build I am trying to copy the files(DLLs) in a separate directory so in team build, it gives error that error while copying ABC.DLL to the location, access is denied. My directory where DLLs are stored is also added in Source control. How can I tackle such a situation in TFS. Thanks, Ekta Ekta, I'm not sure I fully understand what you're saying but if you're stating that the Team Build process can't copy the DLLs to a specific folder (or set of folders) then you should give the user account that Team Build runs under permissions to the destination folder(s). Y ...Show All
SQL Server Stored procedure calling a webservice to clear the Cache
Hi All, I am in a typical situation where my stored procedure must, at the end of its execution, call a webservice to purge the cache. Is it possible If so, can any give me some help in achieving the same To give you all a more clearer picture, we have a dotnet application which calls a stored procedure. After that, the same application calls a webservice to purge its cache. In case, after calling the stored procedure, before its ends, if some one closes the application, there is no way we can purge the said cache. If it is not, it is going create problems to us. Hence, my question above. An early response will be highly appreciated. Thanks Sekhar PC I'm not sure I am fully understa ...Show All
SQL Server SQL Agent Performance Condition Alerts not available
I am running SS2005 SP1 Developer Edition on Windows 2000 Professional SP4 connected to a corporate network (using group policy). In SSMS, under SQL Server Agent, trying to define a Performace Condition Alert is not functioning. There are no entries in the drop-down lists for any performance objects or attributes. Attempting to enter the object and attribute names (copied exactly from Performance Monitor) always creates an error, stating the object doesn't exist. It seems as though there is no connection between SQL Agent and the performance counters. Any suggestions Thanks in advance, Richard ...Show All
Visual Studio Tools for Office How to copy the sheet on excel development environment?
I have some problem when I use VSTO development Excel program. for example,I want to copy a sheet to current workbook that i use the follow syntax, but the VSTO create a new excel workbook. Globals.ThisWorkbook.Sheets.Copy([before as object],[after as object]) Why Pls tell me the usage about the "before" and "after" Hello, The before and after parameters are the Microsoft.Office.Interop.Excel.Worksheet objects that you want to copy the current worksheet before (that is, to the left in the worksheet tabs) or after (that is, to the right in the worksheet tabs). If you do not specify either parameter, then the method copies the sheet to a new workbook. Following is the ...Show All
Visual Studio 2008 (Pre-release) Applying different DataTemplate to the selected ListBox item
Hi. I want to apply a different DataTemplate to the selected item in a ListBox. Is there a way to achieve it in XAML, with no code Thanks. you can do something like this < ListBox Name = " list1 " > < ListBox.Resources > < Style TargetType = " {x:Type ListBoxItem} " > < Setter Property = " ContentTemplate " Value = " {StaticResource dt1} " /> < Style.Triggers > < Trigger Property = " IsSelected " Value = " True " > < Setter Property = " ContentTemplate " Value = " {StaticResource dt2} " /> </ Trigger > </ Style.Trigg ...Show All
Visual Studio Team System TF30040: The database is not correctly configured - After applying SP1
I'm using TFS Workgroup Edition, this box was built from the ground up with a virgin Win2k3 Standard installation when TFS went RTM, so it has never had any beta bits on it. Updated: SQL Server 2005 SP1 has been applied to this box. I installed the VS80-KB919156-X86.exe (Visual Studio Team Foundation Server Quiescence GDR) and then rebooted. I then installed TFS SP1 without errors. I rebooted again. I was able to get the latest source but when I go to add a new project or solution, I get the error: "Error TF30040: The database is not correctly configured." dialog. Using SQL 2k5 Profiler, I set a trace to see what was going on behind the scenes. I noticed this command towards the point where I get the error dialog : exec prc_UpdateLocalVer ...Show All
Software Development for Windows Vista Does anyone has installed VC6 and Server pack 5 under Vista beta 2?
As title, we want to debug some old version program under Vista beta2 #5384. It seems can not install VC6 and Server Pack 5 under this platform. Does any one has success to install it I have find the solution for it. Please refer the article (Re: Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384) ) http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=518043&SiteID=1 ...Show All
Visual Studio Tools for Office How to rectreive a display name from the Recipient object.
Hi, I am trying to retreive the the display name of an email address using the Microsoft.Office.Interop.Outlook.Recipient class For example the display name in the email address David Ghikas [david.ghikas@cybergrants.com] w ould be: David Ghikas. I have looked at the Recipient.Name property but it returns the emails address ( david.ghikas@cybergrants.com ). Any ideas Thanks in advance, Dave Hi Dave, given this isn't a VSTO specific question and more of a question on the Outlook OM, you'll have a better chance getting it answered in the following Outlook newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=U ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Project to Windows Project
I was wondering if there is a easy way to recompile an Xbox 360 project to a Windows project, because I can't always be connected to my xbox to test out what i'm working on since the xbox is shared by the family. So can I make a change to my program an recompile it for windows so I can see if my change worked and once i'm done making changes to the program I can then build it for the xbox and try it out. Thanks Yeah, the assembly reference issues are the trickiest/nastiest, but this definitely works (at least at build/deploy time). My little group of developers tends to work based on documentation anyway; intellisense is just a bonus. For a project with minimal reliance on external assemblies though, this ...Show All
.NET Development Cannot disable breaking into debugger on exeception
I am in VB.NET For some reason (not the config file), a particular project I open in Visual Studio will not run without breaking into the debugger when an exception occurs. I have tried looking under "Debug/Exceptions" and nothing is checked in there, and I've also gone through the "Options/Debugging" dialog. I have no g.d. idea why the code insists on breaking into the debugger... even when there's a Try/Catch specifically catching the exeception that was thrown. Any ideas ...Show All
SQL Server Invalid character in a report
Hi! Trying to generate a report (using WebForm ReportViewer, from dynamically created RDL report and SQL Server 2005 OLAP cube), if a database field contains control characters (code < 0x20), Reporting Services generate following message: ' ', hexadecimal value 0x02, is an invalid character. Line 1, position 2376. Is it possible to ignore that I don't care if browser shows an octopus, the report must work. Thanks, Andrei. Lev, I've just emailed RDL and other details to you. I could reproduce the problem using sample AdventureWorksDW and OLAP (standard edition). Create an OLAP table report, put e.g. Model Name in one of columns. The report works fine. Now change e.g. ModelName ...Show All
Visual Studio 2008 (Pre-release) Validation Rules and Converters - how to refer to a subclass
Can anyone help me with a quick question I'm creating a Custom TextBox control, by setting up a control template. I want to use Converters and Validation Rules. I have a couple set up and they work well - they're declared in the XAML in this form: <local:SentenceCaseConverter x:Key="SentenceCaseConverter"/> <Binding.ValidationRules> <local:RegexValidationRule Test="test"/> </Binding.ValidationRules> However in my .cs file I've had to set up "SentenceCaseConverter" and "RegexValidationRule" as classes sitting directly in the local: namespace I'm using. What I'd like to do is set them up as sub-classes of my main "CustomTextBox" class, so I can use dat ...Show All
Smart Device Development PDF
i have a pdf file with text and images i want to seprate text and image from my pdf file i m extracting text successfully but unable to extract image seprately i found on net and find only the code to make a pdf file to thumnails plz help me best regards naeem This forum is device development related. Since your question is not related to device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Visual Studio 2008 (Pre-release) ...text/plain; charset=UTF-8' of the response message does not match...Add text/plain to valid encoding?
Hi everyone, I do have the following question. I send a message with an wcf client to a web service implemented in Java. The standard reply, that everything is okay is HTTP/1.0 204 No Content Content-Length: 27 Content-Type: text/plain; charset=UTF-8 HTTP/1.0 204 No Content The client complains about this reply with the error message The content type text/plain; charset=UTF-8' of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder be sure that the IsContentTypeSupported method is properly implemented. Usually, the messages sent to the server are text/xml encoded. Is there a possibility to let the client accept this encoding, too It would be good, if this would ...Show All
