Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Compression algorithm
Z.K. - 20 May 2006 11:38 PM - 2 messages
I not really sure this is the right newsgroup so please excuse me if it is not. I am trying to create a simple compression algorithm using the LZW system and I can find a lot of information on the general description of ...
Score How to get full pathnames with startup arguments?
Robert W. - 20 May 2006 10:41 PM - 4 messages
In my WinForms app I'm retrieving the command line arguments with this standard code:     static void Main(string[] args) Here's the problem.  I've now associated my app with a particular extension; let's call it ".abc".  This way if a user is using Windows Explorer they can ...
Score overloading
Doug - 20 May 2006 10:36 PM - 5 messages
Hi I am 'returning' to the learning of C# after a change in jobs and I remember that I used to struggle with the defintion, purpose and function of 'overloading'.  When I was beginning with C# I never fully understood what ...
Score Converting Vb.net to C# issues
Tina - 20 May 2006 10:26 PM - 12 messages
I'm learning C# by converting a large asp.net project to C# that was written in vb.net and option strict was turned off so it's a nice challenge and it is really teaching me C#. This project used a lot of methods in the VisualBasic Namespace.  These ...
Score Running Windows Forms App From Network Share
Jeremy S. - 20 May 2006 10:18 PM - 5 messages
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients and a desktop ...
Score Two diffrent Process tries to open file at the same time.....
ABCL - 20 May 2006 9:21 PM - 2 messages
Hi All, I am working on the situation where 2 different Process/Application(.net) tries to open file at the same time....Or one process is  updating the file and another process tries to access it, it throws an exception. ...
Score google calender
Jessica Weiner - 20 May 2006 8:58 PM - 2 messages
I am working on a project to make a website for a user group which implements the functionality of google calender. Users will be able to see a calender and the events that are scheduled for each day. They can select an ...
Score control tcp settings
Rene Sørensen - 20 May 2006 8:41 PM - 3 messages
I'm createing a tool to managet ip addresses, this is a profile manager. I can control ip and subnet, but i can't control dns and wins. The error i get is "invalid method", the code im using is below ...
Score Encoding characters for HTML
Paul E Collins - 20 May 2006 8:19 PM - 3 messages
I need to convert non-standard characters to their encoded forms for use in an HTML page. Note that I *don't* mean converting a URI, where e.g. spaces would become %20 - there are methods for that in the ...
Score Find inherited classes / walk inheritance tree
Peter - 20 May 2006 7:44 PM - 4 messages
Hi, I have a Class-Tree based on "Command-Pattern" eg. public class Calculator { .... } public abstract class command {   ..    public abstract void Execute()    {    } } public class commandAlpha : command {  ...    public commandAlpha(Calculator calulator,  float alpha) ...
Score MSDN website having problems?
Brett Romero - 20 May 2006 6:34 PM - 2 messages
Has anyone experienced problems this week with the MSDN website: https://msdn.microsoft.com/subscriptions/.  If I click any of the links below "Subscription Benefits", it brings me to a Passport login page that says Passport is temporarily down.  I "sometimes" get around that ...
Score about performace between ++i and i++
Tony Johansson - 20 May 2006 5:38 PM - 20 messages
Hello!! Which have best performance between i++ or ++i. Is it exact the same or is it some very small difference in performace betwwwn these two. //Tony [attached file: p.gif] ...
Score If outgoing server requires authentication?
Coder - 20 May 2006 3:28 PM - 2 messages
If outgoing server requires authentication, How can I use smtpmail object in c# ? I use a windows 2003 server hosting packet somewhere... string from = "regis***@xxx.com"; string to = UserEMail; string subject = "Subject"; string body = "Test"; SmtpMail.SmtpServer = "smtp.xxx.com"; ...
Score Abstract/Sealed method
TJM - 20 May 2006 1:56 PM - 11 messages
Hi, Is it possible to have a method sealed and abstract at the same time? MSDN states clearly that this is not allowed for classes but it does not mention it for methods. I tried with a simple example and the compiler would not ...
Score C# DirectSound Tutorials
Matt F - 20 May 2006 1:39 PM - 2 messages
Hello,     I'm working on an audio mixing application in C# and I was wondering if someone could point me in the direction of some DirectSound tutorials that cover capturing audio from a mic and other sources (i.e. another ...
Score Loading Bitmap From resource
Ivan Sammut - 20 May 2006 12:41 PM - 3 messages
Hi, Anyone can give me an example on how to load a bitmap from resource. Thanks Ivan ...
Score what is LINQ
jack - 20 May 2006 4:43 AM - 4 messages
Iv just heard of LINQ what is this all about ...
Score Covariance question
PDHB - 20 May 2006 4:11 AM - 4 messages
Hi. I want the parameter type of a function to be the same type of the class. One solution would be: class Animal<TAnimal> where TAniman : Animal {    public virtual void DoSomethingToTheAnimal(TAnimal animal)    {          //// ...
Score Harrassment Using the Password Recovery Control
clintonG - 20 May 2006 1:51 AM - 5 messages
When the password is hashed and most secure this control mails a new password to anybody that provides an authenticated user name. The previous password can no longer be used to login. The newly "recovered" password must be used to login and then the user must change the newly generated password ...
Score Splitting a String
Materialised - 20 May 2006 12:18 AM - 29 messages
Hi all, Just wondering if someone could help me with this little problem I'm having. I have a string value (it actually represents a barcode) which looks like this: 5021378002392 What I wish to do is split this string in 4 different string values, as ...
Score Enhancing Bob Powell example
Rene - 20 May 2006 12:12 AM - 4 messages
Bob Powell has a code example called "Capturing the screen or the surface of a control" found here: [link] I would like to know what in the world do I have to add to this code so that ...
Score How to integrate web.config and app.config
ad - 19 May 2006 11:01 PM - 6 messages
I am developing web applicaiton with VS2005. The WebApp used a ClassLibrary in another project. There are some TableAdapter in the classlibrary, and the TableAdapter use the connection in the app.config. The WebApp have also it's own connection string in the web.config. ...
Score delphi.net to C# Convertor?
José Joye - 19 May 2006 10:36 PM - 3 messages
Hello, Some time ago, I already posted the question... However, time is flying... So once again: Is anyone aware of a good tool that is able to convert delphi.Net to c#. I look at the following already: - Delphi2cs - Reflector ...
Score visual studio 2005 or visual web developer?
Jessica Weiner - 19 May 2006 9:39 PM - 2 messages
I need to build an ASP .NET application. Currently, we are using visual web developer express edition. We would like to switch to the Visual Studio 2005 to do the rest of the coding. Is this transition fairly straight forward? ...
Score what is wrong with this
gs - 19 May 2006 9:33 PM - 6 messages
I want to pass a string array to C which uses ansi in a test,  I tried:    unsafe public int ctstAny1dp(String*[] strOut)     {         private string[] strMyC = {             "abcdef string 1", ...
Score Temporary form
Stefano - 19 May 2006 9:31 PM - 3 messages
Hi, I want that when an application opens a form of information it is opened for 5 second ones and then it is closed automatically leaving opened the application. Can you help to make that me? Thanks ...
Score Error Message.. help.
Rafael Tejera - 19 May 2006 9:01 PM - 2 messages
I'm receiving this error message. An unhandled exception of type 'System.Security.SecurityException' occurred in system.data.dll Additional information: Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. ...
Score DLL with main entry point
Mythran - 19 May 2006 8:19 PM - 8 messages
Hmm, just for my test applications, I want to create a dll that has a class: public class MyTest {     [STAThread()]     public void Main(string[] Args)     {         ... blah ... ...
Score ClickOnce
Mel - 19 May 2006 7:37 PM - 3 messages
Hi,     The window form application is deployed using clickonce to the local drive.  There is a local icon but it is buried deep in the document and setting directory and of course changes with user.  Is there any way to find ...
Score Get line number from exception stack trace
Oleg.Ogurok - 19 May 2006 6:59 PM - 2 messages
Hi there, The .pdb files are generally not installed in a production environment. As a result, when an exception occurs, the runtime can't resolve the lines of the code where the problem happened. Instead, one gets the offsets, e.g.: ...
Score Dynamic Formatting
george - 19 May 2006 6:45 PM - 2 messages
Hi, I have an app that takes data from a db and maps it to a CSV file.  There are multiple maps for different customers which has different formatting rules.  For example, some customer wants the data to be short data others ...
Score C#: CodeBehind and Code Re-Use Using Inheritance in windows applications
janisgs - 19 May 2006 6:11 PM - 12 messages
Hi Is there a way to seperate code of interface in windows applications for various design purposes? Just like it can be done in ASP.NET, one code can be inherited in different skins with different design. Sincerely Del ...
Score GetProcessesByName() returns "Access is Denied" when trying to access remote host.
Dave - 19 May 2006 6:04 PM - 2 messages
Hi - I have an application that is monitoring a process on another machine. This application runs as a service.  The error that I am getting when this runs is: Couldn't get process information from remote machine. System.ComponentModel.Win32Exception: Access is denied ...
Score Get network ip adresses
Kevin - 19 May 2006 5:56 PM - 3 messages
Hi! How can i get the ip address of the machines in my network to scan the ports and know if there are any app server running. Thanks! ...
Score Web Service - Invoke button missing?
J.Evans.1970 - 19 May 2006 5:54 PM - 6 messages
Hi.  I've inherited a Web Service from a developer who is no longer here.  One of the purposes of the service was to clear the cache on the server side.  Up until a few days ago, it worked fine - I'd open up the ...
Score Bind Generic Dictionary to GridView
Fao, Sean - 19 May 2006 5:48 PM - 8 messages
Is it possible to bind a GridView to a generic Dictionary object?  When I try it in my ASP.NET application, it throws an exception acknowledging that the specified field or property does not exist.  The problem, I ...
Score Accessing fully qualified name of Assembly programmatically?
Erland - 19 May 2006 5:40 PM - 2 messages
Hi all, As per my understanding in order to load an assembly using Assembly.Load() you have to provide fully qualified name of the assembly you are trying to load e.g. Assembly asmb=Assembly.Load("System.Windows.Forms,Version=1.0.5000.0,Culture=neutral,PublicKeyToken=b77a5c561934e089"); ...
Score What is the best way of adding various user Controls? [Win #C]
MikeY - 19 May 2006 4:28 PM - 4 messages
Hi everyone, I'm trying to figure out, on my windows form, of what is the best way to add various custom controls at various times during run-time. The problem is that they will need to be in the same spot as each other, depending on what ...
Score Recipient address rejected: Access denied
Coder - 19 May 2006 4:26 PM - 2 messages
Hello, I m developing a web application and my site is placed on a hosting company. The problem is, When I try to run this code, This error code returns. "Recipient Address Rejected: Access Denied" I can send via outlook using below smtp server address, but by c# code, ...
Score Page Rank!
Juanjo - 19 May 2006 3:59 PM - 2 messages
Hi people! I´m kind of newbie in web stuff, and actually we're doing some work on a WebCrawler, for the purpose I need to calculate Page Ranks of web pages, could you give me some help on the topic? I´ll be grateful if you ...
Score FireFox cache
RobbGMelenyk - 19 May 2006 3:15 PM - 7 messages
I'm writing a C# program that returns various pieces of computer information.  I want to return information about what the user browses on the web.  It will only support two browsers: FireFox and IE because this is what the userbase of this program uses.  For IE, I return the ...
Score XSLT - how to use it
Dan Aldean - 19 May 2006 3:12 PM - 6 messages
Hello, I would like to convert an XML document to HTML. 1. Can I build with the design tools the xslt document, or I have to write code? 2. Does anybody have a small sample of C# of how to do the transformation? ...
Score Trying to configure IIS v5.1 programatically.
UJ - 19 May 2006 2:43 PM - 2 messages
Is there a way to set certain configuration items in IIS v5.1 programmatically? What I specifically need to change are Web Site Description, TCP Port, Home Directory and remove all items from the default documents except index.htm. TIA - Jeff ...
Score Validate XML with XSD - Tearing my hair out
daz_oldham - 19 May 2006 2:25 PM - 8 messages
I've got a couple of good books here, read online, but I really am having no luck whatsoever with this. In my DLL I am creating some XML in an XmlDocument data type, and I would then like to vaildate it against my XSD which is on the local ...
Score Inter-thread message queue in C#
les - 19 May 2006 2:24 PM - 7 messages
Here's a class which uses 2.0 generics to implement an inter-thread message queue in C#.  Any number of threads can post and read from the queue simultaneously, and the message object can be any type. There's a test driver at the bottom which demonstrates usage. ...
Score C# Clipboard with Reflection question
dmeglio@gmail.com - 19 May 2006 1:29 PM - 6 messages
I have an item that I placed on the clipboard as follows: Clipboard.SetDataObject(slide); slide is type SlideType. Now I'm trying to read the data from the clipboard doing: foreach (System.Type type in this.slideModules.Values) {      if (Clipboard.GetDataObject().GetDataPresent(type)) ...
Score HtmlEditor update
Tim Anderson - 19 May 2006 12:01 PM - 10 messages
I've posted an update to the HtmlEditor - hosts Msthml in C#. I've removed the dependency on Microsoft.mshtml. See here: [link] It would be nice to be able to use the DOM in System.Windows.Forms with the ...
Score Object reference
simonZ - 19 May 2006 12:00 PM - 4 messages
in global.asax file of my web application I defined: public void Application_Start(Object sender, EventArgs e) { String[] besedila = new String[2]; besedila[1] = "test"; Application["besedilo"] = besedila; } And then on my page I have: public partial class objava : System.Web.UI.Page ...
Score Suggestions Please !!!
Lee - 19 May 2006 10:48 AM - 23 messages
Hi, I am writing a small P2P based application that allows users to message one another on a network, and sometimes share files by sending them to each other (no big files.. word docs ect).  The P2P network itself uses a central ...
Score RTF to JPEG converter library
Pierre - 19 May 2006 10:30 AM - 2 messages
I'm looking for a library to convert RTF files to JPEG. This may be open source or not, freeware or not. The library has not to be necessary written in .NET. It can be also in C/C++. Of course, a .NET library is my prefered one. ...
Score silly question!
Adrian - 19 May 2006 10:13 AM - 3 messages
How do you restore the default IDE window positions? VS2003 thanks ...
Score .NET Web Application Intregration Problem
TARUN - 19 May 2006 9:46 AM - 2 messages
Hello All I am facing a problem in intregrating  the .NET web appliction. Please sugeest me.... I have code in two directory 1. dev 2. web In dev :-- This contain number of dll files which need to refernce to the actual ...
Score check for duplicates
Peter Kirk - 19 May 2006 9:34 AM - 3 messages
Hi if I have a List<MyObject> of MyObject objects, what is the best way to check for duplicates? (By "duplicate" I mean that MyObject has a property called "name" for example, which I want to check if this value appears more ...
Score Enable TrackBar DoubleClick event
_DD - 19 May 2006 8:42 AM - 5 messages
TrackBar DoubleClick event is not accessible via the Control Properties event pane.  So I tried adding the handler directly:   this.ColTrackBar.DoubleClick += new         System.EventHandler(this.ColTrackBar_DoubleClick); It compiles but never fires.  I suspect that individual Click events ...
Score How do I compile a C# program?
Ikke - 19 May 2006 8:37 AM - 9 messages
Hi all, Newbie here - can somebody please explain how I can compile a C# program? Thanks, Ikke ...
Score How can I tell (from C# code) if a .DLL is native or a .NET assemb
martin - 19 May 2006 8:17 AM - 4 messages
Hi, How can I tell (from C# code) whether a .DLL contains native code or is infact a .NET assembly? I know that I could use Assembly.LoadFile() and see if it throws a BadImageFormatException but I really don't want any exceptions in my normal ...
Score checkbox list and radio button list
puja - 19 May 2006 6:29 AM - 2 messages
hi all, I have a form which has checkbox list which has items as below 1) Input 1 2) Input 2 3) Input 3 4) Input 4 5) Input 5 Now if user selects Input2 and Input5 and goes to next page and then comes ...
Score DataGridViewComboBoxColumn problem
John - 19 May 2006 6:09 AM - 5 messages
Hi, I've been trying to populate a DataGridViewComboBoxColumn with objects. The object is defined as :     private struct manufactItem     {       public string name;       public Guid? man_id; ...
Score How to identify Form.Control by sender
Jazer - 19 May 2006 5:39 AM - 3 messages
private void ValidationEvent(object sender, CancelEventArgs e) {       if <...>{       this.errorMsg.SetError( sender, "Error");}       //error:                              /\ ...
Score systems programming, internals
rseedle - 19 May 2006 4:28 AM - 2 messages
Is there a general intro somewhere into Windows O/S internals, systems programming, device control (USB) with programming examples ? Randy ...
Score What does the syntax"~[Class name]" mean?
Optimus - 19 May 2006 3:18 AM - 3 messages
Hi everyone, I got a question about a syntax in c#  which I'm not familiar with. And then I've got some sample source code as shown below. public class Window: System.Windows.Forms.Form {       public Window(){ ...
Score Using multiple windows forms
Mario - 19 May 2006 12:26 AM - 3 messages
Hi, I am trying to create an application with multiple windows forms. The problem that I have is that after creating the window forms, I do not know how to open formN after closing Main form.  Each form is in its ...
Score Casting a string to a double
Tina - 18 May 2006 11:33 PM - 12 messages
I'm trying to do this: Double myDouble myDouble = (double) myString I have ensured that myString has a valid value i.e. 79.46.  But the compiler won't let me do the cast. How can I get the value into myDouble. ...
Score Saving objects to a collection for later retrieval
eljainc - 18 May 2006 11:18 PM - 2 messages
Hi I'm looking for general code examples to save a form or the components of a form for later retrieval. For example, lets say at runtime some controls (listview, panel, labels) were placed onto a form. Is there a way to save these items, their general properties (position ...
Score No Symbols loaded error - C#
JV - 18 May 2006 11:12 PM - 4 messages
Hi All, I am new to C# and I am having trouble compiling and running code. I have the code written (it was just an example that I took) and I run it, it gives me No Symbols loaded error as below. ...
Score No Symbols Loaded error in C#
JV - 18 May 2006 10:47 PM - 4 messages
Hi All, I am new to C# and I am having trouble compiling and running code. I have the code written (it was just an example that I took) and I run it, it gives me No Symbols loaded error as below. ...
Score lists of generics
Dan Holmes - 18 May 2006 9:21 PM - 11 messages
I created a class that accepts a type parameter.  I then want to put all of those into one list<>.              List<Parameter<object>> lp = new List<Parameter<object>>(); ...
Score retreiving namespace using Reflection | Beginners
Erland - 18 May 2006 9:04 PM - 2 messages
Hi, I want to retreive different namespaces available within an Assembly using Reflection. Is this possible? Can i retreive a namespace within an Assembly using " Type " ? My question is how can we retreive a namespace from an Assembly? For example, i can see different namespaces with " mscorlib" assembly then ...
Score Any real reason this should happen ?
Ian Semmel - 18 May 2006 8:51 PM - 2 messages
In form designer view, if you cut a control and then paste it into eg a panel, all the Event functions are cleared from the properties view. ...
Score Cursor Position in KeyPressEvent
Richard MSL - 18 May 2006 8:49 PM - 5 messages
I have a TextBox that I am putting some conditions on, such as restricting the number of decimal places that the user can enter. I have been using the KeyPress event, which allow me to examine the current text and prevent ...
Score regex high cpu utilization
rh - 18 May 2006 8:32 PM - 2 messages
hi all, take the following 2 c# lines: 1) str = Regex.Replace(str, ".*AAA", ""); 2) str = Regex.Replace(str, "^.*AAA", ""); notice that the only difference is that the pattern in line 2 has a starter marker (^). if str is large and does not contain the pattern, line 1 ...
Score Where is permview.exe?
Brett Romero - 18 May 2006 8:26 PM - 3 messages
I've downloaded the 2.0 SDK but still can't find permview.exe.  Where is it located or where can I download it from? Thanks, Brett ...
Score form.showDialog() does not work properly
PiotrKolodziej - 18 May 2006 7:28 PM - 3 messages
Hi Iam running form2 from form1. But as it was in many my previous applications,  now the form2 doesn't overlapp form1. It means that i can select form1 without even closing form2. Here's sample code:                     if (MessageBox.Show("Button is not recognized. Would you ...
Score Repeating a character X number of times?
David Veeneman - 18 May 2006 6:45 PM - 12 messages
What function do I use to repeat a character X number of times? For example, say I want to create a string with 40 dashes. Thanks in advance ...
Score Enum.TryParse() substitute
John A Grandy - 18 May 2006 6:39 PM - 2 messages
Primitives like Int32 provide a Parse() method , and TryParse() method --  which is very useful. Enum provides a Parse() method, but not a TryParse() method. Other than wrapping the Enum.Parse() in an exception handler , can someone recommend a technique similar to TryParse() ? ...
Score Are there __FILE__, __LINE__ macro equivalents for C# ?
cbro - 18 May 2006 5:27 PM - 2 messages
Is there a C# equivalent for the C++ macros __FILE__ and __LINE__ ?  They are quite handy for pinpointing where an event log entry was generated.  I am using Visual Studio.NET 2003. ...
Score ListView problem
Pedro Fernandes - 18 May 2006 5:24 PM - 13 messages
Hi all. I have a problem when I do interop between .NET and VB6. What happens is that the listview loses the tile view when my .NET form is under VB6. Does VB6 support this feature? Thanks. ...
Score OpenFileDialog - MyComputer
PiotrKolodziej - 18 May 2006 5:04 PM - 4 messages
Hi I have a problem. When i enter MyComputer via openfiledialog, i cant see any drives, to change, and generally window is open. Thanks for any help. ...
Score Reflection, how to?
James B - 18 May 2006 4:52 PM - 3 messages
If I have a Class below and I want to use Reflection to get classes member variable value how should I actually do it? Can anyone help? Cheers! using System; using System.Reflection; namespace ConsoleApplication1 { /// <summary> /// Summary description for Class. ...
Score C# on multicore
Padu - 18 May 2006 4:45 PM - 3 messages
Hi, I'm a newbie to C# and I haven't dig into multi-threading in .net (I have some experience with MT in delphi and c++). Let's say I have one of these new pentium D multicore. If I start a program ...
Score How to reboot at end of deployment
Dave - 18 May 2006 4:18 PM - 15 messages
My deployment contains sevral projects, one of which is a service. The installation does not automatically carry out a reboot at the end of the installation process, which is required to start the service. Is there any way I can put something into the deplyment project to make the target system ...
Score Validating size of image before uploading to database
Charlie@CBFC - 18 May 2006 4:05 PM - 4 messages
Hi: I'm working on an application that uploads images into binary fields on SQL Server.  Before submitting, I would like to validate size of image (ie, 75 pixels by 75 pixels) so that images are always correct size.  How do I ...
Score Import reg files
RD - 18 May 2006 3:59 PM - 2 messages
How can I import a *.reg file in C#? In VbScript, I would use WshShell.Run("regedit.exe /s file.reg",,) Thanks ...
Score Parse String in Quotes as without Quotes
vighnesh - 18 May 2006 3:54 PM - 5 messages
Hello EveryOne In my project I have to parse a string in Quotes as without Quotes.I tried the following code but it didn't work to me. I again getting the string with Quotes, Can Anybody suggest me where I went ...
Score Adding Controls At Run-Time [Win #C]
MikeY - 18 May 2006 3:08 PM - 3 messages
Hi everyone, I have built a user control "keyboard" and I am trying to figure a way to add this control at run-time. I have also tried creating a Inherited user control, which I am able to add this to my form at run-time, but does not ...
Score List all classes in .NET
martin - 18 May 2006 2:00 PM - 5 messages
Hi, I have some rather unusual questions? How do I list/enumerate all classes in a namespace? How do I list/enumerate all classes in a assembly? How do I list/enumerate all classes in .NET? For the last part I guess I would enumrate the files in the GAC or something ...
Score Exception in a Thread other than Main thread
Mahesh Devjibhai Dhola - 18 May 2006 1:47 PM - 3 messages
Hi, I have one program, where i am using IO and Socket Asynchronous methods "BeginXXX" and "EndXXX". Many time, it happens that in Async delegate method, some exception occurs and if i dont handle it, it shows standard Unhandled exception box even I ...
Score Multithreading in GUI application
Aleksey - 18 May 2006 1:37 PM - 5 messages
Hi, all!   I'm going to write GUI application with server side. Queries to server should run in particular thread and GUI should stop its work until the query finishes. But refresh of GUI main form should be performed during query ...
Score Checked Listbox?
dm1608 - 18 May 2006 1:34 PM - 11 messages
Hi, all. I have a requirement for one of my programs to have a "Checked Listbox" that contains a list of all my local/remote drives. I woudl like users to click one or more drives that I need to search for ...
Score Protected keyword
Ant - 18 May 2006 1:20 PM - 8 messages
HI, I'm using the protected keyword in a class to make a method accessible to a child that inherits from it so as to be able to call the protected method from the child class. I can't seem to be able to access it from either the base class or the class ...
Score Scheduling within a windows service
Simon Harvey - 18 May 2006 12:43 PM - 10 messages
Hi all, Can anyone point me in the direction of how to have a .net developed service wake up every sof often to perform a task. I need to make a service that will wake up every 15 mins to check a ...
Score Receiving Error eMails...
dauphian@gmail.com - 18 May 2006 11:32 AM - 6 messages
Greetings, Is there a way to receive the information that shows on the default error page within .net in an email? I have managed to pull out some pieces using: mail.Body = "Error Description: " + Server.GetLastError().Data.Values + " <br /><br /> " ...
Score Off programming but related question ...
Jacek Jurkowski - 18 May 2006 11:22 AM - 11 messages
I'm looking for an icons for my application. As I'm not an Picasso and I can not draw it by myself I would like to download/buy some icons pack. I would like it to be a good quality, ...
Score Simple Inheritance - An unhandled exception of type 'System.StackOverflowException'...
daz_oldham - 18 May 2006 11:21 AM - 13 messages
Hi everyone As my expedition into OOP takes another shaky step, I now am getting the error: An unhandled exception of type 'System.StackOverflowException' occurred in xxx.dll. In my Visit.cls I have got:     public class Visit ...
Score How can I get a bitmap of a Form using .NET 1.1 (ie NO CopyFromScreen)
Paul_Madden via DotNetMonster.com - 18 May 2006 11:05 AM - 6 messages
How can I get a bitmap of a Form using .NET 1.1 (ie NO CopyFromScreen) ...
Score Error converting dd/MM/yyyy to sql server format
Assimalyst - 18 May 2006 11:05 AM - 4 messages
Hi, I am trying to convert a UK formated date in a textbox to sql server format. dd/MM/yyyy -> yyyyMMdd. Here's the code: IFormatProvider format = new System.Globalization.CultureInfo("en-GB", true); DateTime dateUK = DateTime.ParseExact(DOBTxtBx.Text, "dd/MM/yyyy", ...
Score string to integer array
Howard - 18 May 2006 9:35 AM - 6 messages
How would I convert a string to an integer arrary or arraylist? example: string mystring = "1, 2, 3"; //convert to int[] myArr = {1, 2, 3}; Thanks in advance, Howard ...
Score How can i acquire information about the hardware firewall
jenue - 18 May 2006 9:17 AM - 5 messages
Hi evreryone!     Is there a way to acquire information about the hardware firewall using wmi or anything? i'm having a problem with this scenario.  can anyone you guys help me? thanks, jenue ...
Score How can i get a object by it name in the class whict create it.
@@Worker - 18 May 2006 9:06 AM - 9 messages
for example,i create a class as below public class testClass{     private object obj //this is the right object i need     public testClass(){         obj = new object();     } ...
Score HttpWebRequest closes the connection on each request
Basel - 18 May 2006 8:12 AM - 3 messages
Hi All! My code issues Http POST requests in a loop using HttpWebRequest, I set one unique ConnectionGroupName, and I expected from the client to open one underlying persistent connection for all the requests I generate. This is the code: ...
Next »