Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score DataSet fields not updating, no errors being generated
Alex - 28 Apr 2007 4:15 PM - 2 messages
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 ...
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 Converting source code to another language?
deostroll - 28 Apr 2007 7:34 AM - 1 message
Is it possible to convert source code from one language into another using the codedom ICodeParser interface? Has anyone ever tried it? ...
Score Need help on CAB
AVL - 28 Apr 2007 7:00 AM - 1 message
I'm a new bie to cab...need some info on displaying a new child window using  CAB... My requirement is to show a new form if I click on teh File menu option on the Main Windows form.. ...
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 EventTraceLogListener and error?
Kevin Burton - 27 Apr 2007 6:14 PM - 1 message
I started with the logging application block in the April 2007 Enterprise Library. Looking through the source it looks like when it comes to the event log they just inherit the EventTraceLogListener class. It seems to work. I look via the EventViewer and can see messages that are place there via my ...
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 additional files in clickonce
Irfan - 27 Apr 2007 4:08 PM - 1 message
hi, I want to add some CAD files or Excel Templates when i publish using ClickOnce. Is there any way i can do it. Thanks irfan ...
Score clickOnce Update not working
Irfan - 27 Apr 2007 3:10 PM - 1 message
hi, I created a clickonce application and installed it in the client machine. As expected a new shortcut is created in the Start->All Programs. However, when i publish the application again after making some changes, i expect that the newer version should run when i click ...
Score Workflow - CallExternalMethod -Correlation value is already intial
Jeff Hegedus - 27 Apr 2007 3:02 PM - 1 message
Repeating calls to a CallExternalMethodActivity in a while loop - InvalidOperationException - Correlation value is already initialized I have a workflow that needs to call out to an external event until the event responds with a result of true.  Unfortunately, the second time I call ...
Score How to capture Item's event through an object of its collection in a external class?
planet.creativa - 27 Apr 2007 1:51 PM - 1 message
There are two classes 1) Key - contains some public variables, one method "Reset" and one event "valuesReset" which is raised by Reset method. 2) Keys - this class is collection of objects of class 'Key' and it is inherited with ReadOnlyCollection(Of key). ...
Score How to capture Item's event through an object of its collection in a external class?
planet.creativa - 27 Apr 2007 1:40 PM - 1 message
There are two classes 1) Key - contains some public variables, one method "Reset" and one event "valuesReset" which is raised by Reset method. 2) Keys - this class is collection of objects of class 'Key' and it is inherited with ReadOnlyCollection(Of key). ...
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 Piped input contains Unicode preamble
PIEBALD - 26 Apr 2007 9:42 PM - 1 message
I'm an old dog and I like old tricks, so I write a lot of utilities that accept piped input. e.g. TYPE mydata.txt | MyApp or MyApp < mydata.txt or App1 | App2 Then read the input with System.Console.In ...
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 Dotnet framework 3.0 questions
Preeti - 26 Apr 2007 5:07 PM - 2 messages
Hi check this for your questions on dot net framework 3.0 [link] Preeti ...
Score Network communication with Windows Services
therealbigcoops - 26 Apr 2007 4:19 PM - 1 message
Hello, I am designing an system where Windows services (clients) are distributed across a company LAN.  The clients are written in Win32 since not all network machines may not have .NET Framework installed.   The clients connect to a central SQL database to report ...
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 System.Transactions example
Kevin Burton - 25 Apr 2007 11:52 PM - 1 message
To educate my self on how to implement a resource manager an enlist in a transactions I copied the example code from: [link] Enlisting Resources as Participants in a Transaction ...
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 OrderedDictionary index order
Mike Blake-Knox - 25 Apr 2007 7:55 PM - 1 message
The OrderedDictionary method documentation says that the Add(key, value) method stores the entry into the OrderedDictionary collection with the lowest available index. This ensures that the oldest entry is at index 0. The Remarks section of the OrderedDictionary.Add Method ...
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 Help to trap Datagridview cell keypress events...
profdotnet - 25 Apr 2007 5:47 PM - 1 message
Hi I seek help to trap .net Datagridview cell keypress events. Thanks in advance. Raftar. ...
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 Basis question to cardSpace and PDA
scotty - 25 Apr 2007 11:29 AM - 1 message
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 ConfigurationManager <-> ConfigurationSettings
google - 25 Apr 2007 11:10 AM - 1 message
Hi, at the moment I am about to move a WinForm application from .NET 1.x to .NET 2.0. The application is deployed using no-touch-deployment. The customer wants to keep this behaviour and so I cannot change it to ...
Score MS .NET Framework jit debugging error
Benny - 25 Apr 2007 10:29 AM - 1 message
I have been trying to instal AutoCAD 2008 on a single PC and get the following Microsoft .NET Framework security error. I have updated to the latest .NET Framework 2.0 software, however, this error occurred with only v1.1 installed. ...
Score Exception handling bug?: Control.Invoke()
MagicBox - 25 Apr 2007 10:18 AM - 1 message
Hello all, I'm currently working on exception handling for a multithreaded component. It looks like I've ran into a framework bug when inner exceptions is concerned. The code:         internal delegate void TcpipMethod(TcpipSocket socket); ...
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 Watch a video tutorial from Mr.Bool!
Jeff - 24 Apr 2007 5:24 PM - 1 message
Watch a video tutorial from Mr.Bool! Looking for a easy way to learn! Look what Mr.Bool site offers for you! Here you can find articles, tips and tons of video tutorials. Totally Free! Watch a video tutorial now. ...
Score WebRequest fails on POST succeeeds on GET
Lee - 24 Apr 2007 2:43 PM - 1 message
Hi, As the title implies I have a simple WebRequest that works fine doing Gets to a website but it fails with "The remote server returned an error: (504) Gateway Timeout". when I tried a POST operation to the same website....here ...
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 Opening Mailclient with MAPI
Christof Nordiek - 24 Apr 2007 1:41 PM - 2 messages
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. ...
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 Re: framework 1.1 & Queue class
Brian Gideon - 24 Apr 2007 1:21 PM - 1 message
On Apr 24, 4:56 am, Hermit Dave <herm...@newsgroup.nospam> wrote: Yes, Queue.Synchronized will make the Enqueue and Dequeue methods thread-safe.  It does this by wrapping the calls with a lock statement against the SyncRoot property for you.  In other words, you could use ...
Score Re: framework 1.1 & Queue class
Brian Gideon - 24 Apr 2007 1:18 PM - 1 message
On Apr 24, 4:34 am, Hermit Dave <herm...@newsgroup.nospam> wrote: It looks okay to me, but that's only because there's one reader.  If there are two or more readers then there will be race when the Count ...
Score How does SoundPlayer manage memory?
Jens Weiermann - 24 Apr 2007 11:57 AM - 1 message
Hi, I'm having a question regarding the memory management of the SoundPlayer class (System.Media.SoundPlayer). I'm using a stream as source for the sound, so the player internally calls the PlaySound api function with the SND_MEMORY flag - together with the ...
Score Tracing, using 'System.Diagnostics TraceListener'.
Geert - 24 Apr 2007 10:22 AM - 1 message
Hello.  I'm using the System.Diagnostics TraceListener for simple tracing to dbgview. I always get the following outputdata : All Events Information: 1 : Timestamp: 24/04/2007 10:04:15 Message: Open testform Category: MyCategory Priority: 1 EventId: 1 ...
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 workflow xamal
Mark Focas - 24 Apr 2007 5:42 AM - 1 message
if i have workflow already saved in Ddatabase  through sql persistent service and I changed the structure of Xamal file how the application will use the old saved workflow in database ...
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 Not able to install the Enterprise Instrumentation Framework
madhanprabu - 23 Apr 2007 1:16 PM - 1 message
When we try to install Enterprise Instrumentation Framework setup not installing and it’s giving me the below error. Error: Product: Enterprise Instrumentation -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to ...
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 Entity Based Access Rights using Windows Authorization manager
deepak - 23 Apr 2007 10:22 AM - 1 message
Hi There , I want to know ,whether we can use Windows Authorization manager  for Entity Based Access Rights .here for me entity is a program element . if some one  has any idea ,please let me know. Cheers Deepak ...
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 Forms and Lablels
Allen Maki - 23 Apr 2007 2:21 AM - 1 message
I wonder if you could help. The event handler code below, will allow the user to change the phone number and write it on a label of a message box. I want to replace the message box with a dialog box. ...
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 XAML & Protected Controls
hufaunder@yahoo.com - 22 Apr 2007 11:29 PM - 1 message
I have a few controls on a WPF window. I would like to prevent a programmer using this control to have access to them, i.e. I want them not to be public. How can this be done? Thanks ...
Score singleton
Nick C - 22 Apr 2007 9:58 PM - 1 message
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 ...
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 ...
Score Packaging Interop for distribution
Mike Irwin - 22 Apr 2007 4:58 AM - 1 message
I have created a WinForms app with VB.NET 2005 and it runs fine on the development machine (of course !). When I try to deploy it to another machine it complains that microsoft.visualstudio.shell.interop.8.0 doesn't exist in ...
Next »