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 distributed apps > october 2003

Filter by week: 1 2 3 4 5

How to stop while loop
Posted by Prasad at 10/31/2003 9:02:02 PM
Hi: See this code : While iCommand.Connection.State = ConnectionState.Closed Try iCommand.Connection.Open() Exit While Catch ex As Exception Console.Write(ex.ToString()) End Try End While In the above code, checking connection state if closed database connection will...more >>

Question on Facade
Posted by jimpappa at 10/31/2003 10:42:08 AM
Hi All, We are developing a smart client based applicattion in .NET. When the application design is finalised, we will have about 60-70 objects in the middle layer... We want to decide whether to expose these objects directly as remotable or whether to use a thin facade layer to suite our...more >>

Can't get WinUIP Store started
Posted by Jesse Naiman at 10/30/2003 10:35:28 PM
I have SQLServer2000 installed and the database has been created. When I run WinUI the program throws an error message during the call to "GetCustomerByEmail". I think the login information in the config file is wrong. Since I'm new to botht the Application Blocks and SQLServer I'm not sure how ...more >>

Application Design: ADO Components
Posted by Ursula Peter-Czichi at 10/30/2003 12:01:01 PM
This is a newcomer's question (So far, I have produced only small applications to run on computers within my reach, using text files instead of "real" databases.) What I want to do: Create a self-contained Windows Application; Allow the user to create a database; Allow the user to store an...more >>

Excel Automation remains open after closing
Posted by E.P. at 10/29/2003 12:20:48 PM
Hello, I have an VB60 app that I converted to .Net. Throughout the app. Excel is opened and manipulated and then shutt down. In order to prevent conflicts w/the user, excel is closed after each process. All instances of excel are successfully removed from the process list with the exce...more >>

Access Related Query
Posted by Kishor at 10/28/2003 2:27:42 PM
Hi, I am using Access as a backend to my project. From my front end I am issuing the queries, however I am finding it is too much slow. I wanted to execute multiple sql statement. My question here is how to execute these multiple statement?. Is it possible in acess 2000. can I have your sugge...more >>

ServicedComponentException
Posted by michael at 10/28/2003 2:28:57 AM
Hello, I can't run my .NET application on Windows 2003 but not XP. The error dialog has the title "Microsoft .NET Framework" and the content contain the following detail. "System.EnterpriseServices.ServicedComponentException: The ServicedComponent being invoked is not correctly configured...more >>

Help Please --> on UIPAB framework
Posted by Balu.P at 10/27/2003 5:56:33 PM
Hi i just recently got introduced to this UIPAB framework. This is like Struts MVC 2 arch like. But i could see this is more advanced and feasible than that in state presistance area, but i could grasp only a very little crisp details about this framework design. From the MSDN site i could able ...more >>



ASP.NET Shuts Down SQL Server
Posted by Mak Foka at 10/27/2003 8:34:32 AM
Help!!! After installing an ASP.NET application on the same box as SQL Server, it occasionally locks the SQL Server (CPU usage 99%) and turns the machine unusable. Any idea of what the problem is?...more >>

i want to kown The History of Microsoft dotNet
Posted by Rolland Han at 10/27/2003 4:28:44 AM
hi, somebody nice to meet you. I'm a professor from China,and a half-time author. Now a magazine named THE PROGRAM'S AGE ask me to write an article "The History of Microsoft DotNet" for them.I paid a lot of time searching on the internet,but nothing seems valuable. can you give some in...more >>

low COM call performance in second thread + remoting = no logical workaround ??
Posted by zavairax NO[at]SPAM yahoo.com at 10/27/2003 3:07:46 AM
Hi Everyone! This is a problem which makes mind goes in circles: The application needs to run a remote procedure on other machine which in turn needs to make some millions of COM calls to store a data from DB to the memory. Millions of COM calls works about 50000/sec when done from the main th...more >>

