Answer Questions
Reza How to trace time for FTP Upload
Hi, I've written a windows application to upload the files to our ftp location using .NET v1.1. Now my requirement is to find out the time that will take to upload the selected files. Inother words, how can i show the estimated time to transfer any file on the internet Any suggestion are highly helpful to me.. Thanks and Regards, Chakravarthy Hi! Simple way: time left = used time * downloaded size / total size Smooth ...Show All
Jeong-hun Zip files in c#
Hi, Does anyone know of a way to zip files in c#. I tried using sharplib but the compression utility that comes with XP is not able to unzip the files. I need a format that can be unzipped by this and most other compression tools since I am not sure exactly what my users will be using to unzip the files. Thanks in advance Yes. Use Path.GetFileName() instead of RemovePathRoot() above. Hi, Since you ...Show All
Brian Wong Construct a new type in runtime
I have a definition file that describe structures. A structure's member can be a simple type element (string) or another structure type. Instead of building a dictionary like system i want to create type per structure and use them further as other types. Is it possible Thank you. At first look it seem to be the answer. :) Any books or article to read about it ! Sounds like you may want to look at the System.Reflection.Emit namespace ...Show All
SergeyKokorin embedding application?
Hi. I did not know which forum to post this in so I apologise I was wondering in .NET if there is a way to embed an exe application on a webpage (ASP.NET) using .NET 1.1 or 2.0 I have googled about trying to embed applications into html/webpages but nothing came up. Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP ...Show All
Curtis111 [c# 2.0b2] Client calling Asynchronous web service how to wait the end of callback
Hello, I have a smart client, it call a web service asynchronous but i would like wait the end of the callback before continue to run my application. (resynchronize) example code : public void Init() { try { myWebServiceProxy.getMyListe0RequestCompleted += delegate (object sender, getMyListe0RequestCompletedEventArgs e) & ...Show All
charafeddine How to retrieve the SELECT statement from a dataset?
I trying to get the SELECT statement used to fill a typed DataTable at run time. Like in vb6 you used objAdodc.recordSet.Source or objAdodc.recordSource to get the SQL Statement The information is in the TableAdapter as design time but I can't access the SelectCommand at run Time. Any help would appreciated Thanks in advance Ger . Thanks Dave. That did it. Ger It should be possible. The TableAdapter has an ...Show All
e_LA aspnet_wp.exe was recycled because memory consumption
hi! I have an web application running in 2 server with WIN 2000 Server (2Gb RAM, 2-processors) in load balance and I having problems with memory consumption. This same application is running in only one server for tests, and is this server the problem not occur any time. The difference is the OS, this server is running with WIN 2003 server . Taking a look in the perfmon, i see the dinamics for the objects in all servers. At the WIN 2003 s ...Show All
Gary A. Bushey Remoting vs Indigo taking *nix and Mono into account
I'm designing a distributed system (actually redesiging DCOM app). Planning to use Remoting but Indigo is on the horizon so have been taking a look at that. Ideally, I'd like the same code base for Unix/Linux. I understand Remoting should theoretically work on Mono. I've been told Indigo will never be ported to Mono because MS isn't going to license the technology to allow it. If Indigo isn't going to be ...Show All
Aaron Erickson XML, XSD, and a DataGridView with no Gridlines
I've gotten the DataSet to load the XSD and the XML. The DataGridView control is using a BindingSource object that has a DataSource as the DataSet and I've set the DataMember to the table name. The DataGridView is on a form that is created from a Smart Document project. When the form is displayed, the data in the grid shows, but the grid lines and DataGridControls (like a checkbox) only show if I dip the form under the Windows Start Bar. ...Show All
Jaeger Mitchell MDX + .NET Framework 2.0 + VCS Express Edition + Win XP x64
Hi, For any CS code that uses managed D3D : everytime I try to compile an app. w/VCS Express Edition under the 64-bit edition of Win XP, the app. compiles ok but as soon as it is executed an exception message appears telling that the app. is not a real 32-bit native one. As far as I'm concerned, after installing .NET Framework 2.0 under a x64 OS, both versions -32 bits and 64 bits- are installed on the machine. So, it seems that, by d ...Show All
J.Eubangus LinkedList<string>.ToArray() ???
is there a way to do the equivalent of these in 2.0: List<string>.InsertBefore() List<string>.InsertAfter() List<string>.InsertAt() I also tried using LinkedList<>, but I can't find this method: LinkedList<string>.ToArray() You can actually do this: List< string > list = new List< string >() list.Add("World"); list.Insert(0, "Hello"); list.Insert(2, "1"); ...Show All
M. Zafar Iqbal Collection of DataSetTableAdapters?
Is it possible in VS2005 (Visual Basic specifically) to get a collection of the DataSetTableAdapters in an application I have a strongly typed DataSet without about 30 datatables in it that I've generated DataSetTableAdapters for, and I want to loop through them to fill them. oh that way certainly you can add as many fills as u like in VS2005. I thought you are aware of that and wanted some collection to itera ...Show All
Todd Weber representing XmlElement
Hi, I need to represent something like public struct MyStruct { public string MyProp1; public string MyProp2; } with the only intent to serialize its data into <a:MyStruct> <a:MyProp1>...</a:MyProp1> <a:MyProp2>...</a:MyProp2> </a:MyStruct> I can do it this way using struct or simple class, and providing something like ToString and manually create the xml string. ...Show All
andyywu access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connec ...Show All
micckey Multithreading, MsgBox causes an Error
Hello, This has probably come up before but for the life of me I could not find an answer anywhere....I've created a program in Visual Basic .Net 2003 that starts multithreaded sub using system.threading. The function works great until I put in a MsgBox("Test") anywhere in the thread. When I use this one line of code, the thread itself will execute fine and return 0 when it closes, but when I exit the applicati ...Show All
