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 > april 2004

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

.Net performance enhansement
Posted by Kovan Akrei at 4/30/2004 8:14:37 PM
Hi, What is the default heap size in CLR? Does CLR take any options (as in JVM) to optimize the performance of a mulithreaded application? For exmple increasing heap size. How do I increase performance of the following application (test program) public class DummyThread{ private Thread...more >>

Memory problem.....asp.net
Posted by SPG at 4/30/2004 7:13:47 PM
Please look at my problem below, wherein I am struck from the past 10 days. I have an ASP.NET app where I am downloading an excel file, very large indeed. After this my inetinfo.exe process is blocking around 20 MB of memory. This memory is not getting released. Also, aspnet_wp.exe is exhaustin...more >>

Sorted datagrid on a form and display selected row on a dialog-HELP
Posted by kll at 4/30/2004 6:26:02 PM
I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following co...more >>

Help - Best approach using Shared Classes ?
Posted by Paul at 4/30/2004 5:09:39 PM
Hi. Just trying to find out the best approach as I beleive it might give me problems later on down the road. I have an ASP.NET application which references a shared database class which contains methods for serialising and de-serialising objects to the database storage. I put this as a shar...more >>

share structure beetwneen dataset
Posted by silenius at 4/30/2004 3:29:53 PM
hi is there a way for two datasets to share the same structure? I want to do this to reduce memory usage. because I use a lot of small dataset wich use the same structure. thanks ...more >>

How do you think about OODBMS in .NET system?
Posted by drawtree NO[at]SPAM hotmail.com at 4/30/2004 1:27:06 PM
Hi. I was finding a simple way to save objective and relational data. I guessed about SQL Server, but it's too complex and needs more codes about non-logic. My data is a game design data, so it is complex model and needs hierarchy. And also, it contains big (1024x1024) bitmap image data. As...more >>

Performance Issue (Winforms)
Posted by James Hancock at 4/30/2004 12:46:56 PM
I have a very weird thing happening: I have a Pentium M 1.7 ghz Dell Laptop here and a P4 3.2 GHZ Hyperthreaded machine. Both have 1 gig of ram. the P4 3.2 GHZ has a 15,000 rpm scsi drive in it. (translation, WAY FAST) The strange thing is that our project uses very large winforms (couple...more >>

How handle exit event in a console application.
Posted by Jean-Francois Hamelin at 4/30/2004 10:08:47 AM
Hi, I have an console application, in the main when all my initializations are done I wait for a user input to terminate the application. Since the application is a console the user and click on the X to close the console, when this occurs I have not able to gracefully shutdown my applications...more >>



problems installing dotnet sp2
Posted by powellmw NO[at]SPAM comcast.net at 4/30/2004 9:05:54 AM
Hello, I am trying to install the dotnet SP2, however, I am receiving the following error. "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify t...more >>

Password problem of MS Access
Posted by Arsalan Ahmad at 4/30/2004 9:01:43 AM
Hi all, I have a MS Access database (say abc.mdb). I have set the database password and admin password to "abcdefg" (say). The problem is that when I create a simple application (a form-based application or asp.net application) and try to connect to the database using ado.net i get following e...more >>

how to assign xml perfix with xml attributes?
Posted by AA at 4/30/2004 4:17:07 AM
hi! :) How can I assign xml prefix using attributes? For example: I have this class Public Class Employee Public Name as String = "" Public LastName as String = "" End Class When I serialize this object the result is <Employee> <Name/> <LastName/> </Employee> B...more >>

Get Display Monitor Size
Posted by Utkal Ranjan via .NET 247 at 4/30/2004 3:43:08 AM
(Type your message here) How can I get my display monitor size(whether it is 14 inch/15 inch/17 inch) ???? I want to change my monitor resolution according to the monitor size... Thanx in Adv. -------------------------------- From: Utkal Ranjan ----------------------- Posted by a user fr...more >>

How to unload an assembly that is loaded with Assembly.LoadForm
Posted by Lloyd Sheen at 4/30/2004 12:01:59 AM
I am having trouble gettting an assembly loaded with Assembly.LoadFrom. I can get the assembly call the method I need to call. Now I want to unload the assembly. I need to do this so that the user can (thru my app) create a new version of the assembly. The app will call a predetermined metho...more >>

get class from name
Posted by Joshua Ellul at 4/29/2004 8:52:39 PM
Hi There, Could someone tell me how I can get a class from its name? Regards, Josh ...more >>

adding a resource to an exe and using it
Posted by Joshua Ellul at 4/29/2004 8:47:42 PM
Hi There, Could someone tell me how I could add an image to my exe as a resource and use it? Thanks, Joshua ...more >>

Net Framework Configuration window
Posted by Howard Kaikow at 4/29/2004 6:36:53 PM
I use a desktop shortcut to open a Net Framework Configuration window. 1. Even tho I changed the shortcut's properties to open maximized, the window opened is still rather small. 2. How does one adjust the window so it automatically opens with a larger left pane showing the tree? -- http://...more >>

posting daqta to an asp.net page from a console application
Posted by Ollie at 4/29/2004 5:41:55 PM
I have an aspx page that contains a web control that contains 2 text boxes and button to submit the text. I am trying to submit text and collect the response from a console application, but it is not working correctly it is just returning the original page I am expecting it to return the a subse...more >>

sharing the MSDN library (documentation)
Posted by AA at 4/29/2004 3:42:27 PM
Hello.. In my work we are 6 developers We have 6 Visual studio license (one for each developer) Because of the size of the documentation (1.4 GB) we want to install the msdn library (visual studio documentation, framework etc) only in the main Server. So each developer can access using his ...more >>

Could not find installable ISAM.
Posted by Brent at 4/29/2004 3:30:38 PM
Hi, my asp.net c# app is trying to connect to an Access database with a password and am I getting the error.. Could not find installable ISAM. . If I connect to one without a password it works fine. I've looked at Q209805 but I don't think that helped. Oledb connection. Here is the one that works...more >>

ASP.Net Session State Problem with IIS6
Posted by JK at 4/29/2004 1:26:02 PM
We recently installed our web application on Windows 2003 and found that our ASPX pages are not coming up correctly. We are using sessionstate=StateServer and cookieless=true for Web.config. Applications run perfectly in Windows2000 or XP but in Windows2003 under IIS6 we do not see any of our ima...more >>

Creating a assembly with a COM interface
Posted by msnews.microsoft.com at 4/29/2004 11:19:00 AM
Hi all, I am writing a COM aware C# lib. In this lib I want to create an assembly that defines a COM interface and only a COM Interface. When I do this and try to registist the assembly I get the error "COM Interop registration failed. There are no registrable types in the built assembly." ...more >>

Ctype Namespace
Posted by Vinod Jajoo at 4/29/2004 11:09:36 AM
When using CType(e.Item.FindControl("imgProduct"), System.Web.UI.WebControls.Image).ImageUrl I am getting following error : c:\inetpub\wwwroot\BoTree\products.aspx.cs(132): The name 'CType' does not exist in the class or namespace 'BoTree.products' Thanks Vinod Jajoo ...more >>

Format strings and numbers
Posted by PMcG at 4/29/2004 10:41:04 AM
Is it possible to format a numeric value where it does not round the value, ie if i try to format 2.59 to 1 decimal place using Console.WriteLine(2.59M.ToString("0.0")); i get 2.6, i have looked in the SDK docs and have read the following paragraph which explains the above behaviour, if anyone knows...more >>

.NET control event with java script handler
Posted by Mircea Pleteriu at 4/29/2004 9:54:34 AM
Hi all, I have created a .NET Windows control with c#. I have placed the control on a HTML page within the OBJECT element. Everything works fine up to now. Now, I wanna implement the following stuff that the control must support. The control must provide a method called InvokeJavaScriptFu...more >>

.Net Framework Download Problem
Posted by Steve at 4/29/2004 9:47:58 AM
When I download the SDK Framework 1.1 and install, it seems to be missing most of the framework tools. I have, for example, CasPol.exe but not sn.exe. I'm also missing the SDK directory. Why? I'v tried download and installation of redistributable package and framework twice General...more >>

Creating a Folder ASP.Net
Posted by sdavenport NO[at]SPAM sigcom.net at 4/29/2004 9:09:27 AM
I am using the following code to create a folder: FSO = Server.CreateObject("Scripting.FileSystemObject") Folder = FSO.CreateFolder("c:\" & Me.textbox1.Text & "_" & Me.textbox2.Text & "_" & newString) I have no problem creating the folder on a local drive. However, when I attempt to create...more >>

DataView does not exist error
Posted by Steve Bishop at 4/29/2004 8:03:32 AM
I'm getting an error that my view does not exist. I get this error when trying to bind to a text box on my form: Help apprecaited. Thanks. Compiler Error Message: CS0103: The name 'dv1' does not exist in the class or namespace 'ASP.Relation_with_txtBoxes_aspx' Source Error: Line 87: ...more >>

Outgoing e-mail scan causing exception
Posted by Earl at 4/29/2004 3:18:49 AM
I've got a little utility to send documents from within my program, but one issue I have not been able to overcome is that it throws an exception when the anti-virus scans it before sending. Anyone have an idea how to overcome this (without disabling the outbound e-mail scan)? ...more >>

Array Serialization
Posted by S at 4/29/2004 2:00:17 AM
Hi there, Here's a question for ya: I'm serializing something that looks like this: [XmlRoot(ElementName="Widget")] Class Widget --> My base class [XmlArray(ElementName="TextGroups")] [XmlArrayItem(ElementName="TextGroup",Type=typeof(ClassTextGroup))] ...more >>

Net Framework Versions
Posted by Radu at 4/29/2004 12:39:33 AM
Hi. I have the following problem.... or is it a problem ? I have bough a new computer with XP and Net Framework 1.1 already installed. Then I installed VSNet, which asked me to insert the VS Component Update cd. Well, after the installation ended, I found that I have two versions of Net Fram...more >>

Memory Leak in .Net remoting framework v1.1 ?
Posted by Hennie Walters at 4/28/2004 11:41:04 PM
Does anyone now about memory leaks in the .Net remoting framework v1.1 I have been doing some stress testing with multiple threads on a remote object (extended from ContextBoundObject) At first I thought that the memory leak was being caused by the implementation of the remote method, but eve...more >>

Can I serialize two objects to one file?
Posted by dafunk2001 NO[at]SPAM yahoo.com at 4/28/2004 10:49:44 PM
I have a question using Binary Serialization (not XML). If I have two objects, A and B, can I serialize both of them to the SAME file ? I KNOW I can put objects A and B in a container class and just serialize it, but that is NOT what I am asking. In other words, I want to *independently* ...more >>

When to use Try Catch blocks?
Posted by Chrysan at 4/28/2004 8:51:09 PM
I wonder when to use and not to use the Try...Catch...End Try blocks ...more >>

Get All computer in the Network : WMI ?
Posted by jason at 4/28/2004 4:34:54 PM
Hi all , I need a script that let my know all computer in my Network . I have see that WMI allow me to query more and more information on system . But I haven't found anythink for get the List of all computer in Network . any help ? Thanks , jason. ...more >>

Problem connecting to Access on network drive.
Posted by Brent at 4/28/2004 3:29:09 PM
Sorry if this is completely newbie, I haven't used Access in a while as my database. When I do this it works fine, OleDbConnection connection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;" + @"Data Source=C:\db2.mdb"); But if I move the same access file to my network drive, it ...more >>

BUG???- Reflection.assembly.GetCallingAssembly returns different values when compiled for Debug or Release
Posted by Shawn Hogan at 4/28/2004 2:08:48 PM
I'm getting two different results when I call System.Reflection.Assembly.GetCallingAssembly when compiling in Release and debug modes. When i compile my application using the "Debug" configuration my call to GetCallingAssembly returns the assembly name of the project that contains my form and cl...more >>

IE attempts to download IIS Hosted Client program
Posted by Roy Chastain at 4/28/2004 1:53:32 PM
I have a client program stored in a virtual directory in IIS. It is launched by clicking the link to in on a web page in IE. This works for 3 of the 4 systems that has tried it. The 4th system will not run the program. Instead it puts up the dialog asking if to open or save. Clicking open re...more >>

Web Server Error w/VB.NET 2003
Posted by Ogre at 4/28/2004 1:46:09 PM
I cannot access previously created VB.NET projects on the web server. I have used the server for months now, and I don't know of any configurations that have changed. I can create a new project on the server, but when I try and open any project (older or just created), I get the following error: "...more >>

Copy of a variable instead of referenc to it?
Posted by Ă–zden Irmak at 4/28/2004 1:27:35 PM
Hi, I want to make a copy of a variable (which is a type of a custome class) instead of referencing it... MyClass MyCopy = MyOriginal creates a reference and if I make a change on lets say on a property on MyCopy, the property on MyOriginal does also change... Any help? Thanks in ad...more >>

Dataset problem...
Posted by newbie at 4/28/2004 12:13:53 PM
Hi all, I've 2 tables in a DataSet. The first table is "ARTICLE" The second is called "SELECTION" The column "ART_CODE" is the primary key for the two tables Problem : I want to get the articles which aren't in SELECTION What I do : ... string where = ...more >>

Strongly named dynamic assemblies
Posted by Ostap Radkovskiy at 4/28/2004 12:00:23 PM
Hi! I'm having problems with strongly named assemblies usage. There is a .NET solution with number of projects signed by public/private key pair (snk). The solution uses another package of .NET assemblies signed by another snk and deployed as msi. Now the problem. These package assemblies hav...more >>

mscorwks.dll causing error report
Posted by patfaucher NO[at]SPAM hotmail.com at 4/28/2004 11:23:04 AM
Hello group, I'm developping an application VS .Net 2003. My solution consists of many C# projects, a few VB.Net projects and a C++ project. The application runs correctly until a point where an "unrecoverable error occured" window pops. Now this window tells me an error occured in module msc...more >>

Printing a PDF File with vb.net
Posted by Andrew at 4/28/2004 11:16:02 AM
I'm trying to find out if there is anyway to print a PDF file using the printing controls provided by vb.net, without having to buy a thrid party component Does anyone have any code samples or could point me in the right direction....more >>

DLL cannot be copied into run directory
Posted by Paul Guz at 4/28/2004 11:03:02 AM
Hello all, I am constantly frustrated when compiling my .Net applications by Access Denied and "DLL cannot be copied" errors. Right now I am dogged by a recurring "... cannot be copied ino the run directory" error, relating to a DLL and PDB file from one of my projects in the solution. I h...more >>

System.Text.StreamWriter encoding issue (Framework 1.1)
Posted by dm_dal at 4/28/2004 10:14:15 AM
Just wondering if anyone has any suggestions. I'm writing out a csv file that needs to be opened in Excel. If I set the StreamWriters encoding to UTF8 (default) or ASCII, some of the decimal fields in the file are written out incorrectly. Example: 10.00 gets written as 1000 (the decimal is...more >>

Bind Text Boxes to DataSet
Posted by Steve Bishop at 4/28/2004 5:39:35 AM
All the examples I have bind text boxes to the DataReader. Can someone give me an example on how to bind some text boxes or labels to my DataSet object. Help appreciated. Thanks. Steve *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewar...more >>

About Progress Bar
Posted by Sivaraj at 4/28/2004 4:11:03 AM
Hai al I have to implement a progress bar for a function which has only ExecuteSQLQuery statement.The query may take considerable time for completion,at that time we have to show the user progress .How can i implement this Any idea Thank U...more >>

Error with the Framework or misunderstanding ?
Posted by BLaZeX at 4/28/2004 2:50:42 AM
Hi, I have a question for all of you. I created a simple program using C# Framework 1.1 (Studio 2003). On my computer everything goes very well (no bugs, no problems). But once i put the same software on another computer with the Framework 1.1 installed I don't know why but everything crash...more >>

Nested DataGrid for Windows Forms?
Posted by Jabco at 4/27/2004 7:22:28 PM
I need a grid that displays hierachical related tables. The grid's DataSource is a dataset. Maybe there is a better way I don't know. There are 2 tables in the dataset. They have a Relations on "ID" column. I got the first table in grid displayed ok. But the problem is when I try to naviga...more >>

Search inside PDF and CHM files
Posted by Ya Ya at 4/27/2004 6:38:08 PM
I have a folder with a lot of PDF and CHM files. I would like to develope an ASP.net application that enables the user to search inside the content of those files. How do I search inside those type of files ? Thanks for your time ra294@hotmail.com ...more >>


DevelopmentNow Blog