Working with windows files
Posted by Andrés at 10/24/2003 11:25:03 AM
I=B4m working with C#. And my question is: How can i open a file with its win application?. For=20 example open a word file with MS Word? or an excel file=20 with MS excel?=20 I=B4m trying to find the way to open a windows application=20 with its path; or to open a file with its path. Thanks....more >>

Installation of Exception Management Application Block
Posted by Bryce Budd at 10/24/2003 7:06:24 AM
Hello, I am trying to figure out how to get the Exception Management Application Block to Install into the GAC from a Windows Installer Package. I have read the following in the documentation: >However, you must add the Exception Management project >output or the Exception Management...more >>

Stored procedures aren't scaleable?
Posted by Paul Ritchie at 10/23/2003 9:16:32 AM
What do you say to a person who believes that putting logic into stored procedures is not ultimately scaleable? eg He believes the database is the bottleneck and therefore all interaction with it should be kept simple so as not to tax the server, with any kind of data manipulation logic implem...more >>

Object Oriented development and COM+
Posted by Paulo Monteiro at 10/21/2003 2:28:17 PM
I have some doubts about object oriented development using COM+. To use COM+ my classes must inherits from System.EnterpriseServices.ServicedComponent. With C# a class can inherit only from one class. This means that I can't have these classes: public class Order { public virtual voi...more >>

User Interface Process Application Block
Posted by craig at 10/21/2003 9:35:00 AM
Has anyone been able to use the UIPAB for the purpose of creating an Outlook-style interface? It appears that the application block supports views in which each individual view corresponds to a seperate instance of a windows or web form. Even the wizard example implements each step in the wiza...more >>

.NET Com+ and .NET Class Library
Posted by chandru at 10/20/2003 5:08:07 AM
Hi, I have a dotnet class which extends ServicedComponent and is deployed in COM+ and a normal class. Which will give better performance .NET COM+ or .NET Class library? I understand that there are lot of functionalities COM+ provide like JITA,Object pooling,Security,Object Constru...more >>

Real-Time application
Posted by Gedd at 10/20/2003 3:41:48 AM
Hi, I wonder how to create a real-time application in .NET. If 2 users are working together on the same application (2 separate processes and 2 separate dataSets). How the user1 can see the newly added records from user2 ? Thanks in advance for any help, Gedd...more >>

