Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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
May 2008
June 2008


all groups > dotnet framework > february 2005

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

ftp copy - source code
Posted by David Thielen at 2/28/2005 2:47:01 PM
Hi; Can anyone point me at some source code for copying a single file to/from a ftp server? thanks - dave -- thanks - dave...more >>

call rsh from .NET - source code?
Posted by David Thielen at 2/28/2005 2:45:01 PM
Hi; Can anyone point me at some source code for calling rsh on both Windows and unix servers where I pass in the command & arguments and get back the standard output & error? -- thanks - dave...more >>

Using QueryServiceConfig with VB.NET
Posted by Bruce Parker at 2/28/2005 1:53:08 PM
I am attempting to get information from the Win32 API QueryServiceConfig. I keep getting a 1421 error. I need to know what I am doing wrong. Here is the code: <DllImport("advapi32.dll", CharSet:=CharSet.Auto, entrypoint:="QueryServiceConfigA")> _ Public Shared Function QueryServiceC...more >>

Insert new Row DataGrid WindowsForm
Posted by smoncayo NO[at]SPAM gmail.com at 2/28/2005 12:28:15 PM
Hello group I have a trouble. When I going to write a new row in a DataGrid, I have some columns that must to be write with a especial value. How do I can do it? Thanks a lot Steven...more >>

CodeDOM and assembly version
Posted by Bragadiru at 2/28/2005 11:46:32 AM
Hi, I can compile dinamically with CodeDOM, but all the dlls have 0.0.0.0 version. How can I set it ?? Thanks for any advice ...more >>

Problem with lengthy process
Posted by atefshehata NO[at]SPAM hotmail.com at 2/28/2005 11:38:51 AM
hi all, i'm using iis6 installed on win2003 , dotnet framework 1.1 . My problem is.. a page on my application have a lengthy process which takes about 4 minutes (performing database transactions ..) to completes. user click on the transaction button to start this lengthy process. ...more >>

compiling same project to several assemblies?
Posted by z. f. at 2/28/2005 11:37:49 AM
if i have a big project in the same virtual directory can i compile if = to several DLLs? i want to be able to seperate different classes to different DLLs, is it = possible? TIA, z....more >>

Good way to check for duplicate values in a SortedList?
Posted by Jim Bancroft at 2/28/2005 11:08:11 AM
Hi everyone, I know you can't insert duplicate keys in a SortedList, but there's no law against duplicate _values_, and I was wondering if anyone knows of a good way to check if value XYZ is in more than one slot? I know I can loop through the list and check every value against all the...more >>



VERY Newbie - managing classes
Posted by aaj at 2/28/2005 10:01:43 AM
Hi all I'm making the jump at last and moving from VB6 to VB.NET. I have written my first few classes and things seem to be working. I have a few questions and wonder if anyone can offer some advice. This is my first attempt at anything object orientated, so please forgive me if my question...more >>

Asp.net to excel export format cells
Posted by gontierj NO[at]SPAM hotmail.com at 2/28/2005 9:18:44 AM
Hi, I'm actually trying to export a repeater to excel, everything seems ok but the problem is that the cells are not validated This means that for example date, it is left-centered instead of been right-centered when it is correctly validated, apprently excel doesnt recognize the numbers with c...more >>

NEWBIE Question!
Posted by Rudy at 2/28/2005 8:47:03 AM
Hello all! Not sure if this is the right place to ask this question. But how would you control a windows application from a server. So from the server, basicly running the same application, except it has extra options like to change forms on the client application, without the client applica...more >>

.Net setup/debug issues
Posted by georgevla NO[at]SPAM yahoo.com-dot-au.no-spam.invalid at 2/28/2005 5:48:55 AM
Hello, I’m attempting to develop an asp.net application. I have the following installed on my workstation: XP SP2 with all the latest updates; IIS version 5.1 as part of the XP install; MS Visual Studio .Net (MS development environment 2002). After I have typed out some basic code I get ...more >>

c# Remoting to Windows Service
Posted by Sharon Gorev at 2/28/2005 12:23:37 AM
Is it possible to use C# windows Service as the remote class? It supposed to inherit both System.ServiceProcess.ServiceBase And MarshalByRefObject Thank you Sharon ...more >>

