Swapy's Q&A profile
.NET Development problem with WSE 2.0 quickstart sample
Hello, Im trying to run in my PC the sample published on this web site by microsoft: http://www.microsoft.com/spanish/msdn/articulos/archivo/141103/voices/wssecdrill.asp After everything I did, i still get this error message: System.Web.Services.Protocols.SoapHeaderException: Microsoft.Web.Services2.Security.SecurityFault: The security token could not be autheticated or authorized at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.OnLogonUserFailed(UsernameToken token) at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.LogonUserFailed(UsernameToken token) at Microsoft.Web.Services2.Security.Tokens.UsernameToke ...Show All
Microsoft ISV Community Center Forums Protecting the Source Code
I have a couple of spreadsheets that have VBA code in them. I wish to share these projects with other employees but I am leary of doing so because I don't want them to claim the work I did as their own or screw it up somehow. Is there a way I can protect my code Is there a way to insert a digital signature that others can't edit Thanks Tiger Hey Derek, Thanks for the info. Once again you have the perfect answer =) Tiger ...Show All
Smart Device Development How do you detect current ROM version
Hello, I just made a irritating discovery. I have ppc 6700 and just upgraded the ROM yesterday. After doing this the portrait/landscape became all messed up in the application. It seems that the new ROM now when switching from portrait to landscape switches the width and height differently. For example prior to the ROM upgrade when the event was fired off during the switching of the screen from portrait to landscape the width was 320 height 188. Now during the same process the width becomes 24 and height becomes 268. The emulator confirms this. So as irritating as this is how can I compare the ROM versions so I can make the adjustments ...Show All
Visual Studio Express Editions C#.net Form Close event
In VB 6 we have query unload event which is called before form unload event...so by this before closing a form I can chk any criteria...if it satisfies then only It closes the form...else no. So we are restrictly the form close event from occuring ---could I know the similar way in C3.net windows form events. You can use FormClosing event to prevent form from closing if it does not satisfy your criteria. In my case I had to warn user if data was not saved. Following is a code snippet from my application: // //_isDirty is a class level boolean variable that keeps track of changes // private void MainForm_F ...Show All
Windows Forms MenuItem underscore under &letter problem
Hi, My problem is that I cant get the under score to appear under a letter of my menu item. Am fallowing the C# Reference and still cant get the underscore to show up whn am running my compiled program public void CreateMyMenuItem() { // Create an instance of MenuItem with caption and an event handler MenuItem menuItem1 = new MenuItem( ...Show All
Visual C++ Errors linking library
I have a C# project that needs to use a C++ SDK, so I'm trying to write a MC++ dll to act between them. At first, this was fine, but the problem is, the SDK defines a number of function pointers for callbacks. The objects I pass through complain that they are __gc type instead of type, and the pointers themselves complain that they are not __stdcall, which I assume means that the .NET stuff has it's own calling convention. However, I'm not that knowledgable when it comes to dlls, and I sure have never used MC++ before. I tried putting __nogc at the head of the class, that fixed all my errors, but gave me a new one, telling me I can't do that ...Show All
SQL Server OleDB and an increasing connection pool
Hi. I'm using C# in .NET 2.0 and a third party OleDB driver to access Sql Server 2000. The third party OleDB driver must be used for licensing reasons. The third party Ole DB driver is a Siemens WinCC OleDB driver. WinCC is a factory visualizing application which uses Sql Server 2000. I am using the Ole DB driver to access alarm data from the database. I have things up and running without a problem when the database query result has one or more rows in it. The problem starts when the query doesn't return any rows. First of all - this situation (no rows in result) causes an OleDbException with the error DB_E_NOTFOUND (0x80040E19) which ...Show All
SQL Server SSIS The product level is insufficient for component "Fuzzy Grouping"
Hello, I have a Dataflow with a Fuzzy Grouping component. When I load this package in my application and execute it, i get the following error message: The product level is insufficient for component "Fuzzy Grouping" (561). Whithout the Fuzzy Grouping component the Dataflow works properly. I work on a client machine with following installations: framework 2.0, SQL 2005 Standard with all services, VS 2005. What's wrong, can you help me Regards Ralf DTSExecResult dTSExecResult = package.Execute(); if (dTSExecResult == DTSExecResult .Failure) { foreach ( DtsError error in package.Errors) { string msg = error. ...Show All
Visual Studio Team System VS Team Suite Debugging Issues
I installed this software 2 days ago and have been having some basic problems that I'm unable to solve. Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise Microsoft Visual Basic 2005 77718-204-0824545-41653 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77718-204-0824545-41653 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77718-204-0824545-41653 Microsoft Visual C++ 2005 Microsoft Visual J# 2005 77718-204-0824545-41653 Microsoft Visual J# 2005 Microsoft Visual Studio Tools for Office 77718-204-0824545-41653 Micro ...Show All
Visual Studio Team System Beta 3 Setup Error: Windows SharePoint Services is not configured as recommended by Team Foundation Server
I am trying to install Team Foundation Server Beta 3 as single server installation and installed all required software components. However, during the installation, it gives me "Windows SharePoint Services is not configured as recommended by Team Foundation Server" error under "Recommened Components" dialog box. I exactly have followed an instruction specified in setup guide for Team Foundation Server Beta 3 for SharePoint services installation. Could anybody tell me what the problem is Thanks in advance. Eric Following these directions helped with getting Sharepoint working on my machine, but running Report ...Show All
Visual C++ another c++ question
I have this program with some errors that I cannot solve. Any suggestions Mark started a trust fund for his niece Mary. He started it on her first birthday with a deposit that was a product of her age and her mother’s in dollars. He got the idea thinking about the coincidence that Mary and her mother have the same birthday. And every birthday since, he has done the same, deposited an amount that was the product of their new ages. A great idea! And a very handy nest egg for the future for Mary. Now someone asked Mark how much is in the fund now Mark wasn’t exactly sure, what with interest. But he did know how much he had depos ...Show All
Windows Forms BUG in NotifyIcon
When adding a NotifyIcon in the system tray from a Windows Forms application everything works fine. However, when you're closing the application, the icon does not disappear from the system tray (until you go over it with your mouse cursor). Maybe this is not a Windows Forms issue but rather a general issue with the system tray Do this: ...Show All
.NET Development Known bug - HttpContinue?
Hi, My client is sending data to the server using the web client call ResponseData = myWebClient.UploadData(Url.ToString(), "POST", PostData); A network sniff shows: Client == e server (Http header + EXPECTED HTTP CONTINUE) Server = e Client (HTTP CONTINUE) Nothing happens for about a minute and a half ========= e PROBLEM HERE Client = e Server (TCP FIN Packet to request close connection) Server e Client (HTTP BAD REQUEST + Connection Close) As you can see, the client never sent the data, only the header. Note that the TCP sequence number ...Show All
Windows Forms Data Grid
private void Mousedownhere(object sender, System.Windows.Forms.MouseEventArgs e) { DataGrid myGrid = (DataGrid) sender; System.Windows.Forms.DataGrid.HitTestInfo hti; hti = myGrid.HitTest(e.X, e.Y); string message = "You clicked ...Show All
SQL Server OLE DB for DB2 Built on Dev run on Standard
I have built a simple package using the Microsoft OLE DB provider for DB2 with SSIS Developer. If I schedule this on a Standard SQL2005 machine the package will not run. The error is blank, just says it had an error. Can I not run this package because the provider is not installed on this machine If so is there a work around for this I believe that the ole db for DB2 has to be used on enterprise edition (if i read the licesne right from the ssis extension site). I am not sure if the ms one works very well. The IBM one sucked very badly when dealing with decimals. Even they recommended not using it (IBM) as ...Show All
