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 > september 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

Need help for following an database arcticture using .net
Posted by fahadjadoon NO[at]SPAM yahoo.com at 9/30/2004 9:44:57 PM
Respected Sir background: I am a VB6 developer from last two years and developing database applications using vb6, crystal reports and sql server following a three tier architucture using dll as middle tier. My qurie...more >>


Beta technologies release date
Posted by Mitja Semolic at 9/30/2004 4:16:40 PM
Microsoft is teasing developers with some beta technologies, like ..NET Framework 2.0 and Visual Studio 2005, which are currently in beta1 development cycle SQL Server 2005 Express which is in beta2, and I did notice that beta3 will follow. Technologies roadmaps are scheduled for Q1 2005, but...more >>

Integrating .NET web app into IBM Websphhere portal
Posted by Shikari Shambu at 9/30/2004 3:45:24 PM
Hi, I would like to integrate a .NET web application into IBM Websphere portal. Whati is the best way of integrating these two beasts? Is there are way to get my .NET application to return XML compliant with JSR 168? TIA ...more >>

RANT: HttpWebRequest.GetRequest throws exception when server returns status code of 500.
Posted by Hasani (remove nospam from address) at 9/30/2004 2:40:54 PM
Does anyone else agree with me that the WebRequest object SHOULD NOT throw an exception when the web server returns a status code of 500? I mean, 500 is a valid response and should be expected by the caller. The HttpWebResponse object already has a StatusProperty, why can it return a Respons...more >>

Interop question: .NET COM object created in C++ doesn't seem to get destroyed
Posted by Robert Rossney at 9/30/2004 2:37:51 PM
I have built a .NET COM object that's being instantiated by a (non-.NET) C++ application, using the following code: CoInitialize(NULL); IMyInterface *pCOMObject = NULL; HRESULT hr = CoCreateInstance(CLSID_MyDotNetClass, NULL, CLSCTX_INPROC_SERVER, IID_IMyInterface...more >>

Licensing component - class library- how ?
Posted by vikrantca at 9/30/2004 2:03:05 PM
Hello, Iam new to .NET framework. I have a class library that is distributed with a windows application. How do I enforce that the classlib is used only with that windows application by the user and not in any of the users applications. I read about licensing. But one question that comes to ...more >>

DirectoryInfo.GetFiles is broken
Posted by Jonathan Allen at 9/30/2004 1:19:30 PM
MSDN> "The matching behavior of searchPattern when the extension is exactly three characters long is different from when the extension is more than three characters long. A searchPattern of exactly three characters returns files having an extension of three or more characters. A searchPattern of ...more >>

How can I programatically print HTML docs?
Posted by Dave Boal at 9/30/2004 1:11:02 PM
....not from a form, but from a class, with given a file location. ....if there is a way to create an html Document from a string, then print from memory, (ie no disk IO) that would be even better... Thanks, Dave...more >>



MSMQ on windows 2003 'Queue is not registered in the DS' error
Posted by Johann at 9/30/2004 1:03:01 PM
Hi, I'm trying to test MSMQ on windows 2003 but I keep on getting "System.Messaging.MessageQueueException: Queue is not registered in the DS", when I try to create the queue. I have windows 2003 installed in workgroup mode. Any idea how do I solve this without installing DS. Thx Johann ...more >>

Index/Unique Identifiers
Posted by Random at 9/30/2004 10:10:10 AM
I'd like to get some feedback on preferred practices for indexes on databases, and their use outside the database. The situation I am trying to address is this. I have a set of XML documents that I want to have hold collections of indexes that will be used to make calls to a web service to...more >>

Create Taskbar for windows.
Posted by Elrond Bishop at 9/30/2004 9:49:31 AM
I need to create a taskbar for windows in .NET. It needs to re-size the available desktop as does the standard windows taskbar. Can this be done and if so how ? ...more >>

Security Exception error
Posted by Roy at 9/30/2004 9:13:01 AM
Hi all, I get the following message as soon as I copy all the project's files on the network and try to run it from there: (Even Build don't give me an error) An unhandled exception of type System.Security.SecurityException occurred in 'Application Name'. Any idea what is causing this probl...more >>

