Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Message based approach
Ginny - 5 Aug 2006 1:04 PM - 15 messages
In a service oriented architecture, an application can call an external servie. an alternate approach is to use message based technique. following are the points that need calrifications?? 1. how does message based approach help? 2. the .net application architecture guide says that, the message based ...
Score FileShare parameter in filestream creation
muralidhargvn - 5 Aug 2006 11:03 AM - 8 messages
Hi All,    Can anyone explain the differences between FileShare.None and FileShare.ReadWrite  in filestreams using C#.NET windows application? Thanks, Murali. ...
Score how can I bind my custom entity objects to data controls
Mehdi - 5 Aug 2006 5:34 AM - 5 messages
I have implemented custom data entity objects, so I like to bind my entities to web server data controls, so I want to know what extra code I should implement to to do that? ...
Score Install mscoree.dll error! Please Help
Chris - 4 Aug 2006 8:34 PM - 3 messages
My spam control server needs mscoree.dll to run.  I have installed one copy into the Winnt\system32 folder.  But when I run the software, it returned me an error message: Please set registry key HKLM\Software\Microsoft\.NETFramework\InstallRoot to ...
Score Visual Studio 2005 DataControls
Henry Jones - 4 Aug 2006 5:41 PM - 4 messages
I just installed Visual Studio 2005 and started a Visual Basic Windows project.  I wanted to drag a SQL Connection and Data Adapter onto the form. They don't show up in the Toolbox.   Am I missing something? (other than ...
Score Loose coupling
Ginny - 4 Aug 2006 5:14 PM - 2 messages
Hi, What is meant by loose coupling and high cohesion? Can anyone explain with examples? ...
Score Change management
Ginny - 4 Aug 2006 5:14 PM - 2 messages
Hi, What is meant by change management in deployment? ...
Score Access file on another pc (out of domain) with username and passwo
Stefano C. - 4 Aug 2006 1:06 PM - 4 messages
I neeed to write a Windows Service that have to access files on a server in our network (without domain). -Our network have NO domain. -Service run on a win 2003 Server (SERVER_A) -Files are in a Win 2000 server (SERVER_B) ...
Score Can you verify AppDomain when assemly loads?
MariusI - 4 Aug 2006 10:29 AM - 10 messages
I was wondering if there any security mechanisms in the framework which enables me to identify the appdomain which my dll is being loaded into? For ex. if I want to make sure that the appdomain was created by a program from ...
Score Generating code in a different AppDomain
Damien - 4 Aug 2006 9:56 AM - 4 messages
Hi guys, I've got a working project which runs as a service, and performs various simple calculations based on data provided to it in a database. Other data within the database describes the operations which must be performed on the data. (Essentially, there is a table called ...
Score Best Place to Disable/Enable Menu Items at Runtime
Raeldor - 4 Aug 2006 5:35 AM - 6 messages
I put my code to disable/enable menu items at runtime into the paint event, but then realized that if the user executes the shortcut key that the paint even of course doesn't get triggered first, so the user can execute code ...
Score -- Freelance Developers Community, who wants to help? --
Freelancer_To-Go - 4 Aug 2006 4:45 AM - 5 messages
Hello All, I am in the process of putting together a website that allows freelance developers of all (programming) languages to create a base for sharing files, articles, links, methodologies and interacting with other freelance developers through forums and chats. ...
Score ReaderWriterLock
Roy - 3 Aug 2006 9:01 PM - 2 messages
Here is a description on the time-out for ReaderWriterLock -1  Infinite. 0   No time-out. What is the difference between "Infinite" and "No time-out"? Are they the same? ...
Score not really?
Leon_Amirreza - 3 Aug 2006 8:21 PM - 2 messages
I dont think marshal.sizeof() wroks for managed objects!? does it? ...
Score Tooltips for asp.net List boxes
radha - 3 Aug 2006 8:09 PM - 2 messages
Hi I have a Listbox in which the items length is more than the list box width. So I am looking for some code to assign a tooltip for each item in Listbox. Can some one help me in this? Is there any way like using ...
Score Sizeof Operator?!
Leon_Amirreza - 3 Aug 2006 7:50 PM - 2 messages
1- Is there any .Net function that does the same as sizeof operator in C# and VB for managed objects and .Net Types? 2- I need the same thing (as in Question 1) for SqlDbType?! (I know the size of Sql Types but i want to get it programmatically rather ...
Score XmlSerializer for a type in dynamically loaded assembly
kishore - 3 Aug 2006 7:15 PM - 7 messages
Hi I have an assembly which I load using Assembly.Load(bytes[]). Within the Assembly i have a method which invokes XmlSerializer.serialize method on a type. This type is also within the assembly. However the serialize method throws an exception saying ...
Score Using TCP/IP KeepAlive in C#
Roy Chastain - 3 Aug 2006 3:04 PM - 7 messages
I have been trying to make NetSocket.SetSocketOption work for TCP/IP KeepAlive I have tried the following code         public virtual void SetKeepAlive (ulong keepalive_time, ulong keepalive_interval)         { ...
Score DAAB with MS Access MDB
pbaugh - 3 Aug 2006 3:00 PM - 2 messages
Hi all, I've used the DAAB very successfully with SQL Server and am now looking to use it on a project using Access. However, I'm having great trouble finding decent examples. The quickstart uses SQL Server as does ...
Score Tableadapter insert
Lac - 3 Aug 2006 1:39 PM - 2 messages
I'm quite new to using .net data access components and having problems when trying to insert a new record to an MS SQL database single table. First I tried to use a tableadapter generated by VS2005, like this : messagesDataSetTableAdapter.Insert(paramaters); ...
Score create word doc without automation
Vigj - 3 Aug 2006 11:26 AM - 4 messages
Hi folks, I need to create some word docs in my applications (both winforms and asp.net). I would like to avoid using Word through automation, I would prefer to generate directly the file in its bynary format. Does anyone know about a CHEAP component/library that allows me to do that? ...
Score Error: "Unable to load one or more breakpoints"
Kuldeep - 3 Aug 2006 11:04 AM - 2 messages
Hi All, ..NET Framework - 1.0 ASP.NET [Web Based Application] Everytime I open my Project, I get this Error Message "Unable to load one or more breakpoints" Even after this, the application can be built and run. Please Help ...
Score MemoryStream as buffer for incoming data
Markus Ewald - 3 Aug 2006 10:09 AM - 3 messages
I guess this counts as a rather adventurous use case, but can the MemoryStream class somehow be used for buffers (eg. in socket communications) that fill the MemoryStream's internal byte array directly instead of using the stream's Write() method? ...
Score Convert VS 2003 Project to VS 2005
Saeid Bagheri - 3 Aug 2006 8:16 AM - 4 messages
Dear friends i have a repetitive question, but please help me. we have an application which is developed by VS.2003. Now we want to add more modules such as inventory management forms to it. i was to know how it is possible to convert it to VS2005 and add more ...
Score A question about reflection and custom attribute
OGG - 3 Aug 2006 7:53 AM - 2 messages
Hi guys, Do you think it's possible to add a custom attribute to a method at runtime ? if yes, how ? I can't find a way to  implement it. Thanks. ...
Score Deploying multiple IIS Servers.
varija - 3 Aug 2006 7:47 AM - 3 messages
I have a .NET application which is currently deployed using a single app server (IIS).  I want to use multiple IIS servers for the application....primary reason being perfromance improvemnet for the site. We use SQL Server 2000 in the application and most of the tasks being ...
Score Non-static member method as AsyncCallback
JohnnieB - 3 Aug 2006 7:17 AM - 2 messages
Hi, I'm writing a server application that uses asynchronous I/O. In all examples I've seen a state object, typically a class with just data members, is used to store the socket that's used in conjunction with ...
Score How can include .Net framework in the deployment application?
Carlos Villaseñor M. - 3 Aug 2006 2:54 AM - 2 messages
Hi Everybody! I just developed my first application in C#.Net 2005, but I encounter that if I create a deployment applicatión to install it in other computers, when the deployment application is executed, always appears the message that asks ...
Score BeginSend question about sent bytes
appzguy - 2 Aug 2006 9:50 PM - 8 messages
I was hoping someone could help me understand the number of bytes sent if I am using BeginSend. Let's assume I send 100 bytes of data using BeginSend.  In my async callback, if I call EndSend it will return me the number of bytes that ...
Score application folder
Roy - 2 Aug 2006 9:05 PM - 3 messages
How do I get the application folder in .net, which is where the exe located? ...
Score System.TimeZone?
Patrick Bates - 2 Aug 2006 8:54 PM - 3 messages
Apparently this isn't what I thought it was... I'm looking for the following functionality: 1)    Enumeration of a list of time zones 2)    Configure an object based on a selected time zone ...
Score DataAdapter.Update performance?
David Harris - 2 Aug 2006 8:43 PM - 11 messages
Please redirect me to a better newsgroup if this one isn't correct. I have a major performance problem using a SqlDataAdapter's Update() to record a datatable into our database. And it's no easy feat. We basically record data for about 2-3 minutes, generating about 4000 records on a ...
Score .NET components
Lee - 2 Aug 2006 8:13 PM - 4 messages
Are the components available as part of .NET 2 or add ons for Active Driectory Terminal Services Dial Up Networking. Thanks,,, ...
Score Start a new thread On demand
Mohammad Hashemian - 2 Aug 2006 5:00 PM - 6 messages
Hello, I'm writing an application that has a main thread. If some special data arrives from a port, main thread should execute special function in a new thread rapidly (at most with 500 miliseconds delay). I used the regular .NET threading system, but in most cases, the second ...
Score VS 2003 to VS 2005
Saeid Bagheri - 2 Aug 2006 1:57 PM - 3 messages
Dear friends i have a repetitive question, but please help me. we have an application which is developed by VS.2003. Now we want to add more modules such as inventory management forms to it. i was to know how it is possible to convert it to VS2005 and add more ...
Score Version number of DotNet 2.0
Doug - 2 Aug 2006 1:18 PM - 4 messages
What is the version number for DotNet 2.0?  DotNet 1.1 is 1.1.4322, I'm wondering what the full version number is for 2.0 ...
Score Protect exe and dll
Saeid Bagheri - 2 Aug 2006 12:22 PM - 2 messages
dear friends we deployed one application which is used by company staffs also installed for our agents in many cities. it is developed by VS.2003 and VB language. Now i am very worry about our source codes, because i recently heard that ...
Score System.UnauthorizedAccessException while importing data from Excel
Abhijeet Kumar - 2 Aug 2006 9:13 AM - 2 messages
Hi I am Importing data from Excel sheet to our ASP.NET Application. It works fine when i run the code. But when i create installer for the same and try to import Excel file through installed application it gives me error as: ...
Score aspnet active directory
Mahmoudreza SHirinsokhan - 2 Aug 2006 8:26 AM - 2 messages
hello I need to have access to the active directory property and be able to edit them with asp.net . does anyone have any example or links ? which i can use? thanks mr ...
Score Where is the Compact Frameworke Newsgroup?
DocDeath - 2 Aug 2006 6:46 AM - 6 messages
Since a couple of months i used the CompactFramework Newsgroup. But i don´t can find it. Where is it? Thanks Benjamin ...
Score PP: Methods w/o any comments
prabhupr - 1 Aug 2006 9:34 PM - 2 messages
Hi Folks We are using nDoc to generate CHM/HTML help files. My requiremen : Is there an easy way (any tool) that generates list of methods which has no documentation (<Summary> Comments) defined, so that we can circulate this list to the team to ensure API Documentation ...
Score Problems in loading a Non-GAC version of Assembly
Amruta - 1 Aug 2006 8:37 PM - 5 messages
Hi, I have an Assembly version 1.1.8.1 in the GAC.My problem is that I want to use an assembly with the same version outside GAC. I have tried using <codebase> element by specifying the path to the ...
Score Upgrading from 1.1 to 2.0
Jason Allred - 1 Aug 2006 8:20 PM - 3 messages
This is probably a silly question, but here goes: I have a VB.NET 2003 aplication running on a machine and want to deploy the new version, written in VB.NET 2005 using XCopy deployment.  Both versions of the framework (1.1 & 2.0) are installed on the machines in question.  Can ...
Score GetMethodName using Reflections Namespace
JerryWEC - 1 Aug 2006 7:47 PM - 3 messages
I have a question regarding reflections or any other method of getting the method name of the current method... Does anyone have a method already built to capture the current method name? I'm sure this can be coded using reflections but have never used this ...
Score How to change DACL of a Windows Service in C#?
gzinger - 1 Aug 2006 7:16 PM - 5 messages
The question is straightforward: How can I change Access Control List of a windows Service programmatically using C#. My goal is that a regular “User” should be able to start a windows service written in .NET. ...
Score Web Browser Help - Get URL of clicked link?
Mateusz Rajca - 1 Aug 2006 4:14 PM - 2 messages
Hello! I am using the .NET Web Browser control (not Microsoft Web Browser COM). How can I code this: When the user clicks on a link that will open a new window/tab, instead of opening Internet Explorer with the link, it ...
Score create the array using reflection
Roy - 1 Aug 2006 3:41 PM - 2 messages
I have a type of System.Type. It indicates an primitive type such as Int32. I try to use the following code to create an array Type arrayType = type.MakeArrayType(5); object objArray = Activator.CreateInstance(arrayType); but I got the following error: ...
Score Modifying Security.config file
Juan - 1 Aug 2006 12:09 PM - 4 messages
Hello: I'm modifying the c:\windows\Microsoft.Net\Framework\V1.1.X\Config\security.config file when I install my c# application. I use the XML namespace to include some policies, but when I start the "Microsoft .Net framework configuration tool" all the ...
Score Preventing ThreadAbortException.
Ken Varn - 31 Jul 2006 8:17 PM - 5 messages
Is there any method that I can guarantee execution of a code path within a thread without a Thread.Abort call interrupting it?  I am concerned that a file write that is done using two calls will not complete if the thread is ...
Score CultureInfo.NumericFormat and System.Convert
dorminey@gmail.com - 31 Jul 2006 7:44 PM - 8 messages
I am having a problem where a few machines at my company are failing on the following line of code: double dbl = System.Convert.ToDouble("0"); I have traced it to the fact that for the thread's current culture ...
Score .NET 2.0
GMiller - 31 Jul 2006 6:29 PM - 5 messages
I am using Visual Studio 2003 and I just updated from .NET 1.1 to 2.0. I have installed the 2.0 framework and the 2.0 SDK.  However when I go into Visual Studio under help->about it still shows the .NET version as ...
Score css issue
Ginny - 31 Jul 2006 6:10 PM - 2 messages
hi, i have a web application. there is a css file applied to it. when i load the page for the first time, css is applied properly but after the postabck, css does not apply at all. it is strange. the application is working fine on all ...
Score Unhandled Exception in Windows Service
The Man From SQL - 31 Jul 2006 4:31 PM - 9 messages
Hello, I need to know if the AppDomain.UnhandledException event can be handled using a Windows Service.  I've create a Windows Service that uses the Exception Handling Applilcation Block and there are certain exceptoions that I want bubbled up as unhandled exceptions so in the Main method I add a ...
Score Where is the parameter argument collection?
mcskf - 31 Jul 2006 3:01 PM - 6 messages
Hi! I have hundreds of functions. I would like to make a debug possibility. The first task is to list the parameter collection with a cycle. Where is the function parameter argument collection? thx. mcskf ...
Score Using IPC question: one process as IPC client and server at same time problem.
evgenyv - 31 Jul 2006 1:09 PM - 2 messages
Hi! Each machine is running couple of processes. Each process is using my Cache object. The question: how to notify "other" processes when cache of any process became invalid? I mean to set communication between processes. I've started to implemented IPC channel, but it couldn't be ...
Score Sending chr(255) to serial port
... - 31 Jul 2006 11:49 AM - 2 messages
Hi I need to send a chr(255) to a serial port. When I send it, through comm.write (chr(255)) it sends a chr(63) ... in Hex, I write chr(&FF) and it actually sends chr(&3F) ... why does this happen, and how can I send it ...
Score Books for building Frameworks
Stefan Schelling - 31 Jul 2006 10:32 AM - 3 messages
Hi NG. Can you tell me some books which deals with building my own Application Framework? I've already the book from Xin Chen. Are there some more? Thanks in advance Stefan ...
Score communicate between two exe applications
Napo - 31 Jul 2006 9:40 AM - 3 messages
Hi,    There are are two app,named App1 and App2.    When run App1, it will run App2 automatically.    On the other hand, when terminate App1, App2 will aslo be terminated.    I think App1 and App2 in a different domain, how to communicate them? ...
Score Launching and Monitoring Executables
Water Cooler v2 - 31 Jul 2006 8:54 AM - 3 messages
I have a Windows Service I am writing in C# and a set of, let us say three, other executables written in C# (mostly console applications). I want that the Windows Service must do so every few seconds: Check to see if each of the other executables are running or not. If ...
Score How do you tell if the .Net Framework 2.0 is installed?
BBM - 30 Jul 2006 7:04 PM - 6 messages
On Windows Server 2003, how do you tell if the .Net Framework version 2.0 is installed? Thanks. BBM ...
Next » 2 3 4 5 6 7 8 9 10