Answer Questions
RajuK Uploading and downloading files to and from remote system using c#
Hi, I have two systems connected via internet at my home. I want two c# applications, the fisrt application uploads the files from a specific directory to the other computer. The application on other computer detects the incoming file, gives a discovery message, and automatically downloads this file to a specific location. Can you please tell me how can i build these two applications. And if possible, the applications should run as w ...Show All
OwlNZ Qte de registros lidos em um datareader
Colegas. Como fico sabendo quantos registros foram lidos em um datareader Oura coisa. Como colocar variavel em um headertext de uma colunbound Grato Taveira I don't read Portugese that well (hardly at all)... but ... If you mean how many rows are returned from a DataReader then you can't. A DataReader is a stream (like a pipe carrying water). You never know how much will come through the pipe (or the DataReader) un ...Show All
micr0chip XSL Constants
In xsl files, how can I define a set of constants for which can then be used when certain scenario occurs. For example I need to be able to translate the constant 1 to pre know string and then 2 to a pre know string and 3 to a pre know string and so...How can i do if statements or switch statements in xsl and display the outcome Any ideas I like second way better. It more in sync with declarative spirit of ...Show All
Imran Ashraf How to access the ComputerName
I'm trying get the ComputerName (as seen in the System Properties dialog, Computer Name tab) from within a C# .Net application. Any suggestions as to where this data item is hidden within the .Net Framework Eric Try System.Net.Dns.GetHostName() or Environment.MachineName Thanks. That lead me to what I really needed which was: IPHostEntry iphost = System.Net. Dns .GetHostEntry( Dns ...Show All
ramdee How to lock up a file
I am writing some C# code which processes a set of files in a source directory and then moves the files to a destination directory. The code must be able to handle a situation in which one of the files might become locked while the files are being processed. I am not concerned at this point with how to handle the exception when a particular file is locked. What I need to know is how can I lock up the file You see, I must test my code against ...Show All
Fil52724 Having problems running a web service in Visual Studio 2005
I created a web service following the steps laid out in http://msdn2.microsoft.com/en-us/library/87h5xz7x.aspx I have encountered several problems. 1. When I open the project I get the following. "The site http://localhost /BriConvert1 has not been configured for use with ASP.NET 2.0. Microsoft Visual Studio has been designed for use with ASP.NET 2.0. If not configured some features may make incorrect assumptions, and pages desi ...Show All
Jorge L. Perez Smart Client and XAML
Hi, I am very interested in Smart Client given the lack of developper tools and the whole crossplatform nightmare for AJAX. I have some question about SmartClient. When made available, will it possible to use XAML to build SmartClient application Will it be possible to perform client side XML to XAML transformation using XSL to dynamically generate user interface Francois Hi Francois, ...Show All
timrande .Net Oracle process error
hi This is regarding a performance issue in my windows application... Maximum possible process in my oracle server is 150... Sometimes my users wont be able to log on to my application since it exceeds maximum processes.. so we have to restart my oracle server.... Can anyone suggest the best practise to avoid this...im using Visual studio 2003 and coding in VB.Net Thanks Raju, I don't have any Oracle knowledge, but ...Show All
liber Open File dialog doens't open files
Hi, I have this code to open a dialog box. It opens the dialog box allright, but then if i choose a .txt to open, Notepad isn't being launched. Nothing happens. Any help would be apreciated. Warm Regards, mamrg. -- private void openToolStripMenuItem_Click(object sender, EventArgs e) // File -> Open Dialog Box { OpenFileDialog dialog = new OpenFileDialog(); dialog.Title = "Browse to find file to open"; dialo ...Show All
csqlrun VS 2005 Globalization Issues
I'm currently writing an ASP.NET 2.0 web application that needs to be multilingual. It has a master page that defines the look and feel of the entire web applicaition, with many content pages as you navigate around the web application. My initial thought was that I would include a resource file for each language, and then pull the localized data from them after I has discovered what language was being requested. I noticed that you ca ...Show All
bin joy Using Bluetooth with VS 2005 beta 2
I was watching the " Creating a Managed Bluetooth Application Using Microsoft Visual Studio 2005 " MSDN video, and there was an example of using new bluetooth classes for connecting to a PocketPC via bluetooth. I have the VS 2005 and i didn't fount these classes. Classes like "ServerHandle" or "Core" and others dosn't exist. I want to use bluetooth to make my laptop as a Headset for my phone. I need to register a bluetooth Head ...Show All
Tr?n Ng?c V?n System.Security.Cryptography.Xml ?
I can't use System.Security.Cryptography.XML namespace in VS2005, it isn't exist. I need to use KeyInfoName but i can't use because of System.Security.Cryptography.XML. How can i use KeyInfoName in VS2005 Thanks Ok, I solved my problem. Problem is : Error 4 The type 'System.Security.Cryptography.Xml.KeyInfo' is defined in an assembly that is not referenced. You must add a reference to assembly ...Show All
gwood Appending an element
THis is a triky one: I have tried to append a created element with attributes to a specific node in an already existing xml document. It doesn't work !! I try appending the exact same element anywhere else in the xml document and it works!!!! This is where I want the element to go to but doesnt work: clone.LastChild.LastChild.LastChild.AppendChild(objectposition); I keep all the code the same but chan ...Show All
bleach Remoting - disconnection over WAN
I wrote a custom bi-directional TCP channel to do my remoting. Using this channel, the client can receive messages back from the server once the client connects to the server. My problem is that over a WAN/Internet environment, my custom channel is consistently getting disconnected after a period of time for no apparent reason. I have 2 questions: should I expect unstable connections over WAN/Internet, am I to expect these disconnections ...Show All
Regis XML Trace WSE 2.0 problem
Hi, I've recently had frustration experience using a certain web service provided by a known organization. In order to maybe get a response from the technical they want me to send them the XML trace for the input and output calls and answers to the web service. I've downloaded WSE 2.0 tool since i use .net vs 2003, c#. I've desperately been trying to get a trace with no success. Here are the details of what I've been tryin ...Show All