using ToolboxBitmap from inherted control
Posted by jean-dot-paul-at-opelwilly-dot-com at 2/27/2005 7:56:20 PM
Hello, Can I use the ToolboxBitmap from the inherted Control to show up in my toolbox and if so how? Greetings Jean Paul ...more >>

Using ImpersonateLoggedOnUser
Posted by D at 2/27/2005 3:22:32 PM
We have a .NET application implemented as a Windows service in order to perform impersonation for the purposes of gaining access to various resources. We are using ImpersonateLoggedOnUser() instead of the .NET impersonation API. Everything works fine except when we call an external COM ...more >>

list boxes in visual basic .net
Posted by dave at 2/27/2005 2:19:02 PM
I am coding an application in .net using a list box. I have the listbox property set to MultiSimple. I can click on several different selections (or all) in the list box, but only the first one is the "active" one. What I want to do is create an application that someone can order menu items...more >>

.net framework V2.0.40903
Posted by Karen at 2/26/2005 1:53:02 PM
can anyone provide a link to where I can get this version of .net framework please. I have downloaded the new SQL Express program but the managment program requires this version of .net framework to be installed and I cannot find it???? thanx in advance.. ...more >>

DirectoryInfo.Create "succeeds" even if a same name file exists
Posted by Pepe Smythe at 2/26/2005 12:31:04 PM
Hello all. Is there any way to report bugs in the .NET framework? I've found that both DirectoryInfo.Create and Directory.CreateDirectory "succeed" even if a file with the same name already exists. No directory is actually created (thank God, so the file remains in tact), but neither call...more >>

Is The Source Code of Terrarium will released?
Posted by yy at 2/26/2005 12:18:35 PM
I found the Terrarium is very interesting.But I'm very sad about that I can't find any source code about it except some plant code or animal code. But the author said he will release the full source. Is it just a joke? Like Microsoft will never release the Window's source code? ...more >>

Customising a windows close buttons and title bar
Posted by thechaosengine at 2/26/2005 12:09:34 PM
Hi all, Some applications achieve a really nice look and feel in part because they have changed the bar at the very top of the form window. There appears to be a way to customise the whole bar and its buttons but I have no idea how its done. Can anyone point me in the right direction. Pe...more >>

What do you need to set up a .net architecture and support after.
Posted by Stephen Barrow at 2/26/2005 8:09:01 AM
I am very new to .Net. I want to know exactly what you have to have to set up a .Net development environment and production environment for web service applications. What needs to be supported after the environments are set up. Basically what will my Enterprise Architecture and System Admin gu...more >>

Why no serious MS Application in .NET yet ??
Posted by Herr Lucifer at 2/25/2005 9:01:53 PM
As the founder of .NET framework, Microsoft claims that it invention will be the next best platform for programming in a near future. Now it is 2005, ..NET is 5 years old, and can talk and walk for himself with some help of his mum. However, we see the same native office applications are coming ...more >>

Remote Printing From DotNet GDI+
Posted by howard39 NO[at]SPAM nospam.nospam at 2/25/2005 6:35:02 PM
We have an application that prints a combination of text and vector graphics using the GDI+ support in DotNet. Everything is fine when we print to printers on the same LAN as the application, but printing over the WAN to a remote printer is slow. I ran some benchmarks for three cases: Â...more >>

keydown event
Posted by Rob T at 2/25/2005 5:10:24 PM
I have a simple windows app. On the form, I have one panel which displays an image. I have a KeyDown event that I use to tweek the image depending on which keys are hit. ie. ctrl-D, ctrl-A, etc. Works fine so far. Now I've added a textbox (and there will be other controls) to the form, no...more >>

Converting 1.0 web applications to 1.1
Posted by RDJ at 2/25/2005 4:35:01 PM
I'm having trouble converting a current .NET web application developed in 1.0 into 1.1 framework. On my localhost, I have IIS with .NET 1.1 framework as well as MS Visual Studio 2003 Enterprise. I obtained the web application from Visual Source Safe by checking out the solution. When I di...more >>

