Groups | Blog | Home


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# > september 2003 > threads for sunday september 14

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

MDI question
Posted by duncan_uwanson NO[at]SPAM yahoo.co.uk at 9/14/2003 11:38:35 PM
What is the major difference in having a number of child windows for a parent(MDI) and having altogether different windows(without MDI)....more >>


How to display/set the language in Windows XP?
Posted by eikel at 9/14/2003 11:03:58 PM
Hi I am trying to display and set the language in XP, therefore I wrote the following program: using System; using System.Globalization; using System.Security.Permissions; using System.Threading; [assembly:SecurityPermission( SecurityAction.RequestMinimum, ControlThread = true )] p...more >>

How to delete (clear) lines
Posted by Tomomichi Amano at 9/14/2003 10:10:11 PM
Hello How can I delete (clear) lines that were made useing Graphics.DrawLine() ? Thanks in advance! Have a nice day! ...more >>

Problem with array initialization using Activator.CreateInstance
Posted by Terry at 9/14/2003 9:16:41 PM
I'm building some dll assemblies that have in them the implementation of an abstract class defined in a different assembly. I'm trying to create objects of the type defined in the dlls with "Activator.CreateInstance". Everything was working fine until I started to fill out the class def with...more >>

Get Application Path
Posted by Heidi Hundåla at 9/14/2003 8:25:55 PM
Hi ! I am trying to find the application path dynamically, meaning the place on disc where my web app is residing, like some function that returns "C:\Inetpub\wwwroot\MyApp\". Is there a funcion like that ? Regards, Heidi V. Hundåla heidi.hundala@nrk.no ...more >>

How to get source displayed by axshdocvw.dll as string
Posted by Ken Arway at 9/14/2003 8:08:25 PM
Using VS2003, .NET1.1 and C# windows form app, I'm successfully displaying web pages using the axshdocvw.dll. Now I want to capture the source displayed in the window as a text string. Any ideas? I can't find any properties or methods that will do this... Thanks, Ken ...more >>

Treeview
Posted by Reb at 9/14/2003 7:47:04 PM
Hi, I am using Microsoft.Web.UI.Webcontrols.Treeview. I wanted to insert a node anywhere in the tree. Currently i could add only to the end of the tree. any help on how to do this. Thanks Reb ...more >>

passwordchar un/mask?
Posted by John at 9/14/2003 7:15:26 PM
I am creating an application which is password controlled on startup. I created a textbox for the user to enter the password. However, I would like to also have a menu option so the user can choose to see '*' in the password box, or the plain text that they are typing in. I want to do this be...more >>



Calling Win32 dlls
Posted by Otis Mukinfus at 9/14/2003 6:55:12 PM
// This is a declaration example for C: int FAR PASCAL Search(int mode, LPSTR key1, LPSTR key2, LPSTR key3, LPSTR found, int format); // This declaration is for C#: [DllImport("MyDll.DLL")] private static extern int Search(int mode, string key1, string key2, string key3, stri...more >>

Prototype Code BoolStruct
Posted by Jeff Louie at 9/14/2003 5:52:56 PM
This afternoon I coded a prototype user defined structure for use as a return value. The structure wraps a boolean value, the source and an error message. Comments appreciated. http://www.geocities.com/jeff_louie/OOP/oop11.htm Regards, Jeff *** Sent via Developersdex http://www.develop...more >>

Stretching backgrounds in ASP.NET
Posted by Jax at 9/14/2003 5:36:15 PM
Can you do this? The default for a background image on a web form is tile and i cant seem to find any options to switch that to stretch. Is this not possible? Many thanks go to any reply, even abuse. Jax :) ...more >>

ResourceManager
Posted by Steven Blair at 9/14/2003 5:22:34 PM
Hi, I am messing about using resource file. I have the following code: Assembly assembly = Assembly.GetExecutingAssembly(); rm = new ResourceManager("ResourceDemo.demo", assembly); txtBoxTitle.Text = rm.getString("Title"); This works no problem, but what i would like to do is make a re...more >>

