Recent update: 2008-3-21
1431 byte By
Fraas at 2008-3-7
HiHow Can I (Delete File, Rename, Create Directory , ext..) from the FTP Server with the Help of FTP Classes in .NET Framework 2.0I have the following Code to Delete the File From FTP Server FtpWebRequest ftpRequest = (FtpWebRequest)WebRequest.Create("ftp://localhost/FileName.txt"); ...
Hi, I have a ftp client based on the edt library. And it works fine untill I switch to a different program or I minimize it. Then it starts spawning all kinds of exotic errors. But mostly I get connection already in use ? Any ideas on how to solve that ? Thanks already
Hi everyone,We are trying to decide what kind of application (with VS.Net, preference VB.Net) to develop for a client. They have a central administrative office that includes space and people who serve their clients directly. They also have two remote sites that serve clients but do not have ...
I'm struggling a bit with a VB.Net 2005 app that requires SMTP STARTTLS support, both from the client (initiating) and from the server (receiving) side. STARTTLS allows email clients and servers to begin with a non-encrypted TCP/IP session and then "upgrade" the connection using encrypted TLS ...
I want to make an internet or network monitor to retrieve how much data has been received and sent in bytes, does anyone know how to make this in .NET, what namespaces should i use? thnx...
i need to know if a client connected to me, goes down.i have a server socket (s1) and a client socket (s2).i make the keepalive option in this way:on the client:s1.SetSocketOption (SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 5000);s1.Connect( ... );on the server:m_Sck = s2.Accept(); // ...
505 byte By
Wasim at 2008-2-27
Hi all,I use the NetMessageBufferSend to send a message to a certain user in the network. In the function description is written message alias, What does it mean: NetMessageBufferSend The NetMessageBufferSend function sends a buffer of information to a registered message alias.please help... ...
How do I stream attachments that are currently stored in an SQL database? I am trying to create a Windows Service to send mail with attachments. If it is too complex are there any alternatives?
To everyone:below is a partial code that i am doing for parsing an html. this works fine on the first access. but at the second round it is hanging on getrequeststream(highligted in red). if there is anyone of you who have encounted this, please advise me of the solution. Thank you so ...
Another FTP question. :)What's the best way to use the 2.0 Framework to send multiple FTP commands during one connection?The FtpWebRequest class seems to make a separate connection for each command. I'd like to connect/login once, send two or more FTP commands, receive the response to each, ...
220 byte By
SV at 2008-2-23
I would like to be able to send SMS messages from my .Net app to notify engineers of work items. Does anyone know what would be involved in this or have any recomendations for resources regarding this? Thanks.
Hi there, When I try to connect to a remote computer using TcpClient.Connect(), I receive a SocketException with the following error:a connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host ...
Is there a preferred way to obtain the size of a file stored on an FTP server using the 2.0 Framework?The best I've come up with is to contact the FTP server via an FtpWebRequest object, with its .Method property set to WebRequestMethods.Ftp.GetFileSize.This causes the size to be returned in ...
it worked before, and maybe after beta2, it stopped working. now it says "This method is not supported"How to get around of this? could not find anything about this on web.Thanks, Public Sub FtpUpload(ByVal uploadAddress As String, ByVal fileToUpload As String, ByVal credentials As ...
1959 byte By
Mireno at 2008-2-20
Hi,I was wondering how you would use SocketType.Seqpacket in a server (asynchronous non-threaded). Currently, I've got the following code: listeningSock = new Socket(AddressFamily.InterNetwork, SocketType.Seqpacket, ProtocolType.Unspecified); // Bind to the local IP Address ...
169 byte By
Juliau at 2008-2-20
Hi everyone, I want to build a Appliction that has 3-tiers, those are Client, Server and Database Server, how can I do that? Anybody can give me a sample? Thanks!
Hi, I experienced a weird problem with socket on my machine. On my colleague's it works like a charm. When I have socket, waiting for incomming data (after I called BeginReceive) and the peer side aborts - eg. I kill the telnet.exe who I used as a client, the socket throws ...
I am not sure if this is the right place to ask this question, but it seemed as likely as any. Basically, I'm looking for informaiton about RMS and Microsoft's implementation of XrML. I want to know if the TRACK field of XrML is used with the RMS server. Also, is it possible to specify in ...
In my C# program, how can I detect if there is a VPN connection to another machine and setup a connection if needed? I have known the IP address of the target machine and the VPN username/password. Thanks!
138 byte By
Wasim at 2008-2-17
Hi all, I need to use "System.Net.NetworkInformation" namespace in .Net 2.0. Can I use it in visual studio 2003. Please help...
160 byte By
Wasim at 2008-2-16
Hi all, Witch API functions can I use in .NET framework for getting information on a specific network. Can you give me links for examples. Regards...
I have no .NET Framworks program and I need one to accsess a program for a game. I open it and it says I need .NET Frameworks Version 1.1.4322 Can someone please tell me where to get it or give me a direct link to download it? Thanks, Anonymous
229 byte By
Wasim at 2008-2-15
Hi all, I need to know how to get all the users in LAN network. I need to connect the windows server 2003 from on of the stations and get all the stations that are connected to the server. Please help... Regards...
Can I ask a question about WinHttpRequest? I know nothing about this Com object. But some one using this, seems to be triggering PPC ads that I have with Miva (formerly Findwhat). My IIS 6 log files shows they are downloading the html page but absolutely nothing else, no graphics, menu, images ...
364 byte By
CamonZ at 2008-2-15
hi, i'm searching for information on bluetooth support on the pocket pc for the .NET CF 2.0 , searching the MSDN library i haven't found almost anything, is the only way to handle a bluetooth communication with a PPC using P-Invoke?, or are there classes in the CF for handling this ...
220 byte By
dagnar at 2008-2-15
I was checking out the new System.Net.Mail class and noticed the LinkedResource...does anyone know of an example using a LinkedResource? How does one reference the LinkedResource from the email body? thanks in advance
We have a Lucent telephone switch which can be managed using a terminal or terminal emulator. I know the commands required to log in and access the directory (unfortunately these may vary depending on the state any previous manual session was left, but I can still get to where I want to be).The ...
I have written a simple socket program that joins and reads a multicast group. But it reads the multicast synchronously and if theres nothing coming form the multicast group, the program just hands. How can I make it synchronous? How can I use delegates here so that the code becomes ...
417 byte By
Wasim at 2008-2-13
Hi all,I need your help in the follwoing case:I want to build an application of communication layer between Outlook 2003 and yahoo emal server.I want to begin now only the first step:To read the inbox list.Witch classes I need in the .Net framework? how can I read about them ? how can I apply ...
Dear All: By using WebRequest and WebResponse classes, I meet a problem on dealing with the responsed data. How to determine the encoding type of the responsed data before get the entire content?Thanks a lot.Ming Tsung Lin, TaiwanJun 17, 2005 ...
Hello i want to run windows service on client machine that makes an entry of Current user logon in server database well i tried three ways to do it 1) Enviroment.username2) System.security.Principals.windowsidentity.getCurrent();3) through windows registry All three methods work well when i ...
I installed active directory using the typical dcpromo. Then i used the default sysvol and ntds locations. I also checked the option where active directory will configure and install windows 2003 dns server. I then fixed the tcp/ip properties to accomodate dns settings. After I restart the ...
158 byte By
Handi at 2008-2-10
Hi all, I have a network printer, how can I get the Printer Ip address from The Printer name? is there any classes or functions to do this? Thanks.
I want to be able to update attributes of active directory users.I am using this code to get the user's information. Specifically if the user is active or disabled. Dim search As DirectorySearcher = New DirectorySearchersearch.Filter = String.Format("(SAMAccountName={0})", ...
833 byte By
Gravy at 2008-2-8
Hi,I'm using .NET 2.0 (Beta2) and I want to send an email where the body is html. I'm using the System.Net.Mail.SmtpClient and System.Net.Mail.MailMessage classes. Before sending the MailMessage I add an alternteView using ...
I am experiencing a very strange and annoying problem :-(. It's gonna take a while to describe it, so be ready to read a long post... I have a Windows service written in C# that works as a scheduler - it loads objects implementing certain interface from other assemblies, and executes some of ...
Is there any way to do a socket "Select()" on Win32 socket handles in C#, other than using a PInoke style call on the C socket "Selelct()" function? I'm writting C# code that has to use a third party C dll. Thanks to the people at (www.swig.org) I've wrapped up the dll functions and can call ...
Hi, I wrote a program that need to download on demend a file from a given url. I built a download form that gets the url and the file path to save and it shows a progress bar. The path and filename are given to the form on the c'tor and the download itself starts when a method is being called. ...
Hi buddies,I am trying with a function which can send message to an ip and port using socketwhile running this application i am getting an exception as - "{"Only one usage of each socket address (protocol/network address/port)\r\nis normally permitted" }"Please help ...regards,Vinuthe code like ...
Hi This is very important that i know this... I have created a vbscript that detects the NIC's IP Address and if the IP address is withing the conditions - it stops the following services: Smart Card ServiceWireless Zone Configuration Service Under the group policy set - user's cannot start ...
Hi I am trying to create a server application that, once started, a Pocket PC application can connect to to retrive data. I cant even get a connection established with the Pocket PC device. I am constantly getting the socket exception saying the host activly refused the connection.I am using ...
Hi,I have an application that works just fine. I am puzzled by the following issue though - in certain scenarios, Socket.EndReceive returns 0 bytes. According to the documentation, this happens when the remote host calls Socket.Shutdown or closes the Socket in another manner. Generally, I ...
Hi This is very important that i know this... I have created a vbscript that detects the NIC's IP Address and if the IP address is withing the conditions - it stops the following services: Smart Card ServiceWireless Zone Configuration Service Under the group policy set - user's cannot start ...
hii how are you ? i want ask, how i can create program to connecting to internet by using dialup connection in C#? please tell me any information thanks Ahmed Osama ...
5344 byte By
luca82 at 2008-2-4
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace ...
1013 byte By
gishac at 2008-2-4
[English version]Hi can you help me? How can I list all the machines in the local network without use the directoryservices dll? because this make that the application depend on a Windows 2003 server....Answer to gisbert85@hotmail.com or to gishac@gmail.com[Spanish]Como puedo hacer para obtener ...
175 byte By
mikeg. at 2008-2-4
I am trying to add a server 2003 domain to a server 2000 domain. I keep getting the error that one domain controller (2000) is not compatible. What can I do to fix this issue
Hi,I want to monitor a file on other PC on network to see if its growing in size and other things. My question is how do I log on to that computer on network using C#. Also, if that computer on network requires authentication, how do I supply username and password to that computer from C# code ...
Is it possible to maintain a persistent connection using .Net classes without sending a response to the client (the client is ok with that).
524 byte By
Katou at 2008-2-3
Hi all,I need to get some data from a PIC microprocessor. The microprocessor's UART is used for this purpose, so its output data is serial. It's meant to be interfaced with a PC's serial port.My problem is that I'm using a laptop, and it doesn't have a serial port. It only has a parallel ...