Groups | Blog | Home


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 > april 2007 > threads for april 22 - 28, 2007

Filter by week: 1 2 3 4 5

DataSet fields not updating, no errors being generated
Posted by Alex at 4/28/2007 9:15:05 AM
I am using a web service to update some database fields. I used the dataset designer to define my datatable and tableadapter. I had it automatically create the insert, update, and delete statements. When I run the update method, all of the fields are updated except for four datetime fields. An...more >>


Service running Infinitely
Posted by mkashif1 NO[at]SPAM gmail.com at 4/28/2007 3:34:27 AM
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? Any recommendations are appreciated. thanks ...more >>

Retrieving data from a Windows Service
Posted by Greg at 4/27/2007 5:54:04 PM
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 windows service I want to be able to get back the latest elements in the collection....more >>

deadlock on a single Select not in a transaction
Posted by ThunderMusic at 4/27/2007 3:03:08 PM
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 process and has been chosen as the deadlock victim. Rerun the ...more >>

Subclassing question.
Posted by Andrew at 4/27/2007 11:06:02 AM
Hello, I followed the MS instructions to subclass Windows using C#.net (http://support.microsoft.com/kb/815775) as the follows. I then opened several Excel files, and selected anyone of them as foreground window. I was expecting to see windows message, saying WM_ACTIVATE, or something like...more >>

why use .net?
Posted by brazen at 4/27/2007 12:00:00 AM
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 porkies, or if there is anything I should add? Why sho...more >>

Custom control loading order
Posted by devtotal NO[at]SPAM com.com at 4/27/2007 12:00:00 AM
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 property is NULL. I can't call a custom c...more >>

how to avoid inlining?
Posted by Lloyd Dupont at 4/27/2007 12:00:00 AM
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...more >>



Build "Release" for asp.net website
Posted by isamusetu at 4/26/2007 5:42:02 PM
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. -- ISAMUSETU...more >>

What can we do in C#.net with a given window handle?
Posted by Andrew at 4/26/2007 2:42:03 PM
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....more >>

"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel"
Posted by Brenton Unger - MCSD.NET at 4/26/2007 2:35:41 PM
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! The error I receive is : "The underlying connection was close...more >>

Custom app and Korean
Posted by Michael Jackson at 4/26/2007 2:14:45 PM
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 absolutely no idea what would...more >>

managed API equivilent to WNetAddConnection
Posted by Kristofor at 4/26/2007 11:18:03 AM
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...more >>

Invert of background color
Posted by Mahesh Nimbalkar at 4/26/2007 10:38:03 AM
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. Thanks, Mahesh...more >>

Dotnet framework 3.0 questions
Posted by Preeti at 4/26/2007 10:07:22 AM
Hi check this for your questions on dot net framework 3.0 http://dotnetintervies.blogspot.com Preeti ...more >>

Doing "using" with CodeDom?
Posted by Kevin Burton at 4/26/2007 9:18:02 AM
Is there any way to do "using" with the CodeDom? using(SqlConnection connnection = new SqlConnection("...")) { } Kevin...more >>

XmlNode.InnerXml and Xml Readers / XmlDocument
Posted by Hermit Dave at 4/26/2007 5:20:05 AM
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 the behavior with XmlDocument too. assume that i am trying to rea...more >>

int.Parse and NumberStyles.AllowParentheses
Posted by bernhard at 4/26/2007 4:46:01 AM
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....more >>

Apps From Network Drive Problem
Posted by d.hamer NO[at]SPAM blackburn.ac.uk at 4/26/2007 3:54:24 AM
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. Does anyone know of any active directory restrictio...more >>

Which .NET Framework version on Windows 2003 Server
Posted by Philip at 4/26/2007 2:44:05 AM
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 ...more >>

Control the CPU Utilization during Application Execution written C#.Net
Posted by apondu at 4/26/2007 12:22:15 AM
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 so i know it'll take time for the execution. But my problem is it starts utilizing 98 to 100% ...more >>

Invoking WCF client from Excel VBA
Posted by Arun at 4/25/2007 4:26:50 PM
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 tru...more >>

HTML Validation SUDDENLY Problematic
Posted by ujjc001 NO[at]SPAM gmail.com at 4/25/2007 11:45:39 AM
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' cannot be nested within element 'td'. I'v...more >>

Basis question to cardSpace and PDA
Posted by scotty at 4/25/2007 4:29:08 AM
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 ...more >>