Socket.Available != 0, Socket.Read --> Exception
Posted by Tomasz Naumowicz at 2/25/2005 2:34:39 PM
Hello Everybody, I have the following problem with Socket: Socket.Available reports data in the buffer (e.g. 1849 bytes) but I can't read it because Socket.Read throws an exception The exception ist being thrown because the connection is already closed. How could I read the data from the buff...more >>

Switch assembly versions at runtime
Posted by Johny at 2/25/2005 1:47:01 PM
Hi people i need you help: Someone have a way to switch assembly versions at runtime without recompiling code. I want to do that but i don't know how...Please would you tell me the way to do this??? Regards. Johny...more >>

random exclamation gets inserted in mailmessage body of html email
Posted by Tash at 2/25/2005 12:59:06 PM
Hi, I have seen this problem around the net and dont really think its that popular but still happens. My problem is that I create a mailmessage with a html body type. A random "! " (exclamation mark and space) gets entered into the body of the text. I cant figure out why. Has anyone com...more >>

design pattern
Posted by Hugo Batista at 2/25/2005 12:04:44 PM
Hi everybody, I would like to have your opinion... Imagine i have a pattern that defines: - abstract factory : my consumer always handle with a interface and not with direct implementation, and calls a factory to get an object instance; - the kind of object returned in that instance va...more >>

What's wrong in my code?
Posted by jean-dot-paul-at-opelwilly-dot-com at 2/25/2005 9:19:00 AM
Hello, I want to swalow all mousclicks in a comboBox control. I created wy own 'public class roComboBox : System.Windows.Forms.ComboBox ' Created a property ReadOnly and call only the base events if the ReadOnly is false (see code beneath) but the mousclicks still pass. Is there such thing ...more >>

session questions
Posted by Chris at 2/25/2005 8:37:07 AM
Hi, A few quick questions: 1. when a user sends a request to the server, does this reset the session timeout back to the default? i.e.: 20 minute session timeout, user does nothing for 15 minutes, submits back to the server, the user has a renewed 20 minutes. 2. I have a server sid...more >>

Change NT Service user name and password after installation
Posted by Bruce Parker at 2/25/2005 6:15:03 AM
Is there a way to change a NT Service's user name and password after it has been installed. I want to perform a check for the user name in the On_Start event of the service. If it is not the one I want I want to change the user name and password and then allow the service to start....more >>

xml
Posted by sajiv nair at 2/25/2005 4:17:19 AM
is it possible to create xml tag name at runtime i.e while running the program it should take the parameter which the user enters and make that as the tag name in the xml file generated. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewa...more >>

Events between appdomains
Posted by mons NO[at]SPAM kth.se at 2/25/2005 3:08:37 AM
I want to receive events from another appdomain. I use a separate appdomain as a sandbox and whant to know and have control over which assemblies get loaded. I need to comunicate with a library in the sanbox appdomain from a plugin in my other appdomain, without my plugin beeing loaded into th...more >>

Reflection: How to get implicit struct constructor?
Posted by Philipp Schumann at 2/25/2005 1:26:01 AM
Hi, Using Type.GetConstructors(BindingFlags), I can't seem to be able to acquire a ConstructorInfo object for the implicit, parameter-less constructor for a struct if it doesn't define an explicit constructor with parameters itself. The same apparently works for classes, though - if a class...more >>

MSIL: overriding explicit interface member?
Posted by Roger at 2/25/2005 12:17:03 AM
I know its not possible to override explicit interface declarations in a subclass. But is it doable in MSIL? what I need to do is to create runtime proxies for different IList implementations. which currently work just fine for implicit virtual declarations. the problems with the expli...more >>

SETUP.INI localeid
Posted by Paul Aspinall at 2/24/2005 10:04:55 PM
Hi Does anyone know how to force a windows package to use a specific locale id?? ie. I just want to have 1 locale set of strings in SETUP.INI and to have my setup.exe use these regardless of which locale the user is from. ie. I just want to have [1033] and no others, but want to avoid the...more >>

verifying datatype convertibility programmatically
Posted by Kumarforg at 2/24/2005 9:25:02 PM
Hi, I need a mechanism to verify programatically, if a particular datatype can be/ can not be converted to another datatype with/without any loss of data. i tried using TypeConverter.CanConvertFrom, but am getting incorrect values. also i need the check to be done using strings contain...more >>

