Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score Distributed application
Joris Dobbelsteen - 1 Oct 2005 5:27 PM - 4 messages
Dear, I have some considerations I need to take designing a distributed application (it's for a school project). Basically I'm looking for some reference or guidiance material/literature and advises on (potential) issues I should take caution for. ...
Score How to enter data in a SQL database?
markaelkins@newsgroups.nospam - 1 Oct 2005 1:19 PM - 4 messages
I want to create a simple user interface to collect the following data and store the data in a SQL database…. Could someone please help me get started? Data to collect from user interface and store in database: ...
Score how to update the database after the user updates data in datagrid?
Annie - 1 Oct 2005 12:12 PM - 2 messages
hello all, How to update the data after the user updates the rows and columns in the data grid? I use datagrid.Update() method but nothing works? thanks ...
Score winform startup/splash screen
Tom - 1 Oct 2005 10:58 AM - 3 messages
Hi all In winform application I am trying to start 2 forms I am trying to show the 2nd winform on a separate thread. using Thread mainapp = new Thread(new ThreadStart(loadmainscm)); mainapp.Start(); //where private void loadmainscm() { SCM.frmSplash frmsplash = new frmSplash(); ...
Score Generics with singleton
Senna - 1 Oct 2005 9:55 AM - 11 messages
Hi Have a singleton class like this. public sealed class ProductAdapter     {         private static readonly ProductAdapter instance = new ProductAdapter();         private ProductAdapter(){}         public static ProductAdapter Instance ...
Score Timeout on Stream Reads
Helge Jensen - 1 Oct 2005 9:26 AM - 4 messages
I am implementing a protocol which transmits messages. The messages are most naturally transferred using the a Stream so the protocol can communicate over serial-ports, network links, .... If the other party never answers I must timeout -- not block, and this ...
Score Help,How to get the total time elapsed since the system started(more than 1 month)
Rene Ren - 1 Oct 2005 7:32 AM - 3 messages
I can using Environment.TickCount property to get the time elapsed since the system started. but this property using A 32-bit signed integer type, so it's can't count the time more than 24.9 days. How can I do ? ...
Score Service and folder polling
tshad - 1 Oct 2005 1:42 AM - 4 messages
I am trying to write a service that will send out emails whenever a file hits a folder. I know that email services do it.  Is there a way to do this without constantly reading the folder to see when a file is put into it? ...
Score Message Queuing in C#
tiger - 1 Oct 2005 1:20 AM - 2 messages
Hi, I have a  question on MS Message queuing. I would like to check a message queuing to see if there is a message in the queue.  That is if the queue is empty, I would like to send a note to a ...
Score All these dirs, debug,bin, etc..
Jeff - 30 Sep 2005 11:27 PM - 3 messages
Hello Can anyone suggest a good place/article to learn about the basic configuration/structure of all the different directories that make up a (forms/asp,etc.) project? I create files in one place, then upon compilation many others are ...
Score Crystal Viewer and Printer Settings
Karthic - 30 Sep 2005 9:41 PM - 2 messages
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to know how will this affect a report rendered by a crystal ...
Score Form2 DataAdapter/DataSet
Rich - 30 Sep 2005 9:13 PM - 3 messages
Hi, I've done a drag and drop of a sqlDataAdapter and generated a dataset on a second WinForm (Form2) I'm opening as a dialog box. I can bind to it and retrieve results but I get an error when I try to use any ...
Score How to get filtered/sorted data from DataGrid
Tim - 30 Sep 2005 8:59 PM - 2 messages
Hi I am implementing some printing in C# and I need to get the data for it. I am using a datagrid. I can sort the data and filter it. I want to get a datatable of only the data visible in the datagrid. The underlying dataview ...
Score Help, Cannot Create Class in C# 2005 Beta2!
BobAtUnisys - 30 Sep 2005 8:36 PM - 4 messages
After uninstalling Visual Studio 2005 Beta2, installing Visual Studio 2005 RC1, uninstalling RC1 and reinstalling Beta2 I am getting the following error: When I try and create a class I get a message box with the following error "Could not load type 'Microsoft.VisualStudio.CommonIDE.TemplateWizard.Wizard' ...
Score Capturing a panel when its form is minimized
Carsten Klotz - 30 Sep 2005 8:25 PM - 3 messages
Hi, does someone know, if it's possible capturing the content of a panel, when its form has state "minimized"? Details: A panel contains a Webbrowser object (AxSHDocVw.AxWebBrowser). My actual application automatically navigates to some websites, makes a screenshot ...
Score How do I add scrollbars?
MrNobody - 30 Sep 2005 8:05 PM - 4 messages
I have extended a Panel control and overrided the onPaint event so I can do my own drawings. Now the problem is when I draw things beyond the clip area I do not know how to activate scrollbars on the Panel... any ideas? ...
Score Success stories?
CNemo - 30 Sep 2005 7:38 PM - 4 messages
Hello everyone! Recently i've been asked, if i know any successful commerial software written in C#. To myu shame i don't know anyting like this. So i was pretty intrigued. Could you share your success with us? Links and may be very short thechnical ...
Score Debugging C callable dlls from C#
skohnle - 30 Sep 2005 7:26 PM - 3 messages
I have a C# application that loads a C callable dll via DllImport.  The function gets called fine, but I can not debug it (Step into it).  When the dll loads, the symbols are not found, and also the break point has the "?" ...
Score Design: help on CMV refactoring in a simple form app?
Francesc - 30 Sep 2005 5:41 PM - 4 messages
Hi, After some years programming libraries and web based applications I'm trying to program my first not-silly windows application (something similar to an editor but just to annotate text lines). After some trials just putting some code directly at the control events ...
Score Refresh of loaded data DataTable inside.
Alvaro E. Gonzalez V. - 30 Sep 2005 5:35 PM - 3 messages
Hi;     I'm building a control that has a DataTable's property type. The control contains treeview         which is populated in foreach crossing rows of the DataTable established in the property. ...
Score checking for a null in a bit datatype field
Chris - 30 Sep 2005 4:19 PM - 3 messages
Hi, I have an SQL Query that loads a SQLDataReader object. The returned record has bit datatype columns that I use to provide true/false values. I can't get a definite answer googling on how to test if this field is null. ...
Score Postal code processing with .NET regex
Surfdog - 30 Sep 2005 4:07 PM - 3 messages
Hello all, I'm unable to figure out how to process the zip codes with regexes. We have a custom component that takes a find pattern, a replace pattern, and the input value, and will output the processed result string. At the moment we're trying to clean up some zip code data ...
Score Speed issues with filling a list view
Brian Henry - 30 Sep 2005 4:01 PM - 7 messages
I was wondering how you guys would handle filling a list view with something like 10,000 items which each have 10 sub items on them... there has to be major speed issues with that right? Yet, applications like outlook and such ...
Score Intellisense hints on class constructor
Jim Starcher - 30 Sep 2005 3:57 PM - 10 messages
I cannot get the intellisense hints to work on my class constructors.  Would you please tell me what I am doing wrong?     public class MyObject     {         //Constructors ...
Score how to force convert string to long/double
wesbird - 30 Sep 2005 3:54 PM - 2 messages
Hi, I am new here. Please forgive me if I ask some question already got answered. I do search forum first but I did not find the answer.   here is my question, in VB you can convert a string to long by CLng or to ...
Score Chenge WEB page title
Val - 30 Sep 2005 2:58 PM - 7 messages
How do i programmatically change a title of a Web page in ASP.NET? Thanks ...
Score DateTime to DBNull.Value
Diogo Alves - Software Developer - 30 Sep 2005 2:34 PM - 3 messages
Hi, I am writing a class to work with a table that I have... I would like to initialize every var that will be used to nulls... I found a problem doing this to DateTime vars How can I add a parameter do my OdbcCommand telling that a DateTime will be ...
Score Method overloading does this look right to you?
Lenn - 30 Sep 2005 2:34 PM - 5 messages
I have the following method: public void Execute(TCPCommand command, out string outputResponse, out string error) { //snipped code outputResponse = "some message"; error = ""; } now I need to a new overload for this without error and output parameters: public void Execute(TCPCommand command) ...
Score Binding combobox with datareader???
Annie - 30 Sep 2005 1:05 PM - 5 messages
hello guys, I am trying to bind the combobox using a dataread as below: but it doesn't work?? Do While (reader.Read) cboTest.DisplayMember = reader.Item("au_lname") cboTest.ValueMember = reader.Item("au_id") Loop what is wrong here? help please ... ...
Score how to Check whether the application is running or not..?
kiran - 30 Sep 2005 12:21 PM - 2 messages
How to check whether the given application is running or not in the current machine. From, my cshartp program I want check whether the yahoo messenger process is running ro not..? if the process is running i want to open the ...
Score Reflection and Generics.
Rathish P S - 30 Sep 2005 12:01 PM - 2 messages
Hi friends,         I am trying with Reflection and Generics in C#. But I get confused with some of these new features. I am trying to get the type of generic parameter with the type.Assembly.GetType(name,false,false) ...
Score Textbox question
CobraStrikes - 30 Sep 2005 11:34 AM - 3 messages
Is there a easy way to stop a textbox receiving focus ? if so how ? ...
Score Updating Excel Sheet
trialproduct2004 - 30 Sep 2005 10:47 AM - 2 messages
Hi all i am having application storing data in excel sheet. This applicaton is in C# .net. I want to update rows of excel sheet in C#. Can some one help me how to do it. please help me. Thanks in advance. ...
Score System.GetType returns null
audipen - 30 Sep 2005 10:18 AM - 2 messages
I have a problem with System.Type.GetType method. If you try out the following code in C# console app .. System.Type t = System.Type.GetType("System.DateTime"); System.Type t1 = System.Type.GetType("DateTime"); t is set to the appropriate Type object ...
Score displaying only 1 WMI object
D.Bot - 30 Sep 2005 9:46 AM - 4 messages
I have this to search every diskdrive there is on a computer. But now I want to show/acces only 1 diskdrive for example only the C:\ drive. SelectQuery query = new SelectQuery( "Select * from Win32_DiskDrive" ); ManagementObjectSearcher searcher = new ManagementObjectSearcher(query); ...
Score object sender question
Steven Blair - 30 Sep 2005 9:02 AM - 9 messages
Hi, dgTransaction_SelectedIndexChanged(object sender, System.EventArgs e) That sender is actually the object that raised the event. So, in this case you could do: ((DataGrid)sender).Items[i].Controls[0].ClientID; //Do something meaningful here! What is the difference (if any) between using the sender object cast to ...
Score Scope of properties
Dave - 30 Sep 2005 8:57 AM - 14 messages
I would like to make the get method of a property public, but the set method internal so that it is effectively read-only outside the assembly but read-write within it (sort of the nearest thing to a C++ "friend"), is this ...
Score Workflow products recommend require.
ABC - 30 Sep 2005 8:20 AM - 2 messages
My client request a workflow solution.  They want the solution provide as: 1. Has a workflow diagram interface presents their roles, work and tasks. 2. Support .NET technologies for developers to enhance. 3. Has a workflow design to implement or modify the workflow sheets ...
Score Authentication
bernardpace - 30 Sep 2005 7:56 AM - 7 messages
Hi, I need to authenticate users from the client part with the server using a username and password.  Since authentication data needs to be secure, I was thinking of not sending any username and password to server. I read some articles about message digest.  If I read correct, the ...
Score Converting float in C to C#
Meya-awe - 30 Sep 2005 7:17 AM - 2 messages
Hello there, I am using a 3rd party library and a function which requires a float value in one of its methods. My data is in a string format and i tried using Convert.ToDouble and Convert.ToSingle, but didn't work either way. ...
Score CSharpCodeProvider generated EXE embedded with ResourceWriter generated .resources fails...
Jon Rista - 30 Sep 2005 7:12 AM - 5 messages
I have a project where I need to create a windows .exe by compiling code and linking in some resources. This program thats being generated is somewhat unconventional, and I'll explain how. I'm generating a very simple installer ...
Score About Override Class Question
Sunny - 30 Sep 2005 6:24 AM - 9 messages
Hi all, The code as follow: using System; class A {     public virtual void F()     {         Console.WriteLine("A.F");     } } class B : A {     public override void F() ...
Score I got a 3 ICE messages at once
Abubakar - 30 Sep 2005 6:21 AM - 3 messages
Hi, working on a whidbey beta 2, C# smart devices project, I got the following 3 errors (note: the name of my project is "serialize"): 1) Error    322    Missing compiler required member '妭    .RequestMinimum'    serialize ...
Score Is there a good C# / .NET OO graphics library?
queisser - 30 Sep 2005 5:14 AM - 3 messages
I need some basic graphics object functionality for my app. What I'd like to do is this: 1) Start with an empty graphics "surface" 2) Paste or insert-from-file metafiles or bitmaps 3a) Use the mouse to move and resize, maybe rotate the inserted graphic ...
Score HELP: Non-Responding Application
WJScott69 - 30 Sep 2005 2:48 AM - 2 messages
I have written an application in C# and have everything I want working except when I kick off the query to other machines VIA WMI it hangs the app until it completes or I kill it. I know in VB there is a ...
Score Does delegate instantiate an instance of Delegate or MultiCastDele
Nima - 30 Sep 2005 1:58 AM - 3 messages
The documentation for the Delegate and the MultiCastDelegate classes tell me that when we have a line like: public delegate void CheckAndPrintDelegate(string str); it causes the compiler to generate a new delegate class named CheckAndPrintDelegate that inherits from System.MulticastDelegate. ...
Score Switch messed up or there is a reason for the madness?
Meya-awe - 29 Sep 2005 11:51 PM - 11 messages
Hi, i am new to C#. I am using some code similar to the one below. I am declaring an ArrayList in one case block but the compiler complains about it already being used in the previous case block. Is this normal ...
Score How do you "#define" in C#?
James - 29 Sep 2005 11:30 PM - 2 messages
Hi all, How do you #define (as in C++) in C#? Many thanks, James ...
Score Parsing string to doubles - Calculator
James - 29 Sep 2005 11:18 PM - 5 messages
Hi all, I'm making a mini calculator for fun. My only problem is home to convert the string in the text box to a double so it can be added, subtracted, etc. I'm sure most people know how, but I'm a beginner. ...
Score Convert MFC 6.0 static libraries to managed application
Dani Peer - 29 Sep 2005 10:27 PM - 2 messages
Hi, We have few MFC 6.0 applications that are using many static libraries that are basically our infrastructure. Now we want to develop in C#, and we don't want to redesign all the infrastructure, that basically the libs are also ...
Score Threading Timeout Question
JMax - 29 Sep 2005 10:16 PM - 3 messages
Hello! I have a question that I really can’t think of an answer for, but thought I might as well give a shot here. I have a web service, created by the VS web service creator. I have another class, clsWebservice, which provides easy ...
Score managed C# from unmanged C++ dll
SJR3t2 - 29 Sep 2005 9:29 PM - 5 messages
I am new to C#, and I have an issue that I can't find the answer thru googling or checking msdn.  I want to run some c++ code from a dll in C#.  Here are snipits of the C++ header file. ...
Score Sending an email too an emailaddress
D.Bot - 29 Sep 2005 9:04 PM - 3 messages
Hello, I searching for an easy way to send an email from my windowsapplication writen in C#. It's only for test purpose so it only needs to send an email with the subject "Test Mail" many thanks, Dennis ...
Score WinForms, how to override/avoide the tab order for a bunch of buttons/textboxes?
Serdge Kooleman - 29 Sep 2005 9:02 PM - 2 messages
WinForms, how to override/avoide the tab order for a bunch of buttons/textboxes? i have a panel with 4 textboxes (or buttons) in 2 comlumns (so 2 and 2) i would like to scroll in the first column when i'm pressing arrow button ...
Score Moving Old App to C#
Ron Mexico - 29 Sep 2005 8:58 PM - 5 messages
Hi, Currently have an app that maintain that is written in VB6 and uses an access db (backend db only used as a data store not writing to the db). This app is a client app not server multi-teir app.  It multi-form app that ...
Score WinForms: need a Grid but not DataGrid
Serdge Kooleman - 29 Sep 2005 8:57 PM - 2 messages
Hi i need a simple grid similar to DataGrid, but i want to fill it out from the object (not dataset) what component shoul i use? also i would like to have possibility to change color of some cells, etc, ...
Score form.Submit() + C Sharp = ???
milkyway - 29 Sep 2005 8:48 PM - 4 messages
Hello all, I was looking at the thread listed below. Basically, I have an HTML page executing form.Submit() (written with Java script). What do I need to do in order see the values in the fields of the form ...
Score SqlDependency in WinFormsApp
Stefan - 29 Sep 2005 6:34 PM - 3 messages
Hey all, I tried to use SqlDependency in WinFormsApplication to show up with new = = information upon a change in a SqlResult. The Problem I have is that the OnChangeEvent is fired when I create the = = SqlDependency, but not again afterwards. ...
Score Installer question???
Richard - 29 Sep 2005 5:55 PM - 2 messages
Hi, I'd like to add a custom action to my installer project and I would like that custom action to be an entry point into a C# DLL.  I have read and understand how to add a custom action to an installer, but I can't for the ...
Score read machine.config
vkrasner - 29 Sep 2005 5:50 PM - 2 messages
It works with VS2003 and does not in VS2005: in VS2003 :    string sMyvalue = ConfigurationSettings.AppSettings["MyKey"]; in VS2005 (does not work!!)    string sMyvalue = ConfigurationManager.AppSettings["MyKey"]; Anybody able to give me idea how-to read by C# element which I add to the ...
Score Utilizing Microsoft Access from C#
Andrew S. Giles - 29 Sep 2005 5:40 PM - 3 messages
OK, I am trying to prototype a data import function, and the Data Import Wizard from Microsoft Access is what we wanted to pattern our importer off of. How do I get to this wizard inside the Access Data Model? ...
Score Late binding
Max - 29 Sep 2005 5:38 PM - 3 messages
Hello,    I'm using late binding to make my app compatible with multiple versions of Microsoft Outlook. It works fine on the development machine but when I try to run it on another machine I get an error saying that "The specified module could not be found" and it mentions ...
Score Need some advice for a hex editor
MrNobody - 29 Sep 2005 5:31 PM - 3 messages
I would like to make a quick little hex editor so I need to display hex string pairs like a grid- if anyone is familiar with hex editors you'll know what I mean. I could accomplish this by using a regular TextBox and using ...
Score request.Headers.Clear() doesnt work correctly?
piotrek - 29 Sep 2005 5:20 PM - 6 messages
Hi I have a problem with http headers. Iam creating: private HttpWebRequest request = null; and: request = (HttpWebRequest)WebRequest.Create(server); request.Headers.Clear(); request.Headers.Add("GET", serverPath + " HTTP/1.0"); request.Headers.Add("Icy-MetaData", "1"); request.UserAgent = "WinampMPEG/5.09"; ...
Score Help with SendInput
Gene Vital - 29 Sep 2005 5:04 PM - 3 messages
Hi All, I am trying to use the SendInput API call in C# to put a keypress in the keyboard buffer and have beeting my head against the wall all morning. Could someone help me out with this, I keep getting a WIN32 errorcode of 6. ...
Score Whats wrong with short code snippit?
Steve1 via DotNetMonster.com - 29 Sep 2005 4:38 PM - 2 messages
Hi all, Why is the last line of this code snippit pulling up with an error?  Any help will be appreciated - Thanks, Steve. string str_SQLLayoutsPound = "SELECT * FROM Layouts ORDER BY Name"; OleDbCommand obj_SQLLayoutsPound = new OleDbCommand( str_SQLLayoutsPound, obj_SourceConn ); OleDbDataReader obj_ReaderLayoutsPound = obj_SQLLayoutsPound.ExecuteReader(); ...
Score Dynamic call object in C#
Michael - 29 Sep 2005 4:29 PM - 4 messages
Hi all : in vb.net I know use the follow code can implement dynamic call    Dim asm As [Assembly] = [Assembly].LoadFrom(<FileName>)   Dim ty As Type = asm.GetType(<Object Name and class name>) ...
Score Life cycle of a COM object in C#-is Release() called?
cmbardon - 29 Sep 2005 4:18 PM - 3 messages
I have a C# application that uses a C++ COM exe server, and I've noticed some strange behaviour with the life cycle of the object.  In my .net app, I create an instance of the COM object (generated RCW), ...
Score Project Version
Mike L - 29 Sep 2005 4:12 PM - 3 messages
This is for a Win form. Where can I set my project version? In VB 6.0 under the project properties there was a make tab that had Major, Minor and Revision. ...
Score C++/C# interop causes OleInitialize (STA) to fail?
Bill Cumming - 29 Sep 2005 3:26 PM - 8 messages
Is there something about C++ / C# interop that initializes the threading model to MTA so that OleInitialize will fail? I have a mostly C++ app that calls a single C# class DLL. Only one source file in the C++ app is compiled as managed (with /clr) – the single file in ...
Score I need help, please. =S
Mayolo Juarez via DotNetMonster.com - 29 Sep 2005 3:18 PM - 3 messages
Hi, I have a problem, when i use a context menu in a MDIForm and activate the property "MDIList= True", the context menu don't show me the current child windows, please help me, i use VS2003. it´s neccesary resolve this, i need to finish a homework it´s urgent. ...
Score Animate content of picture box
Marty - 29 Sep 2005 2:36 PM - 5 messages
Hi, Can I animate the content of a picturebox? I mean, I have a static boat picture that I inserted in a picture box, and I would like to programmatically make some water wave around it. Is there any tutorial of example of such a thing? ...
Score communication
Peter Kirk - 29 Sep 2005 2:34 PM - 4 messages
Hi, does anyone have some suggestions to a good way to implement a solution to the following? I need to be able to communicate short text messages to hundreds of computers. That is, there is a "main administrator" sitting at his machine, ...
Score fr
checcouno - 29 Sep 2005 2:19 PM - 2 messages
Someone know free .NET IDE? thanks ...
Score How to use File.Exists and Handle Insufficient Permissions
Chris Fink - 29 Sep 2005 1:36 PM - 3 messages
I am using the System.IO.File class to determine if a file exists on a network share. The File.Exists method keeps returning false, even though the file does exist.  The MSDN documentation states, "If the caller does not have sufficient permissions to read the specified ...
Score Random Class stops generating Rands?
FredC - 29 Sep 2005 12:34 PM - 4 messages
After approximately 90000 calls to the Random.Next(iLowerBound, iUpperBound) this function stops generating random numbers and returns iLowerBound. Is this just me or is this a known problem? ...
Score ExecutionEngineException -> Code sample that triggers EEE
TT (Tom Tempelaere) - 29 Sep 2005 11:39 AM - 15 messages
Hi people, The code that follows throws an ExecutionEngineException. This was written in C# (Microsoft Visual C# .NET   69462-335-0000007-18823) using MSDE 7.1 (7.1.3088). The framework is .NET 1.1 (1.1.4322). I tested the program on a ...
Score Q: How to get the users document folder?
Visual Systems AB (Martin Arvidsson) - 29 Sep 2005 11:30 AM - 2 messages
Hi! How do i get the path to the current users document folder? I can't find any method in the .NET framework?!? Any one got an idea? Regards Martin ...
Score How to load binary image with 1 Bit Per Pixel ?
Sharon - 29 Sep 2005 10:45 AM - 5 messages
Hi Everyone, I have a TIF file 62992 x 113386  Pixels, Huffman RLE compression, 3200 x 3200 DPI resolution, binary colored (1 Bit Per Pixel), file on disk size 43.08 MB (45,169,042 Bytes). This kind of image should consume 851.66 MB (893,028,184 Bytes) of memory ...
Score What rong witht his simple snippit of code?
Steve1 via DotNetMonster.com - 29 Sep 2005 10:31 AM - 6 messages
Hi all, Whats wrong with the below code?  On every loop it seems to be jumping 3 sometimes 4 records.  As you can see the SQL query is asking for all records with no filters.  I want to loop each record as I asked.  Is there something ...
Score check disabled
Hrvoje Voda - 29 Sep 2005 10:23 AM - 4 messages
How to disable changing a value of items in listbox? I just wnat to scroll through the list without beeing able to check or uncheck it! Hrcko ...
Score class member initialization
Boni - 29 Sep 2005 10:02 AM - 7 messages
Dear all, if I initialize member like this class A { pen _mypen= new pen(...) } and class A has 3 constructors will pen be initialized in all of them? Is there any documentation about this issue? Thanks in advane, Boni ...
Score LinkButton event handler and Page_Load problem
Grant - 29 Sep 2005 9:50 AM - 2 messages
The Idea: Page1.aspx sets a property value to an arraylist. Page2.aspx retreives that property (using a Context.Handler) every time the page loads. It then iterates through the arraylist and builds a table containing dynamically created LinkButtons. These LinkButtons have an event ...
Score Blue screen when compiling in Visual Studio
webstuff - 29 Sep 2005 9:44 AM - 2 messages
Hi, I recently started getting the BSOD (Stop 0xC5 and others) when compiling my C# application in Visual Studio. I was convinced it was was hardware problems until i checked out the code on my laptop and immediately started getting blue screens again (Stop 0x8E) when ...
Score C# is Better Than VB ?
Daniyal - 29 Sep 2005 9:26 AM - 12 messages
Hello!!! I have heard that C# is better than VB  because of optimization and standard of Microsoft .NET development? ...
Score How to check Backup of SQL Server Database
ikosianski - 29 Sep 2005 9:17 AM - 5 messages
Hallo, MSDB.dbo.BackupSet logs all backups is it possible find Status of Backup (Success / Failed)? Table "BackupSet" hasn't any information about it. I need log and notify all backups with status (It must be a windows service (c#) ...
Score Hashtable.Synchronzied()
bernardpace - 29 Sep 2005 9:06 AM - 4 messages
Hi, Using the following code Hashtable myData = Hashtable.Synchronized(new Hashtable()); Then I will be having a main thread that will write to this hashtable, and other n threads that will read and write to this hashtable.  In the ...
Score Names in C#
Dave - 29 Sep 2005 9:03 AM - 13 messages
Can anyone tell me, is it legal for a class to have the same name as the namespace it is in. I did it, and the compiler didn't give an error, but it caused some very odd name resolving problems. ...
Score Is there a way to find out whether two EXEs are same?
Benny - 29 Sep 2005 9:01 AM - 3 messages
If you rebuild a solution without change anything, the new generated EXEs still has some difference. Is there a way to find out whether two EXEs are functional same? ...
Score How to convert a date string to datetime value with custom date format?
ABC - 29 Sep 2005 8:50 AM - 2 messages
How to convert a date string to datetime value with custom date format? e.g. Date String        Date Format       Result (DateTime value) "05/07/2004"    "MM/dd/yyyy"    May 7, 2004 ...
Score Obtain no. of instances of an application from within the same app
Jesper - 29 Sep 2005 8:39 AM - 3 messages
Hi, Is there a clever way to get the number of instances started of an application within the same application. Is it possible to implement an event handler to key on the change in numbers of running application of same type. ...
Score Context menu - Inserting an Item in a list
Udi - 29 Sep 2005 8:23 AM - 2 messages
Hi, I have a control "A" that displays a list of control "B". How do I add the ability to insert a new "B" to the list through a context menu? I mean, What do I need to do in the event handler code? ...
Score print selected pages from printpreview
E. W via DotNetMonster.com - 29 Sep 2005 8:20 AM - 2 messages
Hi all, is it possible to configure a printpreview control so that I am able to print selected pages (for example 12-20 like by Word)? Thanks ew ...
Score Drag & Drop
Michi - 29 Sep 2005 8:03 AM - 11 messages
Hi Does anybody know how I can display own icons for drag & drop ? thx ...
Score [GDI+] how to know the height of a text line
Zanna - 29 Sep 2005 6:57 AM - 3 messages
Hi all! I'm in difficulty with this: I need to know the height of a text line that is written with Graphics.DrawString(). In theory I need just to get the Graphics.MeasureString() result. But this works if the string is on a single line. ...
Score Which function return the desktop long and short date formats?
ABC - 29 Sep 2005 3:39 AM - 3 messages
Hi, All Which function return the desktop long and short date formats? Thanks ...
Score windows service newbie question
David C - 29 Sep 2005 3:01 AM - 3 messages
I have been following this tutorial to write a windows service and deploy it. [link] tml/vboriCreatingConfiguringWindowsServiceApplications.asp What a laborous process! After I uninstalled it, I tried to reinstall it again to be greeted by ...
Score How to restore the default class1.cs file in a console application?
Jack Fu - 29 Sep 2005 1:17 AM - 5 messages
I inadvertently changed the default class1.cs file that you get when you create a new console project. How do I restore that default class1.cs file? (That is, change some property or option so that when I create a new console ...
Score exporting a dataset or dataview to a dbf file
Hans - DiaGraphIT - - 29 Sep 2005 1:15 AM - 2 messages
Hi! I'm using visual studio .net 2003, creating a windowsapplication. I'm also using a SQL server for storing and retrieving data. Is it possible for me, using the application, to create a dbf file and store data from a dataset or a dataview in this file? And if so how? ...
Score trim spaces before evaluating regex
John A Grandy - 29 Sep 2005 1:14 AM - 11 messages
What's the proper way to write a validation regex so that all leading and trailing spaces are trimmed before evaluation ?  Thanks. ...
Next »