newbie Arrays
Posted by MP at 9/14/2003 4:59:22 PM
Hi I have twp questions about arrays in c# 1) I have made following initialization: // Create and initialize the names array string[,] mediaClasses = { {"TYPE1","SubType1", "1", "10", "100", "2*2", "1000", "2", "223"}, {"TYPE2","SubType2", "1", "10", "500", "2*4", "1000", "4", "555"}, {"TY...more >>

Getting the correct Type back from ArrayList
Posted by WildHare at 9/14/2003 4:35:30 PM
If I have a class and I add it to an ArrayList and then want to access that class using using the index operator (e.g. ArrayList[x]) the ArrayList returns a type "Object". I can cast the return to the correct type (my class) but that will lead to very convoluted calls to get embedded elements o...more >>

Configuring a computer prior to WinLogon
Posted by Shannon McMillan at 9/14/2003 4:05:38 PM
Hey, I want to change the name and workgroup/domain of a computer at first boot prior to winlogon. I've written code that will successfully change the computer's name and workgroup/domain, but I'm having problems trying to work out how this may then be implemented prior to a user loggi...more >>

The FREE .Net Framework means NOTHING IF SQL SERVER...........
Posted by nospam at 9/14/2003 2:14:53 PM
SQL Server is easy to use.... Yet, "Easy-to-Use" is NOT IMPORTANT if it's not "Easy to AFFORD"..... Moreover, those who need it to be easy to use (those who don't have a Fortune 500 IT staff)...need it to be easy to AFFORD. ***THE CATCH 22 *** What good is a Free .NET Framework and a lo...more >>

dynamic code question?
Posted by William Stacey at 9/14/2003 2:01:27 PM
Say I have a multi-line text box on a form and "Run" botton. I want to type a class with fields and methods into the text box and try to instanciate it and run a method on the class and maybe even capture std out to an "Output" text box. How could this be done? tia -- William Stacey ...more >>

"css" like functionality in WinApps?
Posted by Claus Konrad at 9/14/2003 1:44:54 PM
Hi Any good idea on how to obtain a functionality like the Cascating Style Sheet (css) provides to WebApplications when doing a WindowsApp? I want to associate an external "document" to allow for (later) modification of the fonts, sizes etc. used throughout the application to allow for a consi...more >>

datetime string conversion
Posted by rick at 9/14/2003 1:25:31 PM
We recently converted a legacy database to SQL Server. A field in legacy contained a start and end date range example mmddyy-mmddyy. This information was converted into a SQL character string. I must use the SQL column to do date comparisions, addition and store in a true date format in anoth...more >>

Outlook 2000 Com object in C# doesnt quit
Posted by palouf at 9/14/2003 9:47:00 AM
Hi everybody. I try to build some Outlook 2000 / XP Addin, It works fine with the XP version, but with OL 2k, nothing to do, it never quits outlook (i can see it in the process list) I read in a microsoft article that this could happen when all the Com_object instances are not set to null. This...more >>

strong naming assemblies
Posted by Jason at 9/14/2003 9:46:36 AM
I've been experiementing with Assembly.Load..CreateInstance and strong naming the assemblies. This has given me a few questions, 1. Does the version number matter? I've found that its the public key token that controls whether the assembly is the right one. Changing the version number d...more >>

AppSettingsReader.. don't work ;-(
Posted by Lloyd Dupont at 9/14/2003 9:31:58 AM
for this config file: //-------- <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="Lion's Port" value="1971"/> </appSettings> </configuration> //-------- the following call work: string sPort = ConfigurationSettings.AppSettings.Get("Lion's Port"); ...more >>

xml documentation -> html
Posted by Ben T. at 9/14/2003 1:42:33 AM
hi, i recently downloaded tao.opengl [ http://www.randyridge.com/Tao/Default.aspx ] which came with an xml file of the documentation. i want to convert it to html, like Tools->Build Comment Web Pages in VS.NET does. i can't seem to find an easy utility with which to do this, can someone p...more >>


DevelopmentNow Blog