Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score problem with regular expression validator on asp.net page
vtxr1300 - 8 Jul 2006 11:50 PM - 2 messages
I'm having a problem with a regular expression in conjunction with the regular expression validator. I am trying to make sure that when a user browses for a file to upload, it ends in gif, jpeg or jpg. I have the ...
Score Using WMI for system Metrics efficiantly
Babillon - 8 Jul 2006 10:28 PM - 4 messages
Hello all. I'm writting a little application to help me expand my knowledge in a few different areas. The app is, as you might of guessed from the subject, a system metrics display using WMI. For now I'm doing it with ...
Score packet anlayzing
amany - 8 Jul 2006 9:52 PM - 3 messages
Hello everyone am trying to analyze the packet i got through a simple peer to peer masseges and i wont to view the informations of the layer 3 and layer 2 frame like (IP address and MAC address)if anyone can help ASAP cindly ...
Score packet anlayzing
amany - 8 Jul 2006 9:50 PM - 3 messages
Hello everyone am trying to analyze the packet i got through a simple peer to peer masseges and i wont to view the informations of the layer 3 and layer 2 frame like (IP address and MAC address)if anyone can help ASAP cindly ...
Score Error in xml file after write
Martin - 8 Jul 2006 7:09 PM - 2 messages
I read and write from an xml file. Running the code below removes the first part of the  xml declaration. That is, instead of "<?xml...>" I get "ml...>" in the begin of the xml file. The code is part of a service. I hope someone ...
Score Checking fro Table existince in SQL2005
Robert Bravery - 8 Jul 2006 7:03 PM - 3 messages
HI all, I want check for the existence of a particular table in sql. Then branch code on the result I was thinking of a command something like: IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[tempimport]') ...
Score create subdomain in IIS with C#
vtxr1300 - 8 Jul 2006 6:35 PM - 7 messages
I have a web site that allows users to register.  When they register, I'd like to create a subdomain that points to their profile page.  Does anyone know how to do this in IIS through a c# asp.net page?  Thanks. ...
Score operator is new in 2.0?
Alexander Ubillus - 8 Jul 2006 5:39 PM - 4 messages
Hello, I'm reading this book (Self-Paced for 70-536) where it says that operators are new both to VB:NET and C#. As far as i know operators exist for C# since 1.x and this link says so too: ...
Score IHTMLPopup Error - Cross Frame Security
rbanerji - 8 Jul 2006 5:36 PM - 3 messages
I am building a BHO that is meant to popup a IHtmlPopup window on a mouse over image event. All the code works fine if the image is in the main Window. However if the image is in a frame then I get the following error: ...
Score Access remote server using C# windows app
pratcp - 8 Jul 2006 5:08 PM - 3 messages
I have a remote server (a shared hosting webserver) where I have few users ftp some flat files. I need to access these files using a windows app/windows service written using c# and run it on a nightly basis. ...
Score what is fastest way to change text color?
Ryan Liu - 8 Jul 2006 3:37 PM - 4 messages
Hi, I want to change keywords text color in a text editor. I select RichTextBox and use its Select() method to select keywords line by line, one by one, then change its  color.     this.Select(start,length) ; ...
Score Thanks
Behzad - 8 Jul 2006 3:10 PM - 2 messages
Hi again. I was in a hurry and i forgotted to say  "Thakns" Please Forgive me! Thanks in advance Behzad ...
Score Why Form2 does not appear on the screen?
Behzad - 8 Jul 2006 2:45 PM - 5 messages
Hi all, I have made a MDI application.Let's say FrmSession and FrmProperties.I want to create something like Photoshop.There are allways many instances of FrmSession but at each there is only one instance of FrmProperties.But the problem: ...
Score foreach (DataGridViewRow
Robert Bravery - 8 Jul 2006 1:53 PM - 2 messages
HI All, I'm trying to loop through a datagridview, and use values found in various columns. But problem is that I get errors newar the end. I'm assuming that it is reading the blank row at the bottom of the grid. ...
Score Reading an Ascii string
John - 8 Jul 2006 12:31 PM - 19 messages
Hi, I'm a beginner is using C# and .net. I have big legacy files that stores various values (ints, bytes, strings) and want to read them into a C# programme so that I can store them in a database. The files are written by a late 1980's PC ...
Score it's a question abuot vs2005 default web server and the iis web server between.
topgene - 8 Jul 2006 10:23 AM - 3 messages
question describe:        i used C# write the follow method: -------------------------------------------------------------------------------- public static void GetMp3FileFromAudio(string ExeFilePath,string AudioFilePath, string SaveFilePath)         {             System.Diagnostics.ProcessStartInfo ps = new ...
Score How to load Html to webBrowser from Memory Stream?
Risen - 8 Jul 2006 8:41 AM - 2 messages
Hi, all, How can I to load Html file that in memory stream to webBrowser instead to load Html file from disk. can anybody help me? Thx. B.R. Risen ...
Score Need help in Regex.
jmchadha - 8 Jul 2006 8:34 AM - 10 messages
I have got the following html: "something in html ... etc.. city1... etc... <a class="font1" href="city1.html" onclick="etc."> click  for <b>info</b> on city1 </a> ... some html. city1.. can repeat lot of times here.... ...
Score Download, Edit file and then Upload file again
abhanjee - 8 Jul 2006 5:30 AM - 5 messages
Hello, I am a newbie and am developing an application for work. I have figured out how to upload a file attachment to the SQL database and download the same file using C# and Visual Studio. However, the user wants to download and edit a file and then upload the same file ...
Score System.Collections.Generic.SortedList accessing
newscorrespondent - 8 Jul 2006 3:26 AM - 3 messages
I have a list declared: public    System.Collections.Generic.SortedList<int, System.Collections.Generic.List<MTGTracer> > ActiveList     =    new SortedList<int,List<MTGTracer>>(); The key is an integer and the value is a list of MTGTracer. ...
Score BIG encoding and UTF8?
EmeraldShield - 8 Jul 2006 1:56 AM - 8 messages
We have an application that uses UTF8 everywhere to load / save / process documents. One of our clients is having a problem with BIG Encoded files being trashed after running through our app. Indeed I have verified that if I go to a website in Taiwan and save the file ...
Score Finding parameter values in an Exception
chris - 8 Jul 2006 1:49 AM - 3 messages
I am sure I am overlooking something simple, but here goes.  In the global.asax file I have some code in the Application_Error method that reads information out of the current exception and emails it to me.  I ...
Score Jpg sequence to MPG
Kladrian - 7 Jul 2006 11:11 PM - 5 messages
Hi, how can I create a mpg file from a sequence of JPG files ? thnx to all ...
Score Charts from Excel 2002 to Word 2002 with C#
stocki - 7 Jul 2006 10:44 PM - 5 messages
Hi Everybody, one of my C# apps copies charts from an Excel workbook into a table in a word document. ((Excel.ChartObject) myGraphicsWorksheet.ChartObjects(1)).Copy(); myvalue = Word.WdPasteDataType.wdPasteMetafilePicture; myOutRange.PasteSpecial( ref mymissingValue, ref mymissingValue, ref mymissingValue, ref mymissingValue, ref myvalue, ref mymissingValue, ...
Score XmlAttribute question
chris.dannemiller@gmail.com - 7 Jul 2006 10:42 PM - 2 messages
I have the following situation class A {      public class B      {            int serlize;            public int Serlize ...
Score PLZ Help, copy checked listview items to another listview
Tim.Geiges@gmail.com - 7 Jul 2006 10:12 PM - 3 messages
This seems like ti should be very simple but I am sort of a newb and this one is killing me I am just trying to copy all the items that are checked in listView2 over to listView1 when a button is clicked. can anyone give me an ...
Score How to inherit if base class is burned?
Brett Romero - 7 Jul 2006 10:12 PM - 6 messages
Say I have several classes that have implemented the same code to do something. Perhaps its connection information.  They all have inherited some class and not necessarily the same one.  I'd like to take the duplicated code and reuse it.  I can't put it into ClassA, for example, ...
Score Converting byte array to short array?
Ole - 7 Jul 2006 9:21 PM - 3 messages
Hi, Is there a better / faster way to convert a byte array to a short array than to use Convert.toInt16(bytearray, i) in a loop? Thanks Ole ...
Score Windows service start problems
Scewbedew - 7 Jul 2006 9:13 PM - 3 messages
Being a newbie on C# managed services, I've probably done something horribly wrong here... The intent is to create a windows service that runs under the SYSTEM account. I have created a service according to available examples in MSDN, ...
Score New to C# :
mohamed.alam78 - 7 Jul 2006 9:00 PM - 2 messages
Hi Everyone, Iam new to C# and have done coding in C before. Need help in finding a good book/s to get started and also are there any exercises which one can workout to get hold of coding. Please Help ...
Score ADODB.Stream equivalent in C# for retreaving records in CSV format
Fresh_Air_Rider - 7 Jul 2006 8:41 PM - 5 messages
Hi In the "good old" Classic ASP days, I used to stream records from a SQL Server database out to the user's browser in CSV format by using a combination of COALESCE and the ADODB.Stream object. The trouble is that I'm not really sure how to do this in C# 2005. ...
Score cast from decimal to int
Dan Holmes - 7 Jul 2006 7:55 PM - 4 messages
i have a datareader that pulls a field of type numeric(18, 0).  the debugger shows the field as {decimal}.  I want to cast it to an int. This doesn't work (int)dr["field1"]:.  Is that because the definition of ...
Score Image upload
Michael - 7 Jul 2006 7:40 PM - 4 messages
Hello, I want to write a componant that helps a user upload an image or file. I want something like you see on yahoo's image upload page.  It has to work on mac and windows.  Can anyone help me get started?  Is there any sample ...
Score length of data type
donald - 7 Jul 2006 7:30 PM - 5 messages
how to get the length of variable for differernt data type, such as data type of structure, integer, date, etc. Thanks in advance. ...
Score Edit Image program? GDI+?
Michael - 7 Jul 2006 7:08 PM - 3 messages
Hello, I want to write a program in C# that will allow the user to select an image from their hard drive and edit it.  I need to do simple editing, like red-eye reduction, crop, rotate, etc.  Not to complicated.  Can anyone point me in ...
Score replacing strange characters pulled from db field
vtxr1300 - 7 Jul 2006 6:41 PM - 4 messages
I have a description field where people are putting in all kinds of non html characters.  When they're being pulled from the db, they're coming out like • or &#61553; or any number of things.  Does anyone have ...
Score Remoting and Robotics
Padu - 7 Jul 2006 6:25 PM - 7 messages
Hi, I'm developing a remote control panel for a mobile robot I'm developing. The robot carries a PC that runs a C# app to control the platform. The robot's PC has a wi-fi card. I'm not concerned with range issues now. ...
Score New to C#
Earl - 7 Jul 2006 6:25 PM - 11 messages
C# is not my native tongue, but I'm trying to do something real simple like make a report viewer an owned form by an MDI container. This should be the equivalent of VB.Net, but when calling this procedure the form never loads, ...
Score Logic Error
C# newbie with big problems - 7 Jul 2006 6:01 PM - 7 messages
Ok, I am building a product configurator which works quite well except for a few bugs. It has a couple of listboxes and a checked list box. Now the checked list box holds upgrades for products listed in a different listbox and these upgrades are grouped by category so for ...
Score Filesystemwatcher securityexception
E Stafford - 7 Jul 2006 5:12 PM - 3 messages
I am using Visual C# Express and trying to place a FileSystemWatcher in my app. after adding it and trying to run it throws an exception from InitiateComponents(). system.security.SecurityException request failed. Any Idea how to fix this...? already tried a couple things with no success. ...
Score about override
Tony Johansson - 7 Jul 2006 4:20 PM - 4 messages
Hello! I have noticed that you can write this override in two different ways. You can either write in this way public override string ToString() {     return something; } OR IN THIS WAY override public string ToString() {     return something; ...
Score Can "InitializeComponent()" info be captured
Larry Smith - 7 Jul 2006 3:28 PM - 5 messages
Hi there, Don't know if I picked the correct NGs or not but maybe someone can steer me in the right direction. Does anyone know if a class exists to capture the same info now wrapped in "InitializeComponent()". I want to capture all form ...
Score How does a process find its user
Dave - 7 Jul 2006 3:25 PM - 8 messages
Is it possible in .NET2.0 to find the user that the current process is running under without going through the whole WMI palaver? I tried looking at ProcessStartInfo.UserName but that was empty - I presume that's more for new ...
Score ComboBox display value width
BrianDH - 7 Jul 2006 3:06 PM - 4 messages
Hi Is there a way to have the view/display width different from the width as it sits on the form? Thanks Brian ...
Score Icon with VS 2003 != VS 2005 ?
ozzy66 - 7 Jul 2006 3:03 PM - 8 messages
Heya NG, I've got a little confusing configuration scenario: I've created a simple windows form in c# with Visual Studio 2003.NET and simultaneously with VS 2005. I've designed an Icon as well in both Studios and attached it to the ...
Score Race Conditions in C# Eventing?
Karsten Schramm - 7 Jul 2006 3:02 PM - 15 messages
Hi, in VB.Net I fire an event very simply: RaiseEvent(MyEvent) 'Fire&Forget The same in C# looks like if(MyEvent != null) //check, if someone's listening {   MyEvent(); //Fire } What happens in a multithreaded environment? The moment after I checked ...
Score standard notation for variables in business class
Mike P - 7 Jul 2006 2:55 PM - 2 messages
What is the accepted notation for variables/properties in a business class?  I've seen some in camel casing and some in pascal casing, some prefixed by m or something else. *** Sent via Developersdex [link] *** ...
Score Transactions
asadikhan - 7 Jul 2006 2:52 PM - 2 messages
Hi, I have a program that massages the data in an access database. I have a total of about ten methods, each one of which has one or two OleDbCommand objects that are executed. So in the whole application I ...
Score Mdi bug ?
Fab - 7 Jul 2006 1:56 PM - 10 messages
Hi, I have a mdi container form named Form1, and two child forms named Form2 and Form3. I open Form1, then Form2 and Form3. I minimize Form2. I close Form 3. Then i can't close Form1 anymore ! In fact, if i have a child Form minimised while i close another one, i can't ...
Score 2.0: writing assembly for SQL Server 2005
R.A.M. - 7 Jul 2006 1:24 PM - 3 messages
Hello, I am learning .NET 2.0. I need to write an assembly to be added to SQL Server 2005 database DemoSQLServer, with stored procedures. According to one of my books I wrote (Demo.cs): using System; using System.Collections.Generic; ...
Score vb to c# question
djc - 7 Jul 2006 12:55 PM - 9 messages
in vb there is a With construct. It supposedly speeds things up. By caching, I assume, it eliminates having to travel several levels in a hierarchy using the dot operator. Is there a C# equivalent of this? A quick look at VS help ...
Score meta-generics
Wiktor Zychla [C# MVP] - 7 Jul 2006 11:11 AM - 6 messages
suppose I have a class class MyContainter {   List<something1> list1;   List<something2> list2;   ...   List<somethingn> listn;   othertype1 otherfield1;   ...   othertypek otherfieldk; } as you can see there are plenty of generics instantiated with different ...
Score Namespace convention help please
mrpubnight - 7 Jul 2006 10:58 AM - 2 messages
Hi everyone, just hoping to get some opinions from those who have been using/creating namespaces for a while. Currently I have our namespace as follows: CompanyName.Location.Client.Class So for class DMRequest I may do something like this: ...
Score hashtable
Vikas Kumar - 7 Jul 2006 10:01 AM - 6 messages
Hashtable 7/7/2006 2:37 AM I have this Hasttable windowList Hashtable windowList = new Hashtable(); To this Hashtable I add a form with a string as key in the following manner. The string is decided at runtime. FormX frm = new FormX(); ...
Score will C# be perfomant enough for the next problem (HW programming)???
drgonzo120 - 7 Jul 2006 9:43 AM - 3 messages
hello, A buddy of me made a modification on a TB-303 synthesizer (made in 1982) so it is possible to program the synth via a parallel port connector. He made a program in qbasic and he wants a "modern" GUI. I ...
Score Initialising array of struct KeyValuePair<TKey,TValue>
Russell Hind - 7 Jul 2006 8:40 AM - 8 messages
I want to create an array of key value pairs.  This code compiles fine: KeyValuePair<string, object>[] kvps = {    new KeyValuePair<string,object>( "int", 5 ),    new KeyValuePair<string,object>( "string", "robot") ...
Score GDI+ Glass Table effect
JezB - 7 Jul 2006 8:32 AM - 3 messages
I have an image of an object which I display on a form. I'd like to use GDI+ to display a gradually-fading reflection of this image (on a white or coloured background) underneath so that the effect is like the object ...
Score System.Management How?
Rainer Queck - 7 Jul 2006 8:31 AM - 4 messages
Hi NG, I am trying to get system information like Windows Registration Number / Mac-Address. Asking Mr. Googles I found out, that WMI is what I need. In the MSDN Library I found (might not be translated correctly from german ...
Score Clever string replacement in collection
Sjaakie - 7 Jul 2006 8:02 AM - 5 messages
I need to replace parts of a string, in a collection deserialized from an XML file, with values from another collection. Is there another, more clever/faster/better, method than the loops below? TIA    foreach (StringObject x in (StringObjectCollection)xc) { ...
Score TreeNodes search
Alan T - 7 Jul 2006 7:19 AM - 5 messages
I want to search the whole tree of a root node if one node has a tag value is matched. I have added tree nodes into a tree view with tag value is assigned to each node. If I want to find out the node has tag value say 10, how do I search thro' ...
Score Handle network timeout in C#
Palaniappan - 7 Jul 2006 6:36 AM - 2 messages
HI, I need to set the timeout value for the sockets to handle network timeout in C#. I search for some API which is equivalent to that of the setSoTimeout() method in Java. Could any one of you please help me out? ...
Score URL in C# Windows form project
Jason Huang - 7 Jul 2006 5:26 AM - 4 messages
Hi, In my C# Windows form project, I want to verify that if a file http://myip/myfile.doc exists, how am I supposed to do? (the myip is a specific public IP) Thanks for help. Jason ...
Score ListView
Alan T - 7 Jul 2006 4:48 AM - 6 messages
How do I define 3 coloumns display as: Name, Address, Phone ? ...
Score control display
Rain - 7 Jul 2006 4:13 AM - 4 messages
hi, im displaying around 30 user controls, small panels to be specific, in one form. the problem is when displaying, it displays the panels one at a time. I mean you can literally see them being displayed one by one but what i ...
Score Some questions about handling exceptions and when to throw them
Steve - 7 Jul 2006 4:11 AM - 5 messages
I have read a couple articles online, read my Jesse Liberty book but I am still confused as to just what the best practices are for using exceptions. I keep changing how I'm working with them and it has now, after 15k lines of ...
Score Is C# appropriate for this ?
Bit byte - 7 Jul 2006 2:34 AM - 11 messages
I have a task which involves downloading data from some web pages. There is a lot of messing about with forms (clicking buttons, selecting icons etc) as well as pasrsing HTML to extract tables from the resulting web page. I am torn as to whether to do this in PHP (or *shudder* Perl) or C#. I ...
Score question about binary file access
Bit byte - 7 Jul 2006 2:18 AM - 6 messages
If I write data from structures to a binary file in C#, can I read back the file using "unmanaged" C++ ? ...
Score Why can't I seal a single indexer?
Ole Nielsby - 7 Jul 2006 1:20 AM - 7 messages
I'm having a strange problem with sealing virtual indexers. Looks like a compiler error to me - or have I overlooked some obscure statement in the specs? I have two virtual indexers in the same class, one of them by string, the other by int. ...
Score Another Config Question
GitStudent - 7 Jul 2006 12:44 AM - 2 messages
C++ Programmer making the switch to C#, and learning as I go. Here's what I'm looking for. I want to have a config file with a section Group and that group have several elements in it. I want to read the members of those groups into  an array or hash ...
Score While we are discussing the new operator, different question about it...
Stephan Rose - 6 Jul 2006 11:37 PM - 8 messages
I am currently working on an EDA app and heavily working on squeezing the last bits of performance out of it. Going as far as sending batches of geometry to the video card while still processing geometry to get some parallization going. Though at least on my hardware, this ...
Score Need to return a string ( varchar(40) ) from MS-SQLSERVER stored procedure
Brian Parker - 6 Jul 2006 11:17 PM - 5 messages
I've been banging my head on this for hours and it's something that should be very very easy.  I have a Stored Procedure in a MS-SQL 2000 server that returns a Varchar(40) and I want to grab that value in ...
Score building c# with ant or nant
michael sorens - 6 Jul 2006 10:40 PM - 13 messages
So I have compiled a .dll file from a Visual Studio 2005 project  containing a few dozen c# files. Now I want to automate this build using  ant (have not yet looked at nant, but the rest of my complex build is done  ...
Score Failed to call unmanaged functions in C++ dll compiled in Visual 6.0
trantanm - 6 Jul 2006 9:15 PM - 3 messages
Hi everybody,   I failed to call unmanaged functions in C++ dll from C# application. If I compile and produce the C++ dll file in .NET environment, I can call them from C#. Is the reason that the C++ dll file compiles on the ...
Score How does "new" work in a loop?
Tony Sinclair - 6 Jul 2006 8:37 PM - 52 messages
I'm just learning C#.  I'm writing a program (using Visual C# 2005 on WinXP) to combine several files into one (HKSplit is a popular freeware program that does this, but it requires all input and output to be within one directory, and I want to be able to combine files ...
Score Logging onto a domain programatically.
UJ - 6 Jul 2006 8:21 PM - 2 messages
Is there any way to have a windows app log on to a domain behind the scenes to open the pipe to a server? I don't want the user to have to do it. TIA - Jeff. ...
Score Windows authentication over remoting... possible?
ThunderMusic - 6 Jul 2006 7:48 PM - 14 messages
Hi, I have to develop an application that will consist of a service and a windows forms application...  the service could be on a distant server but I need to authenticate the user as being part of the same domain. so when the ...
Score Windows Service
freddy - 6 Jul 2006 7:41 PM - 2 messages
Hi, I have created a service that has more than one user service i.e. ServicesToRun = new System.ServiceProcess.ServiceBase[] {new s1(), new s2()}; when I call ServiceBase.Run(ServicesToRun); only S1() gets executed I have created a seperate thread in each derived class (S1 and S2) but only ...
Score Missing: C# class wizard?
PaulAtKP - 6 Jul 2006 6:08 PM - 2 messages
I just installed Visual Studio 2005, created a C# class library project, and went to use the Add Class wizard. I can't seem to find anything that would classify as a wizrd (no way to specify inheritance, visibility, namespace....) The online help refers to a wizard but all I ...
Score Strang problem with dataGrid - HELP !!!
Gidi - 6 Jul 2006 4:39 PM - 3 messages
Hi, i have dataset and a dataGrid. In the dataSet i have few tables and i run on each line, check if i need it, and then copy it to the dataGrid (by using dataGrid1[i,k]=dataSet[i,j].ToString(); ) ...
Score How to find the average duration from these values?
jarosciak - 6 Jul 2006 4:28 PM - 3 messages
Hi everyone, I need a little bit of help with this problem. I've got a time durations feed, which comes in this format (minutes:seconds): Example, there is only 5 values: 00:45 01:15 00:12 00:53 ...
Score Casting up to inheriting class from base?
Brett Romero - 6 Jul 2006 4:23 PM - 11 messages
Say I have a class inheriting some base class: BaseClass {   void Foo()   {      Update();   } } Class1 : BaseClass {   void Update(){} } How can I have the base class know which instance class has inherited it and use a method in the instance class?  Only certain types of ...
Score what's the point of the 'using' construct?
Mike P - 6 Jul 2006 3:58 PM - 10 messages
I have only ever seen this used like this : try { using (SqlConnection conn = new SqlConnection()) { //db stuff } catch { } What advantage do you get from using this? And are there any other uses for this? *** Sent via Developersdex [link] *** ...
Score Select cell problems with DataGridView in csharp
Karl - 6 Jul 2006 3:38 PM - 3 messages
Hi all, I'm reasonably new to csharp so you have to forgive me asking what may be a stupid question... As I said, I'm new to CSharp but in VB I was able to click anywhere on a DataGridView (so long as it was on a cell or header) and return the ...
Score BMP to Metafile
Peter - 6 Jul 2006 3:13 PM - 6 messages
Does anyone have a c# or vb.net example of how to convert bitmap to Metafile - preferably without writing anything to a file ? Thank You Peter ...
Score Performance loss in loading plugins in a seperate app domain
dandorey1 - 6 Jul 2006 2:58 PM - 2 messages
I'm currently in the process of writing a realtime telephony application. I've designed it with a fairly simply plugin architecture. When I first started reading about this the general suggestion was to load each plugin in a seperate app domain. However performance is a ...
Score Focuse all derived classes to implement a interface specified by the base class
Jinsong Liu - 6 Jul 2006 2:55 PM - 3 messages
I have a class which serve as a base class. I want to focuses all the classes derived from it implement a interface. Make it a abstract class is not a option since some XML serialization code need to initialize the class. is it possible? ...
Score Source of Standard Button Graphics
randy1200 - 6 Jul 2006 2:46 PM - 6 messages
Microsoft seems to do a great job of using very nice button graphics for standard functions like Print, Print Preview, Close, etc. Can anyone point me to a source on the web for standard button graphics? I really like the Microsoft versions, but I'm open to all ...
Score DataGridView Question
MJ - 6 Jul 2006 2:43 PM - 3 messages
Newbie question. I have a DataGridView which is bound to a manually created read only DataSet. One of the fields in the dataset is a primary key of the table. I simply wish to know which record is selected when the user double clicks a ...
Score [OT] User-Defined string Functions MS SQL Server 2005 T-SQL C# CLR
Igor Nikiforov - 6 Jul 2006 2:01 PM - 2 messages
User-Defined string Functions MS SQL Server 2005 Transact-SQL SQLCLR (VB. Net, C#.Net, C++. Net) Ladies and Gentlemen, I am pleased to offer, free of charge, the following string functions MS SQL Server 2005 Transact-SQL SQLCLR (VB. Net, C#.Net, C++. Net): ...
Score Combobox.backcolor dosn't work
Lars E. Nes - 6 Jul 2006 1:55 PM - 5 messages
Hi all. I am setting some color on my combo's: this.combobox1.BackColor = Colors.White; This only works when the combobox is enabled. How can i add color to a disabled combobox? Lars ...
Score Regular Expression: how to get Filename from Path
ano - 6 Jul 2006 1:51 PM - 5 messages
Hi, I tried to use to code to get a file name from a file path but it's working in all case. string t12 = "\"C:\\Program Files\\Microsoft SQL Server\\MSSQL.1\\MSSQL\\Binn\\sqlservr.exe"; string p12 = @"^.*\\"; string r12 = Regex.Replace(t12, p12, ""); ...
Score Bitmap and MemoryStream
MLM450 - 6 Jul 2006 1:49 PM - 2 messages
I am creating a bitmap using a memory stream. Is there any way to load the bitmap data so the memory stream can be disposed? Perhaps copying the bitmap in some simple, quick way? Thanks ...
Score http Request
Iain Adams - 6 Jul 2006 1:46 PM - 7 messages
Hello, this is a sample app but it doesnt seem to work. I am trying to get my head round this. I have a html doc that goes: POST /webservices/Service1.asmx/HelloWorld HTTP/1.1 Host: 192.168.1.153 ...
Score VS2005 data form qizard
Avi G - 6 Jul 2006 12:53 PM - 2 messages
Hi, i use VS2005 Pro and i can't find the "Data form Wizard" when i try to include it to my form, where can i find it , or maybe there is something else that do the same thing? i need to bind a MDB file to the form. ...
Score Does FileStream.GetAccessControl exist?
Dave - 6 Jul 2006 11:46 AM - 3 messages
According to the help, under .NET2.0 the FileStream class has public members GetAccessControl and SetAccessControl, but when I try to call these on an instantiation of FileStream I get a compiler error. Oddly, the error says "System.IO.Stream does not contain a definition for GetAccessControl". ...
Score Inserting record into database and returning the ID of the new row
Dylan Parry - 6 Jul 2006 11:43 AM - 4 messages
Hi folks, This is really confusing me. I am trying to insert a row into a database, and then use scope_identity() to return the value of the ID column for the record I have just created. The code I am using is ...
Score Browser compatibility problem...
conckrish - 6 Jul 2006 11:39 AM - 2 messages
Hi All,       I have an asp.net application which contains one signup form.When I run in  IE 6.0,its working fine as for my design.. But when I run in Mozilla, there are some 10 - 15 px  extra bottom -padding between each ...
Score Debugging a COM+ Application (C++) from within an ASP.NET page (C#) in Visual Studio 2005
Alrotem - 6 Jul 2006 11:03 AM - 5 messages
Hi, I work under Visual Studio 2005 (Windows XP Professional), developing web applications using ASP.NET (C#). Also, my company runs a few COM+ projects in C++ built into DLLs and registered as "Component Services" on the server machine. Those COM+ applications are ...
Score Decompile .NET
Just close your eyes and see - 6 Jul 2006 10:40 AM - 24 messages
Hi all I am wondering how to protect .NET applications from being decompiled or in other word prevent it from reverse engineering I hope of any one can help Thx all ...
Score How do I catch a mouse click on the TaskBar?
Udi - 6 Jul 2006 8:44 AM - 2 messages
I need to catch any mouse click on the TaskBar. Any ideas? Thanks! ...
Next »