Witi's Q&A profile
.NET Development FtpWebRequest GetResponse throw The server committed a protocol violation :(
Hello. I have some trouble with FtpWebRequest class. I use it for connection to two ftp servers The first server is working perfectly, but when i use the same programm to connect to another one the "The underlying connection was closed: The server committed a protocol violation." exception is thrown when I call GetResponse method. I found only one difference between servers. The first server returns: 220 Hello k-net ftp serv ...Show All
Visual C# webbrowser
Hi i want to save a content of webbrowser to save it into DB so i can view it later when i`m not online.. i want to save the stream of the loaded document.. If i am online and i save the document stream .. and set another webbroswer document stream to the saved tocument stream.. everthing is fine.. but when i go offline and try to view the save stream .. i get and error "A runtime error has occured. Do you Wish to debug Line:1 Error: Synt ...Show All
Visual Studio Debugging T-SQL Stored Procedures in VS 2005
I know I'm not the only one posting this type of problem, though my problem has some differences which I think are worth noting. I am trying to debug T-SQL stored procedures on my local system (Windows XP Pro), VS 2005 Team Edition for Software Developers. To my local SQL Server 2000 SP3 database server. When I click the "Step Into Stored Procedure" menu item, the stored procedure runs to completion, never stopping at the first exec ...Show All
Visual Studio Different namespace for DDEX compact framework provider
Hi, I am writing a DDEX package that should work with both a provider for the .NET Framework and with another provider for the .NET Compact Framework. I want to have a single VSPackage dll for both data providers. The problem I have is that I want to use another namespace when I generate code for the Compact Framework provider. Under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\PocketPC\DataProvid ...Show All
Visual Studio Team System TFS 2005 Beta 3 install problem
I'm trying to install but installation reports this error in a dialog window Error 28100.Error loading Event web service pressing retry gives a logon dialog "Connecting to Team Foundation server" that do not accept anything !! pressing cancel terminates the install :-( This error was happened to me last week too, I checked the setup log.. the error seems due to the user account setting, I just create&n ...Show All
Visual C++ Resolve Partial Assembly failed for Microsoft.VC80.DebugCRT
I have re-written an ISAPI wildcard extension using VC++ 2005 that uses both MFC and some Managed code. It complies ok but when I try to use it the IIS says: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. When I look in the Event log I get two different errors: Resolve Partial Assembly failed for Microsoft.VC80.DebugCRT. Reference error ...Show All
.NET Development Type Fidelity and Web Services
The company I'm a part of recently released a new verison of our distributed information processing system and while designing the thing I was presented with a few challenges that I'm now able to look back on and wonder if I did the right thing. The biggest design issue I had was wether or not it needed to be based on .NET Remoting or take the web servies approach. While I definitely would have liked taking the web services approach in partners ...Show All
Visual C++ Newbie question about Interfaces of DirectX, or other libraries
Hi, im trying to make an application with DirectX libraries. in a line of the code, i make this declaration: ICaptureGraphBuilder *pBuilder; (ICaptureGraphBuilder is an interface of DirectX libraries.) But when compile, it gives me this error: "error C2501: 'ICaptureGraphBuilder' : missing storage-class or type specifiers" What I have to do to declare variables or pointers from interfaces without error Declare ...Show All
.NET Development WSE 3.0 & WS-Addressing
I'm trying to add soap header elements (To, From , MessageID,...) to messeage, but i don't know how. Could someone please tell me how to add these elelments in C# <soap:Header> <wsa:Action>http://tempuri.org/sayHello</wsa:Action> <wsa:MessageID>uuid:4925dfcf-30dc-4393-b9da-d373c24bad0d</wsa:MessageID> <wsa:ReplyTo> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/ro ...Show All
.NET Development Trouble Installing .NET Framework
I am having trouble installing the .NET framework 1.1 on a windows 98 SE. The error it gives is : " Setup cannot access windows installer components: Setup cannot continue" My system is up to date from the windows update site. Please help. Netframework 1.1 (in the form of dotnetfx.exe) does install to 98/se - see http://www.microsoft.com/downloads/details.aspx FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3 ...Show All
SQL Server Encryption Performance
Hi I am trying to encrypt data using a symmetric key which is encrypted by certificate. I do not want grant control on these objects to the users who wants to decrypt this data. Instead I have created a udf with execute context as "dbo" and used DecryptByKeyAutoCert built-in function. Now this works fine but large data operations this is extremely slow. It takes around 10 minutes to select decrypted data whic in comparision takes ...Show All
Windows Forms RichTextBox double-click on text doesn't work correctly
Howdy folks, I noticed something strange today. When you double-click on a word within a RichTextBox, the word is highlighted. Triple-click and the line is highlighted. So far so good. When the word ends with an apostrophe though (the ' character), then double-click on the word highlights the apostrophe and any whitespace after it. It does not highlight the word you double-clicked on. To reproduce: In VS 2005, create a n ...Show All
Visual C++ For each with IDictionary
I've got such code: Collections::Generic::IDictionary<String*, int > *mapLetters; for each (Collections::Generic::KeyValuePair< String , int >*q in mapLetters){ myFunction(); } And the for-each element does not work. I've got an error: error C3285: for each statement cannot operate on variables of type 'System::Collections::Generic::IDictionary<TKey,TValue> __gc *' But in official site of Microsoft they wr ...Show All
Visual C# Question: C# interoperate with an unmanaged COM with union data type
Hi, Help please. I use .net 2005 IDE to "Add reference" to a COM (named MyCom.dll). The COM has union data type looks like: typedef [switch_type(_DataType)] union _Union_data { [case(D1)] signed char v8; [case(D2)] signed short v16; } When I view Interop.MyComLib.dll( created by .net IDE) in Object Browser, the above union structure _Union_data become empty. Theref ...Show All
Visual C# ~symbol in c#?
Hi everybody, could something tell me what's the meaning of the ~ symbol in c#language please I encountered that in the follow piece of code: public UserActivityHook() { Start(); } ~UserActivityHook() { Stop(); } Thanks in advance Lula That is the destructor for the class, meaning the last method run by a class instance before it's deleted. It should contain code to clean up or rel ...Show All
