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 > dotnet general > november 2006

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

DisplayName through Reflection
Posted by Charles Bazi at 11/30/2006 9:21:54 PM
Hi, I have some properties using System.ComponentModel.DisplayName How can I retrieve that value using Reflection ? TIA...more >>


Adding images to the database
Posted by Earl at 11/30/2006 7:09:25 PM
Looking for an idea here. I've got a .Net app connecting to SQL2005 where I allow users to add pictures to the database. But I don't want them adding gigantic images, so I'm looking for an idea on how to control how big of an image they might add. I'm not interested in simply saving a pointer ...more >>

Dotnet 1.1 in Vista
Posted by MartinC at 11/30/2006 1:27:41 PM
I am trying to install an app that uses dotnet 1.1 in Vista (release), but am warned there is a "compatibility" issue. I hae seen some mention of problems with one beta, but is it still a problem> How to get around it? Martin. ...more >>

question about COM registering in VS.net / VS2005
Posted by vinny at 11/30/2006 8:10:17 AM
Hi there, Just a quick question: what exactly does Visual Studio do when registering an assembly for COM? I am looking to do this manually, but can't seem to figure out the steps to do so. Regards, Vinny ...more >>

Odd problem with Visual Studio documentation
Posted by kbutterly at 11/30/2006 6:21:43 AM
Good morning all, I have a weird problem with my VS 2005 Documentation. When I open the help file through Start -> Visual Studion 2005 ->Visual Studio 2005 Documentation, I get what appears to be the VS 2005 help. The title bar shows 'Search - Microsoft Visual Studio 2005 Documentation - Mi...more >>

DataSet Designer missing
Posted by xarky1984 NO[at]SPAM gmail.com at 11/30/2006 1:45:22 AM
Hi, I am using Visual Studio 2005 and has a problem with DataSet Designer. While I was using Visual Studio, 'A Package Load Failure Error' was given. Visual Studio terminated and when re-opened it again, the DataSet designer disappeared. A DataSet file is being opened with an XML Schema E...more >>

how to display data in crystal reports in vb.net 2005 from ms-access
Posted by Gurunadh at 11/30/2006 12:00:00 AM
Hi friends, we have developed a windows desktop application in vb.net 2005 with MS-Access as backend ,our problem is we have to display data from a datagridview to a crystal report,we have written the code to display in crystal reports it is working in the system in which w...more >>

Datagrid .NET1.1 Paging with images
Posted by Steven Nagy at 11/29/2006 11:42:05 PM
Howdy, All I want to do is replace the PagerStyle.NextPageText with an image. I don't see the need to have to write a custom paging control for something that should be simple. I tried setting the text to some html to refer to an image, ie: myDatagrid.PagerStyle.NextPageText = "<img src= .....more >>



load assembly into new App Domain
Posted by Ron M. Newman at 11/29/2006 5:00:40 PM
Hi, the load method of the AppDomain doesn't take a string filename. If you have a new AppDomain object you created and a string with the full pathname of an assembly, how do you load it there? I can't seem to find examples involving filenames. thanks, Ron ...more >>

How to Restore Default Window Layout in VS.NET 2005
Posted by Edward Mitchell at 11/29/2006 3:59:20 PM
How can I find the "My Profile" tab on the Start page. I have the "Recent Projects", "Getting Started" and "Visual Studio Headlines" in panes on the left hand side and "MSDN: Visual C++" on the right. The picture in "Introduction to Visual Studio .NET" shows a different Start Page tab with a...more >>

Assemblies and acope
Posted by Ron M. Newman at 11/29/2006 3:43:21 PM
Hi, If I declare an assembly within a method and call ".Load" on it... public void foo() { Assembly asm = Assembly.Load("myassembly.dll"); } 1) What happens to the actual assembly.dll when the method goes out of scope? will it close? 2) what would happen to types I instantiate that...more >>

Lan based windows application.
Posted by kosecki at 11/29/2006 3:25:53 PM
Hi, because I'm newbie in this subject, I have some questions: I try to wrote application in scenario like this: Built program is on server machine and shared by Windows Network for others computer in network. Program use Sqlserver 2005 Express which is installed on the same machine. The ...more >>

