Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > january 2004 > threads for thursday january 22

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

unicode strings and network byte ordering ?
Posted by srikant at 1/22/2004 11:26:06 PM
I am writing a client in C# that needs to communicate over the network to a legacy C++ application that uses Unicode strings. I realize that C# strings are already in Unicode, however, how do I account for the network order transformation. Can I simply do the equivalent of string = "hello world"...more >>


Needed C#,ASP developer
Posted by PromInc at 1/22/2004 10:35:09 PM
Please apply asap if you have good skills in: - C#, VB, COM and ADO - ASP, VBScript, JavaScript For selected candidates test will be provided. ...more >>

adding text of different colors in listview
Posted by VM at 1/22/2004 10:28:26 PM
Can I add text of different colors to a listview? Let's say I want to add, on one line, the text "This is my message" on my listview. Would it be possible to add this sentence to the listview with the word "This" in one color, "is" in another color, and so on? Then in my next row, I'd add anot...more >>

syntax for ? :
Posted by Mark at 1/22/2004 9:58:44 PM
Below is code that populates a single SQL Server parameter value. The parameter is a varchar, but could be a null value. Why doesn't the ? : syntax in the second piece of code work?? Isn't it identical to the first option? The error claims that there is no way to convert DBNull.Value to a st...more >>

datagrid is invisiable when .aspx page is launch on web server
Posted by nss at 1/22/2004 8:05:53 PM
hi, I created web page ( .aspx) then i imported datagrid on that page with dataset. But when i launch the page on web server the datagrid is invisiable. Can someone help me how i can make it visible when launch on web server. regards, Sam ...more >>

Application always on top
Posted by G Uljee at 1/22/2004 7:51:10 PM
Hi, I want that my application is always on top (configurable), so the user can not use any other program. Any ideas? Gaby ...more >>

