Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score compile-time error generating custom attributes
Picho - 24 Jun 2006 10:34 PM - 5 messages
hi all, can I create my own compile-time attributes? e.g. an attribute applied to a method and that will generate a compile time error if the method has the wrong signature? I was hinted twords 'Intellisense API' but cant seem to find it at all... ...
Score Is this possible?!?!?!?
S Reichard - 24 Jun 2006 8:18 PM - 4 messages
Here is my issue...  I am working on creating a website [link] The new site is in progress [link] The first website uses flash right now on the page marked "The Wall".  I ...
Score What is reflection?
idletask - 24 Jun 2006 7:25 PM - 3 messages
Can someone tell me what Reflection is? Specifically, what's the System.Reflection class for?  I know that seems like a silly question to some people here... The reason is that I use a function that prints a printdoc object ...
Score VisualStudio 2000 to use .Net Framework 1.1
Waldemar - 24 Jun 2006 6:41 PM - 2 messages
I am using VisualStudio 2000 which uses .Net Framework 1.0 How can I make it to use .Net Framework 1.1? Thank you, Waldemar ...
Score storing dataset
gyoder - 24 Jun 2006 12:25 PM - 9 messages
what is the prefered method of storing a dataset to a non-database file. perhaps a binary file? thanks ...
Score Export .Net Report to Microsoft Power Point
Goh - 24 Jun 2006 11:01 AM - 3 messages
Hi,     As I know Crystal Report Viewer allow export to pdf, word,excel. But now I'm searching the way to export my report to Microsoft Power Point. Do you guy know how to done that?     Any suggestion on how to done this? Does any Microsoft component is ...
Score AccessViolationException at Xsl Transform
Anton - 24 Jun 2006 8:59 AM - 6 messages
Hi, I'm getting the following exception when doing a XSL Transform: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.     at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) ...
Score Response.Redirect not being called after sending an email
Nathan Sokalski - 23 Jun 2006 11:16 PM - 3 messages
The last two lines of code in the Click event of a Button Control on my page are: Me.WelcomeEmail() Response.Redirect("mainmenu.aspx") The last line of code in Me.WelcomeEmail() is: Mail.SmtpMail.Send(mailmsg) When the Click event is triggered, all of the code in Me.WelcomeEmail() is ...
Score Application settings in visual studio 2005
ryan.ness - 23 Jun 2006 10:36 PM - 2 messages
Hopefully I will explain this clearly... I have some old dlls written in vb.net (2003).  I want to reference one of these in a visual studio .net 2005 project. So I can make the reference, but I'm having problems getting the old ...
Score Framework V2 hangs on W2k SP4 server
Bob - 23 Jun 2006 8:23 PM - 1 message
Please see the attached file, its been hung on that screen with no movement now for about thirty minutes. I am wary of stopping the application with the task manager. What should I do that will not destroy that machine? ...
Score SerialPort on a Thread
George Nentidis - 23 Jun 2006 6:17 PM - 4 messages
Hi there all. I have a problem with SerialPort that can't seem to find a solution for a couple of days now. I use the SerialPort to send AT commands to a modem. Simple AT commands like ATE1, ATQ0 etc. and simple call. ...
Score Can I run a .net 1.1 application on .net 2.0
Seshagiri - 23 Jun 2006 5:39 PM - 4 messages
If a target machine has ONLY .net 2.0 installed on it, can my application (compiled on .net 1.1) run without any problems? ...
Score Loops and textboxes
steven scaife - 23 Jun 2006 4:21 PM - 2 messages
I have created a class that inherits from the dictionary base, and i have 10 text boxes on my form, these are labelled txtPrice0 to txtPrice9.  I have populated my class with values from a database.  I want to be able to get the ...
Score IComparer (or the IComparable methods it relies upon) did not retu
Darragh Jones - 23 Jun 2006 3:55 PM - 8 messages
I'm trying to figure out why I'm getting the following error message when trying to radomly sort a list of custom objects. In particular I've noticed the following strange behaviour I'm hoping someone could shed some light ...
Score IDisposable
Jimmy Palanca - 23 Jun 2006 3:52 PM - 1 message
Is there a quick way to get a list of all classes in .Net Framework 1.1 that implement IDisposable? ...
Score Possible to target application to multiple frameworks?
Joseph Geretz - 23 Jun 2006 2:20 PM - 2 messages
I am contracting a solution out to be developed in C#. Besides for the application features themselves, we have two goals for the *distribution* of this software. 1. It should be easily 'installable'. Simply dropping the software onto the box should be all that is necessary. My impression is that .NET accommodates ...
Score Changing font on Pushbutton control
Blasting Cap - 23 Jun 2006 1:41 PM - 2 messages
I am having trouble changing the font for a PushButton control in a datagrid button column. I have seen several posts refer to styles and simple changes to the HTML for font changes but most of those referred to a LinkButton type of control. But in cases where someone is using the ...
Score find out whether there already is an object of the same derived type in a generic collection
Fabian - 23 Jun 2006 1:36 PM - 2 messages
Hello, I have a class hierarchy of "Task Activity" classes for a machine control system. To manage the activities I have a dictionary class, derived from Dictionary<string, TaskActivity>. I have to check whether this dictionary (already) contains a ...
Score xmlserializers.dll
lee atkinson - 23 Jun 2006 11:19 AM - 1 message
Hi I have a .NET 2.0 web application project that provides a webservice and also consumes a webservice. I have just noticed that ..xmlserializers.dll file is now being created automatically. I understand that this is created by the sgen.exe for ...
Score How to get DateTime format settings from Control Panel
Egil Winther - 23 Jun 2006 7:45 AM - 4 messages
Hi everyone, I'm having difficulties retrieving datetime formats that has been customized in the control pane. I can get the cultureinfo, but I get same settings regardless of what i do in the control panel. Any ideas? Brgds Egil Winther ...
Score Re: How to execute code when a DLL loads?
andrew.miadowicz - 23 Jun 2006 6:42 AM - 1 message
Mattias, The "registration" I'm referring to is really just the process of letting this particular third party control designer know that my editors are available for it to use.  This registration is not persisted anywhere outside of the Visual Studio designer memory.  In ...
Score Database Connection
Repton Walker - 23 Jun 2006 3:18 AM - 5 messages
Hi, Is there any way to connect to a Lotus Notes Database using Visual Studio 2005 Thanks in advance Repton ...
Score Settings & TypeConverter & Serialization
rob - 23 Jun 2006 2:38 AM - 1 message
In the setting editor I want to add a setting that has a custom type. Do I need to provide a type converter for this custom type or can this somehow be done through serialization. If so how? Thanks ...
Score System ShutDown..
VJ - 22 Jun 2006 8:57 PM - 4 messages
Our application writes pretty large XML files to local file store.. I would say anywhere between 3-5MB of data at time.. but nothing more...The DataSet.WriteXML() method in the framework, corrupts the files when System is shutting down. What I mean here is the file does not get flushed ...
Score Cache Classes for Non-ASP.NET Apps??
Jason Harmon - 22 Jun 2006 5:20 PM - 4 messages
Does anyone know of a class (third party or otherwise) that implements caching functionality similar to the "System.Web.Caching.Cache" class for ASP.NET, but which can be used by non-ASP.NET apps (in my case a Windows ...
Score System.Net.Mail
GastonFouche - 22 Jun 2006 3:45 PM - 9 messages
We are converting some applications from Frwk 1.1 to 2.0 We have changed System.web.mail to System.net.mail.. (using the samples provider by msdn site to send mail (quite easy, its almost the same) one curious Issue has arisen in out testing... The Email is not actually ...
Score Deployment and MDAC Problems
ian - 22 Jun 2006 3:40 PM - 1 message
My program has been successfully installed on many PC's but I tried to download and run it on one today and got the following error. "The .Net Framework requires Microsfto Data Access Components(MDAC) version 2.6 or later. Version 2.50.4403.1 was found currenlty ...
Score GZipStream decompression not working
7elephants - 22 Jun 2006 2:28 PM - 7 messages
I have written a class to do compression/decompression using System.IO.Compression.GZipStream.  The compression seems to work fine, but when I try and decompress a compressed string, nothing is returned in the buffer...To do the processing, I pass the GZipStream as input ...
Score Register OCX from IE hosted winform
VTec - 22 Jun 2006 1:46 PM - 1 message
I'm using the DSOFramer OCX in a winform hosted in Internet Explorer. The OCX has to be registered using regsvr32 before it can be used on the client. We don't want to go to every client PC to manually register the ...
Score How to: Launch A Console Appplication in Hidden Mode?
ESmith - 22 Jun 2006 1:17 PM - 4 messages
I want to create a small console application that essentially gets some information and then launches a Windows Application.  What I want to do is have the console application launched in hidden mode - I know how to do this ...
Score Conversion PPC Project from 2003 to 2005
harshal - 22 Jun 2006 11:39 AM - 1 message
hello all, I am having a problem in converting a pocket pc smart device project from MS VS.NET 2003 to MS.VS.NET 2005. Before coversion, on the computer which is having the project ready, I have MS VS.NET 2003 and ...
Score jump into code when exception occur during debug (in Try..)?
mtczx232 - 22 Jun 2006 11:22 AM - 3 messages
VS2005 - VB when we have code in try block, when exception occur during debug. the debuger not jump into the code, before run the catch block. this behavior make debugging difficult. I not sure, but i remember another experience (maybe with VS2003) that ...
Score Re
HareHaran - 22 Jun 2006 10:30 AM - 1 message
how to import rendering namespace when using sqlserver reporting services 2005 or explain how to pass parameter from an webapplication to reportserver thru report viewer control ...
Score open url in a new browser window from c# and setting a cookie
Atem - 22 Jun 2006 10:30 AM - 1 message
Hi, i want to show an url from my c# application by starting a new browser window. I found several examples which starts a new browser process by using System.Diagnostics.Process. The url i am opening needs a cookie to be send. I can't set a cookie by ...
Score remoting problem with framework 2.0
Juergen - 22 Jun 2006 9:35 AM - 1 message
I've a remoting server and client: the client calls a method at the server:     public class ExceptionClass : MarshalByRefObject     {         public void CreateException ()         { ...
Score How to share the socket between .net framework 1.1 and unmanaged code
Ray Lau - 22 Jun 2006 9:15 AM - 4 messages
Dear all, How to share the socket between .net framework 1.1 and unmanaged code? Best regards, Ray ...
Score profiler callback on delegate classes
Dov Tendler - 22 Jun 2006 6:08 AM - 2 messages
Hello, Is there a way to get from the CLR ICorProfilerCallback::JITCompilationStarted() on delegate class methods - Invoke(), BeginInvoke(), EndInvoke()? I need it for instrumentation techniques. I saw that these methods have runtime attribute. Does it mean that the CLR generates this code dynamically during runtime and hence the ...
Score MSI installed ClickOnce Application
Ryan - 22 Jun 2006 3:47 AM - 1 message
Is it possible to use the features of an MSI file to deploy the files to the client machine and then have it use the update features of ClickOnce Deployment to keep the application updated? ...
Score C# - Installing a Service using the Setup Projectts
nwmotogeek@gmail.com - 22 Jun 2006 2:30 AM - 2 messages
I am attempting to install a service application that I written using the Setup Project.  I have added an Installer to my service project by right clicking on the design view of my service...much like all the web ...
Score Binary writer spurious IOException issue
Mike - 21 Jun 2006 8:19 PM - 2 messages
Greetings, I have done some reading on the groups and understand that maybe there are intermitent issues reading from and writing to files from the .NET framework? In particular, receiving spurious IOExceptions. In our case, we receive them utilizing "BinaryWriter(new FileStream())". Can anyone ...
Score Problem with EventHandlers
matt.grande - 21 Jun 2006 7:22 PM - 2 messages
Please, I REALLY need help with this one.  I've been banging my head about it for three days now. Here's the situation. I have a form that runs some queries and functions and such.  When all ...
Score How to execute code when a DLL loads?
andrew.miadowicz - 21 Jun 2006 6:25 PM - 1 message
I need to run some code when my dll is loaded (specifically when the Visual Studio designer loads my dll).  I know about static constructors and I've tried to place the code in there, but the problem is these ...
Score fast file count method?
Rob R. Ainscough - 21 Jun 2006 4:24 PM - 6 messages
Is there some way to determine file count on a drive?  I know I can use System.IO.DriveInfo and My.Computer.FileSystem.GetFiles to obtain a file count, but this approach is pretty slow -- is there a faster more efficient ...
Score String.IndexOf(string, int, int) bug? help!
Qun - 21 Jun 2006 3:19 PM - 2 messages
Hi all. this is in .net 2.0, c# //code string d = "dddd????"; int i = d.IndexOf('?', 0, 3); // return -1, why??? // end Thanks ...
Score Datagrid right to left behaviour of cells only works when a cell has the focus
Greg - 21 Jun 2006 3:07 PM - 1 message
When a datagrids RightToLeft property is set to true, as expected, it right aligns the caption text, and reverses the order of the columns. When typing text into a cell, the text is right aligned. However, when a cell loses focus, the cell's alignment returns to left aligned. ...
Score Datagrid right to left behaviour of cells only works when a cell has the focus
Greg - 21 Jun 2006 3:07 PM - 1 message
Datagrid right to left behaviour of cells only works when a cell has the focus When a datagrids RightToLeft property is set to true, as expected, it right aligns the caption text, and reverses the order of the columns. When typing text into a cell, the text is right aligned. However, when ...
Score Xml serializer and nullable types
Per Millard - 21 Jun 2006 2:26 PM - 1 message
Using nullable types with the XmlSerializer doesn't seem to work properly when deserialing an object containing a propertynameSpecified for the nullable type. The propertynameSpecified flag simply doesn't get set by the deserializer if the nullable type property contains a value. Can anybody explain this ? ...
Score Coding Style
Arne Garvander - 21 Jun 2006 2:15 PM - 8 messages
Is there a software that will scan my code for proper style? I have seen that software, but I forgot what it is called. ...
Score UDP Comms and Connection Reset Problem
Jonas Hei - 21 Jun 2006 1:43 PM - 5 messages
Our application does UDP communications using the Socket class in System.Net.Sockets. The Socket.EndReceiveFrom() often throws a SocketException (ErrorCode: 10054, WSAECONNRESET, "An existing connection was forcibly closed by the remote host"). This seems to be a common problem affecting a lot of people and it ...
Score Listview flickering and performance
James - 21 Jun 2006 12:45 PM - 2 messages
Hi all,    I have made a derived Listview which can accept the controls as items in it. Controls that we are using are  Buttons in each row and implemented Grouping with the help of controls(label on panel) . Coz ...
Score When is Debug.Assert pertinent to use ?
Steve B. - 21 Jun 2006 12:42 PM - 5 messages
Hi, I'm wondering when does Debug.Assert is pertinent to use. For the moment, I think it is used to ensure something is true, as it is supposed to be always true. For example, I query a DB to get the only one customer's detail rows. ...
Score Problem of refresh with PerformanceCounter and failover.
Lionel Schiepers - 21 Jun 2006 11:36 AM - 2 messages
We have a multithreaded service written in .NET 2.0 that is running 24h/24. This service checks nearly 250 another servers to log statisticals data acquired via WMI, SNMP, PerformanceCounter... We use XOsoft for the fail over of our SQL Server databases (active, passive ...
Score Why force a connection string scope to be application?
Steven Bolard - 21 Jun 2006 10:52 AM - 9 messages
Hello, Im using VS2005. Microsoft have got some great support for application settings and the changes to system.configuration and associated support mechansims seems to be pretty damn good. What i dont get is why they stupidly force all VS application setting ...
Score Font representation
Andrey Dzizenko - 21 Jun 2006 9:36 AM - 6 messages
Hi all! Is there any method to draw text (using Graphics) that looks like in MS  Word? It has another parameters like spacing or char width. There's an idea that it's caused by differences of GDI and GDI+. But what  ...
Score REGASM - 5.0 File Format Instead of REGEDIT4?
matt.skibbs - 20 Jun 2006 11:15 PM - 1 message
Is there any way to export a .REG file, using REGASM, in 5.0 format instead of REGEDIT4 format? I am using an installer suite that requires the 5.0 format to import a ..REG file. Thanks! ...
Score Xml serialization
sb - 20 Jun 2006 10:09 PM - 1 message
I have a class with a large number of public properties.  Each property has a DefaultValue associated with it...so that the user can interact with it using a PropertyGrid control and also reset the individual values via a ...
Score Newbie needs help
PhillipLad - 20 Jun 2006 7:44 PM - 3 messages
Hello, I am using Visual Studio .NET 2002, but I want to be able to use some of the features in the .NET 2.0 framework like System.Collections.Generic.  I updated my computer to the 2.0 framework, but in Visual Studio .NET, I am ...
Score Click Once Deployment - Not using a setup only using updates
Ryan - 20 Jun 2006 7:11 PM - 1 message
Hello,   I'm new to Click Once like most people.  Currently we are using an MSI file to deploy the application.  I've done some test projects on Click Once Deployment, and can get it working, but can't force it to not re-install once ...
Score How to kill a thread blocked on an interop call?
Christopher Carnahan - 20 Jun 2006 6:02 PM - 3 messages
I need to figure out how to terminate a thread while it is blocked trying to create a COM object via interop. In a worker thread, I do something like this:     Type t = null;     Object activatedObject = null; ...
Score firing a dts package's execution
someone - 20 Jun 2006 4:58 PM - 4 messages
Hi all,    I am using Sql Server 2000. I need to create a very simple app which when clicked would fire the execution of a dts package on the sql server. The app itself would sit on the client machine. Is this possible? If so, how? ...
Score GC and dispose
Petros Amiridis - 20 Jun 2006 4:52 PM - 18 messages
Hi, When I create an instance of one of my classes inside a method, does it make a difference if I call its Dispose method? public class Foo : IDisposable {   public Foo   {   }   public Foo anotherFoo = null;   public void Dispose() ...
Score GAC problem -- can't remove an assembly
Schemer - 20 Jun 2006 4:27 PM - 7 messages
Hello, gacutil -l shows this entry: Digger.Backhoe.dll,Version=1.0.0.75,Culture=neutral,PublicKeyToken=1111111111111111 When I try to remove it, I get an error: C:\...\Dev]gacutil -uf Digger.Backhoe.dll,Version=1.0.0.75,Culture=neutral,PublicKeyToken=1111111111111111 ...
Score Why are assemblies loading from the GAC?
Schemer - 20 Jun 2006 4:25 PM - 8 messages
Hello, I'm building a project in VisStudio 2005.  I have .Net component that put several assemblies in the GAC.  However, I want to test local versions of those assemblies.  In my VisStudio2005 project I explicitly reference the ...
Score EventLog.Exists() method fails
mail - 20 Jun 2006 3:44 PM - 1 message
I'm writing a component to log messages to the event log of windows but I found something strange. When I use the method EventLog.Exists() to check if there's a event log with the specified name, sometimes the ...
Score Access Console Application from Managed Code
Will Asrari - 20 Jun 2006 3:33 PM - 4 messages
I am working on a project now for a client that requires all managed code. I have rewritten about 60% of the code and functionality in C# and have now come to the complicated part of picking apart the existing stored procedure ...
Score VB 2005 Splash Screen Exception
pbishop@hotmail.com - 20 Jun 2006 3:30 PM - 4 messages
Hi, I'm running VB 2005 express on Windows 2000, SP 4.  I have added a splash screen to my project, which was running error-free until then. The first time I run it each time I open the IDE, the splash screen ...
Score The location of the file or directory xxx is not trusted
paul - 20 Jun 2006 2:07 PM - 1 message
When running unit tests i get a return code of Abort and an error message of: Failed to Queue Test Run xxx: Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory 'W:\assemblies\xxx' is not trusted. ...
Score FileSystemWatcher in a Class Lib
Cliff - 20 Jun 2006 1:55 PM - 1 message
I'm having a problem getting events out of the FileSystemWatcher Class I can get the following Code to work if its on a Form, however I'm writing a class library and when this code exists in the Class Lib DLL ...
Score Sending/Receiving XML document to/from MSMQ
basulasz - 20 Jun 2006 1:41 PM - 1 message
I add an XML file as an MSMQ Message to MSMQ with the code XmlDocument myXml = new XmlDocument();             myXml.Load("C:\\Emp.xml");             MessageQueueTransaction mqTrans = new MessageQueueTransaction(); ...
Score Html Rendering in Winforms
ramesh - 20 Jun 2006 10:55 AM - 3 messages
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into windows form, but it should not be dependent on IE or mshtml. I didn't get such kind of ...
Score Different Permissions For Forms Control in Internet Explorer Applied
Markus Kling - 20 Jun 2006 9:27 AM - 16 messages
Hi, I have a Windows Forms Control running within the Internet Explorer. The application is able to download files from a remote store via drag and drop to the local filesystem. Some details: - The files are selected from a ListView ...
Score Refactoring code snippet
Steve B. - 20 Jun 2006 9:25 AM - 3 messages
Hello, I've two questions about refactoring code snippets : 1. Can I add my own code snippet in the context menu (under Refactor menu) ? 2. Where can I find good tutorials ? I especially want to create a refactoring code snippet (however I'm not sure ...
Score Drag N' Drop file from Explorer to IE/Firefox
Søren M. Olesen - 20 Jun 2006 8:18 AM - 1 message
Hi I'm looking for at component/script which will let me Drag N' Drop a file from Windows Explorer to IE, and put the filename/path of the file into a textbox no upload or so. The component must work on both Windows/Mac and IE/FireFox.... ...
Score Multiplatform & Interop
Lloyd Dupont - 20 Jun 2006 2:12 AM - 11 messages
If I write a pure C# application, only using the standart publi API, no interop, the same binary should work well on32 bit, 64 bits and perhaps on the compact framework as well if I link against it. Now how could I achieve the same thing if I do interop and I have a managed ...
Score Accessing nested Win32/CIM Classes, using System.Management namesp
Alex - 20 Jun 2006 1:52 AM - 1 message
This is a general question, but one that I have encountered in many different projects. When trying to access a nested class using the ManagementBaseObject.GetPropertyValue("PropertyName") method my programs always throw exceptions. I have also tried using the Indexer ...
Score IsolatedStorage & Windows Impersonation
ElianaS - 19 Jun 2006 11:56 PM - 1 message
It doesn't seem that IsolatedStorage works when using Impersonatino. Here's what I tried: Psuedo Code: In main() {    Verify License();    if ( LimitedUserRights Enviroment)    {       ImpersonateAccountWithSufficientRightsToRun();    }    Write out "SystemUnDo" Information to restore on exit. ...
Score setting focus to a textbox within a repeater
CGW - 19 Jun 2006 9:22 PM - 1 message
I'm trying to set focus to a textbox within a repeater, or at least set focus to the repeater... in .Net 1.1. Does anyone have a good example of how to do this? And textbox.focus() doesn't work. ...
Score Where is my Timezone
Arne Garvander - 19 Jun 2006 8:03 PM - 9 messages
Is there a way that I can retrieve the timezone my server is runnning in? My server may not move to another timezone very often, but if we have a disaster our server my move to another zone during a disaster recovery. ...
Score Properly commenting mthods and properties
/dev/null - 19 Jun 2006 7:35 PM - 6 messages
Hello, i have been wondering for a while how to replicate the helpful pop up boxes that show up when using microsoft classes like DataTable. See if i do datatable.select i get an explanation for each parameters. I just can't find the proper term to search in google.  Is it attributes ?  ...
Score Page_Load Problem?
matt.grande - 19 Jun 2006 7:24 PM - 3 messages
Hi all, My code: protected void Page_Load(object sender, EventArgs e)     {         string et = Request.Form["__EVENTTARGET"];         if ((IsPostBack) && (et.Equals("")))         { ...
Score Using compression with encryption
pozi - 19 Jun 2006 5:46 PM - 2 messages
Hi, I am developing an internal compression format. This format stores multiple files (into 1 file) and uses compression (System.IO.Compression.GZipStream) and encryption (System.Security.Cryptography.RijndaelManaged) as well. If I use compression only, everything works OK. Also, If I only use ...
Score Using compression with encryption
pozi - 19 Jun 2006 5:44 PM - 1 message
Hi, I am developing an internal compression format. This format stores multiple files (into 1 file) and uses compression (System.IO.Compression.GZipStream) and encryption (System.Security.Cryptography.RijndaelManaged) as well. If I use compression only, everything works OK. Also, If I only use ...
Score Class Diagram w/ BindingList<T>
Andrew - 19 Jun 2006 4:57 PM - 1 message
I've noticed that the class designer in VS2005 will not "Show as Collection Association" for a BindingList<T> (when my T is on the diagram)... the error message is "Cannot show as collection association when the member is a ...
Score Can I override INamingContainer ID on a child control?
hugo.matthioli - 19 Jun 2006 3:51 PM - 1 message
I have a composite web control containing several childs. I need that one of them can have a ClientID of my choice (overriding the INamingContainer). Is there a way to accomplish that? ...
Score Execute Arbitrary Math Formulas
rob - 19 Jun 2006 3:38 PM - 12 messages
I have the following scenario. A user requests some math calculations from a server. The data and a library of basic formulas reside on the server. Now the user should be able to create more complex formulas based on the basic built in formulas as well as other complex formulas ...
Score Late binding -- Calling a static method
BrianGenisio - 19 Jun 2006 1:42 PM - 2 messages
This is purely an academic question for me... I don't actually need to do it, but I am trying to figure out it might be done. Lets say I have a singleton class... meaning the constructor is private, and GetInstance is public static. ...
Score .Net controls not being destroyed when switching pages in a frame
Kristopher Wragg - 19 Jun 2006 1:12 PM - 1 message
Hi, Currently were moving all our IE hosted java controls over to .NET, we have a two framed web page, the top frame contains a server client that receives messages from a server stores various information and also fires various events to which controls in the lower frame can register ...
Score SerialPort Crashes after disconnect of USB COM port
Jens - 19 Jun 2006 12:28 PM - 4 messages
We have an application talking to a phone via a USB-cable, using System.IO.Ports.SerialPort. If the user unplugs the USB cable from the PC before the application has called SerialPort.Close(), we (nearly always) get an unhandled exception ...
Score How to reference an external config file in app.config
Benjamin - 19 Jun 2006 12:13 PM - 4 messages
Hi! In .NET20 I would like to reference an external config file from the applicationSettings / My.MySettings chapter in app.config. I have tried to do the same way as I did in .NET1.1, according to: [link] ...
Score WinForms Designer Grid
Water Cooler v2 - 19 Jun 2006 11:09 AM - 4 messages
When you place controls on the Windows form, there's a grid of dots on the form that defines the drop/alignment matrix. In Visual Studio 6.0 Enterprise Edition, you could change the size of the grid by going to the Tool->Options->General and putting in a higher ...
Score TableAdapter Update problem
Vigj - 19 Jun 2006 10:29 AM - 1 message
Hi, I'm using Autogenerated TableAdapters to manage some data into an sqlserver db I generated the TableAdatpers and the Datasets using the standard procedure in VS 2005. In Asp.net everything is working fine, but in a Windows Form app i have a ...
Score Wrapper in C++/CLI
Stefano Magni - 19 Jun 2006 10:01 AM - 2 messages
Hi all, I've this constructor prototype in my C++/MFC DLL : MVBVariable(const char *NewName, CString UnitString, unsigned short len, MyClass* pMyClass); How can I convert constructor parameters in C++/CLI ? Thanks Stefano Magni ...
Score Useful .Net Framework for Beginner
DOTNET - 19 Jun 2006 9:38 AM - 1 message
Click on link below for hot & new topic for Beginner in .Net Framework [link] ...
Score Version / Build Number in the Registry?
Patrick Roos - 19 Jun 2006 8:02 AM - 5 messages
Hi all, I must know the exactly version - and the build number of the dotnet framework 2.0. (for our installations programs) Where can I find this version - and build number in the registry? Thank you for your answers. Regards, ...
Score Er... did I make a mistake?
Lloyd Dupont - 19 Jun 2006 4:00 AM - 2 messages
Here is a very simple C# project which should draw some random line with 1 of 2 method. If you choose "Method 1" nothing at all is drawn?!?!? Is it a weird GDI+ bug or am I missing some obvious error? ...
Score Problem running ASP
David D. - 18 Jun 2006 6:01 PM - 4 messages
I have Visual Studio 2005 on two separate machines.  I noticed today that I cannot run ASP.NET applications on either machine.  I get the message "Unable to start debugging on the web server.  The operation has timed out".  ...
Score DataGridView doesn't refresh when DataTable rows are changed
Dagan - 18 Jun 2006 12:20 PM - 1 message
Hello I have 2 threads, one for adding\removing rows to\from DataTable that is bind to DataGridView and the main thread that views the DataGridView, when I change any row in the DataTable the DataGridView display doesn't refreshed, ...
Score Code Coverage Security Problem
Michael Schöller - 18 Jun 2006 9:19 AM - 2 messages
Hi, Well I get this error if I enable Code Coverage in my UnitTests in VS 2005 System.Security.VerificationException: Operation could destabilize the runtime. Well what I figured out is that its reated to the [assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = ...
Score Recommended protection/encryption tool for .net apps
adiavn - 18 Jun 2006 8:00 AM - 7 messages
Hi My application (.Net 2.0) uses a hardware key to prevent illegal copies. The problem is it's very easy to reverse engineer the code to remove this check. As far as I know obfuscation tools are useless for this scenario, since ...
Score Sql reporting Design, how lock size of page?
mtczx232 - 18 Jun 2006 5:35 AM - 1 message
when I move some control to most lefy page boundreis the page is grow. how change this behavior? how lock it to fix size? ...
Next »