Where do the Files Go on Installation
Posted by Henry Jones at 11/29/2006 11:06:33 AM
I am using VB.NET 2005 and built and published my solution. When installing on a clients PC, where does the EXE go? Assume my project is Test. Shouldn't it be installed in C:\Program Files\Test ? It isn't and I don't know where to look. ON the Start menu, the Project shows up with a sh...more >>

Windows Server 2003 Web Edition and .NET 2.0
Posted by AG at 11/29/2006 9:39:00 AM
Hi all, I was looking at the comparision of features for Windows Server 2003 http://www.microsoft.com/windowsserver2003/evaluation/features/comparefeatures.mspx regarding an upcoming project and it seems that the Web Edition does not support .NET Framework 2.0. Is this correct? It seems u...more >>

Postback thru javascript
Posted by krallabandi NO[at]SPAM gmail.com at 11/29/2006 8:40:49 AM
I have asp button control on the page. I need to check some condition before I postback the page. Actually it is posting back for both true, false conditions. I want to postback only if the condition is true. otherwise I want to stay on the same page. Note: I have many other asp buttons c...more >>

Windows Installer Vs. ClickOnce
Posted by douglass_davis NO[at]SPAM earthlink.net at 11/29/2006 6:06:49 AM
I am making a VB 2005 app, and I have another installation question. :-) Have you ever had to use the windows installer instead of clickonce installation? I read an article that says you have to use the windows installer when you have a "complex" installation. What does that mean? Specifi...more >>

Looking for patterns of running repeated tasks
Posted by Mehdi at 11/29/2006 3:25:03 AM
Hi I've got a scenario for developing a component or application for my web app. to send some notification issues every some seconds to the app. users. the issues are added by users themselves and will send at the appropriate time (for example I add a reminder for the next saturday at 13:28 AM,...more >>

.NET Book
Posted by Alan T at 11/29/2006 12:00:00 AM
I have been developing C# for 6 months and reading a couple C# books. However, to improve my .NET development knowledge and experience, I need few ..NET books describing .NEt environment. Any suggestions ? ...more >>

Difference between a collection and arraylist?
Posted by AppleBag at 11/28/2006 10:35:19 PM
I'm new to the vb.net scene, (from vb6) and would appreciate if someone could explain the difference between the two? From all I've read they seem to be the exact same thing? And as an expansion of that question, if i declare a public arraylist, how do i view its items from any procedure I hap...more >>

No outlook button in IE7
Posted by BlueJay at 11/28/2006 10:20:01 PM
I ahve just downloaded IE7 and there is no Outlook button to access my mail. How do I do this. Thanks...more >>

NHibernate: Session.Find throws Unique Index Exception -> but Finding should be Readonly!
Posted by blabla120 NO[at]SPAM gmx.net at 11/28/2006 1:11:05 PM
Hi folks, I am net to NHibernate, and I hava a read baisc/general question. In my database (PostgreSQL), I have an unique index laying on the field transaktionsnummer which is located in the table payment. I use the Find-Method of the Session class to query some objects: ArrayList find ...more >>

Help with Isolated Storage?
Posted by Ben R. at 11/28/2006 12:52:02 PM
Hi, I'm trying to prepare to use IsolatedStorage with an app that is going to become a clickonce app. From what I understand, you can use the "application" scope instead of the "assembly" scope in order to have differing assembly versions not result in separate storage. Is this correct? ...more >>

sqldatasource.select.
Posted by Per W. at 11/28/2006 12:42:01 PM
Hi, is there som other way to do this? i only want the result from the select statement so i can use it in my code. I dont need the gridview, but this is the only way i got it to work. The SqlDataSource component is on the .aspx page and my code is on the aspx.vb page Protected sub in ...more >>

Question on Application Architecture / Design Process
Posted by C at 11/28/2006 10:54:33 AM
Hi, I have a Business Requirements Document and Functional Spec from my customer / user. How should I go about approaching the Database Design and Object Model Design? Generally I have done this on an adhoc basis. What is the "correct" or formal way of doing this? Thanks. ...more >>

File IO Optimization
Posted by Bill Pierce at 11/28/2006 10:13:53 AM
Is it faster to read through a file, without checking for end of stream, and catch the EndOfStreamException or to do a check for position vs. length after reading each line of a file? This is using a BinaryReader. I am going to setup a some performance tests but wanted to gather any input fr...more >>

