Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Service running Infinitely
mkashif1 - 28 Apr 2007 10:34 AM - 3 messages
Hi, I'm developing a service that should run infinitely and should not be stoppable. The user (any user even admin) should not be able to stop/terminate the service. Is there any way? or should I go for a normal other than service? ...
Score Retrieving data from a Windows Service
Greg - 28 Apr 2007 12:54 AM - 2 messages
Hi, I have a collection that resides in a windows service and I want to know is remoting the best way to access this data?  The collection will change on an ongoing basis, but whenever I make a request to the ...
Score deadlock on a single Select not in a transaction
ThunderMusic - 27 Apr 2007 7:03 PM - 4 messages
Hi, We have a web application developped in asp.net (I think it's not relevant, but well, it's so you know)... Yesterday, we received the following message "Transaction (Process ID 69) was deadlocked on lock resources with another ...
Score Subclassing question.
Andrew - 27 Apr 2007 6:06 PM - 3 messages
Hello, I followed the MS instructions to subclass Windows using C#.net ([link]) as the follows. I then opened several Excel files, and selected anyone of them as foreground window. I  was ...
Score On Adobe's Flash & Flex in ASP.NET
ASP.NET explorer - 27 Apr 2007 4:30 PM - 6 messages
I have been asked to create some simple animation using Adobe Flash player in ASP.NET(C#) web application. While I am fairly well versed with ASP.NET C#, I absolutely have NO IDEA about how to say "Hello World" in a Flash enabled web page rendered via ...
Score Custom control loading order
devtotal@com.com - 27 Apr 2007 8:29 AM - 4 messages
Hi, I have a custom control which loads data, with some critera from a property of the hosting UserControl. I try to get the property value on BindingChanged in my custom control, but, at that time, host UserControl is not completly loaded, so my ...
Score how to avoid inlining?
Lloyd Dupont - 27 Apr 2007 7:28 AM - 25 messages
I have some code which looks like that:   [DefaultValue(CornerStyle.Rounded)]   public CornerStyle RectCornerMode   {    get { return this["RectCornerMode"].GetValue<CornerStyle>(); }    set { this["RectCornerMode"].SetValue<CornerStyle>(value); }   } in this[string] I get the attribute decorating the calling method, and used ...
Score Build "Release" for asp.net website
isamusetu - 27 Apr 2007 12:42 AM - 4 messages
I build a website solution by using visual studio 2005, how can I build the "release" version, because I just find the "debug" in the IDE and it seems it's necessary to append the configuration manually. ...
Score why use .net?
brazen - 26 Apr 2007 10:35 PM - 6 messages
Hi there, We need to retrospectively justify our choice in using .NET framework for developing our site. Our techie isnt here so we cant run it past him. Can some kind, helpful person run their eye over it and tell me if I'm tellling ...
Score What can we do in C#.net with a given window handle?
Andrew - 26 Apr 2007 9:42 PM - 5 messages
Hello, friends, What can we do in C#.net with a given window handle? For example, can we activate or close this window? How? Any reference papers? Thanks a lot. ...
Score "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure
Brenton Unger - MCSD.NET - 26 Apr 2007 9:35 PM - 3 messages
Alright Googler Groupers! I've searched high and low and tried everything I care to, so I'll see what the masses can conclude! I'm making both UPS and PayPal calls and both of them *occaisionally* throw this error. Please help! ...
Score Custom app and Korean
Michael Jackson - 26 Apr 2007 7:14 PM - 2 messages
I have an application written in .NET, running under Windows XP SP2 and Windows Server 2003 with SQL Server 2000 as the backend. This app basically indexes documents to allow keyword searching. We now need to load and index Korean language documents, but I have ...
Score managed API equivilent to WNetAddConnection
Kristofor - 26 Apr 2007 6:18 PM - 3 messages
Hi, I'm wondering if there is a managed class/method that is equivilent to the WNetAddConnection API.  I am writing an app that is required to connect to various network resources without knowing whether those resources are connected before hand.  I also need the functionality of being able to ...
Score Invert of background color
Mahesh Nimbalkar - 26 Apr 2007 5:38 PM - 6 messages
Hi, I have color as System.Drawing.Color c1 object as background color. Now I would like to get another System.Drawing.Color c2 object which is invert of c1 color to be used as foreground color. e.g if I have c1 as black and I should get c2 as white. ...
Score Doing "using" with CodeDom?
Kevin Burton - 26 Apr 2007 4:18 PM - 2 messages
Is there any way to do "using" with the CodeDom? using(SqlConnection connnection = new SqlConnection("...")) { } Kevin ...
Score XmlNode.InnerXml and Xml Readers / XmlDocument
Hermit Dave - 26 Apr 2007 12:20 PM - 10 messages
Hi, I am currently working on xml files and i am trying to ensure that my code handles any encoded chars (like > < & ' stored as &lt; > " &apos; ) I am currently using XmlValidatingReader.ReadInnerXml() but i have noticed ...
Score int.Parse and NumberStyles.AllowParentheses
bernhard - 26 Apr 2007 11:46 AM - 4 messages
Hi, Just a quick question: How come that using int.Parse("(20), NumberStyles.AllowParenthesis" ); returns a negative value? I would definetly expect that call to return something positive. Thanks, Bernhard. ...
Score Apps From Network Drive Problem
d.hamer - 26 Apr 2007 10:54 AM - 7 messages
Firstly Im writing not as a programmer, but a a network admin. We are having a problem where students cannot run applications in VB.net from their home area (a network drive). However the same app works fine from a local drive or pen drive. ...
Score Which .NET Framework version on Windows 2003 Server
Philip - 26 Apr 2007 9:44 AM - 3 messages
Hi, Can anyone tell me which version of .NET Framework is installed with Windows Server 2003 and what updates are made by Service Packs thanks Philip ...
Score Control the CPU Utilization during Application Execution written C#.Net
apondu - 26 Apr 2007 7:22 AM - 6 messages
Hi, This is Govardhan, i am working on C#.Net. I have a problem and i am sure most of them would have come across this problem. I have written a application in C#.Net. It does lot of work ...
Score Invoking WCF client from Excel VBA
Arun - 25 Apr 2007 11:26 PM - 2 messages
Has anybody try to invoke a WCF (.NET 3.0) web service client from unmanaged code (and especially from Excel VBA) ? When I tried it I got: --cut here-- An error occured creating the configuration section handler for system.serviceModel/client: That assembly does not allow partially ...
Score HTML Validation SUDDENLY Problematic
ujjc001 - 25 Apr 2007 6:45 PM - 2 messages
2.0 aspx page: So- today I open a project I worked on probably last wednesday and I now can't get into design view. For example, the following page give the following error: Cannot switch views: Validation (Internet Explorer 6): Element 'style' ...
Score Basis question to cardSpace and PDA
scotty - 25 Apr 2007 11:29 AM - 2 messages
Hi, i have some questions: Can I install CardSpac on a PDA? If It's possible, how can I realize this? Can I implement CardSpace using C++? Hope someone could help me. br, Scott ...
Score Interrupted FtpWebRequest upload stream
Dean J. - 24 Apr 2007 10:18 PM - 5 messages
VS 2005 Team Dev. SP1 When an upload using ftpWebRequest fails because of a lost connection, I want to be able to use GetSize and then reposition the source file stream and try again where it left off using the "Append" this time. ...
Score Request for principal permission failed
Bruce Parker - 24 Apr 2007 6:48 PM - 5 messages
I have an issue that is making no sense.  I have code that sets up code access security.  In my Windows Form application, I am able to do to create an instance of the user control "Requisition" with no exceptions if the user ...
Score Flag enums with multiple zero values...
Nathan Baulch - 24 Apr 2007 2:28 PM - 5 messages
I'm having issues working with some legacy enums that have multiple zero values. Whenever I try to call ToString() on one of the non-zero values, all but the first zero value is included. Is there any way to get the non-zero value name without resorting to string ...
Score Cannot Install .net Framework 1.1 - RegSvcs.exe - Common Language Runtime Debugging Services
darmin.memisevic - 24 Apr 2007 2:03 PM - 2 messages
Hello, I am trying to isntall .net Framework 1.1 that I'm getting from Microsofts website... When I run the settup file I get an error message: RegSvcs.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. ...
Score Re: framework 1.1 & Queue class
Brian Gideon - 24 Apr 2007 1:30 PM - 2 messages
On Apr 24, 2:59 am, "oscar.acostamonte***@googlemail.com" <oscar.acostamonte***@googlemail.com> wrote: Just to clarify...the object used in the lock statement must be the same in every thread to guarentee thread-safety.  It's difficult to ...
Score Re: framework 1.1 & Queue class
Brian Gideon - 24 Apr 2007 1:24 PM - 2 messages
On Apr 24, 5:35 am, Rory Becker <RoryBec...@newsgroup.nospam> wrote: Yes, it works in a similar fashion. Yes.  However, the Hashtable was designed to be partially thread-safe even without the synchronized wrapper.  It is safe to have multiple ...
Score cannot access web browser from office program
ohnoproblems - 24 Apr 2007 6:22 AM - 2 messages
when i try to go online using an office program such as word, excel, access, or publisher i get an error message saying error launching browser---can someone please advise as how to fix---i tried repairing the install of office ...
Score to veiw data in datagrid
lijin - 24 Apr 2007 5:46 AM - 2 messages
its a vb.net code .....im doing a data base ...
Score FtpWebRequest with X.509 Authentication
Digineer - 24 Apr 2007 5:06 AM - 3 messages
I have been very confused about the purpose of ClientCertificates on FtpWebRequest.  What I need to do is authenticate to an FTP server using ONLY an X.509 certificate, no username or password.  Is there any way to do this ...
Score Application Design Question
dfa_geko - 24 Apr 2007 4:06 AM - 3 messages
Hi Everyone, This is just a simple application design question. I was just wondering how  different people would approach this problem. Suppose you had to design a form where you edit a record and in the form there is a list box. You can select multiple items in the list box that are ...
Score How to submit a POST with a WebRequest? (in C# to a PHP file)
Lloyd Dupont - 24 Apr 2007 1:34 AM - 4 messages
there is a PHP file with which I try to communicate. there is a simple HTML like that: "<form action='feedback.php' method='POST'>blablabl</form>" now I try to write some C# code to invoke the PHP from a desktop app, which ...
Score Reading DBF files in C#
Hilton - 23 Apr 2007 7:10 PM - 6 messages
Hi, What is the easiest way to read DBF files in C#?  This is a preprocessing step and performance is a very low priority.  I don't need to process indices etc, just read each record, grab text data out of a few fields and ...
Score framework 1.1 & Queue class
Hermit Dave - 23 Apr 2007 4:02 PM - 14 messages
Hi, I am in need to a Queue class for a high speed read write operation where i do not have to look the object / collection in order to add / remove items. I had a look at System.Collections.Queue class and i need some clarification: ...
Score reading files
AVL - 23 Apr 2007 3:32 PM - 3 messages
Hi, Need some info.... I want to read all the folders and files present in my C drive..in .net 2.0 how to we acheive it? Mu purpose is to display all teh files ina given drive...any good samples..... ...
Score Assembly Resolve Anomaly-Please Help
Mads Nielsen - 23 Apr 2007 10:52 AM - 4 messages
Hi, We've run into a problem that have stumped us, and was wondering if anyone else has encountered this. We have a product (Windows Service) that supports a plugin architecture. Assemblies are loaded from disk at startup. This works fine normally, but for ...
Score how to HTTP post multiple files and key-value pairs?
Lloyd Dupont - 23 Apr 2007 7:33 AM - 4 messages
Hi! I am a bit lost. I want to upload multiple files and key-value pairs via HTTP post. A single file and a single collection of key-value pairs is easy. You just have to use the System.Net.WebClient class and its UploadFile, UploadValues ...
Score singleton
Nick C - 22 Apr 2007 11:29 PM - 2 messages
Hi I would like to implement a Systemwide singleton in .net. Is it sensible to use a mutex for this? The application only can be run by one user at the time.  Does anyone have any articles/samples that can help me with this ...
Score Lowercase headers generated by SmtpClient
Mike Kraley - 22 Apr 2007 9:32 PM - 4 messages
In Emails generated via SmtpClient, the names of the headers, e.g. to, from, subject, all seem to be in lower case. Although the RFC says that header names are case-insensitive, there are some spam filters that block mail with ...
Score XAML & Element Arrangements
hufaunder@yahoo.com - 22 Apr 2007 5:56 PM - 2 messages
I have a grid. In one of the cells I want to show a list box that has a lot of entries. The problem is that as soon as I put the list box in a stack panel the list has its full length, i.e. not vertical scroll ...
Next » 2 3 4 5 6 7 8 9 10