Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Registry entry for #monitors on PC
Ed White - 22 Jul 2006 9:58 PM - 4 messages
I have three monitors on my desktop, and I just bought a laptop which of course has only one screen.  The software I've written on the desktop takes advantage of the three screens by positioning various output on the left, ...
Score Error in Configuring .Net
skyhawk - 22 Jul 2006 9:14 PM - 3 messages
I am trying to upgrade to .Net 2.0 from 1.1 using Windows XP Pro. When the install gets to the point of 'Configuring Microsoft .Net' it just hangs there and never completes the install. I have tried to uninstall 1.1 but when the ...
Score Where can I get a list of the available fonts?
Nathan Sokalski - 22 Jul 2006 8:50 PM - 3 messages
I need to get a list of the available fonts as some type of collection or array. How can I do this? Thanks. ...
Score .net 1.1 & 2.0 fails to install on W2000
Z - 22 Jul 2006 8:02 PM - 7 messages
Do I need some other program installed on W2000 before I can Install .net framework? ...
Score reuse business methods as DLL in another project??
ashrafnairoukh@yahoo.com - 22 Jul 2006 4:36 PM - 3 messages
Hi all, I Have Core Project [3 tier Presentation-business-Data] include Core functionality, I want to reuse the Core Business functions in another project because the 2 projects using the same database. Lets Say this is the Case: CoreProject:  Presentation->business->Data->DB ...
Score Forms.WebBrowser 404
Softlion - 22 Jul 2006 1:41 PM - 1 message
Is there any way to get the http status code from the webbrowser class provided by the framework 2.0 ? ...
Score Weird error with NumericUpDown
Stephan Zaubzer - 22 Jul 2006 10:02 AM - 1 message
Hi all, I encountered a problem with NumericUpDown yesterday and managed to reproduce the error with a very easy examle. I have a Windows Application with only one Form, which contains only one NumericUpDown control and nothing else. This is the only code I wrote: (everything else was done with the ...
Score Security Permissions with embedded Winforms App
Jeremy - 21 Jul 2006 4:34 PM - 4 messages
I've got a .net 2.0 winforms app that is embedded in an IE page.  When I try to move this to a Windows server 2003 machine with IIS 6 I get a security exception: System.IO.FileLoadException: Could not load file or assembly xxxxxxx.Common, ...
Score ThreadPool queue size
yofnik - 21 Jul 2006 4:32 PM - 4 messages
Hello, Does anyone know if there is a way to check the size of the ThreadPool wait queue should the number of available threads become busy? Thanks ...
Score DataGridViewCheckBoxColumn affected by row height
Brian Tkatch - 21 Jul 2006 3:55 PM - 1 message
We just seemed to notice that settinga DataGridView's RowHeight to less than 18 pixels causes a DataGreidViewCheckBoxColumn's CheckBox not to appear. It isn't a problem, so we expanded the height by the two pixels it still required. But just wondering, can checkboxes be made smaller? ...
Score App.Config Encryption Key
Tanya - 21 Jul 2006 3:10 PM - 1 message
Hi I have encrypted the <connectionstring> section of a App.Config file and I need to find the private encryption key that was used to encrypt it. Can this encryption key be found under C:\Documents and Settings\All Users\Application ...
Score Compiler error
gopal.panda - 21 Jul 2006 1:50 PM - 3 messages
When ever i am trying to complie any program under VS.NET2005 editor i get this error " fatal error CS0014: Required file 'alink.dll' could not be found " , if anyone has the solution do let me know. ...
Score AssemblyLoad event not raised in second AppDomain
Daniel Ellis - 21 Jul 2006 12:43 PM - 4 messages
(This is my first ever post as I have found nothing elsewhere on this) I have been making a test app to help me understand AppDomains and which domains an assembly loads in.  This is really so I can unload dlls by ...
Score System.net.mail
langhera@egaspari.net - 21 Jul 2006 12:24 PM - 2 messages
How can i send a mail message, using System.net.mail, with a recived confirm? (like outlook) Many thank's ...
Score WebDav VBscript logon is not working
Sebastian - 21 Jul 2006 10:16 AM - 1 message
Hello, I am trying to get a connection to our exchange 2003 server. I am using the script from this page: [link] but I am not be able to read any mail from the exchange server yet. ...
Score Imgaes from Icon
Angelina - 21 Jul 2006 9:41 AM - 2 messages
Do any one knows how can we extract all size of icons fron a icon into images int .NET e.g.  a icon may contain three image type 1.16x16, 256 color 2. 24x24, 256 color 3. 32x32, 256 color ...
Score msi .NET dependency
GraemeE - 21 Jul 2006 8:53 AM - 2 messages
Hi, I've created setup and custom installer(C#) projects using VS2003 to package and deploy an application to a device, but some users are reporting that unless they have .NET 1.1 installed, when they open the msi, they get the ...
Score Waiting for incoming data on multiple sockets
Markus Ewald - 21 Jul 2006 8:29 AM - 5 messages
Hi! Using the System.Net.Sockets.Socket class, how am I supposed to wait for incoming data? If, for example, I've got a large number of connections that all need to be monitored for incoming data, do I have to call BeginReceive() for ...
Score System.DirectoryServices
Trevor Lawrence - 21 Jul 2006 6:38 AM - 4 messages
Having connected to a domain object, I want to read the minPwdAge and maxPwdAge properties.  These, however, are of type "Large Integer/Interval" and there doesn't seem to be marsalling support for these.  They come across as System.__ComObject, and I can't do much with that. ...
Score IsolatedStorage problem
Lloyd Dupont - 21 Jul 2006 6:28 AM - 1 message
I'm trying to manually create an Isolated storage which is associated with a particular type. IN a pseudo code like that //========== is.cs =========== using System; using System.IO.IsolatedStorage; // csc /nologo /out:ist.exe is.cs && ist ...
Score Determine culture of string
md_rogers - 21 Jul 2006 3:07 AM - 6 messages
How do I determine the culture/language of a specific string?   Dim s As String = "some text" How do I determine for instance, if s is Arabic text or not? ...
Score Xml Serialization
Roy - 21 Jul 2006 2:50 AM - 2 messages
I have a class derived from System.Collections.CollectionBase. How do I do serialization for it? If two or more instances of class A share an instance of class B in my object hierachy, how do I serialize them so that the instance of class B just ...
Score About SerialPort.Close() with CF232 in Mobile 5
bygone - 21 Jul 2006 2:43 AM - 1 message
I have a problem about IO.SerialPort.Close() with CF232. I open the Port by SerialPort.open() is work. But I can't open the same Port again when I close the Port by SerialPort.close(). And the system will arise a Event -"The Port does not  exist.". ...
Score QUERYING THE DATASET
sharmaajay - 20 Jul 2006 11:58 PM - 1 message
hi all, i want to know whether we can make a dataextract function in global page(global.asax) though a query and.. then for each individual .aspx page can we query tht dataset instead of creating dataset for each page ...
Score QUERYING THE DATASET
sharmaajay - 20 Jul 2006 11:58 PM - 1 message
hi all, i want to know whether we can make a dataextract function in global page(global.asax) though a query and.. then for each individual .aspx page can we query tht dataset instead of creating dataset for each page ...
Score QUERYING THE DATASET
sharmaajay - 20 Jul 2006 11:58 PM - 1 message
hi all, i want to know whether we can make a dataextract function in global page(global.asax) though a query and.. then for each individual .aspx page can we query tht dataset instead of creating dataset for each page ...
Score Assembly reported as built without debug info - that is not true
Juan Dent - 20 Jul 2006 9:50 PM - 4 messages
Hi, I have copied and registered to the GAC an assembly from my main machine to another one. When I try to remotely debug the application that loads that assembly, I get an error that does not make any sense (since I can perfectly ...
Score Strange Socket 10061 Error
Ken Haynes - 20 Jul 2006 8:22 PM - 3 messages
I'm trying to get the motion detector sample code running from Scott Hanselman's "Some Assembly Required" entry here: [link] Very cool stuff, by the way. I'm using Visual C# 2005 Express Edition to build the application.  ...
Score Is it possible to dynamically set DataGrid Column Styles
Guy Thornton - 20 Jul 2006 8:15 PM - 5 messages
Hello everyone, I am really stumped about how to accomplish this and I am looking for suggestions, and opinions on the best way to handle this scenario: I am writing a Questionnaire application in VS 2005, using .NET 2.0. ...
Score Windows 2003 64 bit problem - "Failed to grant mininum permission
David Moore - 20 Jul 2006 6:42 PM - 1 message
We have a 32 bit .NET application with the "Allow unsafe code" checkbox set when we build it in Visual Studio 2005. In our environment, we grant full trust to "My Computer" and "Local Intranet". I can run this app locally on a 32 bit XP or 2003 server box. ...
Score Text File Manipulation
Frank - 20 Jul 2006 4:21 PM - 2 messages
Not Sure if this is the correct category, but here goes. I would like to open up certain text files in a folder. I would then like to change a particular string to something else. Is there a way to update a record while ...
Score Replace registry data with app.config
newscorrespondent - 20 Jul 2006 3:19 PM - 3 messages
Is there an MSDN article that I can't find on replacing the registry calls (Registrykey.GetValue, Registrykey.SetValue) with the calls to get and put the same data in app.config? Thanks Tom ...
Score Error: memory at "0x00000003"
ciccio erisud - 20 Jul 2006 2:29 PM - 4 messages
Hi all, I recived the following error: The instruction at "0x00000003" referenced memory at "0x00000003". The memory could not be "read" Click on OK to terminate the program How can I fix it ? Could you say me somethings ? Thanks in advance. ...
Score problem de-serializing binary data stored in db
Econnolly - 20 Jul 2006 2:24 PM - 5 messages
In .Net Framework 2.0 (VS2005) I'm having problems deserializing binary data that was serialized and stored in a mysql 5.0 longblob field (stored via the mysql data connector datareader object). I have modified the code to try ...
Score HttpListener
StefanT - 20 Jul 2006 1:21 PM - 1 message
Hi guys, I have a http server that is using the HttpListener for http protocol.  After some testing it seems that my server can be a target for DOS attacks. This class is a wrapper of a dll that is used by the IIS as well according ...
Score Generic controls
Romain TAILLANDIER - 20 Jul 2006 9:30 AM - 2 messages
Hi group I have created a generic  control (winform) which is like a ComboBox, displaying a ListView instead of a ListBox, and allow to select a strongly type item. All the items are of the same type, and the ...
Score Reflection questions
Martin Bischoff - 20 Jul 2006 8:28 AM - 7 messages
Hi, if I have two classes, ClassA and ClassB, and ClassA has a member of type ClassB, is it possible from within ClassB to find out that the current instance is a member of ClassA? Example: class ClassA {     private ClassB _myClassB = new ClassB(); ...
Score IAuthenticationModule clarification
mikeL - 20 Jul 2006 12:01 AM - 1 message
Could someone clarify the exact usage of an authentication module. It looks like the httpwegrequest calls various methods on it when the site is asking for authentication. is this correct? ...
Score System.Diagnostic.Process
Guest - 19 Jul 2006 11:11 PM - 2 messages
Does anyone know the best way to interact with a command application using System.Diagnostic.Process if the command application never exits? In other words, The OnOutputRecieved event doesn't fire until the app exists, which is not too helpful because I want to interact with the app ...
Score Script for building/debugging services
Be_Reasonable - 19 Jul 2006 10:41 PM - 1 message
I have found services debugging to be a big pain. One reason is because the play button in VS is worthless for this kind of application. So I wrote this scripts that will execute for an app whose name ends on ...
Score MS Enterprise Library ib VB.NET
Chad - 19 Jul 2006 9:45 PM - 2 messages
Not sure where to post this one to.. Is it only available in C#? Thx ...
Score Enterprise Library and PostgreSQL (Npgsql)
Bradley Plett - 19 Jul 2006 8:59 PM - 6 messages
I have two questions that I hope I'm posting in the right area.  I've posted in the pgFoundry forums as well, in hopes that someone can answer these. I'm using the Npgsql .Net data provider for PostgreSQL ...
Score Different between operator comparision and '.Equals(x)'
Anthony - 19 Jul 2006 8:12 PM - 3 messages
Hi All,    I would like to know what is the differnet between operator comparision and '.Equals(x)' Anthony ...
Score How to create and delete file on PC File Share from Windows Mobile
billyste - 19 Jul 2006 6:38 PM - 2 messages
Has anyone be able to create or delete a file located in a PC File Share folder? I keep getting a "UnauthorizedAccessException". I need to be able to delete the file on the PC after the mobile device grabs a copy of the file. ...
Score EventLog.WriteEntry working in 2.0 but not 1.1.4322
jameskmin - 19 Jul 2006 5:46 PM - 1 message
Everthing is fine when I switch asp.net to 2.0 in IIS. I run a exception error page, it writes the error into the event log, and shows the user a 'friendly' error page. But in 1.1.4322, the error page goes to the 'friendly' error page ...
Score Serialization and parameterized constructor
Stan - 19 Jul 2006 5:46 PM - 2 messages
Although this issue came up in the web service, I believe it is related to serialization in general. This is my web service interface definition: ======== public class HistoryAttribute     {         private int key; ...
Score exposing an object serviced by a window service program to .NET cl
Benny - 19 Jul 2006 5:32 PM - 3 messages
I have a window service in .NET and would like to expose an object (serverobj) for other .NET clients to call.  When the clients connects to serverobj, I need the instance of the object provided by the window service ...
Score Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure t
Walo - 19 Jul 2006 4:00 PM - 3 messages
I searched in the internet and there was no solution that worked for me. The funny thing is, that the same application work fine on a different server. Thanks for every help! Here is the complete Error-Code: Validation of viewstate MAC failed. If this application is hosted by a ...
Score Cannot access a necessary file "msvcr80.dll
Jeffery - 19 Jul 2006 3:52 PM - 3 messages
I have a question.... Several Microsoft.net\Framework .exe files cannot access msvcr80.dll.  I am not sure how to fix that.  I am not sure I even have a msvcr80.dll as I see reading around that 70 was that last one.  Anyway, any help in directing me ...
Score Serialization takes to long. Any suggestions?
E - 19 Jul 2006 3:28 PM - 6 messages
I have binary datafiles that I read and write from a stream that is created through Serialization/DeSerialization.  These data files are very large and it's taking to much time to deserialize the stream.  I have already implemented the SerializationInfo/StreamingContext ...
Score Need architecture suggestion
Steve B. - 19 Jul 2006 3:21 PM - 3 messages
Hi, I'm planning to build a small application that can manage and share favorites as a self learing app. I'd like your inputs to help me correctly design the application. The goal of the app is to help the user to keep its favorite, and share ...
Score Working with a plugin architecture (binary references)
Dan Dorey - 19 Jul 2006 3:17 PM - 2 messages
I'm in the midst of creating a plugin framework with the goal of making it as easy as possible for myself and other developers to both create new plugins and work with existing ones. Each plugin has a seperate sub-dir for each plugin with all external ...
Score Crystal report viewer hanging up for large reports
starter - 19 Jul 2006 2:52 PM - 1 message
Hi all, I have a main form where user is allowed to choose the report for the viewer.Then I send this file name to the child form where i open it in the crystal report viewer. This is the problem...if the report is too big, the screen gets locked ...
Score Active Requestor Profile using ADFS
KIM - 19 Jul 2006 2:44 PM - 1 message
Hi there, we are wondering, if it is possible to use the existing capabilities and infrastructure of ADFS to implement Active Requestor Profile. We know, currently ADFS only support Passive Requestor Profile. We have tried to use the ADFS Web service "FederationServerService" to get securtiy token, ...
Score DeclaringType vs. ReflectedType
Sathyaish - 19 Jul 2006 2:38 PM - 5 messages
The documentation says: System.Type.DeclaringType ~~~~~~~~~~~~~~~~~~~~~~~~~~ public override System.Type DeclaringType [  get]     Member of System.Type Summary: Gets the class that declares this member. System.Type.ReflectedType ~~~~~~~~~~~~~~~~~~~~~~~~~~ public override System.Type ReflectedType [  get]     Member of System.Type ...
Score Rebuilding dll without any changes and binary differences
Peri - 19 Jul 2006 11:28 AM - 4 messages
I build dll and change it's name. Than I build it again without any changes (neither in code nor dll  version). Than I run binary compare on this two dll's and they differ. Why? ...
Score Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure t
Walo - 19 Jul 2006 11:24 AM - 1 message
Nach stundenlangen, leider erfolglosen recherchen im Internet hoffe ich auf diesem Weg auf eine Lösung unseres Problems. Interessant finde ich, dass dieselbe Lösung auf einem anderen Server läuft! Wer weiss rat? Dies ist die komplette Fehlermeldung: ...
Score ISO 3166 numeric code
Steve Wilkinson - 19 Jul 2006 10:54 AM - 3 messages
Using RegionInfo its possible to get the 3 letter ISO currency code, however I cannot find any method to obtain the 3 digit ISO currency code. For example: GBP (3 letter ISO currency code)  = 826 (3 digit ISO currency code) ...
Score All new updates and new exams at testking.co.uk with money back guarantee
Moderator - 19 Jul 2006 8:54 AM - 1 message
All new updates and new exams at testking.co.uk with money back guarantee ...
Score how to get instance id of runtime objects in .NET?
lyubomirskiy - 19 Jul 2006 6:52 AM - 4 messages
Hi, I was wondering if it is possible to obtain instance id of any random instantiated object during execution of a C# program. I am guessing that System.Runtime namespace might be used for this, but I have no clue as to the specifics. I cannot just insert the id field into the ...
Score Events in C#
pSm - 19 Jul 2006 5:21 AM - 10 messages
When I override the 'add' and 'remove' methods for an event, why can't I invoke it ? The sample code is provided below - I have two events - 'my' and 'ev' - while invoking, my() works but ev() does not ! The compiler complains ...
Score FormView chils control
Geek - 19 Jul 2006 2:50 AM - 1 message
Guys, I need help with the FormView control. I have read alot of posts about retrieval of data from child control but I am failing. for some reason. I am trying to get the data so I can use the FormView to eit the data ...
Score Datagrid caption missing?
billmiami2 - 19 Jul 2006 1:07 AM - 4 messages
I can't compile an existing ASP.NET project on one of my machines because of the following error: "System.Web.UI.WebControls.DataGrid does not contain a definition for Caption" It compiles fine on another machine.  The documentation shows that ...
Score tools...
Ginny - 18 Jul 2006 5:39 PM - 3 messages
are there any good tools that can show us the loading time of an application, etc?? in case when we use jit or ngen.exe?? ...
Score type safe...
Ginny - 18 Jul 2006 5:34 PM - 2 messages
hi, what exactly is code being type safe?? the documentation says... ------------------------------ As part of compiling MSIL to native code, code must pass a verification process unless an administrator has established a security policy that allows code to bypass verification. Verification examines MSIL and metadata ...
Score econo jit
Ginny - 18 Jul 2006 5:28 PM - 2 messages
there are three types of jit?? can anyone elaborate on that?? what is econo jit? is there an option of compiling our code using econo jit?? is it available now?? how can we use it ?? ...
Score How to move process from one desktop to another?
ESmith - 18 Jul 2006 5:25 PM - 1 message
I'm able to create a new desktop, but how can I move a previously created application from it's current desktop (default) to "My" desktop? I know how to create new processes in the desktop, but I'm looking for ...
Score Prob: New Programs Use Older Framework
Phil Galey - 18 Jul 2006 4:26 PM - 2 messages
I'm developing in VB.NET on Windows 2000 Professional.  I have two versions of.Net Framework installed: 1.03.3705 and 1.1 The software I create, when it is installed onto a target machine, it wants to run the older version of the framework, not the newer version.  It also ...
Score Unit Testing a Membership Provider Implementation...
Geoff - 18 Jul 2006 3:54 PM - 1 message
I recently developed a membership provider and wondered how to unit test it with NUnit. I came up with this simple solution. I do not try to update config files at runtime and thus I have only used this for reading settings ...
Score SerialPort component problem while ReadLine()
korayk - 18 Jul 2006 2:20 PM - 3 messages
i am trying to use this SerialPort component of .NET 2.0 framework in a very simple windows application and i am getting following exceptions: A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in System.dll A first chance exception of type 'System.IO.IOException' occurred in ...
Score I set my Web application in offline mode ,but I still can not reopen this application without active
msvs - 18 Jul 2006 11:33 AM - 5 messages
Could anyone know how to make a web application been manipulated in offline mode without active network link ? Does offline web project is really work while I want to work on my web project when not connecting to web server ? ...
Score log4net - Unable to find the specified file (RollingFileAppender)
mablao - 18 Jul 2006 11:32 AM - 1 message
Hi, After a long time processing, the log4net fail on writing the log file. Here it is the error: Exception Information System.IO.FileNotFoundException: Unable to find the specified file.    at System.IO.__Error.WinIOError(Int32 errorCode, String str) ...
Score Framework version question
Murray jack - 18 Jul 2006 10:58 AM - 2 messages
Apollogies if this is in the wrong group I am looking for a way to compile an assembly in VS2005 under framework 2 and then force it to run under framework 1.1 - is this possible? I have created a simple console application which returns me the framework ...
Score Windows control in .ASPX page
Karthikeyan.T.S - 18 Jul 2006 10:13 AM - 2 messages
I have an .ASPX page in which a DLL (WindowsControlLibrary) has been embedded through the <OBJECT> tag. I am able to get the control visually by calling it in the JavaScript.But I am unable to access the Public property/methods from ...
Score Windows service timeout
oscar.acostamontesde@googlemail.com - 18 Jul 2006 9:49 AM - 6 messages
Hello everybody. I'm currently developing a windows service. In OnStart a launch two threads that carry on some work while the service is running. My problem comes from the fact that once the service is installed, it just time out at system startup and don't start. But i'm ...
Score a_System.Security.SecurityExcept=ADion_trying_to_consume_.net_event_in_JScript_code
Lambuz - 18 Jul 2006 6:18 AM - 1 message
Hi all, I've got this problem. I've to implemente a solution like the example in [link], but I can't configure correctly the example. Every time I click on the textBox a System.Security.SecurityException ...
Score "admin console" in CCF troubleshooting
mdawood@alscorp.com - 18 Jul 2006 5:53 AM - 1 message
"admin console" in CCF troubleshooting   when I try to explore (Groups,Roles and Application mapping) error message box shown contain " unable to retrieve the requested information" please tell me why and sent reply to may mail please mdaw***@alscorp.com ...
Score Installing .net with sql server 2005
Bis - 18 Jul 2006 12:25 AM - 2 messages
Hi Guys, I am very poor in installation.. I was trying to install dotnet framework (the latest edition) in to my computer. In order to study , I have two computers at my home. One windowsXP( lets call Computer1) and one Windows 2003 server(Computer 2) . My ...
Score DateTime.Now.ToString("t") not printing what I expect
Eric Renken - 17 Jul 2006 11:29 PM - 10 messages
In my code I want to just display the time so I use the text formater "t" to display the short time format. I have my computer setup to display time in 24 hour format; however this still displays time as "7:14 PM", and I would expect it to display "19:14". ...
Score Deploy multiple .Net web services?
Fan - 17 Jul 2006 5:46 PM - 2 messages
Dear all, Now I am experiencing problems in deploying .Net web services to production servers.  We have multiple web services which share some of the common libraries (.Net assemblies and .Net COM objects).  These common assemblies are put in "Common" directory. The structure looks ...
Score Assembly.Load from byte[]
buttslapper - 17 Jul 2006 5:16 PM - 3 messages
Hi, Is it possible to load an assembly from a byte[] and make the framework use this assembly instead of trying to locate them on disk.. Example : My projet has a reference to the ESI.Framework assembly. Assembly.Load(EmbeddedData.ESI.Framework); ...
Score Sending mail to exchange users using partial mail name
The Man From SQL - 17 Jul 2006 3:57 PM - 3 messages
I'm hoping there's an elegant solution to this problem. I have a 1.1 desktop application with a custom security table that authenticates and authorizes users based on Windows login.  Recently I found the need to be able to send these users an email at certain points, and the ...
Score assembly merging
Martin - 17 Jul 2006 3:46 PM - 2 messages
hello, today I read an article about the tool smartassembly. with that tool you are able to merge assemblies. do you know the theory how to merge assemblies? thx ...
Score Removing an email attachment file
Kevin Burton - 17 Jul 2006 2:32 PM - 1 message
I have a temporary file that is an attachment to an email message. If I try to delete it I get an exception indicating that the file is in use. It is probably the email system the is using the file. My question is, is there ...
Score ToFileTime vs ToFileTimeUtc issues
philibertperusse - 17 Jul 2006 2:28 PM - 2 messages
I have stumble on problems with ToFileTime and ToFileTimeUtc.... No matter what I try, I always get the same value out of both of them! You can see that below: Anyone has an idea why the following code:     class Program ...
Score Sort
Milos - 17 Jul 2006 1:17 PM - 3 messages
would like to sort some objects (have some properties like ObjectName, ValidFrom, ValidTo, Code,..) I would like sort this items via specific order, for example: I have a collection of object with Code N, V, C, S, Ts, Tv, B and need o ...
Score Serialization of the class with parameterized constructor
Stan - 17 Jul 2006 1:13 PM - 1 message
Although this issue came up in the web service, I believe it is related to serialization in general. This is my web service interface definition: ======== public class HistoryAttribute     {         private int key; ...
Score Framework versions
Malek - 17 Jul 2006 11:09 AM - 4 messages
Hi, my applications are running on the old framework 1.0.2914. Now I need the new framework: Must I update the framework or can I install and run both of them? Does the old application run in the new framework? ...
Score Bug in C# compiler
Vivek Thakur - 17 Jul 2006 10:15 AM - 13 messages
Hi, I think there is a bug in VS 2003 as well as VS 2005 C# compiler. Let me explain: I have created 3 projects in my solution: ClassLibrary1, ClassLibrary2 and ClassLibrary3. Now each of these libraries has a single public class in it (classes r named ...
Score Listview BackColor Problem
Pavel - 17 Jul 2006 9:53 AM - 1 message
Hi, This problem occurred when moving from .NET Framework 1.1 to .NET Framework 2.0, and it seems to happen on Windows XP only. I have a client application which contains a dynamically updating ListView, each ListViewItem has it's BackColor set to a color based on ...
Score Query on the SMTPClient class
james - 17 Jul 2006 9:07 AM - 3 messages
Hi, Does anyone know if it is possible to connect to an SMTP server without actually sending a mail (specifically to retrieve the mail server "welcome" response)? I am looking to basically pick up the same as you would see if you did a ...
Score "admin console" in CCF troubleshoot
mdawood@alscorp.com - 17 Jul 2006 8:17 AM - 1 message
when I try to explore (Groups,Roles and Application mapping) error message box shown contain " unable to retrieve the requested information" please tell me why and sent reply to may mail please ...
Score Redistributing .Net 2.0 framework
Matthew Copeland - 16 Jul 2006 9:06 PM - 4 messages
Hi, I am thinking about writing an app in C# 2.0 and starting to look into distribution strategies. Is it possible to distribute a setup program (VS, Installshield, Wise, etc.) which dynamically determines if the 2.0 runtime is installed, and ...
Score Button in DataViewGrid not displaying text... bug?
Raeldor - 16 Jul 2006 8:17 PM - 2 messages
Hi, I have an unbound button in a dataview grid control, and it's not displaying the text on the button correctly.  I set both the Text and the UseColumnTextForButtonValue properties, but the button is blank.  I also used ...
Score Activator.GetObject Method (Type, String)
newscorrespondent - 16 Jul 2006 6:52 PM - 6 messages
This method does not fail if the site is not running! Is there a way to check the proxy for failure? Thanks Tom ...
Score What is the type notation for configuration files?
anonieko - 16 Jul 2006 4:45 PM - 1 message
Once and for all, this elusive notation is clarified in these links. The Notation: <add name="ModuleName"      type=".NET Class, Assembly [,Version=version number]            [,Culture=culture] [,PublicKeyToken=token]"/> ...
Score Runtime exception using FileSystemWatcher - reproducible code included
lee - 16 Jul 2006 3:00 PM - 1 message
I've been using the FileSystemWatcher in Framework 1.1 and 2.0.  I use it to listen to the whole hard drive sometimes, so that I can maintain a total of each directory size for quota features.   Ussually it works ...
Score Singleton
Sathyaish - 16 Jul 2006 1:33 PM - 4 messages
OK, shame on me, I can't even do a singleton properly. I have implemented this a thousand dozen times, but I guess I've now been awake too long. Here's the relevant snippet. When I compile, it rightly points out that ...
Score .Net 2.0 - WebBrowser control embedded in IE causes problems
L. Chernov - 16 Jul 2006 1:02 PM - 2 messages
Hello, I am trying to work with .Net 2005 WebBrowser object, and put it on a "Windows control library" (embedded in a user control class) and then I am executing it from an ASP.Net webform(with IE6) with the following object ...
Score regsvcs no longer works in .NET 2: "You must have administrative credentials to perform this task"
Meron Lavie - 16 Jul 2006 12:57 PM - 2 messages
I have written an application in .NET 2 (I also have .NET 1 installed). Until a few days ago, I could use regsvcs without any problem in order to installed my serviced assemblies in COM+. All of a sudden, when I tried it ...
Next »