Split .NET exe file into many smaller ones
Posted by Vlado Jasovic at 11/28/2006 9:21:54 AM
Hello, We're developing application in VS2005 using vb.net. Our application exe file is ~20mb when compiled. Recently, we have developed auto-update feature that goes on our web-site, authenticates through WebServices and if neccessary downloads updated app.exe file. We had to use custom ...more >>

How many threads possible?
Posted by GroupReader at 11/28/2006 8:41:28 AM
Each .net app, by default, has 25 threads (per processor) in the threadpool, right? ... but when calling ThreadStart, I'm creating a new thread and not using the threadpool, right? I don't want to get into any lengthy discussion about the best-practices and the best use of threads etc... I'm...more >>

$ signs in ini-files
Posted by olsen.orjan NO[at]SPAM gmail.com at 11/28/2006 6:58:05 AM
I have an inifile on my network that looks like this before installing a new version on my program: ..... ..... .... Line.7=$S.1Address 1 : $23 Line.8=$S.1Address 2 : $24 Line.9=$S.1Date : $28 Line.10=$S.1Resp. : $29 After installation, it looks like this: Line.7=22 Line.8=23...more >>

creating MSI (installation) file for .net app
Posted by douglass_davis NO[at]SPAM earthlink.net at 11/28/2006 5:50:05 AM
Say I want to distribute an application with DLLs and everything. What's the best way to create an MSI file, or some other type of installer file? Thanks. -- http://www.douglassdavis.com ...more >>

Schedule the launch of a program
Posted by Marcus at 11/28/2006 2:18:10 AM
I have this application I have made that I launch when the user logs into Windows XP. I would like to delay the launch of the application so that it starts 1 minute after the user has logged in. I previously did this with a sleep at the first row of the source code, but this makes the process...more >>

Passing Variables from ImageUpload.aspx to current window
Posted by Bama at 11/27/2006 11:41:01 PM
I have an employee database. Recently I need to add a new field for the photo of each of the employee. I already have a form to enter new data for the staff, and I am creating pop up window to upload the photo for each staff. How do i pass variable from imageupload.aspx to the editstaffpage.a...more >>

help me
Posted by Dhananjay at 11/27/2006 9:48:32 PM
hello everyone Do you have any information how to generate a tool using .net which is used to translate the web page contents to html format. Plz reply me asap Thanks in advance Dhananjay ...more >>

Purpose of using interfaces in .net.
Posted by Mani at 11/27/2006 7:54:02 PM
Hi All, Can anyone please tell me how interface is going to help me in real time senarios. As interface contains only skeleton of methos and it has to be inherited to a class. Is there anything which we can achive only through interface, Please help me in this as i am a bit confused. ...more >>

Regex pb
Posted by Bragadiru at 11/27/2006 5:02:09 PM
Hi, I'm using the following Regex to parse for method parameters. It works if there are no spaces between commas. How can I change the regex to support method calls like : MyMethod('uno', 'due','tres' , 'quatro' ) Regex(@"[^,\(\)]+",RegexOptions.Compiled); // Parse for function params (.....more >>

is UML usefull?
Posted by R.A.M. at 11/27/2006 2:38:46 PM
Hello, I am learning to develop ASP.NET applications using SQL databases. How do you think: is UML usefull in designing such applications? Thank you! /RAM/ ...more >>