Releasing my VB.NET app over the intranet
Posted by Schoo at 9/30/2004 8:39:44 AM
I am trying to release my vb.net app over our intranet to the users and when I navigate to it I get the following on my screen: ============================ === Pre-bind state information === LOG: DisplayName = OnCallDB, Version=1.0.1733.16596, Culture=neutral, PublicKeyToken=null (Fully-spec...more >>

Oracle jobs x Windows services
Posted by Erik Cruz at 9/29/2004 11:14:23 PM
Hi. The application I am developing needs to update/delete records from an Oracle 8i database once a day. Together, the tables have more than 500.000 records. At this moment, I am using an Oracle job to do the work but I am considering the use of a Window service for the next version of th...more >>

Events do not fire????? Help
Posted by mmaners at 9/29/2004 7:39:05 PM
I am building a web app. It's deployed on a intranet server, no internet access. I have the web grid and some buttons on a web page. I have many pages desinged using the web grid to display either datasets or dataviews of info from a ms sql server database. I have had a number of these pages,...more >>

File.Move not working as expected
Posted by Danny at 9/29/2004 5:59:04 PM
Hello, I was hoping someone might be able to shed some light on this bizarre behaviour. I have observed some strange behaviour with System.IO.FIle.Move where it seems to be copying a file as opposed to actually moving it. The following is a description of my setup: Two separate machi...more >>

Any info on stability of Framework 1.1 SP1?
Posted by Ken Varn at 9/29/2004 5:17:28 PM
I was wondering if anyone had information regarding the stability of Framework 1.1 SP1? We have had some strange issues since applying it. Once we removed SP1, the problems seemed to go away. Some of these problems included the following: 1. Unexplained exceptions thrown by the clr. 2. ...more >>

Dataset events with added records?
Posted by Ryan Shaw at 9/29/2004 4:19:07 PM
I’m having a problem with strongly typed dataset events and new records. I need to perform a task summing columns every time records are changed. I’ve used the RowChanging, RowChanged and ListChanged. These all work except for added records. Any ideas? ...more >>

Setup project : For all users
Posted by lobrys at 9/29/2004 3:16:36 PM
Hi! in a configuration projet, Is it possible to force the option "install for everybody" I dont want that people could choose between "everybody" and "only me".... thanks! bye lobrys ...more >>

hanging on console.writeline
Posted by matthew c. harad at 9/29/2004 12:37:02 PM
hi, i'm not sure if this is the right place for this post, but i couldn't find a better one. i'm writing code which iteratively updates a database for ~3000 objects. the app is built as a console application, and i'm using writes to the console to help me monitor what's going on in the...more >>

Why virtual/overridable not default to on?
Posted by Samuel Neff at 9/29/2004 10:56:33 AM
Moving to .NET from former VB6 and Java background. One thing I don't understand is why class members are not-overridable by default. The class author has to specifically say that a member is virtual/overridable in order to allow another author to extend that class and modify functionality. ...more >>

Why sp1 and not .Net V1.2 ?
Posted by PeteL at 9/29/2004 9:33:04 AM
My app works fine with .Net 1.1 but will not run if sp1 is loaded. I've traced the problem to some enums which I've now replaced with alternative code and all is well. This service pack seems to be breaking other peoples apps too. Was it not possible for Microsoft to release this as a new vers...more >>

WebUIValidation in vbscript
Posted by Silvia Brunet-Jones at 9/29/2004 9:29:12 AM
Why is there not a version of this file in vbscript. I need to be able to do this cmdDone.Attributes.Add("onclick", "Save()") where Save() is a vbscript function and it is not possible since the client script generated script for validation in in javascript. If I set cause for validation = f...more >>

Adding dynamic properties to a console app
Posted by listerofsmeg01 NO[at]SPAM hotmail.com at 9/29/2004 9:08:22 AM
Newbie here. I want to use a .config file with my simple console app, but no matter what I do I cannot get the "dynamic" rollout in my properties window. In the end I gave up and coded the calls to ConfigurationSettings.AppSettings.Get() myself, but my problem now is creating the config fil...more >>

Arrays vs collection ? more than 100 elements
Posted by vikrantca at 9/29/2004 6:51:04 AM
Hello, I have a discretized simulation model, that has a heirarchical structure. 1 Top level class M second level classes stored in top level class N third level classes, stores in each second level class. Each second level class has N class in it. What should I use to store the...more >>

How to determe if a host represents the local host?
Posted by spameater NO[at]SPAM fastrup.dk at 9/29/2004 5:23:18 AM
Hi, given a host name, how can you i C# determine with 100% certainty if it actually represents the local host? I am talking about DNS aliases here. I have tried the following, which seems to work in most cases. But it unfortunately fails at a few customer installations: public bool IsLo...more >>

NotSupportedException with charset conversions
Posted by Jonathan Levine at 9/29/2004 5:09:02 AM
I have a strange exception occuring in the CLR 1.1 framework. I have an EUC-JP file. If I convert it to SJIS using nkf, load it into SQL Server (using a text data source), then use the CLR to output it to an EUC-JP web page, I have no problem. But if I convert the same EUC-JP web page to ...more >>

wrong framework
Posted by Andrew at 9/29/2004 2:23:02 AM
In visual studio (2002), I am using the framework 1.0. How can I make it use the 1.1 framework by default? Thanks Andrew...more >>

Printing
Posted by Calvin KD at 9/29/2004 12:05:02 AM
Can anyone show me or give example of how I can print a normal plain HTML (report) with customised header/footer/page no. options in .NET? Any help is much appreciated....more >>

System.Net.Sockets in Visual Basic .NET
Posted by Stephan at 9/28/2004 10:29:54 PM
I have a client and server program, I am not sure if it's the client or the server causing this problem. I believe however, that it is the server. It seems the server is sending data too fast and the chunks are getting placed in random places. I have tried to put a pause on the send function ...more >>

PrintDocument and serialization
Posted by Max at 9/28/2004 8:31:17 PM
Hi I want to serialize a PrintDocument because I want to send it to a Client with Remoting. How can I serialize a PrintDocument which is not serializable and its members are unknnown ...more >>

Cannot instantiate .NET Class Library
Posted by Patrick at 9/28/2004 6:07:28 PM
1) I have created a very very simple .NET class library as follows appended at the end of this post 2) I have registered the code as follows: regasm /tlb:testInterop.tlb testinterop.dll 3) I could browse this testInterop.tlb with even the object browser in Microsoft Word 2003 VBA! 4) If...more >>

