microsoft.public.dotnet.distributed_apps Archive - March 2003
Post a message to this list
Messages
Page: 12
Datagrids date formats (2 replies)
microsoft.public.dotnet.distributed_apps
Hi Perry, and thanks for your reply but I am not using SQL server, I'm using Oracle. And besides, the SQL query I use DOES bring back results in the correct format in the SQL editor (mm/dd/yyyy), but when I display these results in a datagrid, it is as mm/dd/yyyy:hh:min:sec. If you read my question, you'll see that what I was trying to find out is how to get the datagrid to display the short date ...
Data Access Application block and Typed-Datasets (4 replies)
microsoft.public.dotnet.distributed_apps
I am interested in using the Microsoft Data Access Application Block for data access. However, it does not appear to support passing in a typed dataset for fill. Is there a reason why this is not supported, and a preferred method to accomplish the fill of typed datasets using the block?
Process not recycled (3 replies)
microsoft.public.dotnet.distributed_apps
Hello all, I read somewhere that if we change global.asax file then ASP.NET shut down the current web process, recompiles the web application, and then services requests. am I right? I was trying to observe the above mentioned behavior but it seems to me that process is not being recycled! I created an aspx page that just outputs the Session.SessionID value. Now I browsed the page first time, it d...
Large Scale Networked Virtual Environment transfer data (3 replies)
microsoft.public.dotnet.distributed_apps
Hello, I'm building a NVE framework on top of .NET for my thesis. If I would transfer XML between clients, does it mean more traffic than sending it in a binary format? All your thoughts are welcome. Greetz, Rob.
DAAB for ODP.Net? (4 replies)
microsoft.public.dotnet.distributed_apps
Has anyone created the data access application block for ODP.Net? in VB? Are you willing to share it? To reply personally change nomail to yahoo
POSTING AGAIN - Giving descriptions to our own Method Parameters (2 replies)
microsoft.public.dotnet.distributed_apps
Hi, I am writing a some standard functions in class library and want to use other developers same function where ever they required in their project. I want to give description(meta data) for Parameter in my method. For example, dim ds as New DataSet( datasetname as string datasetname: The name of the System.Data.Dataset. Here once i opened a bracket, in the insetellinsense, i can see the paramete...
Typed dataset and Data Access Application Block (2 replies)
microsoft.public.dotnet.distributed_apps
I've scoured the internet looking for an example of transforming/moving data from an untyped dataset to a typed dataset but cannot find any examples. I've seen the 'Merge' command but cannot seem to make that work. Here's the bulk of my data access layer logic to that end: Public Function GetAllCharacters() As CharacterData Dim data As New DataSet() Dim character As New CharacterData() 'typed data...
Multiple .NET Remoting Layers? (3 replies)
microsoft.public.dotnet.distributed_apps
..NET Remoting is the technology which allows us develop distributed applications. We need to configure both client and server programs using XML descriptive configuration files or programmatically using classes provided by System.Runtime.Remoting namespace This is clear so far. But what about the big picture? Is it possible that for a Remoting Server itself to act like a Remoting Client to anothe...
Queued Components (2 replies)
microsoft.public.dotnet.distributed_apps
Hi Aplogies if this isn't the right newsgroup for this question. I've been trying to write a queued component using the pattern in the .NET documentation. However when I try and get a reference to the queued interface through COM by using the Marshal.BindToMoniker method, it keeps returning a COM exception: Exception from HRESULT: 0x90110603 Also an event appears in the application log, from COM: ...
Howto connect to other DBs (e.g. Oracle) with .NET DAL? (3 replies)
microsoft.public.dotnet.distributed_apps
Hi Space! I have used and tested the .NET Data Access Layer very successfully with my application and a MS SQL Server. Now I have the requirement to support other Databases also (e.g. Oracle). The problem is, that the DAL uses only the Sql* classes (e.g. SqlConnection). So is there any version of the DAL which uses the OleDb* classes (e.g. OleDbConnection)? If not, can I simply replace alle Sql* s...
loading assemblies (5 replies)
microsoft.public.dotnet.distributed_apps
I'm trying to learn how to load assemblies dynamically and then use them. I seem to successfully load assembly, and can instantiate an object instance from assembly. But I get an exception when I try to cast such an object instance to an interface type. I assume that the program knows the interface type at compile time, but does not know of the implementation until it's loaded at runtime. My demo ...
COM+ Component installation Question (2 replies)
microsoft.public.dotnet.distributed_apps
I have created a COM component using .net Enterprise Services. The COM component has all the registry information in the AssemblyInfo.cs. I have included the following: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile(@"..\\..\\keypair.snk")] [assembly: AssemblyKeyName("")] [assembly: ApplicationName("COMPlus Testing")] [assembly: ApplicationAc...
Something About AppDomain (3 replies)
microsoft.public.dotnet.distributed_apps
Question about Appdomain. For example, i have two folder . each folder contain some .exe and dlls, they may have .exe or dll overlaps. assemility in same folder need to be run in same AppDomain. which means in this case i need to create two AppDomain. one for each folder's. when a assembilty is loaded, it should be able to load into the correct AppDomain. is it possible? Thanks a lot
Configuration Management Application Block (15 replies)
microsoft.public.dotnet.distributed_apps
Hi, At the patterns & practices team we are building an application block to help with configuration tasks storing config data in multiple stores (SQL, AD, Registry, your own) and supporting encryption/signing and caching of this configuration data. The goal of this application block is to make it transparent to your application whether for example a connection string is stored in the registry in ...
Creating and Registering a remote object with parameters. How? (2 replies)
microsoft.public.dotnet.distributed_apps
Hi there! I'm trying to build a server in c# (.NET Remoting). In the remote object I need a reference to another class. That means I need to take an argument into the constructor of the remote object which is a reference to that object. Unfortunately, that argument need to come from the serverside, because the client doesn't know that object. My question is: "How can I do this and still register m...
object disposed exception (3 replies)
microsoft.public.dotnet.distributed_apps
when I run the code below , I get object disposed exception , anyone knows why this happen ? code is : public class Db : IDisposable { private OracleDataAdapter daDb; public Db() { OracleDataAdapter daDb new OracleDataAdapter(); daDb.SelectCommand new OracleCommand(); daDb.SelectCommand.Connection new OracleConnection(UtConfig.ConnectionString); } public void Dispose() { Dispose(true); GC.Suppress...
ValidationException or error list in n-tier architecture (7 replies)
microsoft.public.dotnet.distributed_apps
Hi. We are starting a new n tier project in my company and are laying out basic architecture guidelines. We've reached the point where we are discussing the ValidationException issue. By isuue I mean that some people want the Validation to be handled by a return value (like ArrayList foo.Validate(); ) but others suggest using exceptions (throw new ValidationException() ). Which one is the right wa...
COM+ Deployment (12 replies)
microsoft.public.dotnet.distributed_apps
Hi All, I need help on deployment of a WIN32 client and COM deployment on Application Server. Both developed in .NET. What I do is 1. Register the COM component on the Development App Server 2. Generate a App Proxy from the development app server 3. install the app proxy on the development machine 3. create a setup on the development machine using the app proxy reference. 4. install the setup on t...
Interestinjg problem with DotNet threads and listview populating..... (7 replies)
microsoft.public.dotnet.distributed_apps
Hi, I have this application which populates the listview with the results which originated from checking the status of the threads which in fact checks whether a special service on remote computer running or not. I got all the results properly and very fast. My problem would be when I am actually populating the listview if i don't put Msgbox, the results won't show. If i put the msgbox, then the r...
Date formats in datagrids (6 replies)
microsoft.public.dotnet.distributed_apps
I am doing a query to an Oracle DB, getting back a certain amount of data, which I then show in a bound datagrid on a web form. This all works fine but I am having a problem with the date formatting. I am using the following SQL to pull the dates back from the DB SELECT ROUND(DATE ENTERED).... and in a direct SQL editor window, this works perfectly, pulling back dates such as: 01/02/2002 but using...
extending Data Access Application Block (9 replies)
microsoft.public.dotnet.distributed_apps
We're looking at the Data Access Application Block (DAAB), and while it is nice and clean, it also lacks some functionality that we want. The biggest missing piece, in my opinion, is the lack of connection string management. Other people must have modified the DAAB to meet similar needs. Has anyone posted a modified/extended version of the DAAB? What other features have people added to their custo...
output parameter values from Data Access Application Block? (6 replies)
microsoft.public.dotnet.distributed_apps
Has anyone any source code to show how to obtain output parameter values from the SqlHelper routines in the Data Application Block?
DataSets, DataGrid, and Presentation Tier Confusion (20 replies)
microsoft.public.dotnet.distributed_apps
I am trying to populate a datagrid on a win form with a dataset. However, I do not want to have to reference the column name when laying out the grid, like this: DataGridTableStyle tsWorkLogs new DataGridTableStyle(); DataGridColumnStyle colFund new DataGridTextBoxColumn(); colFund.MappingName "code"; //This is the column name in the dataset colFund.HeaderText "Fund Code"; colFund.Width 100; tsWor...
Parameter Binding in Web Service (J#) (2 replies)
microsoft.public.dotnet.distributed_apps
Gang, 1. J# Web Service 2. a public method of the type myDataSet of myGetData with two integer parameters {e.g. public myDataSet GetData byParm1byParm2(int p parm1, int p parm2) } What is the correct procedure/syntax to bind these two parameters prior to executing "sqlDataAdapter#.Fill(myDataSet)"? The examples cited are coupled strictly to data controls vice "a method's parameters" and I haven't ...
MessageQueueException - more information? (4 replies)
microsoft.public.dotnet.distributed_apps
I've written two console apps that use .NET enterprise services and messaging. One app sends messages at random intervals (approx every 20 30 seconds) to the message queue. The second application synchronously receives messages and prints them to the console. Both applications use a class derived from ServicedComponent when interacting with the message queue, and randomly abort the transaction abo...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification