P. Zweiacker's Q&A profile
.NET Development SOAPHeader problem in excel webservice client
Hi I am trying pass user credential through header in webservice.I'm invoking the java webservice from MSExcel client I am using IHeaderHandler in excel client to write header to soap message but while invoking webservice I'm getting Client:Unspecfied error ,I'm using webservice toolkit 2003 version.Below is extract of my wsdl < xs:complexType name = "UserCredentials" > < xs:annotation > < xs:documentation > Credential data for the user authentication. </ xs:documentation > </ xs:annotation > < xs:all > < xs:element maxOccurs = "1" minOccurs = &q ...Show All
SQL Server use of stored procedure in DTS
Hi, I try to start a stored procedure with arguments. the arguments came from a select statement. but i get the error: Incorrect syntax near the keyword 'and'. Must declare the variable @Email I tried lot of thing but nothing works. anyone an idea this is the code (in a dts Execute SQL Task) EXEC InsertKamerAanbieder ( SELECT email_adres, [password], straat, huisnummer, postcode, plaats, tel_nummer, status, bron, inschrijf_datum, htmlmail, voornaam, achternaam, fax_nummer from tempusers where ( email_adres not in (select ...Show All
Visual Studio Team System Extracting Cookies from header
Hi, I would like to know how to extract the cookies in from One WebRequest and pass it to the same webRequest if this.context.IsUserNew is false for another run of the same webTest during load run. Thanks. Prash I don't see anything obviously wrong, but what's special about this cookie Session cookies should be automatically carried over between requests within a web test. Josh ...Show All
.NET Development asynchronous method throwin exception c#
Hi i nead to call webservices method asynchronous and for some reasen if webservice hawe problem throws exeption, and if he throws exeption in chatch block i wont to read from local file i hawe this code.... public void GetShenimetOnline()//hear i call the method { WS.GetALLKodetTarikCompressAsync( AppConfig .Instance.Language); WS.GetALLKodetTarikCompressCompleted += this .GetALLKodetTarikCompress_Completed; } private void GetALLKodetTarikCompress_Completed( object sender, AVUKWEB. GetALLKodetTarikCompressCompletedEventArgs e)//hear is when is comlet { try { AppConfig .Instance.KodetTarike = ...Show All
Visual Studio Team System VsipHelper.GetTfsServer()
The VsipHelper class was public in Beta 3, now it is internal. Code I wrote depended upon this type to get the currently-active server in the IDE via the GetTfsServer method. What is the best way to handle this in the RC You will need to get a TeamFoundationServerExt object. You do this by asking the DTE for it. So with a DTE object you would do something like this: ... using Microsoft.TeamFoundation.Client; // you will need to reference these two assemblies using Microsoft.VisualStudio.TeamFoundation; // <--- this one will be in the VS PrivateAssemblies directory ... TeamFoundationServer GetT ...Show All
Visual Studio moving files
Hi developers, How can I move files from one location to next thank you Check out the Move task at Tigris.org http://msbuildtasks.tigris.org/ -Steve ...Show All
Software Development for Windows Vista Package Load Failure
Hi, I have the VS.Net 2005 Beta 2 August 2005 CTP installed. I then downloaded and installed the WWF Beta 1. Now whenever I open the VS IDE, I get the following msgbox: Package Load Failure Package 'Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has failed to load properly (GUID = {FD526733-BD72-4F81-BEEC-BEB06E2AF59F}). Please contact package vendor for assistance. Application restart is recommended .... I have tried the suggestions in an earlier post of the same nature. Both suggestions do not work for me. Please help. Dev. ...Show All
Visual Basic Getting Data into msChart
I was wondering if anyone can help with this I am trying to display a scatter graph using Mschart to show Date of test and result. With date as the X axis and the Test result as the Y. I have place the mschart object onto the form but i am finsing it hard to populate it with data. I have tried extracting the data from the database and placing it into an array which is then passed to the chart object but i am unable to diaplay the graph. Any help would be appreciated with regards getting data from the database into the graph. Thanks for your assistance Ade ...Show All
.NET Development How-to establish an efficient cache strategy for DataTable(s)
hi, i would like to know if there's any efficient method to cache frequently used tables here is my problem, i do cascade filters with different tables, each time, i re-do a DISTINCT filter for childs, (takes some time) here is an example of possible orders : bpm,key,genre bpm,genre,key genre;bpm;key genre;key;bpm key;genre;bpm key;bpm;genre artist,title,comment artist,comment,title title,comment,artist title,artist,comment comment,artist,title comment,title,artist etc etc etc ..................... my concern is : - is it smarter to cache EVERY or frequently used table - or simply do the job on the ...Show All
Visual Studio Express Editions How to publish a project ?
Hello, I installed the iso version of Visual C++ Express, started my project. Now i would like to publish my project ( On a CD-R for example ) , but when i look in the help it's written to Rigth click on the Project Name | Properties and a "publish" tab should appear. When I do that, i have no "publish" tab ... Thank you in advance for your help. PS: Excuse me for my approximative English ( I'm a french guy ). For publishing, try the .net programming forums. As for deploying your application in general and why it is not working on other machines that don't have VS in ...Show All
Windows Forms Combobox Mouse Disappears
Hi, i am inheriting from a combobox to make a component that when a key is enterred go fetch from a db the list of items that start with the 1st letter entered and displays it in the dropeed down list, and every time a new letter is entered the list is filtered (DataRowFilter). My problem is: -the 1st time a letter is entered if the user doesn't move the mouse simultaneously, the mouse cursor disappears, and doesn't reappears unless escape is pressed twice... PLS HELP Now this is a strange one. First of all check this: 1. Choose Start -> Control Panel -> Mouse 2. On Mouse Properities dialog, select Pointer Options tab 3. Ch ...Show All
Windows Forms Limiting borders on MDI Forms
Hello! I have a MDI Parent Form with a Menu Strip. When I activate the child form, I can move it beyond the border of the parent form (creating a scroll on it). I can also move the child's form header to the back of the parent’s form menu strip. Is there any way to limit the area where the user can move the child form inside the parent form In my case the child shouldnt exceed the border of the parent form or be moved to the back of the menu strip. Thanks! Ok, thanks. I thought there was a property to disallow this movement (outside of the border). ...Show All
Visual C++ C++/CLI, Strings and switch()
Under C# it is possible to feed strings to the switch() statement and its cases, this doesn't seem to work in C++/CLI. Is there a way to make it work, which I don't know about, or don't I get around chaining if-statements Thanks. Don't need the /CLI part, even with unmanaged code you could do something like std::map< std: tring, boost::function<void()> > strswitch; strswitch["Foo"] = &foo; strswitch["Bar"] = bind(MyBarObj, &CMyBar: oit ); ... strswitch[ GetArg( ) ] ( ); If you want to get really fancy, you can wrap this in a class so you won't need the trailing ( ) i ...Show All
SQL Server Running a package in C#
Hello all. I am trying to run a package in C# and have come accross the help file of how to do it in Visual Basic ('Running an Existing Package using Visual Basic'). However, I cannot find a reference to anything relating to DTS in my reference dialog. In the help file it says to add a reference to Micorsoft.SQLServer.ManagedDTS.DLL, however, I cannot find this reference anywhere. Am I missing something Thanks, Mike Tazzmann wrote: ...is there a way to install just the Business Intelligence without installing SQL Server ... Yes and I have it that way. While installing you have to select only the option to instal ...Show All
Visual Basic Get List of process that currently run and allocated memory to them
can any one help me making a list of currently running processs on the system and the allocated memory and system resources to them plus the ability to kill those I don't desire I've started like this but I've confused how to continue For Each Pr As Process In Process.GetProcesses ListBox1.Items.Add(Pr.ProcessName) Next Thanks for any help Check out the various properties and methods of the Process class. Pr.TotalProcessorTime and Pr.Kill() should be useful to you. ...Show All