Threading and Events
Posted by thrax at 9/28/2004 5:01:02 PM
Hi am writing an application which involves a long loop inside a loop. this loop can work independently too. so i want to do something like this for(int i=0;i<5000;i++){ if(some Condition){ raiseEvent } } //in event handler Thread t=new Thread(this.somemethod); t.S...more >>

How to download Visual Studio 2005 Beta 1 Refresh? What about MSDN subscription?
Posted by DraguVaso at 9/28/2004 4:39:15 PM
Hi, I want to download Visual Studio 2005 Beta 1 Refresh, but on the site of Microsoft they say it is only for MSDN subscribers? what is a MSDN subscriber and how do I get it? When I try to "Add Passport" on there site, they ask me my "Subscription or Membership ID'... how do I get these? I...more >>

Making a Windows Service with VB.NET 2005 (Express)
Posted by DraguVaso at 9/28/2004 4:35:15 PM
Hi, Can you make a Windows Service with Visual Basic .NET 2005 Express? Because it doesn't seem to be in the possibility's when you want to create a new project? Can i do it in the Visual Studio 2005 Beta 1 Refresh? Thanks, Pieter ...more >>

Hard sync device in FileStream...
Posted by nulll at 9/28/2004 4:13:30 PM
Hello, I'm developing a application where the content write in disk is criticail, then I need ensure that the wirted data are really post in disk. I don't sure tha Flush method is sufficient. The .NET don't has a equivalent ao Sync method in Java? Regards... Nulll ...more >>

Assembly backups + versioning
Posted by Stephen Brown at 9/28/2004 4:08:57 PM
Here's another mystery I hope someone can shed some light on. I made a backup last month of my web application assemblies to another local drive on the web server and renamed the files to a different extension to reflect the version number on the backup. Last week, we updated the live web ...more >>

Private Namespace in VB.NET
Posted by Joshua Frank at 9/28/2004 2:52:40 PM
Hi All, Is it possible to have a private namespace in VB? When I try it I get this error: "Specifiers and attributes are not valid on 'Namespace' statements." I have a few reasons for wanting this; the most annoying one is that if you add a web reference to your project, VS creates the...more >>

Which .NET 1.1 Collections retain the order they were entered?
Posted by dx at 9/28/2004 2:26:49 PM
I'm trying to determine which collection retain the order in which they are added to the collection. Am I missing something in the MS documents? (like an interface that defines this?) Thanks, Stan ...more >>

Concise loading of data into a hashtable ?
Posted by mark4asp at 9/28/2004 1:47:17 PM
Hello, I am converting an app from JavaScript to ASP.NET I have the following JavaScript 'associative array'. Is there a concise way to create an analogous structure in .NET Framework using c# or VB.NET? I don't want to use JScript. consFin = {2:'m',4:'n',6:'ng',8:'r',10:'l',12:'kh',14:'...more >>

Can dephi use .Net Dll ?
Posted by Romain TAILLANDIER at 9/28/2004 12:03:33 PM
Hi group I have sold to my client some .net DLL. He want to integrate some fonctionnalities in his own programs. But he is developping in Delphi. Can he attack this DLL passing throw the framework ? Generally can any program from any language can use some .net DLL (assuming the framework i...more >>

Framework bootstrapper causes slow install of .NET app
Posted by Tim Werth at 9/28/2004 11:53:44 AM
I am installing two .NET applications, one right after another. Each is in its own .MSI and has the bootstrapper setup.exe to make sure the .NET Framework is installed. When kicking off the first setup.exe, the bootstrapper displays a dialog with "Installing component setup". This takes a...more >>

How to change debugging mode from read only to read/write
Posted by Ray at 9/28/2004 10:33:05 AM
Hi all, How to change debugging mode from read only to read/write. In VB6 you always could step in and modify code. I didn't find any properties under Project properties for this purpose. Any help would be appreciated. Ray...more >>

.Net Framework 1.1 Service Pack 1 - Active Directory
Posted by andyo at 9/28/2004 10:29:05 AM
We have an application in manged C++ that resets userpasswords in Active Directory with a new temporary password and then sets the user must change at next login with the following code: if(user->Properties->Contains("pwdLastSet")) { Object* pwdSet = __box(0); user->Properties->get...more >>

GetExplicitEntriesFromAcl works now what
Posted by coateds NO[at]SPAM comcast.net at 9/28/2004 9:38:08 AM
Hi, I am attempting to use APIs via vb.net to view and ultimately modify file permissions. I made it part way and got stuck. I am able to use GetExplicitEntriesFromAcl and get the number of ACEs, but I can not find a way to get at the individual ACEs in the returned array. Here is a snippet...more >>

Design time component string properties
Posted by Colin at 9/28/2004 9:11:01 AM
Hi, I would like to create a component within my solution, which has a string property. This is simple enough, but I would like it to (at design time) bring up a multi-line edit box, similar to the Items property of a combo box. How can I do this? (example c# code would be great). Tha...more >>

.NET dll config file
Posted by Suresh Gladstone at 9/28/2004 9:09:51 AM
Hi, This is a bit with versioning and installation of the .NET dlls. I want to perform the following, [THIS IS WITH REFERENCE TO WINDOWS APPLICATION] 1. A third party application will be invoking my .NET dll through COM interop . For this I have used Regasm and registered the assembly in ...more >>

Interesting problem!! its urgent!!!
Posted by sunnyz NO[at]SPAM lycos-dot-com.no-spam.invalid at 9/28/2004 9:03:07 AM
Hi I've a windows application in C#.At a particular point , i have four clones of the same form running and i want that application should not end till all the forms are closed. The problem is the first form that runs when its closed closes all other forms and the application. plz help me i...more >>

Smartnav getting lost!
Posted by basin at 9/28/2004 8:29:04 AM
We have an app that continues to lose it's smartnavigation functionality. The first time it happened, I ran aspnet_regiis -c and it started working again. The next time it happened again, I looked and the asnet client folder and 1_1_4322 foolder was there...but aspnet_regiis -c still fixed i...more >>

How to show a text showing the progress in percentage on a Progres
Posted by kajol at 9/28/2004 5:53:05 AM
Hi everyone I want to show the progress in percentage over a progress bar, like it is used in many of the installation programs, like if the background color of the progress bar is white and the text is showing "0%" then text is in blue color When the progress is "100%" the background color o...more >>


DevelopmentNow Blog