Flag enums with multiple zero values...
Posted by Nathan Baulch at 4/25/2007 12:28:28 AM
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 manipulation or manually ite...more >>

Opening Mailclient with MAPI
Posted by Christof Nordiek at 4/24/2007 3:41:32 PM
From my application, informations can be sendt by the user. Until now I'm using Process.Start("mailto:....) This works very fine, but I get problems, when the preset content is to much, because the length of the URL is restricted. IIRC this also can be solved by MAPI, but I can't find any exa...more >>

Interrupted FtpWebRequest upload stream
Posted by Dean J. at 4/24/2007 3:18:01 PM
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. The problem is the crazy connection is left open to the FTP...more >>

Request for principal permission failed
Posted by Bruce Parker at 4/24/2007 11:48:01 AM
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 has the proper role: <Security.Permissions.PrincipalPermissionAttri...more >>

Cannot Install .net Framework 1.1 - RegSvcs.exe - Common Language Runtime Debugging Services
Posted by darmin.memisevic NO[at]SPAM gmail.com at 4/24/2007 7:03:53 AM
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. Process id =0xb18...more >>

Re: framework 1.1 & Queue class
Posted by Brian Gideon at 4/24/2007 6:30:50 AM
On Apr 24, 2:59 am, "oscar.acostamonte...@googlemail.com" <oscar.acostamonte...@googlemail.com> wrote: > Hello: > Also you can use a sync object, and place queue acces code in a lock > statement. > object o = new object(); > lock(o){ > //Queue operations...} > > Best regards. > Oscar Aco...more >>

Re: framework 1.1 & Queue class
Posted by Brian Gideon at 4/24/2007 6:24:56 AM
On Apr 24, 5:35 am, Rory Becker <RoryBec...@newsgroup.nospam> wrote: > I would like to tak an extra question on to this one. > > I am interested in using a HashTable in a similar fashion. > > I was wondering is the "local sychronized wrapper" technique applicable here? > Yes, it works in a ...more >>

Application Design Question
Posted by dfa_geko at 4/24/2007 12:00:00 AM
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 tie...more >>

cannot access web browser from office program
Posted by ohnoproblems at 4/23/2007 11:22:02 PM
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 pro 2007---but that didn't fix the problem---i didn't use the inst...more >>

to veiw data in datagrid
Posted by lijin at 4/23/2007 10:46:02 PM
its a vb.net code .....im doing a data base > application.....the datbase is ms sql server...in my > front end form there is a datagrid where i have > displayed the details from the database by dragging > it into a dataset.....after words i have created a > test box where i enter some selective...more >>

FtpWebRequest with X.509 Authentication
Posted by Digineer at 4/23/2007 10:06:00 PM
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 with .NET 2/3? Internet Explorer does it just fine......more >>

Reading DBF files in C#
Posted by Hilton at 4/23/2007 7:10:20 PM
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 move to the next record. Thanks, Hilton ...more >>

framework 1.1 & Queue class
Posted by Hermit Dave at 4/23/2007 9:02:00 AM
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: msdn documentation says that instance methods are not thr...more >>

reading files
Posted by AVL at 4/23/2007 8:32:00 AM
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..... ...more >>

Assembly Resolve Anomaly-Please Help
Posted by Mads Nielsen at 4/23/2007 3:52:02 AM
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 one of the plugins on a few mac...more >>

how to HTTP post multiple files and key-value pairs?
Posted by Lloyd Dupont at 4/23/2007 12:00:00 AM
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 method. Can anyone explain to me how to post ...more >>

singleton
Posted by Nick C at 4/23/2007 12:00:00 AM
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 problem? thanks N ...more >>

singleton
Posted by Nick C at 4/23/2007 12:00:00 AM
Hi I would like to implement a singleton in .net. The application only can be run by one user at the time. Does anyone have any articles/samples that can help me with this problem? thanks N ...more >>

Lowercase headers generated by SmtpClient
Posted by Mike Kraley at 4/22/2007 2:32:01 PM
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 lower case headers. Also google desktop appears to ignore headers t...more >>

XAML & Element Arrangements
Posted by hufaunder NO[at]SPAM yahoo.com at 4/22/2007 10:56:41 AM
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 bar. As a consequence it extends beyond the window. How do I limit the size of the lis...more >>


DevelopmentNow Blog