Answer Questions
venumadhav How to get date stamp of file in FTP server
HI, I want to check tthe date stamp of a file (when it was created or accessed last) in the FTP server. In the WEbrequestmethods class I found something called " GetDateTimestamp " but it doesnt seem to get the date stamp of a file in the server. So how do I do it Hi Can you tell me how to check for remote folder exists i tried the same way like the files, but getting errror. Rgds Arunagiri ...Show All
Joaquim Ferreira Web config file: appSetting
Hi, I am using one instance of SqlServer 2000 as backend database, I want to store connection string of that instance in a webconfig file , I have witten code in appSetting and pass value of it as follow "workstation id=CBD;packet size=4096;integrated security=SSPI;data source=\" CBD\\QAZ " + "\";persist security info=False;initial catalog=master"; But when I execute my application, it generate error in a ...Show All
Chee Yong Making web service on localhost externally visible
Hopefully this is easy... I created a web service (vs 2005 beta 2, IIS 5.0, win xp) that is installed locally in localhost. I can successfully access the web service from a client app I wrote and via internet explorer. my problem is, how do i allow somebody "in the cube next to me" to access the web service He always gets a "page not found" error. He has tried accessing it via my computer name and ip address. e.g., http://MycomputerName/MyServi ...Show All
paorear Regex problem
Hi, I'm porting an app. from .NET 1.1 to .NET 2.0 and unfortunately the existing regexs don't work. Theres no mention of problems or differences with regex in the current beta release of .NET 2.0, I'm just wondering if my original expression was 'broken' The regex is: Regex hrefExpression = new Regex("href\\s*=\\s*[\"'] (( :[^>]|[^\\s]|[^\"]|[^'])+)[\"'] "); it's purpose is to extract URLs from HTML links. In .NET 1.1 it will take a str ...Show All
Patrick_O_donnel How to compute processor queue length
Hi, Will you please suggest the some approaches in C# from which I can get the processor queue length performance counter. I have tried following approaches from using performancecounter class 1 counter.Nextvalue() when I tried to use NextValue() I got 0 2 (sample1.rawvalue - sample2. ...Show All
Rodrigo Chagas Timer Classes in C# 2.0 - No Changes ?
Hi There From my experiments with the three timer classes ( System.Windows.Forms. Timer, System.Timers. Timer and System.Threading. Timer ) it looks like I can re-use my 1.1 code in 2.0 without any changes Are there any pitfalls/gotchas I am not seeing TIA Bill Paul, there should be no critical changes in this space. BUT, it's always a good idea to try running your app on V2.0 beforehand, just to make sure. ...Show All
Trond Reierth Easiest way to make a copy of a datatable
I am using VS 2005 with SQL Server as the backend. I have a winform with a master and a related grid for a detail. The grid may contain 2 or three thousand records. The form contains Quotes for work done for us. The user wants to be able to copy a Quote and its details easily. Both the master and the detail have AutoIncement fields as their keys. What is the easiest way to copy a dataset, or a table in a dataset Getting the data out of th ...Show All
digitaldesignstudio Type.GetMembers() on an interface does not return members from inherited interfaces
Consider the following: using System; using System.Reflection; public interface IBaseBlah { string GetSuperString(); } public interface IBlah : IBaseBlah { object DoStuff( string name); } public class Foo { public static void Main() { Type t = typeof (IBlah); foreach (Membe ...Show All
zaher lafa VERY slow binary serialization of strings coming from SQL
Please help! This is probably the weirdest issue I've ever encountered. I'm trying, in C#, to binary serialize an array of strings that come from a SQL Server 2000 database. Problem is, this takes orders of magnitude longer than if the strings don't come from the database. The EXACT same 35000-length array of strings takes 0.1 seconds to serialize if the strings don't come from the database, and 40(!) seconds to serialize if they do. So ...Show All
YarakMan Writing a C# SOAP client over SSL
Hi, Currenlty i am writing a SOAP client over SSL in the following way 1) Use an open source SSL library to establish a SSL connection to a SOAP web service server. 2) Manually form SOAP request and pass it onto the server over the SSL connection created in 1. Now my question is whether i can do all this through a web service client class or some other class provided as part of the .NET library or which is freely available over the internet. Pre ...Show All
Szász Bence WSE/DIME - WSE352: The size of the record uuid:{g-u-i-d} exceed its limit
I've gotten DIME attachments to work, but I'm running into the infamous 4096 limitation. How can I download a 20 meg file as a DIME attachment I've tried the maxRequestLength setting <messaging> <maxRequestLength>-1</maxRequestLength> </messaging> but this doesn't have any effect. Actually, looking at the docs indicates to me that this setting has an effect for upl ...Show All
darzil .NET componant from COM componant
I have a dll file from a .NET application that I want to reference from Excel-VBA. VBA won't let me reference it. I followed instructions and ran tlbexp.exe then regasm.exe and then gacutil.exe and everthing said it worked succesfully. Since I don't know much about programming I can't really say what these things did. I suppose they created and registered a type library from the dll file. The problem is when I reference the new tlb file with ...Show All
csharpman Copy a table from ms sql to ms access
How can I do this two jobs with c# .net2 1. Create a blank .mdb file. 2. Copy some tables of a ms sql db to this .mdb file. One way that I use is to inside the application reate a data set of the table and use the built in functions to save the xml file, then you would need to re port the data set to the access database and reload the xml file. Another option is to connect to both systems, use a dat ...Show All
jdrean Using Isolated Storage for DB connection strings
Hi, I'm using .NET 2.0 Beta 2... I am using Isolated Stored to hold application settings and user setting, application data is stored in an Assembly scoped store and user data is stored in a User scoped store. My question is regarding the encryption of a db connection string. If the connection string is in the application store does that mean it is already encrypted and ONLY accessable by my application and therefore I don't have to specifically ...Show All
Aleaxue How do i get Reference of a running application
If a windows application is running, how can i get the reference of the form in that running application from my project. I am developing in .NET. Hi Bjorn, I have been using .NET 1.1 not 2.0, where .Exe projects can not be taken as reff, only class lib type projects are allowed to take reff. And also not always i shall be having the source code, i.e. the project in my hand. I might be having the EXE only. Arup No the form is f ...Show All
