Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Can't create user accounts
tkilmer - 5 May 2007 2:08 PM - 2 messages
Hi, I have a new laptop with windows vista. I have the admin account setup. However, when go to control panel/add or remove user accounts and click on it does not work. The clock flashes quickly like it is going to do something but ...
Score byte
AVL - 5 May 2007 1:19 PM - 2 messages
hi, I've  a byte value of 15... i wan to get it's representation a follows 0x01 | 0x02|0x03|0x04 basically i want to know by OR ing which numbers,..am I getting a value of  15... ...
Score datagridview help
AVL - 5 May 2007 1:06 PM - 2 messages
i've used .net 2.0 datagrid view control/.. i want to show a dropdowm menu whenever i doubleclick a row on my grid.. how do I achieve it...any good samples ...
Score need xml help
AVL - 5 May 2007 1:04 PM - 2 messages
I'm a newbie to xml concepts.. my requirement is to read a very big xml file and pick up few slected nodes and build List array out of it..... how to I acheive it with minimal coding? which xml class supports this.. ...
Score Monitor printers
Fredrik - 5 May 2007 9:47 AM - 4 messages
Hi, I have a problem google or these groups has not yet been able to provide an answer for, I could be missing something obvious. But I certainly hope not. I want to monitor all printer queues on the computer - and get a ...
Score Concurrency violation: the UpdateCommand affected 0 of the expecte
mkomasi - 5 May 2007 8:01 AM - 2 messages
Hi When I want to update a record folowing exception has been appeared: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records Can anyone help me about the cause of the exception? regards Mehdi ...
Score Learning & Frustration.
Brent - 5 May 2007 1:15 AM - 12 messages
Ok I'm sure there are a lot of people in my position. I am a professional developer and have a situation of information overload here. Microsoft is pushing out stuff so fast these days that's its IMPOSSIBLE to keep up with ...
Score Trouble reusing address in UDP multicast situation
0to60 - 4 May 2007 7:41 PM - 1 message
I'm making a client server database app and I'd like the clients to be able to send messages to each other via UDP multicast.  I'm using SocketOptionName.ReuseAddress and its allowing me to have each client send ...
Score WCF service
param - 4 May 2007 5:47 PM - 1 message
I would like to know how to use SQL Cache Dependency in WCF service using SQL Server 2005. so  is there a work around in WCF where i can achieve the functionality of having the Application_Start event in global.asax because as far as i know i ...
Score Running isqlw or bcp from Windows 2003 Web Application
-pb- - 4 May 2007 4:15 PM - 1 message
Hi, I have developed a web site for my client on .net 2.0 framework using asp.net 2.0. This web site will be hosted on Windows 2003 server. Web application runs the batch file on the user button click. This ...
Score custom serialization..need help
AVL - 4 May 2007 2:01 PM - 2 messages
Hi, I'm  new serialization concepts....I need some hwlp.. I've a class defined as follows class CustomSerialization1     {         private string s;         public string Test ...
Score DirectorySecurity's SetAccesControl works/not works?
KKS - 4 May 2007 12:29 PM - 1 message
Look at the following example. The ASPNET account is added to the directory but it has no rights. Its marked as special permissions only. No read and execute. What could be wrong? Machine is XP SP2 .NET 2.0 and Visual Studio ...
Score Most popular object persistence framework
Peter Morris - 4 May 2007 9:46 AM - 10 messages
Hi all What is the most commonly used object persistence framework for .NET? Thanks Pete ...
Score VDPROJ, and install problems
Romain TAILLANDIER - 4 May 2007 9:26 AM - 2 messages
Hi group, I have a little problem using the deployement project. I have develop some kind of spécific file editor, and i install with it some example of those specific files. these file are not necessary, but if i ...
Score 80131040 Error
Usman - 4 May 2007 6:34 AM - 1 message
Hello All, I am calling a c# assembly registered with codebase switch from my VB6 application everything runs perfect. I have compiled same assembly in the separate folder but upon accessing this assembly by instantiating one of the class I get the following error ...
Score checkboxlist query
AVL - 4 May 2007 6:24 AM - 1 message
Hi, I've used a checkboxlist control on my windows form.. I've added few obejcts to it dynamically.. now I want to retrieve all unchecked items from this list....how do i it// please help me out... ...
Score Merging Visual Studio & SDK Help
scolemann - 4 May 2007 6:24 AM - 3 messages
Hi all, I recently installed windows workflow foundation and then realized that I could no longer see .NET framework documentation in my MSDN help.  I installed the SDK hoping that it would merge back in. However, I now have two separate help collections, one with the ...
Score Right Click Context Menu of a C# windows application not working o
TL - 4 May 2007 2:14 AM - 2 messages
Hello, I have developed a C# windows appl using .Net framwork 1.1, it is working fine on Windows XP. But one of my workmate tooks it home to try, when she tried right click to get to the context menu of the application, it doesn't ...
Score My manifest loading a reference twice
commanderjason - 4 May 2007 12:49 AM - 2 messages
im getting the ol' Could not load file or assembly 'ComponentArt.Charting.WebChart, Version=2007.1.1052.2, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. as you can see the .net framework wants to use version 2007.1.1052.2 ...
Score Code working in 1.1 stops working in 2.0
Piyush Daiya - 3 May 2007 7:40 PM - 2 messages
Hi All, I have this following code which works fine in 1.1 but gives runtime exception 2.0:- Reflection Code to get One Property from COM Object ------------------------------------------------------------------------------- Dim objSession as Interop.ComObj.Session Dim objAgent as Interop.ComObj.Agent ...
Score System error while calling method for 2nd data adapter
Rachana - 3 May 2007 7:11 PM - 1 message
Hi, I am having vb2003-net 1.1 Code was working fine yesterday, today getting error ----------------------------------------------------------- error: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. ----------------------------------------------------------- Last line is highlighted. error while calling method for second data ...
Score Using cacheing??
JP - 3 May 2007 6:58 PM - 2 messages
I’m researching the idea of using caching in my application. And I wanted to get other people thoughts that have used it with .NET 2.0. Below is an explanation of the current process: I have an application with several web pages. When any of these pages is ...
Score DoEvents in c#.net
Andrew - 3 May 2007 6:01 PM - 3 messages
Hi, guys, As you know, in VB6, we have have DoEvents. How can we do the same job in c#.net? Thanks. ...
Score Programmatic diagnostic questions about dlls
Jason Ratke - 3 May 2007 5:29 PM - 7 messages
Hi, I am currently working on a diagnostic utility for developers, and some of the things I want to check are whether a dll in a project output folder is locked and cannot be over-written, or if an incorret version of a dll has ...
Score compact framework
liliana - 3 May 2007 4:32 PM - 2 messages
Abstract The solution scope is to redirect intercept and redirect every call that accomplish with a call number pattern on Windows Mobile smartphones to a toll free number which is a prepaid platform. Solution Components CallListener: This is the component responsable to monitor when an end-user wishes to dial ...
Score Is This Overkill?
Mike Hofer - 3 May 2007 3:52 PM - 24 messages
I've been maintaining some source code, and I've noticed some radical inconsistency in the code, particularly in the way that parameters are validated. I've noticed that this seems to have been pretty much the case throughout my career. ...
Score compac framework
liliana - 3 May 2007 3:46 PM - 1 message
Abstract The solution scope is to redirect intercept and redirect every call that accomplish with a call number pattern on Windows Mobile smartphones to a toll free number which is a prepaid platform. Solution Components CallListener: This is the component responsable to monitor when an end-user wishes to dial ...
Score HatchBrush in WPF
joris.spriet - 3 May 2007 3:17 PM - 2 messages
Hi, is it possible to fill a shape, for instance a Rectangle, with a HatchBrush ?  Is it possible to do this in XAML ? Thanks, Joris Spriet ...
Score serialize a property of a collection
Daniel - 3 May 2007 2:54 PM - 4 messages
Hi, I have a collection, which is a property of a class: public class PostcodeCollection : CollectionBase {     // ...collection specific properties     [XmlAttribute("Total")]     public int Total     {         get { return List.Count; } ...
Score Framework, ProtocolType.Icmp and VISTA
Andre Lorbach - 3 May 2007 2:23 PM - 5 messages
Hi all, I did not find any other suitable newsgroup for my question, so I took this one here. I have a little project which has some kind of a network scanning wizard, to find local area computers and access them using the Eventlog or simple ...
Score MSBuild Zip taks
Shikhar - 3 May 2007 2:19 PM - 1 message
Hi All, I am new to VSTS and MS Build. I want to do a Zip (As in NANT) in MSBUILD proj file. Can anyone please help me in this. Also i want to create labels in Team Foundation Server (for all build ...
Score 2.0: "Debugging failed because integrated Windows authentication in not enabled"
R.A.M. - 3 May 2007 1:23 PM - 2 messages
Hello, I am writing my first ASP.NET application (I use .NET 2.0, Visual Web Developer 2005 Express Edition and SQL Server 2005 Express Edition). The application builds successfully but when I try to start debugging from Visual Web Developer I receive message box: ...
Score Setting required framework version
QDL - 3 May 2007 12:07 PM - 3 messages
Hello everyone, I'm experimenting running side by side fw versions on a test box. One thing i do not understand is how it is determined the version to use when running an app. I wrote a very small proggy that just displays the version of the ...
Score Problem : 2 different ASP .Net running in one IIS
Masita - 3 May 2007 10:23 AM - 3 messages
Hi all, I am having a problem with different version of website. One website written in Dot Net I and another one usig Dot Net II. The 1st website using Dot Net I had successfully run for few years. Until, I am configuring another website in same IIS whcih using Dot Net II. ...
Score laptop
Irfan - 3 May 2007 8:57 AM - 3 messages
hi, Nigel The laptop that I want to have, has Windows Media Center. I was reading on net that the main differance between Win XP Pro and WMC is that WMC  has 'joining a domain capability disabled'. ..--------------- Here is an excerpt: ...
Score What is the significance of link.exe.config and cl.exe.config files in VS2003
wn123456@gmail.com - 3 May 2007 7:45 AM - 1 message
Hi, What is the usage of the files link.exe.config and cl.exe.config when compiling the code with cl.exe. ? Does it affect only .NET code? Does if have any effect on unmanaged C++ code ? Thanks, WN ...
Score How to find the Parent Thread
Mark Howell - 2 May 2007 11:59 PM - 2 messages
Is there a way to find the Parent Thread that spawned a certain Thread? For example:     Thread a         Spawns Thread b                 From inside Thread b's process, can I get to Thread a's TLS ...
Score How to get a mini dump?
Lloyd Dupont - 2 May 2007 11:32 PM - 3 messages
On some client's computer the XmlDocument.Save() fails with some weird internal error such as: ============== Exception : System.IO.IOException Message   : Unknown error "-1". Source    : mscorlib Help      : Stack    : ...
Score Execution of managed code upon Ctrl-C or some other "signal" to die?
root4one - 2 May 2007 11:02 PM - 1 message
Is there a way to execute any vb.net code when some type of signal to die is given? I found this reference, which may work [link] ...
Score Circular References in the .NET Framework
Stephan Brenner - 2 May 2007 10:41 PM - 1 message
Today I stumbled over the following: There are cirular references in the .NET Framework. For example, System.Xml references System.Configuration and System.Configuration references System.Xml. See the following: [link] ...
Score Are they the same day?
Andrew - 2 May 2007 9:25 PM - 2 messages
Hello, friends, What is the best way to test if two date values are the same day (same hour) or not in c#.net? As you know, in VB6, we have a fuction DateDiff("d", date1, date2). Do we have a similar one in .net? ...
Score VB 2005 Serial Port Close() Method
Steve - 2 May 2007 8:54 PM - 2 messages
Hey all, I am having problems with the close method of the serial port class in vb 2005. I have a button on a form that calls the Close() method, but every now and then the program freezes. I have go into task manager to ...
Score DataTable.Merge()
mj2736 - 2 May 2007 7:46 PM - 2 messages
I'm a little confused about DataTable.Merge(). I have two DataTable objects with the same structure - dtOrig and dtCurrent. The end result I'm trying to achieve is to get all the rows in dtCurrent that are in some way different from the corresponding rows in dtOrig so those new/ ...
Score SslStream caching and Vista:
frandalc - 2 May 2007 7:33 PM - 1 message
Hi. When my client program runs under XP and calls a server (solaris in this case) via an SslStream all is well. The client may make multiple calls and multiple authentication calls and be fine. Running the client under Vista, when the second authentication call ...
Score Getting 3.0 Facts Straight
sloan - 2 May 2007 6:42 PM - 6 messages
Ok. If anybody has a url , that'd be great. My IT Department is asking for the exact lowdown on 3.0, from a machine/OS perspective. 3.0 projects can be developed on     a.  XP SP2 ...
Score case values in switch statement?
Andrew - 2 May 2007 4:09 PM - 5 messages
Hi, guys, I have a switch statement like the follows in a KeyPress event:             switch (e.KeyChar)             {                 case '0' - '9': ...
Score win32 error
AVL - 2 May 2007 2:48 PM - 2 messages
i've created a console application whcih reads different file formats and scans for some for words.... the application builds fine and executes finely..but sometimes, the exe automatically becomes 0kb and gives me this error <Application.exe> is not a valid win32 application.. ...
Score win32 error
AVL - 2 May 2007 2:46 PM - 1 message
i've created a console application whcih reads different file formats and scans for some for words.... the application builds fine and executes finely..but sometimes, the exe automatically becomes 0kb and gives me this error <Application.exe> is not a valid win32 application.. ...
Score checkboxlist query
AVL - 2 May 2007 2:43 PM - 2 messages
I've used a checkboxlist control on my form.. i'm populating values dynamically at runtime to this list.. but when i do it, the checkboxes so added are remaining unchecked... but I want a newly added item to be checked by default... ...
Score Advanced WPF text
jim1800@community.nospam - 2 May 2007 2:42 PM - 1 message
How to creat text on path? Can I creat non regtagular text box? How to control text tracking, kerning and leading? Thanks. Jim ...
Score RE: How to access code inside methods
Greg Hart - 2 May 2007 1:19 PM - 2 messages
Juan,     Did you ever find a solution to this problem.  I need to do the exact same thing and find dependencies within methods.  I know this post is pretty old.  Any chance you remember and can point me in the right direction? ...
Score How can I get volume ID
Alexi F. Sharafutdinov - 2 May 2007 5:47 AM - 2 messages
Hello. How can I get volume ID on which I have open file? Alexi. ...
Score Overriding "OnXXX" versus adding event handler
Peter Duniho - 2 May 2007 12:50 AM - 5 messages
Okay, this has come up in the past but I haven't seen anything that I  would call a good, solid general rule. The question applies more generally, but I'm going to ask in the context  of a Control.  How does one decide whether to write an "override" method  ...
Score convert an object to string and back (in a culture independent fashion)
Lloyd Dupont - 2 May 2007 12:17 AM - 5 messages
to store user preference in our application we have an 'hand written' XML file. (as opposed to XmlSerializer written one, which crash sometimes, on some user's computer, for some unknown reason.. but I'm digressing) In this XML file I store object value, which I convert to string (when ...
Score Windows Workflow - What basic tutorials? What's going on here?
B. Chernick - 1 May 2007 7:10 PM - 7 messages
I thought I was an experienced programmer but I'm looking at the beginning WWF tutorial (Simple Expense Report) and I'm baffled.  I feel like I don't know how to even begin reading this.  I thought this was supposed to be ...
Score Truly cross platform?
Ray Cassick - 1 May 2007 6:40 PM - 7 messages
The thread bellow titled 'Determining if two paths are the same' brings to mind some of the first 'things' I had heard way back when DotNet started. It was going to be the panacea of cross platform development. I am asking the question here of the group to find out if everyone (anyone) ...
Score Locking Desktop and Threading Issue
Jenbo - 1 May 2007 4:35 PM - 8 messages
Hi, I have an application that displays forms on the users desktop, what I am doing with it is having a SystemEvents SessionSwitchEventHandler to capture the lock of the desktop, I would like to kill the forms when this event is captured, that piece is ...
Score .Net Windows Service ...data access problem
Samuel Rhodes - 1 May 2007 2:10 PM - 3 messages
Hi, I am writing a .NET windows Service that will access the database every 10 minutes. When the service calls the function  in the business services layer which in turn calls the correponding function in data access layer, this DAL ...
Score Installation problem - MSDN Libs for VS2005
B. Chernick - 1 May 2007 1:31 PM - 3 messages
I'm trying to jury-rig an installation of MSDN for VS2005 from ISO disks.  The company I'm working for has an 'install drive' so I'm not sure of the pedigree of these directories.  Essentially, since I don't have a CD burner ...
Score Questions about clickOnce
Irfan - 1 May 2007 9:53 AM - 9 messages
hi, I have couple of questions about clickonce again, I am publishing a Winform appplication using ClickOnce. In the 'Publishing Location' text box I input the directory name (C:\CLICKONCE\Test2\). In the 'Installation URL' what shall i input. Why do ...
Score search results dialog box
petegb - 1 May 2007 1:19 AM - 4 messages
when i open search from the start menu, i get a listing in the task bar, but the box cannot be seen. when i click on the task bar block it appears to fly off the screen to the upper right ...
Score The Interlocked on the Edge of Forever
Chris Mullins [MVP] - 30 Apr 2007 8:13 PM - 41 messages
I've got a quick question that's been bugging me for a long, long  time: Let's say I've got a member variable (in a heavily threaded app): private int _firstTime = 0; To make changes to this is easy enough: ...
Score tcpclient connect security exception - unauthorized
TrinityPete - 30 Apr 2007 8:04 PM - 1 message
Hi all, I have a tcpclient and server setup client and server both different machines. The client when run under administrator credentials connects fine, but when run under normal user, the tcpclient connect is refused with unauthorised. All of this is on same netword/domain. The client is running ...
Score How to tell which window becomes the foregroud window right away?
Andrew - 30 Apr 2007 7:10 PM - 1 message
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 some config error happens periodically only
gsl - 30 Apr 2007 4:11 PM - 4 messages
Hi we have a number of web applications once in a while they produce an error like below if you restart IIS - they disappear it happens on two servers any ideas? Thamks GSL ++++++++++++++++++++++++++++++++++++++++++++++++ Configuration Error Description: An error occurred during the processing of a configuration file ...
Score Determining if two paths are the same
Mark Chambers - 30 Apr 2007 2:27 PM - 11 messages
Hi there, Given two file names in relative or absolute format, I need to determine if they point to the same file. While I can simply pass each to "Path.GetFullPath()" and compare the results, what is the rule regarding ...
Score Windows Forms Data Binding problem
Maury - 30 Apr 2007 1:22 PM - 1 message
Hi, I builded my very first windows forms application and I used VS.NET 05 wizards to manage a simple Access table, but by now I have a problem: data aren't updated (without errors) I checked several thinkgs, rows ...
Score Directory Sizes and Performance
Flinky Wisty Pomm - 30 Apr 2007 10:44 AM - 3 messages
Hi all, I need to regularly traverse a large networked file system and return a list of directories and their respective sizes. The file system is large enough that performance is a serious concern. As well as the recursive [File/Directory]Info solution, I've seen ...
Score .net 3.5 framework.
Louis Sequin - 30 Apr 2007 2:36 AM - 1 message
I cannot install any of the new Orcas Express CTP (Beta 1) editions because they all fail and quit when attempting to install the .net 3.5 framework.  I have the .net frameworks 1.1, 1.1 Hotfix (KB886903), 2.0 and 3.0 installed ...
Score .net 3.5 framework.
Louis Sequin - 30 Apr 2007 2:36 AM - 1 message
I cannot install any of the new Orcas Express CTP (Beta 1) editions because they all fail and quit when attempting to install the .net 3.5 framework.  I have the .net frameworks 1.1, 1.1 Hotfix (KB886903), 2.0 and 3.0 installed ...
Score .net 3.5 framework.
Louis Sequin - 30 Apr 2007 2:36 AM - 1 message
I cannot install any of the new Orcas Express CTP (Beta 1) editions because they all fail and quit when attempting to install the .net 3.5 framework.  I have the .net frameworks 1.1, 1.1 Hotfix (KB886903), 2.0 and 3.0 installed ...
Score .net framwork 3.5
Louis Sequin - 30 Apr 2007 2:29 AM - 1 message
I recently attempted to install VWD and VD editions of Orcas Express CTP. They both failed during the installation of the .net framework 3.5 with no other error message other than stating that they had, in fact, failed because of .net 3.5. ...
Score Interface & Event
hufaunder@yahoo.com - 29 Apr 2007 8:25 PM - 3 messages
I have an interface ITest that includes an event TestStatusChange. There is also a class Test that implements ITest. In one of the functions of Test I want to call the event (see code at the end) but get the following error: ...
Score System.Speech
Arne Garvander - 29 Apr 2007 1:24 PM - 12 messages
How do I add a reference to System.Speech in Visual Studio? ...
Score Any groups created for WPF / WCF ?
Jigar Mehta - 29 Apr 2007 8:05 AM - 5 messages
Hello, is there any specific newsgroups created for WCF or WPF ? I tried searching but could not find.. it would be a good idea if Microsoft can create such newsgroups, will help people developing early applications on these new technologies. Newsgroup on LINQ would also be a good idea.. ! ...
Next »