Home All Groups Group Topic Archive Search About

Visual C# .NET

microsoft.public.dotnet.languages.csharp
Score generating NET Framework 3.0 WS proxy?
Albertas - 7 Oct 2006 9:59 PM - 4 messages
Hello,   Here is the situation: I had a Web Service that ran on IIS. Proxy for client application was generated using wsdl.exe. Now I replaced WS with ..NET Framework 3.0 so that I can host it on Windows Forms application. ...
Score "Override" static method via DynamicMethod
none - 7 Oct 2006 8:12 PM - 6 messages
I'd like to create a new static property in a class "hiding" the property present in a base class. Since this needs to happen at runtime I tried doing this via DynamicMethod. But obviously the created methods are not "registered" and only available through the DynamicMethod class. ...
Score Regex negative lookahead.
writebrent - 7 Oct 2006 7:15 PM - 3 messages
I think I need to do a negative lookahead with a regular expression, but I'm a bit confused how to make it all work. Take these example texts: Need to match these two: ========================= Item 4.01 Regulation and other items ...
Score How to assign a reference to a class member to another class member?
Steve Goldman - 7 Oct 2006 4:54 PM - 5 messages
Even asking this question probably demonstrates that I have a fundamental misunderstanding of how values and references work in C#, but here goes: I'd like to assign a reference to an arbitrary class member to another class member, so that I can later mutate the stored reference.  I'd like ...
Score Setting properties at design-time faster than at run-time?
Ronald S. Cook - 7 Oct 2006 4:45 PM - 8 messages
In a .NET Windows app, if I set somehting like the title of the form to "MyApp" at run-time, will that make the app run slightly slower than if I had set the title at design-time? Thanks, Ron ...
Score Internet Explorer ActiveX and filtering the html before it arrives to the browser
VeNoM00 - 7 Oct 2006 4:24 PM - 3 messages
Hello, i have a WebBrowser imported form SHDocVw and i need to filter the data before it arrives to the browser (for example i want to delete all the <script> tag). I tried to realize a proxy server but it's hard ...
Score C# equivalent to a smart pointer???
Ian - 7 Oct 2006 3:12 PM - 15 messages
I am looking at porting code from a C++ application to C#.   This requires implementing data sharing functionality similar to what is provided by a smart pointer in C++.  I have only recently begun to work in C# and am ...
Score Once more about the COM error 0x80010108 ("The object invoked has disconnected from its clients.")
martin-g - 7 Oct 2006 1:34 PM - 3 messages
Hi. When the user opens the Excel file, which is at the same time used by my application, it stops calculations and throws an exception with such information: "The object invoked has disconnected from its clients". What can I do to resolve this? My application opens the source excel ...
Score odp
mydotnetdoubt - 7 Oct 2006 11:10 AM - 2 messages
Dear All, I'm using VS2005 ,oracle 10R2 and ODP.net to populate a combobox from a single table im using followiing code empAdapter.SelectCommand = new OracleCommand                     ("select code cd,Initcap(description)descr  from ...
Score Context menu Problem
ravi - 7 Oct 2006 7:13 AM - 2 messages
i want to disable the the delete option of context menu when i tab and hold  my exe file in Pocketpc 2003 . can anybody guide how to do it using C-sharp ...
Score How to change name of the project?
renu - 7 Oct 2006 6:09 AM - 3 messages
Hi, What options do I have after putting a month in on writing a program and so many functions in it and now I want to change the name of the project with their file names? Do I make the new project and hand copy over all the controls and code ...
Score custom transparent forms
Jon Slaughter - 7 Oct 2006 5:49 AM - 4 messages
I was wondering if its possible to create a form that allows for non-transparent controls and regions? i.e., when you set the transparency for a form it then applies to all components of that form. I would like to in some way, say, have parts of the ...
Score NG-style Messaging System For Windows Forms Application
Bob Johnson - 7 Oct 2006 3:26 AM - 2 messages
I'm looking to provide users of a new Windows Forms (2.0) app with a messaging system that looks and feels very much like a typical news reader. I understand that there are reference apps available for ASP.NET forums ...
Score Get Data From USB Device
jborden - 7 Oct 2006 2:18 AM - 3 messages
Hi, I've got a programming issue that I've never faced before and was hoping that someone could shed some light on where to begin.  I'm trying to create an automated process that reads credit card data for a ...
Score c# 3.0 - when?
Gabe - 6 Oct 2006 10:58 PM - 10 messages
Anyone know when it will be finalized? late 2007? ...
Score How can I tell if a component is scrolled to the bottom?
Rex the Strange - 6 Oct 2006 10:53 PM - 2 messages
That pretty much says it all. How can I tell, in my code, if my component (which has a vertical scroll bar) is scrolled all the way to the bottom? In this case it's a DataGridView, but I'm sure it's ...
Score go to definition???
Garfield - 6 Oct 2006 10:29 PM - 3 messages
In Visual  Studio 2005, i click right on code block to got to definition, but instead of going to related class, i see metadata. My Solution can be builded and working regularly. My solution consists of Buiness, Utility an Data Layer and Web Site project. ...
Score Threading for filling out gridview?
VMI - 6 Oct 2006 10:21 PM - 3 messages
I'm filling up a gridview and the underlying datatable has about 30,000 records, so it takes some time before I can see the page again with the records on the gridview. Is there any type of threading (or anything else) that I can use so that I ...
Score Updating ApplicationSettings/Databindings at runtime
eljainc - 6 Oct 2006 10:18 PM - 2 messages
Hello, I have a control on a form which has in the properties collection the following: (PropertyBinding) Password Username Also there are (DataBindings) properties. I have a listbox where the user can select the user.  Depending on this, the program is to load from the  application settings the ...
Score Data exchange between Web Service & Win Forms application
Albertas - 6 Oct 2006 9:08 PM - 2 messages
Hello,   I have a Web Service that needs to send and receive data from running windows forms application every time when WS methods are called. My question is: What is the best way to do that? I'm thinking to create a ...
Score Italics in Windows title
DBC User - 6 Oct 2006 9:04 PM - 3 messages
I would like to have some words in the form title as italic (only some), is it possible to do it? If so could someone give me some pointers? Thanks. ...
Score Programmatically populate grid
Tim Kelley - 6 Oct 2006 8:51 PM - 3 messages
Is it possible to populate a grid using code (not binding it to a datasource).  Is there something like an additem method? Thanks, ...
Score InsertQuery null value to int column
RvGrah - 6 Oct 2006 8:50 PM - 2 messages
I have a TabelAdapter that has an int column that allows null (no lectures please, I have my reasons). When I use intellisense to fill in the parameters in the InserQuery method, it shows the needed value as ?int, with the question mark. But if the combo box that the value is ...
Score DefaultValue Attribute breaks XmlSerializer
SteveT - 6 Oct 2006 6:45 PM - 5 messages
I have a boolean property that I want to serialize to disk using XmlSerializer. I noticed that if the property includes the attribute "DefaultValue(true)" or "DefaultValue(false)" that the property will not serialilze to an XML file.  If the attribute is removed the serialization occurs just fine. ...
Score Application wide event?
Daniel - 6 Oct 2006 6:41 PM - 6 messages
Hey guys Is it possible to create an event  that is global to an application? Thanks ...
Score partial class
Phil Townsend - 6 Oct 2006 6:10 PM - 2 messages
When creating a web form in VS 2005, the IDE creates a partial class for the code behind. My first question: Is there any way to disable this feature? And if not, how does one easily locate the other part of the ...
Score Cannot Open local SQL Server Express Database
collinsd - 6 Oct 2006 3:57 PM - 4 messages
I am trying to connect to a database in SQL Server Express on my PC. The SQLConnection open() method appears to work without generating any exceptions however as soon as I try to do anything to the connection such as BeginTransaction the program fails as it claims that the ...
Score Having issues with listbox, probably simple....
Todd Jaspers - 6 Oct 2006 3:33 PM - 3 messages
Hey guys,       I've added a list of items to a listbox in my C#/ASP web form. I allow the user to select a few items, and then click a button. I want to be able to ...
Score Boot CD 8.5
cdjuarez2005 - 6 Oct 2006 3:32 PM - 2 messages
Hiren's BootCD v8.5 what's new: PW IOS386 - DocMemory 3.1b - IBM/Hitachi Feature Tool 2.03 - Toshiba Hard Disk Diagnostic 2.00b - HDAT2 4.5.2 - System Analyser version 5.3o - MBRWizard 2.0b (Directly update and modify the MBR ...
Score how to create a web service to take uploading file?
Rudy Ko - 6 Oct 2006 3:26 PM - 6 messages
Hi,     I want to create a web service to upload an xml file. Do anyone have sample code? Thanks !!! Regards, Rudy ...
Score State Engine
Pete - 6 Oct 2006 3:24 PM - 4 messages
Please can anyone recommend products that will take a state machine diagram and generate code for C#? Its for a comms protocol. thanks in advance Pete. ...
Score How to use DllImportAttribute programmatically
Tommaso Caldarola - 6 Oct 2006 3:17 PM - 2 messages
I have to use DllImport with no static dll filename. Any suggest? ...
Score MSBuild: Project level tasks from solution
Danny - 6 Oct 2006 2:57 PM - 4 messages
Hi I trying to master msBuild but have a problem.  I have a solution that I wish to build using msbuild but want to override BeforeBuild/AfterBuild targets for each of the projects.  I trying to avoid modifying the ...
Score Sqlhelper or not Sqlhelper that is the question.
John F - 6 Oct 2006 2:31 PM - 5 messages
Hello All, What is the consensus on using sqlhelper or not using sqlhelper when calling stored procedures? We're trying to go with a standard for our projects and personally I prefer not using sqlhelper, but some here do.  I'm just curious if there are any ...
Score Very strange error in ASP.NET 2.0
Hardy Wang - 6 Oct 2006 2:28 PM - 6 messages
Hi all, I am migrating an old web application developed in .Net 1.1 to .Net 2.0. During my new development and testing, I had following error while executing an stored procedure. It worked fine in .Net 1.1, and it doesn't happen all ...
Score Insert records into a dbase table
Dave - 6 Oct 2006 1:23 PM - 4 messages
I'm writing a c#  Windows program that needs to be able to insert records into a dbase table. I can read it using a dataset but can't insert records. I receive the following error, ERROR [HY000] [Microsoft][ODBC dBase Driver] Unexpected error from external ...
Score Adding HTML Code to a web page already running
dfdavis.mtu - 6 Oct 2006 1:09 PM - 4 messages
This is probably a simple question, but I just started using C# and I haven't done any projects like this before, however, I need to know if there is a way to accomplish what I am currently doing in a faster ...
Score "Virtual properties behave like abstract methods" ?
Gert Kok - 6 Oct 2006 11:41 AM - 5 messages
The microsoft page [link] states: Remarks (nr 4) Virtual properties behave like abstract methods, except for the differences in declaration and invocation syntax. Why is it "abstract methods", not "virtual methods" ? ...
Score Repetitive XML comments -- what's the point?
tjb - 6 Oct 2006 10:47 AM - 99 messages
I often see code like this:     /// <summary>     /// Removes a node.     /// </summary>     /// <param name="node">The node to remove.</param>     public void RemoveNode(Node node) { ...
Score Need to format a date!
Jens Jensen - 6 Oct 2006 9:47 AM - 6 messages
Hello, I need to format the current date in C# so it looks like this: 10/4/2006 1:38:53 PM Can somen tell how i do this? Many thanks JJ ...
Score ASP.NET Using Atlas
vikram.lakhotia@gmail.com - 6 Oct 2006 9:38 AM - 2 messages
Hi Here are some blog on how to use Atlas controls [link] Hope this helps Thanks Vikram [link] ...
Score IIS number of connection
Draggi - 6 Oct 2006 9:27 AM - 5 messages
Hello, I wan't to know how many user are connected in my web site. But i didn't find any methode in c# about how show IIS statitics. Maby with WMI provider? Thanks for your help. Regards Dragan ...
Score form
Hrvoje Voda - 6 Oct 2006 8:52 AM - 4 messages
I have two forms. One is a main form and the other is login form. When I call login form I would like to see in the background a main form. But it is visible only when a main form is maximized. ...
Score How to...
Jacek Jurkowski - 6 Oct 2006 7:30 AM - 3 messages
.... clear all delegates assigned to an event. this.button1.click += delegate{...}; this.button1.click += new EventHandlet{this.OnClick(...);} how to clear a "click" events or suspend its execution on click? ...
Score Passing an variant from classic ASP page to a .NET webservice
MarkusJNZ - 6 Oct 2006 7:01 AM - 5 messages
Hi, I am trying to pass an number from a classic asp webpage to a .NET webservice. Because my C# webservice expects an integer and classic ASP uses variants I keep getting problems with object casts; In my asp page I have the following code which works fine ...
Score Eval Function in c#
Ivan Sammut - 6 Oct 2006 6:58 AM - 2 messages
Hi ppl   I have an edit box where the user can enter a formula like "12+5" or some other simple formula. Is there any function in c# which owuld evalute a string and give me the result of the formula. ...
Score OSQL + not responsing.
gopal - 6 Oct 2006 5:57 AM - 6 messages
Hi I am running a OSQL utility from my console application . iam trying to install a huge SQL file of 5MB, i debugged my code and the application is not responding at the following line of code                                                  psi.FileName = ...
Score sending email using c# Windows application
rohan_from_mars - 6 Oct 2006 5:42 AM - 6 messages
I want a Windows C# application to allow users to send email. It is a windows application and not ASP.NET web application. So how do i do it? I know that ASP.NET allows to use SMTPMail class of System.Web.Mail ...
Score Write the values of a PropertyGrid to an XML file
SteveT - 6 Oct 2006 4:48 AM - 2 messages
Is it possible to refer a dataset to the contents of a PropertyGrid so that one can read and write XML files of the dataset?  Reading the XML file would populate the PropertyGrid. ...
Score Is there a global validate on a winform?
jjbutera - 6 Oct 2006 3:07 AM - 12 messages
I know how to use the ErrorProvider in my winforms..or do I? I validate the values and set the ErrorProvider in the validating event. If not valid, I set e.Cancel = True. I clear the ErrorProvider in the validated event. ...
Score Event Generating Multiple Handler Calls
Gary Brown - 6 Oct 2006 2:56 AM - 3 messages
Hi, I dynamically connect a MDI parent's toolstrip button to a child event handler by calling the following member at the child's Activated and Deactivate events.  It looks simple enough but I'm getting multiple calls to the child's event ...
Score Very complicated Regular Expression Help
jayanthigk2004 - 6 Oct 2006 1:52 AM - 6 messages
Is it possible to write a regular expression for this ? Pattern: 999-99-999 Where 9 is any number from 0 to 9 However the user need not enter ALL the digits and dashes as given in the format. Whatever numbers and dashes he had entered must match the above format, ...
Score Modifications to dataset definition after changes made to SQL database table
eljainc - 6 Oct 2006 12:07 AM - 2 messages
Hello, I have a program written in C#.NET VS2005 that accesses a SQL database/data table through a dataset. It was decided that a valued defined as a smallint in SQL Server should be changed to a varchar. I ...
Score AHH Spam and making a blocker?
Daniel - 5 Oct 2006 11:38 PM - 2 messages
Hey guys i have finally reached the end of my patience with SPAM. I want to make a component to add into outlook to be a bit more 'bulk spam' smart. In outlook you can only block messages individually and it sends me nuts. ...
Score Resize/Convert images on the fly
Just D. - 5 Oct 2006 11:03 PM - 2 messages
All, Does anybody know some library to resize/convert images on the fly? I'm especially interested in JPG/GIF/TIF images. Also maybe BMP, but not critical. Are we having some kind of a standard, maybe freeware or open ...
Score Regular Expression Niggle
Michael_Burgess - 5 Oct 2006 10:59 PM - 12 messages
Hi there, I'm using the following regex validator: ^\d{0,4}.?\d{0,2}$ This is to validate that a text box has 0-4 numbers, possible followed by a decimal point and possibly followed by 2 decimal places. ...
Score starting tutorial for C#
Navodit - 5 Oct 2006 9:56 PM - 3 messages
Hi Can anyone suggest a good starting tutorial for C# where one can quickly grasp the basics of the language and move on to serious coding. I have experience with C, C++ and Java. Thanks. ...
Score Saving Properties.Settings for a DLL project
randy1200 - 5 Oct 2006 9:50 PM - 2 messages
I have a DLL Winform project. I've double-clicked Settings.settings under Properties, and create the following application setting: Name: MySetting1, Type: string, Scope: Application, Value: c:\TestDocs When I need the MySetting1 value, just use the following in my C# code: ...
Score Scientific Notation In Textbox
Greg - 5 Oct 2006 9:42 PM - 3 messages
I am working on an application that requires working with numbers in scientific notation. I am using SqlServer as the database and I have created strongly typed data adapters and datasets. The numbers are defined as numeric in the SqlServer Database and are bound to text ...
Score Why callback functions are static?
Jimmy - 5 Oct 2006 9:09 PM - 5 messages
I need to use Asynchronous Socket functions in a server application and am learning from sources such as the MSDN2 ([link]). What I observed is that all callback handlers in examples are static ...
Score Read a file of records with a Struct in C#
Eddieb7 - 5 Oct 2006 8:54 PM - 4 messages
HI, I come from a dephi background and i am in the process of moving to c#. In Delphi I can declare a file as being of a recordrtpe (or Struct in c#). i.e   FileName = File of TempRecType ...
Score What is the .NET/C# Web Application version of Messagebox.Show???
Todd Jaspers - 5 Oct 2006 8:45 PM - 4 messages
Hey guys,       I am writing a web app using C#/ASP/.NET/Whatever... I'd like to have a window pop-up with some text. Basically, I'm trying to find out what the MessageBox.Show or the Console.Writeline is for web page apps. ...
Score Automatically print pdf document to a particular printer?
bdog4 - 5 Oct 2006 8:02 PM - 2 messages
I'm developing an application that will automatically batch print files in a particular directory at certain intervals.  How can I do this automatically without opening the documents and just pointing to them from csharp?  I would also have to be able to select the printer I ...
Score auto-indentation
PJ6 - 5 Oct 2006 7:50 PM - 2 messages
I looked through the editor options and verified that indenting was set to "smart"... and yet, noththe indentation in the code I'm looking at is still all screwed up. Am I going to have to manually correct the indentation, or ...
Score How to merge two arrays as one
ad - 5 Oct 2006 7:46 PM - 3 messages
I have two array like string a1= {"dog","dock","deer"} string a2= {"lion","tiger"} How can I merge a1 and a2 to a3 a3:  {"dog","dock","deer", "lion","tiger"} ...
Score About DataSet and Stocked procedure performance
# Cyrille37 # - 5 Oct 2006 7:44 PM - 2 messages
Hello, I'm learning .Net's Dataset and TableAdaptor. They store data locally and only propagate change to the SQL Server. That's a unconnected data access. By this way, a question comes to me : When we use Select() on a Table for a Dataset, it search for data locally. ...
Score RSS 2.0 in .net 2.0?
Erland - 5 Oct 2006 7:28 PM - 2 messages
Hello All, I am working on an application( for learning purposes) that would retreive RSS 2.0 feeds from various locations and display them in my windows application. Is there any particular and useful library available , for reading rss 2.0,that can be used in .NET 2.0 ( C#) ...
Score FileOpenDialog without a File
randy1200 - 5 Oct 2006 7:12 PM - 3 messages
My user interface needs to allow the user to select a default directory. When I say the following: if (openFileDialog1.ShowDialog() == DialogResult.OK) { //record path  } The problem here is that the user gets an error that the file is not valid. ...
Score List all controls inside of each form
Toze - 5 Oct 2006 7:10 PM - 5 messages
I'm using a assembly to load my apllication (ex: Mobi.exe), and now I need to list all forms in my apllication and list all controls (ex: txtname;btnname) inside of each form. ...
Score Set process object = current app?
james - 5 Oct 2006 6:51 PM - 3 messages
Hello, I would like to instance a new System.Diagnostics.Process object that is the current application, but I can't see a quick way of doing this. I know how to "start" a process, but it's already running. Do I really need to iterate ...
Score Using Generics causes Dispose() error
SteveT - 5 Oct 2006 5:40 PM - 5 messages
I have written a control that does some base functionality.  I then wrote a control that inherits from it so that I can make several unique versions which behave differently.  To do this the inherited control uses generics.  ...
Score search user in active directory
sgr - 5 Oct 2006 5:30 PM - 3 messages
How do I search an user into the active directory from a c# application? Thanks for all. ...
Score Settings file
John J. Hughes II - 5 Oct 2006 5:21 PM - 7 messages
I am creating a new windows service and will have a windows form for setting the runtime settings.   In the past I have used the registry for this but since MS seems to think this is a bad thing I was attempting to use the ...
Score Dynamic memory allocation
Le Minh - 5 Oct 2006 5:05 PM - 6 messages
Hi, i try to using unsafe programming to speed up my App. i dont know how to dynamic memory allocate. Anyone know it ? Thanks, Le Minh. ...
Score Increasing height of text box
RateTheBuilder - 5 Oct 2006 4:55 PM - 3 messages
Hi I have a multi-line text box displaying data inside a datagrid. I have the height set to 50px and the width to 200px. If the data populating the text box is larger than this, then naturally the scrollbars appear. ...
Score Help with encrypted web pages?
smerf - 5 Oct 2006 4:45 PM - 9 messages
I am trying to write a personal spider to crawl through websites and create a highly specialized personal list of sites and pages that I may like to see based on preferences that I have supplied.  I have found some interesting ...
Score Get name of property
Pascal Berger - 5 Oct 2006 3:16 PM - 12 messages
I need to know the name of a certain known static property. I need to have something like this: public classe MyClass {    public static int MyProperty {      get { return 0 }    } } public class TestClass { ...
Score I problem in using .Net Remoting
fAnSKyer/C# newbie - 5 Oct 2006 3:11 PM - 3 messages
I used JAVA RMI before, now I have to use .Net Remoting, and I found a problem What I want to do is in Server, new an object, bind this object, and Client can use this object from remote. What I found now is. ...
Score any way to suspend events for controls while I edit them?
MrNobody - 5 Oct 2006 3:05 PM - 9 messages
If I have a control like say a drop down list and I have some kind of onSelectItem change event, is there a way to temporarily suspend the event handling (without removing the event and then re-attaching it?) while I edit ...
Score parsing XML Schemas
Phil Townsend - 5 Oct 2006 2:49 PM - 2 messages
I am working on a project in which an XML schema needs to be parsed in order to create a form. When this form is filled out, an XML document will be generated that matches the schema. I am a little unsure about ...
Score How send email
Dave - 5 Oct 2006 2:33 PM - 4 messages
I am trying to write code to help me send an email. I have the email address to sent to, stored in a database. I've read several articles and I'm not sure what is meant by placing "yourmailserver" as a value. I plan to distribute ...
Score C++ to C#
Vai2000 - 5 Oct 2006 2:23 PM - 14 messages
In VC++ if wanted to break a string on line I can use this \n" What's the equivalent in C#? TIA ...
Score 64-bit compile and >2gig memory access
Joe - 5 Oct 2006 2:09 PM - 6 messages
One of the biggest differences between 32-bit & 64-bit is that 64-bit can access much greater memory than the 32-bit. I was reading in the MSDN that ..NET application still get the same 2gig limit. "As with 32-bit Windows operating systems, there is a 2GB limit on the size ...
Score Typed datasets in the business layer
pabloch2 - 5 Oct 2006 1:55 PM - 3 messages
Why the data access layer should use untyped datasets? and Why the business layer should use strongly typed datasets? Is this applicable to the 3 layered architecture in general or is it related with the implementation in .net? Can someone recommend me a good book to learn in depth the 3 layered ...
Score Fastest way to update an integer variable across threads
BuddyWork - 5 Oct 2006 1:09 PM - 4 messages
I want to know what is the best design approach to update a variable across threads. ...
Score Ping: Bruce Wood.. Again...
Michael S - 5 Oct 2006 12:47 PM - 3 messages
Hi bruce. You got mail in your almost non-functional, spam decoy inbox.. Again  =) Happy Coding - Michael S ...
Score Array reallocation question
Oleg Subachev - 5 Oct 2006 12:23 PM - 3 messages
Are existing elements in the array preserved when array is reallocated ? int[] A = new int[1]; A[0] = 1; A = new int[ A.Length + 1 ]; A[1] = 2; Will A[0] be 1 at this point ? Oleg Subachev ...
Score UrlDecode
Kenan Kilictepe - 5 Oct 2006 12:04 PM - 7 messages
How can I use  HTTPUtility.UrlDecode method in a windows application? Isn`t it possible? VS IDE doesn`t show HTTPUtility Class in System.Web namespace. Thanks ...
Score how to use microsoft application blocks ent lib june 2005
Mukesh - 5 Oct 2006 11:39 AM - 5 messages
Hi I m using microsoft application blocks Enterprise Library june 2005 with .net framework 1.1  and VStudio2003 And C# as coding language Sql server 2000 database the project is running properly on the localhost  server but my online server does not have the ms Ent lib installed and also ...
Score Socket.Send - Sending message to the same process
BuddyWork - 5 Oct 2006 11:25 AM - 5 messages
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the receiver is running within Process1. ...
Score Cannot create a Virtual Directory using System.DirectoryServices on Windows Vista RC1
fredfrog22 - 5 Oct 2006 9:52 AM - 2 messages
The following is an extract from a C# console application that creates a Virtual Directory on IIS 5 or 6. This code works on XP, Windows 2003 Server, Windows 2000. It does not work on Windows Vista Release Candidate 1 (IIS 7). ...
Score Modifying windows layout(title bar)
Jon Slaughter - 5 Oct 2006 8:24 AM - 4 messages
I'm tryign to display my own title bar. I've created a window without one but with a menu. The menu though is located in the upper left corner and I need to move it down. I need to set the client windows location but I can't ...
Score Windows Registry Key C#
Giovanni De Angelis - 5 Oct 2006 7:38 AM - 4 messages
Hi all, I am trying to develop a program in C# and I need to change some registry keys with a dinamic entries. Let's explain better. I've to change automatically the "Briefcase Path" key of the partnership created by Microsoft Active Sync but the name is not fixed. ...
Score Fastest way to work with DataTable
Pascal Berger - 5 Oct 2006 7:19 AM - 10 messages
What's the fastest way to accomplish the following tasks: - Copy all data from one DataTable to another. Currently I work with CreateDataReader() / Load(). Is there any faster approach? - Add a lot of rows (>10'000) to a DataTable (one by one). Currently I ...
Score Convert latin to a-z
Benny - 5 Oct 2006 5:44 AM - 2 messages
Is there a way in dotnet to do the following convert? Ä => A ä => a é => e ...
Score Installing a Windows Service programmatically
sunil - 5 Oct 2006 5:06 AM - 8 messages
Hi all, I read an article from [link] about how to install a windows service programmatically.     Based on the code sample, it provides the feature to install ...
Score How to iterate over and Enum?
garth - 5 Oct 2006 4:38 AM - 3 messages
Hi, Is it possible to iterate over and enumerated type in C#? If so please can you paste a simple exampel up that covers the whole process. Thanks ...
Score How do I refresh a ComboBox who has ArrayList as Datasource?
MrNobody - 5 Oct 2006 2:52 AM - 2 messages
I have a ComboBox on my form, and I set it's DataSource to an ArrayList of custom objects. Everything loads fine, all the entries I initially loaded into the ArrayList appear in my ComboBox. However, while my program is running and I add a new object to that ...
Score Convert VB.NEt to C# problem
Mike Howard - 5 Oct 2006 2:10 AM - 8 messages
I'm trying to convert the following (simplified) VB.Net code to C#, that makes use of some externally developed COM code written in VB6. VB.Net Code     Sub Main()         Dim oAPP As Object ...
Score custom operator++ yields InvalidProgramException
Dennis Zickefoose - 5 Oct 2006 12:01 AM - 3 messages
The following code yields error CS0131: "The left-hand side of an assignment must be a variable, property or indexer":  (new int())++; However, when using a class with a custom operator++, an InvalidProgramException is thrown.  I assume this is a compiler bug of some ...
Next »