convert stream to string
Posted by tparks69 at 11/27/2006 2:27:01 PM
I am getting data from an FTP into a Stream object. Now I need to put this data into a string so I can manipulate it. Can anyone show me some example code? (C# preferably)...more >>

Design Issue
Posted by Jose at 11/27/2006 12:32:33 PM
Hi All, (I realise this isn't a specific dotnet question but I'm using dotnet to implement it.) I have a table of data that could run to about 50,000 rows. A user will enter a some data in a web form and I need to return a paged set of results depending on the value of the data. However I c...more >>

How can you get a reference to a property by name?
Posted by crpietschmann at 11/27/2006 12:28:01 PM
I need to get a reference to an objects property by name. I know how to use the PropertyDescriptor's GetValue and SetValue methods to get and set the value of an objects property. But my issue is I need to get a reference to the property itself. For example I need to do this: public Pers...more >>

VS05 configurations and app.config's
Posted by Oleg.Ogurok NO[at]SPAM gmail.com at 11/27/2006 11:32:28 AM
Hi there, When a Windows App is compiled in Visual Studio 2005, app.config is renamed to MyAppName.exe.config and placed under either bin\Debug or bin\Release, depending on the currently selected Configuration (Debug or Release). Is there a way to have separate app.config files for each con...more >>

Reference changes at runtime
Posted by Charlie Brown at 11/27/2006 6:45:38 AM
I have VS2003 project I have been running for some time now. Recently when I do a build, it changes 2 of my references to older versions of the assembly. Is there some way to prevent this from happening? I need to keep the older references for other projects, and I have been running this conf...more >>

High performance sorting algorithm
Posted by Jesper, Denmark at 11/27/2006 2:31:01 AM
Hi, I've written a C++ program years ago, it's still in use in the company where I work, now its time to port it to .net, preferable managed code. However, I'm a little concerned about a sorting performance. I need to sort a somewhat high number of entries in a list. I think of using generi...more >>

C# Short Cut keys please.
Posted by iKiLL at 11/27/2006 12:00:00 AM
Hi I am new to C#, i have come from a VB6 backgrouond. What i am looking for is a list of the Short cut keys for C# and what they do. I am in perticulare looking for the keys to jump to a Decleration and then back to where you came from in the code, like in VB6. (SHIFT+F9 and CTRL+SHI...more >>

IHttpHandler and Caching
Posted by Andrew at 11/26/2006 7:14:24 PM
Hi, Ive got a .ashx file which produces an image (useage: <img src="myHandler.ashx" />) What do I need to do to make it cache? Every time my page reloads it recreates the image (a slow process), and i have a lot of these per page. The image-producing code doesn't NEED to be in a handler...more >>

IDisposable - beyond Memory Management
Posted by Cordell Lawrence (News Group) at 11/26/2006 1:34:42 PM
There an ongoing discussion between a colleague and myself about the usefulness of the IDisposable pattern beyond the reclamation of unmanaged resources. The discussion is somewhat lengthy so I will distill it here. The core of his argument started with his statement: "There is no gain in pe...more >>

dynamically determine .net baseframework version of exe or dll
Posted by Anthony LaMark at 11/26/2006 10:45:26 AM
Hi All, Whether in a Winform application (.exe) or a .Net assembly (.dll), is there a way to determine what version of the .net baseframework the run-time module (i.e. exe or dll) was loaded with (is using)? Seems that using reflection this is possible...just can't seem to figure out what ...more >>

Performance on C2D?
Posted by mk at 11/26/2006 5:36:01 AM
Hi. I was hoping someone could explain weird performance anomaly. I ran a small test to compare a new X6800 Core 2 Duo build against a three year old P4EE: (Both machines running VS2005) DateTime dt = DateTime.Now; string s = String.Empty; for (int i = 0; i < 9999; i++) ...more >>

replacing system.data
Posted by gilad at 11/26/2006 5:29:00 AM
Hi, I would like to add some code to system.data so I can trace calls to SqlConnection class. I used ildasm.exe, got the il code, added some of mine and used the ilasm.exe to get a new assembly. The problem is that I cannot remove the old file using the gacutil.exe .... it says that it is req...more >>

Shared memory - how to implement in .NET 2.0/3.0
Posted by herbert at 11/26/2006 1:41:02 AM
I am coding a dozen "background" realtime apps for factory automation in .NET 2.0. The apps need to share a common memory as there are lots of variables to be shared (and synchronized of course). I need distinct apps for reasons like user interaction/access rights, error compartments, and ...more >>

VS Pro side-by-side with Xpress?
Posted by Shawn B. at 11/26/2006 1:24:04 AM
Greetings, I have Visual Studio 2005 with Team System Developer installed on my primary development box. I would like to install the XNA stuff but it requires VS 2005 Express. Can Express co-exist with Professional? I can just install Express in a virtual machine but the virtual machine ...more >>

Good book for an absolute beginner on VB.net or 2005 with databases
Posted by weight gain 2000 at 11/25/2006 4:09:21 PM
Hello all! I'm looking for a very good book for an absolute beginner on VB.net or VB 2005 with emphasis on databases. What would you reccommend? Thanks! ...more >>


DevelopmentNow Blog