Answer Questions
Ewino BeginSend() is not sending all messages
I am having a problem where the first message I send a client on connect is not recieved. Anyone have any ideas why Also , I'm having some buffer issues where parts of messages are sent multiple times...I'm sure it's something stupid on my end Below is the code [code] public void OnClientConnect(IAsyncResult ar) { byte[] data = new byte[1024]; Socket listener = (Socket)ar.AsyncState; Socket client = listener.EndA ...Show All
Markeque Failed to access IIS metabase, VS2005 RC
I am developing a webservice in Visual Studio RC. I have just got a new pc and my problem is that I am not able to access this webservice. I have created a virtual directory in IIS, but if I try to browse there, I get a "Failed to acces IIS metabase" error message. Does anybody know how I can resolve this problem I had the same problem : I installed VS (and .NET framework) before installing IIS and just reparing the .NET framework from th ...Show All
Skip Floyd validating username/password across the network for \\pcName\c$ connection
I would like to know how to code into my program automatic authorization across a UNC connection. I have .config files on other pc's in a Microsoft Active Directory network environment that need to be changed from time to time. So let's say there is a pc called POS151 on the network and I need to change some text in a file on that pc....I would like to know how to program authentication to POS151 so I can access the following path a ...Show All
Dag H. Baardsen BEKK C# 2005 Express over C++ 6.0
Do I need to uninstall Microsoft Visual C++ 6.0 to install C# 2005 Express, or I can use them together They work fine together, even several .net framework versions ...Show All
c#_novice How to access appsettings in dll assemblies?
Hello all, I've started to play with the new VS.NET 2005 Beta and would like to know the proper way to access app settings in a dll. As I understand it, there is this nice new mechanism that suggests you implement a facade class that is derived from ApplicationSettingsBase to provide access to the config file in a typesafe manner. This is all fine for the executeable, but since this class exists in the executable, I cannot access it in a d ...Show All
Thickasabrick Bug - Deleting from dataview. Does not correctly show removed row until new selection. Any Workaround?
I've been trying to fix this simple bug in a dataview for more than one day now. This is extremely fustrating. I'm trying to delete the current row in a dataview that's selected in the datagrid when the user clicks the remove button. My code looks like this. (in remove button handler) CurrencyManager CM = (CurrencyManager)this.BindingContext[dataView1]; DataRowView drv = (DataRowView)CM.Current; drv.D ...Show All
not-bob Can WSE, DIME be used in a non web application
Hi, We are currently using WSE DIME to upload and download documents over the web. We have another application which is a "WIndows Service" application (its non a Web application). We would like to use WSE, DIME (for basically streaming the content) in this non Web application also. Is it possible This Windows Service application is a normal DLL which takes the id of a document from a database and is supposed to download that document from a st ...Show All
Bob Lan Mht Email (Html Archive)
It is possible (out of the box) to send Mht email now in .NET 2.0 I've taken a look at LinkedResource & AlternateView and I'm able to send out emails. However, there is no documentation on what is going on behind the scenes. Should be possible Shiv Kumar, I looked at the issue a little more deeply. I wanted to whip something up this morning but seems like it is slightly more involved that I originall ...Show All
Netenrich .NET 2.0 Web apps on .NET 1.1 Server
Hi, I have a webserver that hosts a number of web applications that were created under the .NET 1.0/1.1 framework. I recently created a web app under .NET 2.0 and was wondering if there is a way to run the app on my webserver without having to update the framework from 1.1 to 2.0. I hesitate to update the framework because of the conflicts that will arise in the .NET 1.0/1.1 applications. Any help or advice will be appreciate ...Show All
Artur I. Typed DataSet on two different table definitions
Is is possible for a typed DataSet to update a table whose definition does not exactly match the DataSet, but that should be compatible with it For example: Our Address table originally had these columns: AddressLine1, City, State, Zip and the typed DataSet reflects just these columns. Now the Address table has been updated on the database to have a new column, AddressLine2 (Nullable). The dataset throws an exception when attempting to ...Show All
Lakshmi Kiranmayi FtpWebRequest and custom commands
How can i send custom command through an FtpWebRequest I tried with this but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; namespace ftpProva { class Program { static void Main( string [] args) { FtpWebRequest ftp = ( FtpWebRequest ) WebRequest .Create ( "ftp: //ftp.microsoft.com" ); ...Show All
bezorn Filtering Illegal Characters from Dynamic Query for MS Access
Can anyone point me to the best method of handling illegal characters in dynamic queries for MS Access I found out that that inputting fields with embedded quotes and/or pipe symbols and other symbols will confuse the sql parser. One example is entering: O'Brien as the last name and when a dynamic search query is constructed, .NET C# shows an error. Since the dynamic query is constructed as: ... Where Lastname = 'O'Brien' ... I ...Show All
Peej73 Very Strange Windows.Form problem
I've wrote a simple sample application with a form and a button. When i click teh button this is the code i wrote for the event : MessageBox.Show("MyText","MyTitle",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Asterisk); That's simple ok , but I've this problem : 1. When I run my application the language Icons in the Windows Language Bar becomes black boxes (all I've in my list) 2. Where I click on my button the message box displayed is without ...Show All
MikeHiland Serial communication - Baudrate
Hi, I want to communicate my application with another machine into RS232..But these "machine" changes its baudarate from 19200 to 38400 every minute so i can not communicate all the time.I want to implement an "auto detection algorithm" to succed that in C#..Have you any idea how to do that ...Thanks a lot!!! Dear Iliev ... In my first myRs232 class I have these conditions : if (((ErrorMask & (int)ECommErrors.CE_FRA ...Show All
Barry Dyson Sending a web page with SMTP
I have developed an Web App that summarizes all of the information that I want to present to the user. I have a submit button that I want to have send the resulting page to the end user for confirmation. I have been working with SmtpClient and it successfully sends a test message but I cant figure out how to embed the resulting web page in the email. Can this be done from the server Does anyone have any sample code Vincent Fournier ...Show All