Class that implements IEnumerable and IEnumerator
Posted by Rodney at 10/19/2003 6:01:33 PM
Hey All, Dim oCriterionCollection As New CriterionCollection Dim oUserCollection As New UserCollection oUserCollection.Retrieve(oCriterionCollection) Dim i As Integer = 1 For Each o As Object In oUserCollection Console.WriteLine("{0}"...more >>

Business Rule and Business Facade Layers
Posted by wilsonjan NO[at]SPAM hotmail.com at 10/18/2003 12:24:41 AM
I'm having difficulty in finding a clear definition (with examples) of the differences between Business Rule and Business Facade Layers. My problem is really in getting an understanding of the 'Facade Layer' and why it is required. Can anyone point me to some useful references or help out th...more >>

Force an Icon member to Be marshalled by value
Posted by Codemonkey at 10/17/2003 4:22:29 PM
Hi, I have a MarshalByValue class which has a member that is of type System.Drawing.Icon. Because the Icon inherits from MarshalByRefObject, when clients that receive an instance of my class that has been marshalled, the Icon property is actually an ObjRef object. I'd like to force the Icon...more >>

UIP DALC BOText.resx problem
Posted by george r smith at 10/17/2003 10:06:23 AM
All, Luke explained to me how to add a resourse file to my recreation of the UIP example. I added a DALCText.resx to my app. However when I test the throw of the exception I get: "Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembl...more >>

HOW TO Disable Echo in Console Application
Posted by Dessipris Antonis at 10/17/2003 5:19:49 AM
Hi, I 've built a console application, so in some point i ask the user to prompt me his password to log to the application. My problem is that if i get the password by Console.Readline(); the password is shown to the user... I want somehow to disable the echo or prompt him for each charact...more >>

event logging
Posted by mike at 10/16/2003 5:25:18 PM
I use the code below. It throw security exception(bottom) when runing to "if(!EventLog.SourceExists("MySource", "."))" Any suggestions? Thanx. m ========================== public static void CreateEventLog() { if(!EventLog.SourceExists("MySource", ".")) {EventLog.CreateEventSource("M...more >>

Using Enumerations in Distributed Applications
Posted by AaronRuhnow NO[at]SPAM hotmail.com at 10/16/2003 3:31:09 PM
microsoft.public.dotnet.distributed_apps Using Enumerations in Distributed Applications We are developing a logical three-tier Server application (likely using VB.NET) which will be accessed by several different client applications. Eventually the physical architecture will be three-tie...more >>

Step by step simple example needed
Posted by Balu.P at 10/15/2003 11:14:31 AM
Hi all, I recently come accross a situation to implement "User Interface Process Application Block", and i am going through the the article in ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/uip.asp ) that site and download a quick start application on this, but i...more >>

Search architecture proposals for a distributed application
Posted by markus.lehmann NO[at]SPAM idzedi.admin.ch at 10/15/2003 4:09:52 AM
The dot.net framework is very powerful. With its largeness, the possibilities of different architectures augment also and make it difficult to choose the right one. I want to implement a distributed application. Each machine disposes multiple ‘independent' window applications. These programs c...more >>

writing to the app config file.
Posted by Ronny at 10/14/2003 11:46:09 PM
Hi, I have a form with some text boxes on it, the text boxes are mapped to keys in the appconfig file. I would like for my users to modify the text boxes and have that update the appconfig file. I have looked all over the documentation and the only thing I can come up with is "This is h...more >>

How to create BOText.resx in UIP Application Block
Posted by george r smith at 10/14/2003 1:30:48 PM
In the UIP store example, how do they create the embeded resource file BOText.resx. I have been studying the example off and on for a week and that is my last big stumbling block. thanks grs ...more >>

Can't open Application Blocks Documentation
Posted by busy NO[at]SPAM sulfurmines.com at 10/14/2003 10:50:53 AM
Application Blocks documentation is in .chm files. I used to be able to open .chm files long time ago. Now when I try to open one, it sends me into cyberspace looking for a program. What could I be missing on my "fully loaded" box? TIA...more >>

C# DLL Error - Server 2003
Posted by zeplynne at 10/14/2003 3:59:33 AM
I have a C# DLL that targets the 1.1 Framework. This dll is called by unmanged code (ASP, windows apps, etc...). When the dll is on almost any OS it works fine, except when it is on Server 2003. The error I receive is: error '80131418' Execution permission cannot be acquired. Thi...more >>

Using microsoft.applicationblocks.exceptionmanagement with the GAC
Posted by Phil Pastor at 10/13/2003 2:24:33 PM
I will apologize immediately for rehashing this subject, but it continues to be an issue for me. In an earlier post Nims described the problem as follows, and Roman Kiss provided a solution (also attached). I implemented Roman's solution, but I continue to receive this exception. I am using th...more >>

FWD: Prove these package from M$ Corporation
Posted by Margaret Frye at 10/13/2003 8:39:51 AM
Microsoft Customer this is the latest version of security update, the "October 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to mai...more >>

XmlDocument and Session
Posted by itsme at 10/12/2003 9:42:04 PM
Hi, How can I store XmlDocument object in session? What does generally an XmlDocument.OuterXml give as output? Thanks...more >>

How use https protokol in ASP.NET applications?
Posted by alik at 10/12/2003 9:06:14 PM
How use https protokol in ASP.NET applications?...more >>

Best Practice to spawn an Application from a Web Service ?
Posted by Paul at 10/12/2003 12:00:16 PM
Hi all. Can someone provide some help on the following as there seems to be many different methods of acheiving the same outcome. Basically I am trying to develop a web service which will spawn an exe file to run an import and then return a result back to the web service, this would also ne...more >>

Dataset cascade update concurrency conflict.
Posted by Steve at 10/12/2003 8:38:05 AM
I have a dataset containing several tables, which are related by DataRelations. I have cascading updates for the key fields (i.e. child DataTable has DataRelation linked to primary key of parent DataTable). This works well on the GUI: when the parent key is changed in the master DataGrid...more >>

FILESYSTEMWATCHER triggers 2 events when you save a file
Posted by Brian Shearer at 10/12/2003 5:42:58 AM
Hi, we aer using a filesystemwatcher to monitor a directory for NEW files only. We wish the event to be triggered only once and when the file has finished writing to the directory. At the moment if, say, we use notepad to create a file and do FILE-->SAVE then the watcher triggers a CREA...more >>

Equivalent of MessageBox in web development?
Posted by hr at 10/11/2003 11:41:40 PM
I have quite a bit of experience in VB.NET for client server application, but kind of new in web development. I'm trying to pop up a message box (just like MessageBox.Show in Windows form), but failed to find a counter part in the web development. Is there a simple way to achive this? I wan...more >>

Cast Parent class object as Child class object
Posted by Hozi at 10/11/2003 4:07:33 PM
Hello, I am writing a class library in vb.net that does all the data access for my application. The way this library works is that there is a class for each table in the database. Since many of these classes have some functionality that is the same such as updating and deleting I crea...more >>

Possible Solution to Serializing Event Handlers in VB -
Posted by Codemonkey at 10/10/2003 3:46:38 PM
Hi, I think I've come up with a solution to some of the problems that I've been having when trying to serialize (and hence remote) objects that have event handlers attached to them in VB. It's a long winded approach, but it gets around the need to implement ISerializable in every class that yo...more >>

Business layer - Data layer circular dependency
Posted by deyanp NO[at]SPAM hotmail.com at 10/10/2003 8:53:35 AM
Hi guys, I have the following architectural problem (once again) - I have to design a layered app with the following layers: 1. UI / Web Services (data transfer objects are exchanged between 1) and 2)) 2. Business Facade 3. Business Layer/Domain model 4. Data Layer I would like to ...more >>

Email Addresses
Posted by Steve at 10/10/2003 5:19:46 AM
Do not use your email address when posting here. I posted a question the other night and have got 100s of emails containing viruses. Steve...more >>

how to prevent the distributed dlls and exes being viewed by ildasm?
Posted by Jack Jian at 10/9/2003 9:09:23 AM

Client hosted in IE takes a loooong time to connect
Posted by Ari Royce at 10/9/2003 5:05:08 AM
I have a .net remoting client hosted in IE (with object tag). This client takes a looong time (2 minutes) when it calls one of the remote function for the first time (I think .net remoting really connects to remote server on the first remote funtion call). This problem doesn't happens if t...more >>

LateBinding to COM in .NET
Posted by Venu at 10/8/2003 11:10:24 PM
I am writing a sample application in .NET. Basically using late binding to invoke a method in a COM object. For methods with no arguments, and methods with int , bool parameters it works. The type library indicates in COM that the string is represented as a BSTR *pStr for example. Wh...more >>

how to prevent viewing of dll il code
Posted by Jack Jian at 10/8/2003 3:14:39 PM
HI, our dlls will be deliveried to customer side, how to prevent the il code from viewing by other people? thanks, Jack...more >>

Send events to webpage
Posted by QV at 10/8/2003 4:29:08 AM
I want to send events from my web server application to web based clients. For example, in an email application I do not want the client to poll for new emails but rather be informed as soon as a new email arrives on the server. What is the best approach Thanks QV...more >>

.net App On Win98
Posted by Eyal at 10/8/2003 4:12:22 AM
Hello, How Can I Ran A .Net Application On Win98? Doed The FrameWork Installs On Win98? Thank u....more >>

Difference Between Web Servcice n XML Web Service
Posted by vijay at 10/8/2003 12:38:01 AM
What is the Difference Between a "Web Servcice" and an "XML Web Service" ?...more >>


DevelopmentNow Blog