swirl80's Q&A profile
Visual Studio 2008 (Pre-release) How do I utilize standard gzip compression for web services in WCF?
Hi, I would like to compress the messages sent over a WSHttpBinding to get a better usage of low bandwidth. I'm primarily interested in compressing the response from the server and was thinking about utilizing the standard compression module for IIS 6.0. But this requires that the request has the "Accept-encoding: gzip" in the HTTP header and of course that WCF can decompress the response automatically, which doesn't seems to be standard functionality today. Is there any way to get this kind of functionality with WCF Are there any plans to make this decompression functionality standard in WCF (It is implemented in .NET 2.0 Web Servi ...Show All
Visual Studio Release of a DSL for the Gamma et al. Design Patterns
Hi folks, I have written a DSL for the Gang of Four design patterns. If any of you are interested in taking it for a spin, you can get the source and doc from: http://www.clipcode.biz/workshops/dsl.html Enjoy, Eamon O'Tuathail Clipcode Knowledge Services mailto:eamon.otuathail@clipcode.biz http://www.clipcode.biz Hi Eamon, This is a great piece of work. I had some issues with the Designer project, buut soon found out that it can be fixed very easily. I am sure you fixed it for March CTP, but I installed the latest April CTP. But, the solution to the problem is easy, as stated in the ...Show All
Microsoft ISV Community Center Forums unable to register comsvcs.dll
Hello, I have a VB application that has been evolving for several years. I have installed and used it on work stations running win95,98,NT,2000 and XP. The developement computer has evolved from a win95 to win2000 machine. Recently, I have begun to experience "an error occured while registering the file ... comsvcs.dll" when installing it on a win98 work station. winxp installs fine. I have always installed dcom98 and mdac prior to the vb setup. I also used the command regsvr32 to attempt to register the dll and received the message "LoadLibrary ("comsvcs.dll") failed. GetLastError returns 0x00000485" I have tri ...Show All
SQL Server Print is not allowed in UDF
I want to put some trace in the a UDF, so I put print in the function. IT gave error. Can anyone please explain why this happen. But this work with SPs. Cheers Shimit Hi, this is just simply one of the limitations UDFs take, like not being able to execute something via EXEC or executing a SP in common, or using GETDATE() in functions... HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) Calling a web service from Xaml document
Hi I want to call a web service from xaml document. Do you have any information about how I can do Do you know any document that can help me is there any example related to this Thank you You mean in pure XAML There's no way to do it in pure XAML, you need some code behind. HTH, Drew ...Show All
Windows Forms how to bind when the number of parameters will vary
I have a contact management app with a checkedlistbox. I want the user to be able to check from one to however many items are on the list to produce a dataset where the contacts match any of the checked items. I know how to code the program and my sproc when the number of parameters is known, however I don't know how to do it& ...Show All
SQL Server Bulk Insert XML with IDENTITY Column
Hi ... I have a program that will insert xml data into a table. When I add an IDENTITY column to the table then I get the following error: ... [Cannot insert the value NULL into column 'RecordId', table 'Alphanumericdata.dbo.MacgowanTestCust'; column does not allow nulls. INSERT fails.] Reading another article here I have added the KeepIdentity(true) to my pISQLXMLBulkLoad object. Below is the table, xml, xsd and code ... Any comments are appreciated. Thanks, Chris /////////////////////////////////////////////////// // The code char progID[] = "SQLXMLBulkLoad.SQLXMLBulkload.3.0"; CLSID clsid; wchar_t wi ...Show All
Windows Forms Call function on Parent form
I have an application in C# where I make changes to a database in a child form. When I close the form I want a function to be called on the parent form to refresh the view it has of the database. However, I can't figure out a way to reference the parent form without getting an "Object reference not set to an instance&nbs ...Show All
Visual FoxPro Database security
Sorry, my english less good . I'm making a program by using Visual FoxPro computer "A". All database, tables, form, menu and report stored in that computer. Which I wish to ask: 1. If someone using computer "B", do he/she can make program with source exist in computer "A” 2. If there are some computer which join by workgroup or domain, then each the computer have front-end and database is store in computer "A", how to be every the computer can only open data pass provided front-end, and cannot open table or delete file though use Visual FoxPro i ...Show All
Visual Studio How to get list of files under all bin\Debug folders?
I've been playing with ItemGroup's Include attribute for a while but still haven't figured how to do it. Basically, all I need is to run NUnit for all nunit assemblies that reside under bin\Debug folder (luckily enough, all our unit tests have "unittest.dll" suffix). Something like the following should do it. (You have to use CreateItem instead of ordinary ItemGroup because ItemGroups are evaluated before any targets are executed, and therefore the dll:s you are building will be missing) <CreateItem Include="$(TargetDir)*unittest.dll"> <Output TaskParameter="Include" ...Show All
Visual Basic How to fill Specific data in Dataset ??
Dear Team shortly ... putting a where condition in the sqladapter raise error or not works " there is a uniqe or not allow null ......" any idea Thanks for replying i will give you an ex: if a form include 2 tables parent and child....like Orders , OrdersDeatils if the word fill written in the dataset it will gets"select" the whole data even for more than 2 or 3 years and this is a lot for ex: select orderno,oerderdate,ordersname,ordersEndDate where orderEndDat ...Show All
Visual Studio Team System Error while generating 'Bug rates' report
Hi there, I'm getting the below error while generating 'Bug Rates' report for my Team projects. Any idea anyone Thanks, Anu An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'AreaPathPath1'. (rsErrorExecutingCommand) Incorrect syntax near 'Measures'. Incorrect syntax near 'WorkItemType'. Hi there, I am still waiting to get help for this error, We are going to have our server installed for VSTS client to use team wide, but before that it would really great if we could make reports work. Thanks, Anu ...Show All
Windows Forms Problems with scrollBars and paint
Hi, Im pretty new at C# and im working on a small project of creating a simple application to draw graphs from data in textfiles. To understand my problems perhaps a short explanation of the design is in order: I have manage to put together the basic functions. The files in a "data" directory is shown in a listbox. When 1 or more items& ...Show All
Visual Basic How can I access the audio equalizer level information?
Anyone know of a way to access the levels for pitches of whatever if playing out of the speakers Every audio program seems to have those little bars bouncing up and down in realtime so it can't be too hard, right I actually need them in number form because I'm writing a program that uses basic pitch levels to identify non-dynamic sound files when they're played (don't ask, it's a long story but it will work, lol) I'm sorry, but I believe before anyone can assist you, you're going to need to supply a lot more specific information, such as what class or XP you are talking. Are you speaking of an equal ...Show All
Visual Studio Team System Problem with beta TFS MSSCCI Provider
Installation went fine and I can choose the TFS MSSCCI Provider in SSMS, but when I choose File>Source Control>Launch Team Foundation MSSCCI I get the following error: "Administer Source Control: Operation Not Supported" We have the beta 3 Refresh Somebody made it work with SSMS Hi Lakusha: Our intial Beta version of the TFS MSSCCI Provider does not support SSMS. We are currently working on the support for VS2003 and then we will look at supporting other IDE's like SSMS in the near future as well. If you have see any issues or have further questions please let us know. ...Show All