Transparent PictureBox on BackgroundImage of Form, not BackColor of Form
Posted by grayaii NO[at]SPAM netscape.net at 1/22/2004 7:34:09 PM
Hi, I'm trying to make my PictureBox transparent to the BackgroundImage of the Form, not the BackColor of the form. Here's what i have: --------------------------------------------------- this.BackColor = Color.Wheat; this.gameBackgroundBMP = new Bitmap(GetType(),"MyForm.backGround.bmp"...more >>

NameValueSectionHandler usage
Posted by Mike Bird at 1/22/2004 6:58:00 PM
I am trying to create a NameValueSectionHandler to read a section from an XML file. I am trying to figure out what parameters to pass to the Create method. Parameter 1 is simply described as an object. I can't figure out what type of object to pass in. I assumed it would be a NameValueColle...more >>



Form.MinimumSize
Posted by Wim at 1/22/2004 6:56:38 PM
I noticed that my program was reacting slow when moving it over the screen. So I went looking for what was causing this. It seems Form.MinimumSize is the culprit. At first I had this.MinimumSize = new System.Drawing.Size(408, 296); in the InitializeComponent() member. The program reacted slow ...more >>

Atom?
Posted by Sean Dudley at 1/22/2004 5:56:07 PM
I need to run an API call that requires a WNDCLASS. How do I construct this in c#? I want to use RegisterClass. See, I want to register a TrayNotifyWnd class, etc so when a window seeks to have an icon in the tray my class will receive the event. Any ideas? ...more >>

Preventing user interaction while showing a "wait" cursor
Posted by Aaron Queenan at 1/22/2004 5:36:07 PM
I have a form which performs some asynchronous code. I want to display a wait cursor when it starts, and hide the wait cursor when it has completed. This part works fairly well, using: this.TopLevelControl.Cursor = System.Windows.Forms.Cursors.WaitCursor; I also want to prevent user int...more >>

Re: re:Limitations/disadvantages of C#
Posted by form_w2 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/22/2004 5:34:03 PM
> > Thats because you are a siht developer. > Maybe I was better off when I was getting no responses. Its a shame there is no place to go now where people can express their opinions without having to deal with juvenile name calling. > > - Need to install .NET runtime on client before r...more >>

HOW TO : Serialization and "external" Assembly
Posted by Paul Bawin at 1/22/2004 5:18:14 PM
Hi All, How can I load an object A that host an object B that is defined in an other Assembly ? Thank you See the exemple below : I have a DLL with these classes namespace RTECH { [Serializable()] public class Main // A Class that host a wizard { public Main() { } ...more >>

Blocking Select() does not work
Posted by Michi Henning at 1/22/2004 5:10:12 PM
Hi, I'm using a blocking Select() call on a socket with a timeout value of -1. I'd expect the call to block indefinitely, but it doesn't. When I use Poll() instead, a timeout of -1 works fine and blocks indefinitely. The net effect is that I cannot write a select on more than one file desc...more >>

how to add dotnet component in vc++
Posted by Kanaiya at 1/22/2004 5:01:25 PM
hi how to add dotnet component in c++ which is develop in c# -- With regards, Gangani Kanaiya. ...more >>

text of different colors in listview
Posted by news.microsoft.com at 1/22/2004 4:54:30 PM
When I add to a listview, can the text I have be of different colors? For example, I want to add these two lines to my list view: "This is my program" "This is my other program" Can I add it with "This is" written in red text while "program" is written in yellow text? And then do the same...more >>

Com Port example
Posted by Alex L at 1/22/2004 4:28:11 PM
Hi to All Somebody knows how to access comm port in C Sharp??? The example will help me very much. Thank u in advance Alex ...more >>

Identifying the drives available on a system
Posted by Simon Harvey at 1/22/2004 4:18:51 PM
Hi there everyone, I'm hoping that someone could point me in the direction of the necessary classes required to determine information on a computers filesystem. In particular, how can enumerate the drives that a computer has. I need to identify the drives available, along with their types (c...more >>

C# XML storage
Posted by Sunny at 1/22/2004 4:01:08 PM
Hi, I was wondering if someone has ever tried storing data in XML files and then reading back from them, just like as if someone would do from an Acess database. If yes, are there any advantages disadvantages or speed issues with that methodology. I am wondering if it would be a better option to s...more >>

Is it possible to override MainWndProc
Posted by Maxim Kazitov at 1/22/2004 3:53:37 PM
Hi, Is it possible to override MainWndProc using c# (for window in other = process).=20 Thanks, Max...more >>

RegEx Pattern?
Posted by Luke Ward at 1/22/2004 3:48:02 PM
I've never used the patterns before and wondered if anyone could tell me why this does not work [00-23]{2}:[00-58]{2} I just want to validate 24 hour time entry. Cheers Luke ...more >>

User Control Localization
Posted by Horatiu Ripa at 1/22/2004 3:46:54 PM
I have a control that has some localizable stuff on it (i.e a = GroupBox.Text property).=20 I'm exposing this property of myGroupBox for the container designer = through: public string The_Caption { get {return myGroupBox.Text;} set {myGroupBox.Text =3D value;} } Now: I can see/...more >>

Static Methods
Posted by Jim Heavey at 1/22/2004 3:41:12 PM
Hello, hoping you can clear up a little bit of confusion that I have on creating/using static methods. I want to create a class which hold all my "Utility Methods" for windows forms. So I created a new project and added that project to my existing project. The project "type" I selected wa...more >>

Using Win32APIs that pass back a struct which contains a pointer to a struct
Posted by jgalt00 NO[at]SPAM hotmail.com at 1/22/2004 3:14:19 PM
I'm at a loss on how to accomplish one item with C# entirely in managed code -- I'd like to make a call to a Win32 function, one of its parameters is a structure that contains a pointer to one or more structures. How do I setup the structure in C# to allow for the pointer to a structure? The ...more >>

Saving bulk data into acces
Posted by G Uljee at 1/22/2004 3:07:33 PM
Hi, I've an application with an Access database (max 10000 records). I want to save per 1000 records at once into the Access database, witch option do you prefer (example)? Someone experience with saving bulk data? Cheers Gaby ...more >>

what is the best way to connect to a mySQL database...
Posted by matt (ziba) at 1/22/2004 2:56:05 PM
what is the best way to connect to a mySQL database... is it using an odbc link? thank you in advance...more >>

Any free obfuscators?
Posted by A at 1/22/2004 2:39:32 PM
I am trying to find a good (and free) .net obfuscator for the 2002 version. I can't seem to find anything free on the net, does anyone have anything? thanks ...more >>

Mouse move event (all not just application form)
Posted by Jax at 1/22/2004 2:36:07 PM
I want my application to stop a certain action when it hasn't felt a mouse move for over 10 minutes I understand I could do this by using the mousemove event of the form of my application But if my application doesn't have the focus it wont fire the event if the mouse is moved right So is there a...more >>

re:Limitations/disadvantages of C#
Posted by form_w2 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/22/2004 2:30:39 PM
Ok, I can see how it wouldn't make a lot of difference which language I use in .NET, so maybe a better question is: what are the limitations or disadvantages of using .NET (compared to, say, VS 6.0/C++)? Learning time doesn't matter too much (unless it's extreme) since the whole group will be sw...more >>

Threading
Posted by Danny Carvajal at 1/22/2004 2:12:14 PM
Hello, I have an application that uses 5 threads. So I simply create the 5 threads. However, I need to be able to create x number of threads at a time. Not sure how to do this. Any links to examples of this? Thanks! Danny *** Sent via Developersdex http://www.developersdex.com *** D...more >>

Refer parent in child form for MDI
Posted by web_poster03 NO[at]SPAM yahoo.com at 1/22/2004 2:06:54 PM
If the child form and parent form (MDI form) are in the same name space, I can use MdiParent property to set and get the MDIParent. But if the child form is one project, which generate a DLL, and MDI form is in a project to generate exe output, then how can refer the MDIparent from child for...more >>

Application always on bottom
Posted by Sean Dudley at 1/22/2004 1:49:18 PM
Hi, I would like my application to be always on the bottom (like the desktop). I tried always setting it to the lowest ZOrder whenever there is a ZOrder change but this doesn't seem like the best approach to me. ...more >>

Confusing design considerations
Posted by groups NO[at]SPAM willwyatt.com at 1/22/2004 1:45:03 PM
Hi all. I'm trying to figure out how to design a WebForm app that may have more than one bound DataGrid. What I want to accomplish is to create a "helper" class that I can reuse for each of the DataGrids, as well as in different projects. So here is what I have come up with so far. The first...more >>

LOGON_USER
Posted by Mike at 1/22/2004 1:38:51 PM
I'm in the process of converting a ASP application to C#. In my app I use LOGON_USER to get the name of the person accessing the application. I display the full name of the person not their network logon ID How can i do this with C#? ...more >>

ok so i have "Microsoft.Data.Odbc" but how do u get a row count??
Posted by matt (ziba) at 1/22/2004 1:36:07 PM
using the Microsoft.Data.Odbc component instead of System.Data.Odbc how do u get a row count using the Microsoft.Data.Odbc.OdbcDataReader ?? and is it best to use Microsoft.Data.Odbc OR System.Data.Odbc? thank you in advance.. ...more >>

is there a repeater in c# windows forms?
Posted by matt (ziba) at 1/22/2004 1:31:08 PM
i know that there is a repeater in asp.net but is there any thing like that in c# windows forms.. i want to lay out a panel and have it many of them in a scrolling list populated by a dataset any help would be good. ...more >>

Casting objects in an array (well, a SortedList) doesn't work
Posted by Marc W. at 1/22/2004 1:29:15 PM
I have been trying to cast an object I am getting from a SortedList for some time now, into the object it is supposed to be, but it just won't work. Here is the code: (StudentLocation)(student.stuSchedules[dpdnPeriodSelection.SelectedText]).lo cation = txtRoom.Text; Every object in the stuS...more >>

System.Runtime.Remoting.Channels.Http
Posted by Knut Vonheim at 1/22/2004 1:13:43 PM
For some reason I cannot access this in CSharp - neither with using or directly in the code? System.Runtime.Remoting.Channels on the other hand is fine, but no Http.anything works. Any thoughts, helps, guidance, hints, or pointers are greatly appreciated!! Regards, Knut Vonheim vonhei...more >>

Bizzare Mouse Movements
Posted by Ann Marinas at 1/22/2004 12:55:56 PM
Hi all!! I'm just curious if you guys experienced your mouse cursor moving by itself, without touching anything on your mouse-- I'm experiencing it right now whenever I'm connected to the internet. Is this an indication that I'm infected with a virus or my pc is being hacked? I have Nort...more >>

Generate xmldoc comments for generated c# class using xsd.exe
Posted by James Geurts at 1/22/2004 12:46:06 PM
Hi, I have a schema file defining objects. I then use xsd to convert that schema into a C# class file. Is it possible to have xmldoc comments added to the generated c# file? I have attempted to add <xsd:annotation><xsd:documentation /> tags to various parts of the schema, but that does not app...more >>

an owner drawn listview i guess
Posted by boxim at 1/22/2004 12:12:43 PM
hi all, i need to develop a control to show contact details for companies, in a similar fashion to the way outlook shows contacts. at the moment, i'm cheating using HTML fed from a web server, however i need to now make it use it's own control. what's the best way of doing this? tia s...more >>

while true loop, would a semaphore work?
Posted by Logan McKinley at 1/22/2004 12:02:17 PM
I am trying to create a high precision timer using the QueryPerformanceCounter API call which works find but I want to implement a tick event and am not sure how best to proceed. Say the user wanted the tick event every 500 ms, the only way I can think of to perform that is constantly querying Q...more >>

Docking Form.UserControl
Posted by Hananiel at 1/22/2004 11:54:50 AM
I have a User control that I load dynamically into a Form. The designer has no property to let me dock it. How do i Dock it or get it to stretch out to fill. Setting this.Dock = DockStyle.Fill; in the constructor did not work. Neither did implementing the resize event. thanks, Hananiel ...more >>

session value
Posted by selen at 1/22/2004 11:40:26 AM
I am using belove code.I want to send session's value a variable in another page. How can I take session value. script="<Language=VBScript> session(\"Id\")= "; script+= kullaniciId; script+="</script>"; Page.RegisterStartupScript("Startup", script); Thanks. ...more >>

What is Nothing?
Posted by Ruslan Shlain at 1/22/2004 11:40:18 AM
In VB.NET we set object to Nothing. What do i do in C# to achive the same thing? ...more >>

Help - Problem with 2 combo boxes populated from same data
Posted by gbradburn NO[at]SPAM nc.rr.com at 1/22/2004 11:21:57 AM
Greetings, I have a form with two comboboxes that I want to be populated with the same values from a table (i.e. both comboboxes have the same table/column as their datasource and display member). The selections made from these comboboses are to be saved in two different columns in another ...more >>

First exception is very slow...
Posted by Robert Gravereaux at 1/22/2004 11:21:12 AM
I've noticed that the first exception thrown/caught by an app running in debug is very slow - it takes perhaps 7 or 8 seconds on my P4 machine. I've noticed this on several different machines running the development environment. To replicate, create a new c# windows app, add a button, and hook...more >>

Generic way of updating UI's with objects...
Posted by Michael at 1/22/2004 11:16:01 AM
I have a simple situation, where I have a textbox (myTextBox) which represents the value of say an integer (myInt). Now, whenever I change the value of myTextBox, I would like myInt to be updated. I was wondering what the best approach to do this would be, without having to explicitly write co...more >>

Does StreamWriter.Flush() block?
Posted by Simon Johnson at 1/22/2004 11:15:17 AM
I have a TCP Client class for which I use StreamWriter to send data across the network. The question I have is does the StreamWriter.Flush() method block code execution until all the data has been sent to the client? Simon....more >>

AssemblyVersionAttribute
Posted by discussion NO[at]SPAM discussion.microsoft.com at 1/22/2004 11:12:41 AM
Hi, In the AssemblyInfo.cs file I change the AssemblyVersion["1.0.0"]; attribute from the default "1.0.*" blah I notice that its FORCING 4 digit notation, so if I use "1.0.0" I get "1.0.0.0" in that property. Are we FORCED to have 4 digits for our versioning or can this be overrided? ...more >>

The equivalent of Global constants in VB
Posted by Mark Rae at 1/22/2004 11:10:17 AM
Hi, Another stupid newbie question from me, I'm sorry to say... but can anyone tell me how to simulate the concept of a global constant in a C# Windows app? The app in question contains several forms, each of which need to interrogate the value of a "global" constant. Do I have to create a ...more >>

System.Data.DataRowView
Posted by Dave Bailey at 1/22/2004 10:56:11 AM
When using a dropdownlist in a web app I get the following in the listbox when I run the app System.Data.DataRowView. I tried to convert this using the ToString() method to no avail The code is as follows private void Page_Load(object sender, System.EventArgs e BindList() ...more >>

MFC and C# GUI
Posted by Maor Mishkin at 1/22/2004 10:43:32 AM
Hello, I have a C# GUI (Frame) and would like to operate it in a C (MFC or other) envierment is this posibale? if yes what should I do and in which C GUI should I use? Maor ...more >>

Adding user controls at runtime
Posted by JimMace at 1/22/2004 10:41:05 AM
Group, I'm somewhat new to C#, and I was wondering if anyone would know how I could add an ascx control to a Web form at runtime? Thank you in advance, Jim...more >>

[?] TabControl & BackgroundColor
Posted by LS at 1/22/2004 10:40:27 AM
Does anybody know if (and then HOW!) can I change the background color of a WindowsForms.TabControl control? It doesn't have any "BackgroundColor" property, how could then I change it? Thanx!! ...more >>

How to get user name in a aspx page
Posted by Kanth at 1/22/2004 10:38:48 AM
Hi All, I am developing an .net application (intranet). In the Home page, I would like to show user name (a welcome message) and I don't know how to get the user name through NT user ID. Will you please help me. Thanks in advance. -- Kanth ...more >>

System information
Posted by Markus Wildgruber at 1/22/2004 10:26:50 AM
Hi! How can I get information about the system my application is running on? I found the System.Environment class that provides me with some of the desired information but some of them not in the form I want. For example, you can get the OS-version but when using ToString() to do the user out...more >>

C# Data Insertion
Posted by Sunny at 1/22/2004 10:21:05 AM
Hi All, I am working on a Data Project, that involves records (rows) to be inserted from a Table in one database to an exactly similar table in another database. The table names and all field names and values are exactly same. I am looking for Mass insertions or should i say, the easiest way to in...more >>

NTP Server
Posted by 4Space at 1/22/2004 10:18:05 AM
Anyone know where I can find an NTP server in C#?? Sort of an open source tutorial type thing. Cheers ...more >>

Global variable
Posted by Ruslan Shlain at 1/22/2004 10:09:48 AM
Hi. I would like to know how can i set up an object in memory so it exists though out the life of my application. I know in VB6 there was a special class that maintain state. How do i do it in C# ...more >>

OOP Doubt
Posted by Hector Martinez at 1/22/2004 10:01:07 AM
I Have this: class A { A() { } } class B : A { B() { } } Class C { C() { A foo = new B(); } } My question is, what's the type of foo (A or B)...more >>

datagrid select cells
Posted by selen at 1/22/2004 9:47:53 AM
Hello Can I select the cell in datagrid? and can I read its text. I cant do it asp.net in c#... Thanks ...more >>

C# Data Access Issue
Posted by Sunny at 1/22/2004 9:41:05 AM
Hi All, I was wondering if any one knew how to create INSERT statement using the OleDbDataCommand, that includes single quotes in the data that is entered in the table fields. e.g. string fieldval = "Some Data with single's quotations"; OledbCommand cmd = new OledbCommand("INSERT INTO Table (S...more >>

Repeater, create dropdown bound to arraylist
Posted by Jax at 1/22/2004 9:41:05 AM
I have an arraylist of objects. This arraylist is bound to a repeater. That repeater then creates a set of controls like so <asp:repeater id="garmentRepeater" runat="server" OnItemCommand="Repeater_ButtonClick"><HeaderTemplate><asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 250px; POSITION: abso...more >>

How to programmatically scroll a panel?
Posted by openwound5000 NO[at]SPAM aol.com at 1/22/2004 9:39:37 AM
What method can I call to programmatically scroll a panel? There is ScrollControlIntoView() but I don't have a control to scroll into view. I just want the panel to scroll up by 100 pixels. Setting AutoScrollPosition doesn't seem to work either. The values I set are not honored, and are appa...more >>

Exception Hanlding
Posted by tom at 1/22/2004 9:29:55 AM
Hi, I am developing a WinForm application and I am looking for a guide on where to place Exception Handling. My application is designed into three tiers UI, Business Objects, and Data Access Layer. My questions is where should I put exception handling: 1) Should it be put in all significa...more >>

Referring to controls on other forms
Posted by Mark Rae at 1/22/2004 9:26:29 AM
Hi, Apologies if this is a stupid question - I'm a C# newbie... :-) I have a Windows app with two form: frmConfigReg and frmNewApp. frmConfigReg is the startup form. It has several controls, including a GroupBox called grpApplications which itself contains a ComboBox called cmbApps and a but...more >>

Licensing Issues
Posted by Mythran at 1/22/2004 8:43:04 AM
Was wondering...the following site provides a compiler for C# and soon, VB.Net on a linux box: http://go-mono.com/c-sharp.html What legalities should be made aware in order to use this legally? Are there any legal issues that should be made aware before jumping the gun? Thanks, Mythra...more >>

Get Remote User Name
Posted by Dave Bailey at 1/22/2004 8:21:08 AM
I need to be able to get the windows Login Name of a remote user when they open a web app I have developed. CVan anyone supply some sample code that accomplishes this task Thanks Dave Bailey...more >>

Console unhaddled event exception not kicking in
Posted by GG at 1/22/2004 8:15:50 AM
I have a console application [MTAThread] static void Main(string[] args) { //for any unhandled exceptions AppDomain currentDomain = AppDomain.CurrentDomain; currentDomain.UnhandledException += new UnhandledExceptionEventHandler(HandlerUnhandledException); next line is RemotingConfig...more >>

Win32 Resources in .NET Question
Posted by Christopher Burr at 1/22/2004 7:45:38 AM
I'm trying to retrieve a string resource from a Win32 file. In win32 world I would just use LoadLibrary and LoadString. What do I use in the .NET world? -- Chris Burr cburr@kcc.com ...more >>

To many posts not enough responders
Posted by Glen Jones MCSD at 1/22/2004 7:37:53 AM
All, I know the answer to this question, I just thought I would ask everyone else. Why don't more people respond to the questions? There is not way the 15 or so regular responders can answer the mounting number of questions. Any thoughts on this? -- Glen Jones MCSD ...more >>

HOW TO: Passing a function
Posted by Peter at 1/22/2004 4:46:07 AM
Hello, Thanks for reviewing my question. I am coming from a C++ background and would like to know how do you pass a function as a parameter to a function in C#? I am assume you must use a delegate. void Func( (void *)() fn ) { fn(); } void Func2() {} void main() { Func( Func2)...more >>

Exact width of a font character
Posted by info NO[at]SPAM eichereng-dot-ch.no-spam.invalid at 1/22/2004 4:30:40 AM
Hi, I want to get the EXACT width of a font character in pixels. I tried: Font fo = new Font("Courier New", 12, GraphicsUnit.Pixels); int iWidth = (int)fo.Size; // 12 doesn't work iWidth = (int)MeasureString("G", fo).Width; //doesn't work :( Regards mike ----== Posted via ...more >>

use this.controls.add inside an onclick event
Posted by Josema at 1/22/2004 4:26:05 AM
Hi to all, i have a web custom control(webcontrol1) that has a button(button1), another webcontrol(webcontrol2) that has a label (label1), and another webcontrol (webcontrol_all). in the webcontrol_all i make this steps: 1) i instanciate the button (protected webcontrol1 mywebcontrol =...more >>

navigate url
Posted by djozy at 1/22/2004 3:56:08 AM
Please I have dropdownlist on my web form. I would like to get web page from url adress automaticly, when I select one of the items in dropdownlist. I have put autopostback property of dropdownlist to true. Is there any way to get url adress using normal buttons, or like in this case, list control...more >>

Excel 2000 Worksheet Protection
Posted by luke_james32 NO[at]SPAM hotmail.com at 1/22/2004 3:04:33 AM
Hi, I am using the following code to protect the active worksheet: Excel.Worksheet activeWorkSheet = (Excel.Worksheet) excelApp.ActiveWorkbook.ActiveSheet; activeWorkSheet.Protect("password", missing, missing, missing, missing); This works fine but i would like to unprotect certain cel...more >>

Access recordset object, when passed by reference to COM Object
Posted by Bala A at 1/22/2004 3:00:38 AM
I have an ActiveX EXE. One of the methods in this component has "Recordset Object" as input parameter which has to be passed by reference. I have to call this method from C# code. From C#, how do I pass recordset object by reference and use the recordset later in C# Code. Hope my qu...more >>

How to find the implementations of mtd Compare from String Obj?
Posted by light_wt at 1/22/2004 2:56:06 AM
Hi I am trying to learn Object Browser and having some problems I launch the browser with a default C# Win Appl using Ctrl-Alt-j. But, where do I go from there to A) find the implementations of the method Compare supported by the String object B) find the Equals method of the Object object ...more >>

C# RegEx - FlagSet check in integer
Posted by CSharp at 1/22/2004 2:51:06 AM
Is it possible to find if lower 1st bit and 2nd bit in an 32-bit integer is set using regular expression in C# Example 1. Input Strings - 0, 1, 2 Result - Fai 2. Input Strings - 3, 7, Result - Fail...more >>

writing a tab delimited text file
Posted by The Bear at 1/22/2004 2:19:34 AM
I have populated a dataset with a tab delimited text file. When the changes are made in the dataset, I then want to write those changes from the dataset to a tab delimited text file. How do I write each record to that text file. If anyone one knows I would really appreciate the help TB ...more >>

Enumerate Tray Icons
Posted by Sean Dudley at 1/22/2004 1:51:34 AM
Hi folks, I am trying to figure out how to enumerate the system tray icons and get their handles when explorer.exe is not running. So I need to be able to ask probably through API which icons would be in the system tray. Any ideas? I know this is a tough one. -Sean ...more >>

csc.exe is missing
Posted by ThomasD at 1/22/2004 1:51:05 AM
I installed Microsoft .NET Framework Version 1.1 Redistributable and Microsoft .NET Framework 1.1 Software Development Kit and was expecting to get a C# Compiler. But csc.exe is missing in my filesystem. I assume that it would have been placed in C:\Programme\Microsoft.NET\SDK\v1.1\Bin along w...more >>

Yukon and .NET 2.0 Wishlist
Posted by chakachimp NO[at]SPAM yahoo.com at 1/22/2004 1:45:17 AM
Here are a couple of dramatic requests that I've always thought should be implemented. 1) Uniform null. I wish .NET would implement a uniform value for nulls accross the board. Even into the database (especially with some of the hype about what can be done in Yukon). Before passing this off as...more >>

Passport Requirements
Posted by Daniele at 1/22/2004 1:36:08 AM
Hi, I have to develop a website demo using .Net Passport service. I'm wondering about this requirements: -Shall I have to install SSL server? -Should the computer be outside the firewall?Even if the website is an "internal" application...? Thanks Daniele ...more >>

easy question
Posted by Wong chian at 1/22/2004 1:11:05 AM
Hi, I have this easy piece of code: public class Box1:System.web.ui.webcontrols.webcontrol { protected Button mybutton; protected override void OnInit() { InitializeComponent(); } private void InitializeComponent() { this.Controls.add(mybutton)...more >>

Drag and drop between to TreeView's
Posted by Jesper at 1/22/2004 12:16:10 AM
Hi Is it possible to implement Drag and Drop between to TreeView's using the standard treeView controls Know of any good sample that can demonstrate this, (or just related to the above described) Best regards & Thanks Jesper ...more >>

garbage col. vs manual cleaning
Posted by Sput at 1/22/2004 12:13:33 AM
I have a program with many forms which users are often opening and closing. Now, I have noticed that after opening 10 different forms and the closing them, memory consumption increases (eg. it has 25mb before opening 10 forms, then while they are open it has 26mb, after closing it has 25.8mb) ...more >>


DevelopmentNow Blog