|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
FileSystemWatcher problem
SharpCoderMP -
1 Apr 2006 11:28 PM - 2 messages
hi, i have a problem with the FileSystemWatcher: i want the watcher to monitor my cd drive. but when i try to set the FileSystemWatcher.Path property to "e:\" (which is my drive) and there is no cd inside i get an exception. ...
Removable drive notification
SharpCoderMP -
1 Apr 2006 11:24 PM - 5 messages
hi, what can i do to have my app be notified when there is a new drive in the system? I need to perform some actions in my application when new drive (like SD card or some usb storage device) shows up in the system. ...
Does ReadOnlyCollection<T> implement IList<T> ?
Lucian Wischik -
1 Apr 2006 8:57 PM - 3 messages
Does ReadOnlyCollection<T> really implement IList<T>, like it claims to do? ... When I right-click on ReadOnlyCollection and look at its definition, it says this: public class ReadOnlyCollection<T> However, the following code fails its assertion check: ...
COM object with CLSID {..} is either not valid or not registered?
brianbasquille -
1 Apr 2006 8:44 PM - 14 messages
Hello all, Am trying to modify / update the existing open-source OpenHTPC. I've renamed most of the namespaces and some forms (as well as added my own with modifications) and everything works except for playing of a video file. ...
Do I have to put assembly using COM+ transaction in GAC?
Arif Khan -
1 Apr 2006 6:59 PM - 3 messages
I am currently working on .net 1.1 and want to use COM+ Transaction. Do I have to put assembly using COM+ transaction (specific class inheriting from ServicedComponent) in GAC? as per my understanding NO. I can but I don't have ...
MENU ON FLY.
GEETHA -
1 Apr 2006 4:02 PM - 7 messages
hello, how to create menu on fly( something like the mail button) for my custom toolbar button? is this possible in C#? i came across the Magic lantern article in VC++ to do thid. Is there any similar article avaiable? ...
Convert Dataset with Tables with Relations to Flat view
Joe -
1 Apr 2006 3:50 PM - 4 messages
Hi I have a dataset with 2 tables and Relations What is the best way to flatten the 2 files to a new table or xml or file I can loop thru table1 and get the childrows or I can do an Xpath on the xml but not sure how to get relation from xsd ...
adding two or more exes in one??
shan -
1 Apr 2006 2:08 PM - 2 messages
hi i have a problem i have one windows service which i am installing from one other exe(in process.start simply using cmd.exe and installutil) now i want to combine these both exes into one for deployment. see tell me how i will use path for the windows service when i will ...
RESOURCE FILE PROBLEM
Savas Ates -
1 Apr 2006 1:37 PM - 2 messages
I created App_GlobalResources directory and I put my Resource file which is named WebResources.resx It includes one record name value Button1 isbuluyorum and other fields are empty. ...
Volume textures in DirectX C#
Feniks -
1 Apr 2006 12:18 PM - 3 messages
Hi, perhaps You know how to use volume textures in DirectX with c# ? I need an example in c#. As I was looking through directx's classes there is such class as VolumeTexture, in connection with TextureLoader.FromVolumeFile loading seems to be quite simple. But how to enforce CustomVertex to use 3 ...
win32security
cax -
1 Apr 2006 11:25 AM - 5 messages
has anyone tried to use win32security with dotnet 2.0 (vs 2005)? I've tried but I got errors like Microsoft.Win32.Security package not found, etc..etc.. thx, cax ...
Merging ActiveX Control
Khaled Hussein -
1 Apr 2006 9:25 AM - 8 messages
Hi Every body, I am currently working in aproject where I am stuck in merging an ActiveX control (*.ocx) file into a managed Class Library (*.dll). I want to hide the ActiveX Control in this managed Dll, so that even when things are ...
How do I listen to a random number of ports with one socket?
Egil Hansen -
1 Apr 2006 8:41 AM - 6 messages
Hello I'm trying to build a application, that will use one socket to send a lot of queries out to different servers (game servers), and have another socket handle the replies. E.g. I don't want to create a ...
implicit cast operator funny-ness
Pieter Breed -
1 Apr 2006 6:24 AM - 11 messages
Hi All, Please excuse me, but the bulk of my post will be a code post. It describes some weirdness with regards to the implicit casting operator. The crux of the problem is this: I want to set a property on a class that takes an interface instance. ...
keyboard hooks in C#
Hema -
1 Apr 2006 6:20 AM - 15 messages
hello all, I am working on a project related to Internet Explorer. I want my application to be invoked by a keypress( single key stroke or a combination). But this must get invoked only when the IE browser is open. I learnt that SetWindowsHookEx must be used along with few ...
How to speed up the ReadXML?
Jason Huang -
1 Apr 2006 6:03 AM - 3 messages
Hi, In my C# Windows Form project, I'm testing comparing using the SqlClient with the ReadXML method. The ReadXML method will read 2 .xml files, one is 4K, the other one is 3Mb, both are on my PC's local drive. ...
How to sort Hashtable by value and not key
max sharma -
1 Apr 2006 5:31 AM - 7 messages
Hi all, I am using hashtable in C# with keys of type string and values of type double. I am not able to find a way to sort them by value (descending to be precise) instead of key. Can someone please help me. ...
How to access a pointer to an existing structure?
Sujoan -
1 Apr 2006 4:36 AM - 2 messages
Hi, Iam trying to implement the QueryStatus method of IOleCommandTarget interface. public int QueryStatus(ref Guid pguidCmdGroup, int cCmds, IntPtr prgCmds, IntPtr pCmdText) { object ocmd=Marshal.PtrToStructure(prgCmds,typeof(OLECMD)); } Basically, prgCmds is a pointer to an existing OLECMD structure, and I ...
Visual studio.NET problems
Z.K. -
1 Apr 2006 2:40 AM - 5 messages
I have Visual Studio.Net 2002 installed on my computer and now suddenly, it won't launch, I can not repair it, and I am unable to uninstall it either. When I try to uninstall it, or repair it, I get the error: ...
Creating Generic Class from 2 classes
tshad -
1 Apr 2006 1:45 AM - 17 messages
This is a little complicated to explain but I have some web services on a machine that work great. The problem is that I have run into a situation where I need to set up my program to access one or another (could also be 3) different web servers to ...
A Call to pinvoke function
msnews.microsoft.com -
31 Mar 2006 9:38 PM - 4 messages
Hi i am using User32.dll in Visual stdio 2005. [System.Runtime.InteropServices.DllImport("user32.dll",EntryPoint = "SetActiveWindow")] public static extern long SetActiveWindow(long hwnd); [System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "keybd_event")] public static extern long keybd_event(byte bVk, byte bScan, long dwFlags, ...
"Phantom" Warning Messages
Chuck Cobb -
31 Mar 2006 9:28 PM - 4 messages
I'm doing a CSharp project in VS2005 and I'm getting some strange warning messages. The problem is that the warning messages don't link to anything in my code so they are very difficult to track down. Some of these also ...
StringBuilder
KH -
31 Mar 2006 9:23 PM - 8 messages
API question... Why doesn't StringBuilder have IndexOf and other similar methods like String? I can't think of a good reason off the top of my head. Easy to write helper functions to do the same thing, but sure would be ...
Get all supported unicode points for a font in .net 2005
Gary -
31 Mar 2006 9:23 PM - 2 messages
I am wondering if .net2 has a handy function to return supported unicode ranges for given font file. I knew GetFontUnicodeRanges() API can do that. But any way to do it directly in managed code? Thanks, ...
Session management with AxWebBrowser
pgmanno -
31 Mar 2006 9:05 PM - 5 messages
Hello all, Here is my question. I have an AxWebBrowser (hereafter refered to as "Browser") control framed in a smart client. The smart client requires logon, and the web app that the Browser is pointing to requires logon ...
disabling controls by checking off a radio button when the form loads
helpful sql -
31 Mar 2006 8:42 PM - 9 messages
Hi, I have 2 radio buttons on my Windows form control. The radio button's CheckedChanged event disables or enables other controls on the form based on the value of the Checked property. When the form loads, I want to check off one of the radio buttons. So I ...
Can find copyfile in c#
ad -
31 Mar 2006 8:16 PM - 5 messages
I am finding to copyfile in the online document. But I only find the namespace : Namespace: Microsoft.VisualBasic.FileIO How can I copyfile in c#? ...
apostrophe in href path
Rose -
31 Mar 2006 8:15 PM - 2 messages
Hi all, I'm trying to create a clickable link, but the pesky apostrophe is preventing the link from getting displayed properly. I'm displaying the contents of a folder (with contains the apostrophe), with the filename as a clickable link. The files show up properly, but the link location cuts off at ...
Any free way to create unreadable exe file yet?
MrNobody -
31 Mar 2006 8:06 PM - 8 messages
I have not looked into this for a year or so, but I'm interested again in such a tool so I'm wondering if anyone knows of somethign out there that exists.. Basically I want to be able to create an exe out of my C# project like ...
Calling FTP process
Jim Heavey -
31 Mar 2006 6:44 PM - 2 messages
I want to write a console application which will connect to another machine and FTP files from that machine to mine. Does .Net have classes which would allow me to do this natively in the .Net platform? (Any examples???) ...
DataGridViewColumns tab order
Dieter De Doncker -
31 Mar 2006 6:28 PM - 4 messages
Hi Is there a way to remove DataGridViewColumns from the tab order in a DataGridView ? Thx Dieter De Doncker ...
Hide selected row in DataGridView
osmarjunior -
31 Mar 2006 6:11 PM - 5 messages
When I try to make the current row invisible, I got an error. I put a checbox that turns some rows visible/invisible. Then if the selected row is turning to invisible, it raises an exception. My code: foreach (DataGridViewRow row in myGrid.Rows) ...
image encryption problem, please help!!
pachinco -
31 Mar 2006 6:09 PM - 4 messages
Hello, I am having a problem encrypting a tiff image..it always loses information after i decrypt and I know it has something to do with the encoding but i can't figure it out. Any help would be appreciated.. ...
Passing List<double> to a C++ Class Library from C#
jamie -
31 Mar 2006 4:42 PM - 3 messages
hi, I'm trying to pass a List<double> array from C# to a C++ class library but I get the following error: "No overload for method 'zzz' takes '1' arguments" My C++ method in the library has 1 argument: ...
Use active directory to scan for software on a remote system?
Brian Henry -
31 Mar 2006 4:27 PM - 3 messages
In programs like Hyena, you can use AD to view programs installed on systems. How could I do something like this in .NET? I know there is a directory control, but im not sure how to query AD to get the installed ...
HybridDictionary v.s. XPath Queries for performance?
Mark S. -
31 Mar 2006 4:18 PM - 4 messages
The app gets about 300 requests per second during peak hours. The part of the app in question acts like a "lookup table", but isn't tied to a database. My reading on the subject, and my test code, leads me to believe ...
C# Fundamentals Part 3: ReferenceEquals question
Marcel Hug -
31 Mar 2006 3:23 PM - 21 messages
Hi NG! In my book I have the following code simple and I tested it: public class Base : ICloneable { public int Age; public string Name; public Base(string myname) { ...
Any support in C# for zlib inflate/deflate?
MrNobody -
31 Mar 2006 3:06 PM - 4 messages
I need to use standard zlib inflate/deflate procedures... does c# support this? how/where are the relevant classes? ...
combo box drop down
Bob Allen -
31 Mar 2006 2:21 PM - 3 messages
Is there a way to drop down a combo box when it is loaded to show that it has been poplulated without clicking on the arrow? Thanks; Bob; ...
Build number
Greg Smith -
31 Mar 2006 2:14 PM - 5 messages
Is there a way to read the build number when you compile? I would like to display the build number on the "About" screen. Any help is greatly appreciated. ...
Object with callback destroyed ??
Geoffrey -
31 Mar 2006 1:49 PM - 4 messages
Hello, I have a project like that : ..... TestClass t; for (i=1;i<=x;i++) { t=new TestClass(params); t.Save(); } .... In the constructor of TestClass, if params has a particular value, I create a TCPClient, connect it to a serveur, and run a (asynch) beginread. ...
Dipose() Doubts
Leandro Martins Berti -
31 Mar 2006 1:48 PM - 5 messages
Hi... I have a main MDI form where I load (in a menu click method) my MDI child forms, like in example below: private void tStpPrincipalUsers_Click(object sender, EventArgs e) { ...
Reg : File Readonly
SivaprakashShanmugam -
31 Mar 2006 1:19 PM - 3 messages
Hi Can you please explain me how to make a text file as a Read Only which is already existing in local disk in C#. Thanks Siva. ...
view state bug?
Red2 -
31 Mar 2006 1:08 PM - 3 messages
Hi All, I have a asp.net (c#) web form. It's using nested repeaters to build a test. So one repeater for questions, and the nested one for answers. The answers are all a radio button. Well on submit i check ...
VS2005: ASP.net forms designer: Intellisense
Martin Robins -
31 Mar 2006 12:42 PM - 2 messages
I have created an inherited control based upon the GridView control, however when I use this control within the VS2005 ASP.net form designer I can no longer access the intellisense for the base control (technically it is now in a new namespace instead of the original "asp"). ...
Generics, Collections, Casting
anders.forsgren -
31 Mar 2006 12:11 PM - 6 messages
This is a common problem with generics, but I hope someone has found the best way of solving it. I have these classes: "Fruit" which is a baseclass, and "Apple" which is derived. Further I have an "AppleBasket" which is a class that ...
Can't call Mutex.WaitOne() again after Mutex.ReleaseMutex()
ano -
31 Mar 2006 11:18 AM - 5 messages
How to reset Mutex.ReleaseMutex()? I can't call Mutex.WaitOne() again because the Mutex status seem to be fix to ReleaseMutex(). Do I need to create new Mutex() every time after ReleaseMutex()? Thanks ...
Prevent INamingContainer
Martin Robins -
31 Mar 2006 10:27 AM - 3 messages
I have a situation where I need to specify the names for some controls without the parent INamingContainer getting in the way - this is because I am using 2 hidden fields to pass data to another site but due to the use of ...
A program to add, edit, remove records from Access Database..
Mr-E -
31 Mar 2006 10:05 AM - 3 messages
Hi all, I've been trying for a few weeks now to make a program in Visual Studio 2005 that has a combobox to select all the tables in a database. This is a part I already have. When you have selected a table the program ...
is it possible to define the order in which winform user controls load?
Greg -
31 Mar 2006 9:49 AM - 4 messages
I have one control that absolutely must load before any other controls, due to some initialisation code within it. Is there a way of getting this control to load first? Moving the code from the load event to the constructor isn't an option to get around this issue. ...
StreamWriter, need to appendtext and not overwrite af file
Mads Westen -
31 Mar 2006 9:38 AM - 6 messages
Hi, I'm parsing some XML files, and converting them to CSV. I got x number of XML files in a directory, these files do I need to be converted and written to the same CSV file. My problem is that my csv file only contains the data from the last XML file ...
Command Line Programming
Martijn Mulder -
31 Mar 2006 9:05 AM - 6 messages
Does Microsoft Visual C# 2005 Express Edition support command line programming the way Microsoft Visual C++ 2005 Express Edition does? (thumbs up for that) ...
Patterns anyone?
Jim Hubbard -
31 Mar 2006 8:48 AM - 9 messages
I am looking for patterns for a distributed .Net application for a small retail chain. The owner wants the stores to have access to all data (no matter which store it comes from) in real time. In the case of an internet outage, the store ...
XML and WebProxy
Andrew -
31 Mar 2006 8:30 AM - 5 messages
Morning everybody, I have an XML document located on a web address and I wish to create a C# program to read that XML document and process it - which shouldn't be that difficult yet I'm running into all kinds of problems because ...
partial namespace
Steph -
31 Mar 2006 8:04 AM - 5 messages
hello, can we do a partial namespace ? i want split my cs file (contain all my classes) in a lot of files and then compil their into my DLL... so in this case, is more easy to work : library.dll = ...
Freeing memory in C#
Atul Sureka -
31 Mar 2006 8:04 AM - 5 messages
Hi, I want to free the object memory in C# - like we do using 'delete' keyword in C++. Lets say I have an object of some class and I want to explicitly free the memory. C# do not have any free or delete keyword to do so. ...
Sending Email through Exchange
Mr. Bean -
31 Mar 2006 7:05 AM - 3 messages
Hello, I have tried several code sample to send internal emails using the System.Web.Mail but all the mail was delivered to the 'Bad Mail' folder. I'm running 'Microsoft Exchange Server 2003'. If anybody could tell me what I'm I doing wrong or guide me to other techniques or ...
Issue with propertygrid.
asjad -
31 Mar 2006 6:07 AM - 5 messages
I need to make my propertygrid readonly in some cases which obviously i am not able to do. So what i do is i make my propertygrid.enable = false and then tried to make its scrollbar.enable = true through reflection but it does not ...
Import Namespace
moondaddy -
31 Mar 2006 4:33 AM - 2 messages
In vb.net its possible import a namespace into a project so you don't need to add it to the top of every class. Is there a way to do this in c# on a project level? ...
Send ctrl-c
William Stacey [MVP] -
31 Mar 2006 2:53 AM - 4 messages
How do you send Ctrl-C to a standard input stream? Just sending 03 does not work. ...
POINTERS
Pohihihi -
31 Mar 2006 2:50 AM - 9 messages
Hello, How can I use pointers in c#. I am trying to create a link list. Cheers, Po ...
c# direct x book
cmk128 -
31 Mar 2006 2:05 AM - 2 messages
Hi Any c# direct x book? I can't find any, please recommend thanks from Peter ...
XML encoding using C#
Gilgamesh -
31 Mar 2006 12:29 AM - 5 messages
I've a string which needs to be converted to valid XML string. The original string might have characters such as "%", "!", "+", etc. Is there any function available in C# that could do this? Thanks, Gilgamesh ...
Generic string type defaults to null?
Brett Romero -
31 Mar 2006 12:27 AM - 6 messages
When I use this code: public void CreateColumn<T>( string sName) { T thetype = default(T); dc.DataType = thetype.GetType(); ...
is it possible?
gregory_may -
31 Mar 2006 12:08 AM - 10 messages
Is it possible to force a limit on the amount of CPU a task is taking? I am thinking of writing a simple app that will let me force other applications to "be nice" by only using so much CPU. ...
best way to proceed on Windows.Forms user interface?
Andre Ranieri -
31 Mar 2006 12:08 AM - 7 messages
Hello everyone, I'm wondering if I could get some advice on the best way to build the user interface depicted in this diagram: [link] The gray areas will be static throughout. However, I'd like the blue area ...
copye char[] to byte[]
John A Grandy -
31 Mar 2006 12:07 AM - 7 messages
How to copy an char[] to a byte[] , where the char[] holds unicode characters ? ...
Digital signing suggestions
Joe -
30 Mar 2006 10:35 PM - 4 messages
I want "sign" some files with company information but not necessarily all files will be signed. I came up with 2 options: 1 - sign the file itself or 2 - place an encrypted hashtable or key/value pairs in the file and try to read it. ...
Unicode, encodings, and asian languages: need some help.
apprentice -
30 Mar 2006 10:12 PM - 41 messages
Hello, I'm writing an class library that I imagine people from different countries might be interested in using, so I'm considering what needs to be provided to support foreign languages, including asian languages (chinese, japanese, korean, etc). First of all, strings will be passed to my class methods, some of which ...
c# Gui Freeze when waiting for Data
Lam -
30 Mar 2006 9:45 PM - 6 messages
hi I am writing a C# windows program which will get datatable from database through ODBC connection then I show the the datatable on DataGridView. The problem is that before the datatable get returned, the GUI freezes. I can't move it ...
Windows Service - Reporting Error at Start
Joe -
30 Mar 2006 9:40 PM - 7 messages
C# .NET 2.0 I've got a Windows Service that works exactly as I expect it to. However, it does rely on a few Configuration settings. If the customer doesn't configure it correctly, the service shouldn't start. ...
fuzzy logic with .net
Alberto -
30 Mar 2006 8:59 PM - 2 messages
Does anybody knows if .net has a library of classes to work with fuzzy logic? Thank you ...
Looking for books / references for Network programming using mutlithreading
Dan Tallent -
30 Mar 2006 8:47 PM - 3 messages
I need to design a server application that will handle an unknown number of clients. (currently 25+) The initial plan was to create a new TCP socket connection for each client. When the client needed a piece of information, ...
Exception Stack Trace Parameter Values.
news.microsoft.com -
30 Mar 2006 8:32 PM - 3 messages
Hi all. If I wanted to write something so that, when an exception was thrown, and the stack unwound, the stack trace was captured with the values of the parameters (instead of just the parameter signature for method), is this ...
adding parameters to Oracle Oledb for update
Mo -
30 Mar 2006 8:17 PM - 2 messages
Hi, I am having a lot of problem adding a parameter to a oledb data sorce and execute it here is what I have I call string Pump="Yes" ResultSet = RunQuery("Update CDB_on set Resultx=:Resultx where (Serial_Number='" + row["Serial_Number"].ToString() + "') ", Pump, ...
sizing a radiobuttonlist in an asp.net page
Rik Brooks -
30 Mar 2006 7:29 PM - 3 messages
I have an asp.net page that looks great except for a radiobuttonlist. It insists on being what looks like 12 point. It doesn't matter how I resize it. It stays big. This is a horizontal list and it's for Y and N. I know a checkbox would be ...
Getting class instance names via reflection
Shawnk -
30 Mar 2006 6:42 PM - 21 messages
I would like to get the class INSTANCE name (not type name) of an 'object'. I can get the object (l_obj_ref.GetType()) and then get the (l_obj_typ.Name) for the class name. I there any way of getting 'l_Fred_my_ins' out of the following. ...
Control custom property
Andy -
30 Mar 2006 5:57 PM - 3 messages
Hi all, I'm creating my own DataGridViewColumn class, and have added a string property to it which should be settable via the Property designer. I've gotten the property to show up, but even if i set a value, the ...
Updating A DataSet Through A Web Service
David P. Donahue -
30 Mar 2006 5:54 PM - 8 messages
My experience with databases using C# has been pretty limited thus far. Mostly I just use a SELECT statement to populate a DataSet, which is just read-only (mostly for display on a web page), or maybe go so far as ...
Scrolling DataGridView ( window forms)
Mel -
30 Mar 2006 5:34 PM - 3 messages
Hi, When opening a form with a datagridview, I would like the grid to scroll to the last row. If the row is visible there is no problem. The grid has a binding source which is bound to a bindinglist<T>. I then set the binding ...
OT: Value of CS Degree
Verde -
30 Mar 2006 5:08 PM - 67 messages
What is the real-world value of having a university degree in computer science? ...
DataGridView DataBinding
helpful sql -
30 Mar 2006 5:00 PM - 10 messages
Hi all, I have a DataGridView control in my Windows Forms application. I am binding it to a DataTable in another assembly. The name of the assembly is ActivityListDALC. I want to bind my grid to ActivityListDataSet.ActivityListDataTable in this assembly. I selected this ...
question about Output message error 401 trying to publishing my ap
Rich -
30 Mar 2006 4:56 PM - 2 messages
When I try to publish my app I am now getting the 401 error message. It used to work. Then someone changed something on the server. We are now trying to change stuff back on the server. I don't know what to do to fix the error ...
PERFORMANCE QUESTION
Savas Ates -
30 Mar 2006 4:51 PM - 8 messages
I want to built a web page which is gonna have multiple languages. Which one is the best way ? Using a Xml file to store languages and their corresponding fields or Using a MS-SQL Database ? What do you recommend me to have best performance about multilanguage ...
Accessing Protected Variable From Outside Class
Ben -
30 Mar 2006 4:38 PM - 6 messages
Hello I have a protected variable in a class (Class A) that I need to call from another class (Class B) to modify. I thought what I had to do was create a public method in the class (Class A) containing the protected variable so ...
set matching
solandre -
30 Mar 2006 4:27 PM - 12 messages
hi there, i have to find matches in two sorted arrays. there are two good possibilities as a temporary solution, performing different, depending on the inner structure of the data. but i try to find a better one. ..possibility one ... ...
How to hide an app at at startup
MJB -
30 Mar 2006 3:46 PM - 7 messages
I have an application that I need to hide at startup in the system tray. I found this article on how to do it: [link] ...
need superfast binarysearch, with superfast icomparer
solandre -
30 Mar 2006 3:41 PM - 12 messages
my motivation is as follows: i have to binarysearch several million times an long[] that is several million items big. this costs time, although i use Array.Binarysearch<long>. so i try to keep the Compare-method as lean ...
Hiding inherited method
PIEBALD -
30 Mar 2006 3:36 PM - 6 messages
I was trying to break some polymorphism, expecting it not to work, but I'm a curious sort. I was seeing what happens when a derived class tries to hide an inherited method with a private new method, expecting an error or warning; I got ...
Copying a folder on the server
Michael -
30 Mar 2006 3:06 PM - 18 messages
Hello, I am writing an app that will sit on the desktop. It needs to be able to make a copy of a folder that sits on the server. It will copy the folder from the server and place it in the same directory on the same server. This ...
WebBrowser - how to clear session cache?
ESmith -
30 Mar 2006 3:01 PM - 3 messages
How can I clear the current session cache of previously visited webpages? That is, say I start up my app (with browser component), point to [link], click on several links, then I want to programmatically clear ...
writing to a binary file
Bob Cummings -
30 Mar 2006 2:00 PM - 5 messages
Good Day I would like to write a password to a binary file. I am following along in the book and examples I have found googling. However when I open the file in notepad it looks like a text file. Can someone tell me what ...
User control displaying class property implementing IList interfac
Marek -
30 Mar 2006 1:59 PM - 2 messages
Hi I have a user control that has a property which is a class implementing IList: public partial class MultiPanelControl : UserControl { protected MultiPanelList _panels = new MultiPanelList(); ... } public class MultiPanelList : IList<MultiPanel> { ... ...
How to get typeof declared item in generic List
Mirek Endys -
30 Mar 2006 1:26 PM - 2 messages
Hello, I need to get the type of item in the declared generic List. This is my class and my List derrived from List<MyItemClass> public class MyList : List<MyItemClass> { } public class MyItemClass { } Type t = typeof(MyList); ...
Is there anything in .Net which can detect the resoruce leak?
Jianwei Sun -
30 Mar 2006 1:17 PM - 2 messages
Hi, guru, I know GC in .Net will take care of the memory leak, but how about resource leak. Say, in a very complicated programs, some gdi objects are not release properly. It's possible if the program are written by a lot of programs ...
Generic factoring for cross database functionality
DelphiAddict -
30 Mar 2006 12:40 PM - 6 messages
Hi. Has anyone looked into generic factoring for making database independant applications? (Framework 2.0) I have, but I'm in the starting fase. What I do know is that if you only write code, you are able to make ...
Accessing Address book from C#
lauge -
30 Mar 2006 12:39 PM - 3 messages
Hi, I will like to access the Address book in windows via C# (.net 2.0), is this possible and can it be done independent of the mail program that the end users are using?? Best Flemming ...
Open Excel file in browser using .Net
dele.olowoyo -
30 Mar 2006 12:38 PM - 2 messages
Hey All, I am trying to open an Excel file in a browser by using Response.Redirect. The file is located in a virtual directory. However, the browser title shows the path of the file, which I don't ...
Please! VB controls in C#
Alberto -
30 Mar 2006 11:52 AM - 6 messages
I need use a vb 6 control in my application written in C# but, as I am a limited user (no administrator), everytime I run it an error appears. Why? How can I make it works? Thank you ...
ArrayList.Synchronized lock both read and write/add, insert and remove ? Is sync needed even at race
Does socket has 2 streams ? What is "(a)synchronous"? Will BeginReceive() creates too many threads s
Next »
|
|||||||||||||||||||||||