Visual Studio vs Microsoft Word
Posted by Radek at 2/24/2005 9:15:46 PM
Hi, I have got such problem: in my directory "C:\folder" I have 3 files in MS WORD (having tables, images etc), these are: "1.doc", "2.doc", "3.doc". I want to write an application (could be in C++, Java or C#) which will merge the contents of files which I will point ie. 1.doc and 2.doc into...more >>

Any good info on how forms work internally
Posted by me at 2/24/2005 8:38:16 PM
What I am looking for is the details on how Forms work internally in terms of threads that get created, message loops, etc. Here are the type of question(s) I am looking answer so I need info that would help: - How many message loops / threads get created in an application that has multi...more >>

Visual Studio.NET Question
Posted by Roshawn Dawson at 2/24/2005 7:18:55 PM
Hi, I am currently experimenting with ASP.NET. There is one particular problem that I continue to have. Whenever I run the current project, it appears to call code from another ASP.NET project. I'm not referencing any other projects, yet the app still insists on calling code elsewhere. ...more >>

Catching errors globally
Posted by Phil Jones at 2/24/2005 6:30:51 PM
Is there a way of setting a master error handler for an assembly? What I mean is being able to somehow assign a procedure to catch any unhandled exceptions for an entire app (in my case a WinForms app) so that they can either be logged, or handled gracefully. Thanks everyone! === Phil ...more >>

setting the VS.Net IDE to new Framework
Posted by Sharon Gorev at 2/24/2005 6:11:20 PM
Hi all I just downloaded the new Beta dot Net Framework 2.0 from MS web site After installing it , how to I set the VS.Net IDE to recognize the new classes of the new Framework ? The reason I'm asking is because my current project fail to compile because it wont find the new classes...more >>

User defined Object in Clipboard
Posted by Rob T at 2/24/2005 4:42:35 PM
I'm having problem pasting a user defined object that's put into the clipboard.... Here's a crude example of what I'm trying to get done. Dim fromShapes as Shapes 'shapes is my custom object Dim toShapes as Shapes Clipboard.SetDataObject(fromShapes) ' this works...I can see in clipboar...more >>

Assembly using COM Interop stubs can't be registered in the GAC
Posted by Angelos Karantzalis at 2/24/2005 4:17:00 PM
I've built an Assembly to wrap around a COM component. However, I need to add it to the GAC. Upon trying to do that, I'm trying to give the assembly a strong name, which fails because the com interop generated assembly it uses doesn't have a strong name :? Can I sign the interop assembly wi...more >>

Clipboard.SetDataObject fails on some machines...
Posted by Tony at 2/24/2005 3:24:11 PM
When using Clipboard.SetDataObject (string, true) a COM exception occurs, "The requested clipboard operation failed. (800401D0)". If the same call is made again, it works without issue. Note the exception *only* occurs if the second parameter is set to "true". This exception only occurs o...more >>

Standard JIT vs Eco-fast JIT
Posted by msnews.microsoft.com at 2/24/2005 1:55:09 PM
Hi, Is there anything called ECo-fast JIT in .NET ?? ...more >>

Design issue: Property vs. Method
Posted by Jeff Robichaud at 2/24/2005 11:21:28 AM
Hello, I have an obect that needs to inform the outside world wheter prices are synchronized or not. My first idea was to use a public property for this: public bool PricesSynchronized But I need to access a database and the query takes a (relatively) long time to run. So for any code t...more >>

XML Serialize / Deserialize Abstract Types
Posted by xtopher.brandt NO[at]SPAM gmail.com at 2/24/2005 10:45:58 AM
I'm sure this problem has come up, but I haven't been able to find a good discussion of it. I have a type Animal which is an abstract base class. From that type I derive Horse and Dog which are concrete classes. I include an Animal in my BarnYardStall type. Now I want to serialize BarnYardStal...more >>

GAC and class library mechanisms how does it work?
Posted by Jens H. Hamann at 2/24/2005 9:27:57 AM
Hello group, Is there anyone here that knows of a good article/whitepaper that explains how the GAC and libraries work in the .NET framework? I just don't understand the mechanisms behind it. The problem I am facing is that it seems like an application and libraries are undividable. ...more >>


DevelopmentNow Blog