Vasanthsr's Q&A profile
.NET Development Couple of soap errors on invoking a webmethod in ASPNet web services
Hi there!! I am consuming an ASP.Net webservice from a simple .Net application by adding a web reference. However when I invoke the web method, we see a couple of soap error entries in the application event log with the result that the http request is not successfully completed. We even tried to invoke the web method directly from the asmx page in IE providing in the required parameters. We still get the same errors. Please note this problem ...Show All
Software Development for Windows Vista warning C4312
Hi, i am getting warning C4312 for following line: pFrame=(PDWORD)pContext->Ebp; where pFrame is declared as follows: PDWORD pFrame; and pContext as: PCONTEXT pContext; i am building 32-bit binaries with /WP64 flag on. i read msdn page for warning C4312. it suggests changing datatype but how cam i change types for DWORD and PDWORD i guess they are from system. Thanks, Chanakya It is more a problem ...Show All
Visual Studio Team System How can I force a rebuild?
I'm wondering if there is some setting to force Visual Studio to rebuild before re-running a test, and then to use the latest built DLL. If I'm working on a small problem that is exposed by a failing test, I make a small code change and then right click my test in Test View and select Run. This used to (in Beta 2) cause a (re)build and the test would run the latest built DLL. As it is, I have to manually press Ctrl+Shift+B to build my project ...Show All
SQL Server SQL Server 2005 - Generate DB Script...
In SQL Server 2000 we were able to set the scripting formats like adding the script to drop the object if exists and then re-create the object. Could anyone tell me how would I do that in SQL Server 2005, please The options I am talking about are like shown below: if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Category Sales for 1997]') and OBJECTPROPERTY(id, N'IsView') = 1) drop view [dbo].[Category Sales for 1997] ...Show All
SQL Server A problem with SQLColumns call
Hello, let us consider the following problem with SQLColumns call. Fist of all here goes a small quote from MSDN on SQLColumns input string parameters: CatalogName [Input] Catalog name. If a driver supports catalogs for some tables but not for others, such as when the driver retrieves data from different DBMSs, an empty string ("") denotes those tables that do not have catalogs. I read it as I can call SQLColumns the followin ...Show All
Visual C# .Net 2.0 Winform takes time to load controls
Hi All, I have developed a winform application in .Net 2.0 using C#. My page has few labels and 3 images of 10k each. It takes about 1 second to display the contents after load and hence ahows a flikering effect. I tried with some buffer techniques but was not able to get a solution. Kindly let me know how to improve the performance. Regards Anurag Banka Yes I have already tried WaitOnL ...Show All
Windows Forms expanding datagrid to fit to its column text
how do we expanding datagrid to fit to its column text the datagrid seems awkward when it does not display the full text in the column. please reply asap ...Show All
Visual Basic How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005) After using method "navigate", in my webbrowser control I have HTML page from some website. This HTML page has some input button with events or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question ...Show All
Visual C# Opening a file / stream.
Hi folks, i've got a file in a System.IO.Stream object. kewl. i have a button on my windows form which, when the user clicks it, the file will open with the appropriate default program. I'm not sure how to 'kick in/execute the file'. examples: 1) If the filestream object is an mp3 (ie. extension is .mp3), the default program for .mp3's will kick in 2) if the extension is .txt, notepade or wordpad (whatever is setup as defaults) will ...Show All
SQL Server Unable to create SQL Server Mobile Subscription
I have been following Creating a Mobile Application with SQL Server Mobile: http://msdn2.microsoft.com/en-us/library/ms171908.aspx I have successfully created the snapshot. When performing the following: Configure the publication for Web synchronization In SQL Server Management Studio, in Object Explorer, expand the (local) computer node. Right-click the Replication folder, and then choose Configure Web Sync ...Show All
Software Development for Windows Vista Good Job
Windows Workflow Team: I have used a lot of integration products in the past by Microsoft. I know some of you even worked on them. What I will say is you guys have it the nail on the head with this one. I just wanted to congradulate everyone on building in my opinion one of Microsoft's best SDK's. This beta product is bettern than most of the production stuff I have seen come out. Cheers, Mardo I completly agree , i th ...Show All
Visual Studio Tools for Office VSTO Question: Looking for WORD Action Pane example that lists and select contacts from Outlook
Would really appreciate any help or guidence. I want to have an Action Pane in Word that somehow allows the user to select a contact from the Outlook contacts and insert that information in different parts of the document. Are there any examples of integrating contatcs and using the action pane Thanks for any help, VA Actually, you do not need an 'actions pane' example because what you want to do can be done in a variety im ...Show All
Windows Forms BackgroundWorker and exceptions
Hi together, I am using the BackgroundWorker component to do some long time processing work in the background of my form. Do when the DoWork event is finished it calls my RunWorkerCompleted event - Everything seems fine. When the working thread throws an exception I can get the exception in the RunWorkerCompletedEventArgs of the RunWorkerCompleted event. But afterwards I still get the "Unhandled exception has occured in your application ... ...Show All
Visual Basic Click-Once is not so simple...
ok, here's the problem: i'm using VB.NET 2005 beta 2 all working nicely. i've made an app, debugged it and it runs all nice from the normal exe. but when i went to publish it, it seemed to work all fine until the installation page opened. i try to launch it but it says the "application is improperly formatted". clearly it isn't because i have run the bin exe many times. now, not only does the publishing not work, but when i go back to run t ...Show All
Visual C# How to access a web service?
I want to access the information that resides on a diffrent web service. In what method can i get the web service and acces the information that display on the page Need help here.....thank you... You need to right click on the project and choose 'add web reference'. You can then browse to the web service and add a reference, you'll end up with a class you can create instances of and it's methods will refle ...Show All
