Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score LoaderLock Exception from MDA
mmurrell - 10 Mar 2007 5:32 PM - 3 messages
All: This morning, for no apparent reason whatsoever, i started getting MDA LoaderLock exceptions in an application I'm developing.  The callstack simply lists [External Code], Myapp.Program.Main(), [External Code]. The line highlilghted line in Main() is Application.Run(new ...
Score Internationalization
Rasheed - 10 Mar 2007 3:43 PM - 3 messages
All, We are looking for coding standards/guidelines for applications that would be internationalized in future Examples -          All characters and strings in the code (for comparing or condition-checking) should be externalized, so that they can be replaced by a ...
Score Reflection
Lee - 9 Mar 2007 11:34 PM - 8 messages
I am trying to develop an easy way to manage dll load addresses for my .NET controls and libraries. I was wondering if through reflection or some other type of mechanism in .NET that I could examine the compiled dll to determine ...
Score ver 1.1 Frames Problem
ges - 9 Mar 2007 11:28 PM - 2 messages
Situation: Top Frame shows aspx page. Bottom Frame shows server files for reading or download with browsing enabled for virtual sites. Problem: aspx page needs title of virtual browsing frame to know where user last viewed. ver 2.0 HtmlWindow Class would seem to provide this capability.  Any ...
Score Call .NET 1.1 component from .NET 2.0
Kevin Jackson - 9 Mar 2007 10:36 PM - 3 messages
We have a 3rd party .NET 1.1 component that is integral to our system.  The 3rd party component developer does not support this component any longer and will not create a .NET 2.0 compile for us. Is there anyway to continue to use this component with .NET 2.0? ...
Score ClickOnce Deployment and Smart Client
slanders - 9 Mar 2007 8:58 PM - 3 messages
We have a smart client app that is being deployed with ClickOnce. The app works fine in dev but once we deploy and install with clickonce we get a blank shell window when running as if our modules are not being loaded. Our ...
Score Crystal Report displays the database logon before print preview
Bitchanger - 9 Mar 2007 2:44 PM - 1 message
I've designed an application with MS Visual C# .Net 2003 which uses  several Crystal reports. The crystal reports is designed with some table and their fields from an OLE DB which was browsed with the database add.. function to a ...
Score Postbuilding .NET applications? Pros? Cons?
Marcel - 9 Mar 2007 9:02 AM - 7 messages
My collegues and I are considering to start working with .NET (again), but we do not want people to learn all about the structure and secrets of our application by reading the intermediate language (with ildasm.exe). We do not like to use obfuscation because that messes up stacktraces in case of ...
Score Polymorphic substitutability not supported it seems?
skywalker - 9 Mar 2007 7:36 AM - 2 messages
Hi, When I try to compile this class, I get two compilation errors: Error    1    The best overloaded method match for 'PolymorphismTest.PolymorphismTest.DoSomethingElse(System.Collections.Generic.IList<object>)' has some invalid arguments    C:\Documents and Settings\aw\My Documents\Visual ...
Score Remoting & Security
OPM - 9 Mar 2007 1:46 AM - 2 messages
Hey guys, Just wondering if it is possible to secure a remoting server by requiring the client to submit a username and password? I know I can use the IpcChannel to restrict access to the local machine, but I'd like to be able ...
Score How to move the IME window?
Lloyd Dupont - 9 Mar 2007 1:18 AM - 3 messages
I have developed a text editor supporting international languages. One problem still bother me: The location of the IME window. When I have an asian user entering asian characters, (s)he does so through an IME window which is located in a seemingly unpredictable/uncontrollable ...
Score How do i initialize an array using Reflection
Kishore - 9 Mar 2007 12:42 AM - 2 messages
Hi I have a class (type - MyClass). I need to create an instance of this class and then create an array of type MyClass and intialize this array with the instance. I am able to create the class and array but not sure how to ...
Score Using a thirdparty ActiveX control in C#
Oswaldfig - 8 Mar 2007 10:37 PM - 4 messages
Hi, I guess this question is been asked allready , but i'm still didnt have the answer that helped me.  I have an ActiveX control that i used in VB6, now i want to use it also in C#. Is there any step by step instructions how to implement  an ( non ...
Score AppDomain.baseDirectory is different through COM vs directly
Andrew Stoneham - 8 Mar 2007 7:13 PM - 2 messages
I have a dotnet application that can be loaded directly as a executable (loading a winForm) or as a COM object through one of our legacy applications.  This application also loads components at runtime from Assembly.GetExecutingAssembly.Location + "\components" ...
Score Form design view with Fatal Execution Engine Error (7A2B45A2) (0)
Li Weng - 8 Mar 2007 6:57 PM - 3 messages
Hi, I have a window application in VS2005. I can build and run it. But when I open a specific form with design view, the Visual Studio crashes and closes without error message! the error message on my PC's event log: ...
Score Retaining column widths in the datagridview (.net 2.0) :-(
Simon Harvey - 8 Mar 2007 4:57 PM - 4 messages
Hi all, Can anyone tell me if there is an easy way to retain per-user column widths for the datagridview in a windows forms application. I know I could do it with a lot of database programming and what not, ...
Score .Net 2.0: PerformanceCounter & unsupported counter types
Joe K - 8 Mar 2007 4:00 PM - 1 message
We recently upgraded our application from .Net 1.1 to .Net 2.0.  One of the bugs we had expected to be fixed is the lack of support in PerformanceCounter for the below counter types: .. PERF_PRECISION_100NS_TIMER .. PERF_PRECISION_TIMESTAMP .. PERF_COUNTER_100NS_QUEUELEN_TYPE The following Microsoft KB article ([link]) ...
Score Question regarding the System.Net.Mail and System.Net.Mime namespa
François Lemaire - 8 Mar 2007 2:25 PM - 2 messages
I hope somebody from Microsoft can explain me why the low level API of these two namespaces is not public ; for example, we'd like to transfer email contents directly on a Socket or into a MemoryStream, and to do that, we ...
Score WCF customization
patrick.soulard - 8 Mar 2007 2:12 PM - 2 messages
We have an legacy communication protocol exchanging messages between 2 machines * TCP Based * Request messages & corresponding Reply messages (no Exception messages) * Messages contain a header (with functionId & sequenceId) and optional data ; all in binary ; no XML encoding * Full-duplex protocol from an application point of vue (each peer ...
Score Thread question
Steve B. - 8 Mar 2007 1:26 PM - 4 messages
Hi, In continuation of my previous post, I'm trying to build an application that use a determined number of worker threads in order to parrallelize actions. I've a queue of actions, each actions have an execute method and in this ...
Score NullReference Exception while iterating through array of DataRows
aparnaum - 8 Mar 2007 9:58 AM - 1 message
Hi, I need your help on the scenario mentioned below. Please advise. Sincere Regards, Aparnaa M Kulkarnii Scenario I am iterating through an array of DataRow objects using the For loop. e.g. If dtRows() is the array of dataRows then I have something like ...
Score Visual Studio 2003 and Net Framework 2.0
jigar.mail - 8 Mar 2007 9:16 AM - 2 messages
Hi, I am wondering that will above mentioned combination can be used to develop .NET applications? Means is it possible to develop .NET 2.0 application using Visual Studio 2003? Or do we have to use VS2005 only? Thanks, Jigar. ...
Score Marshalling c++ structs in a Variant Array
sbparsons - 8 Mar 2007 7:54 AM - 1 message
I'm using interop between .Net and C++ (COM) and am attempting to retrieve an array of structs from the COM server. I realise that having VT_RECORD type data in variants is not supported. Is the only way to accessing these types of returns via custom marshalling? ...
Score POSTing data with System.Windows.Forms.WebBrowser: Vista vs XP
Jeff - 8 Mar 2007 5:04 AM - 4 messages
I have a C# Winforms app developed with Visual Studio Express Edition that uses a WebBrowser control to POST data to an external website. Here is some sample code:   string postStr = "parm1=hello";   postStr += "&parm2=world";   byte[] postBytes =Encoding.UTF8.GetBytes(postStr); ...
Score Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services
Se0 Guy - 8 Mar 2007 4:08 AM - 1 message
Search Engine Optimization [link] Seo Optimization , Semantic Results, Artificial intelligence in Search, Auto Content Generators, Search Engine Results. SEO optimizer. SEO consulting ...
Score Best Approach for handling application config files
chuck rudolph - 8 Mar 2007 1:31 AM - 2 messages
It appers that System.Windows.Forms.Application.UserAppDataPath changes drastically when the application is installed via "click once"; (as opposed to setup or good old file copy). I'm looking for a place to put user data that spans versions. In the non-click once scheme, all I had to do was back ...
Score Gateway Timeout error using ftpRequest.GetResponse() in .NET 2.0 - please help
aaron.c.allen - 7 Mar 2007 11:54 PM - 1 message
I'm using some sample code posted on msdn to enable ftp in my application.  I keep getting a Gateway Timeout error when I try to run this code despite the fact that I attempt to access the test ftp site ...
Score how does ado.net SqlDataReader.GetString() know which encoding to read the data into a string as? Do
Daniel - 7 Mar 2007 11:12 PM - 2 messages
how does ado.net SqlDataReader.GetString() know which encoding to read the data into a string as? Does sql sever set this at the column data type level, server wide encoding setting, os encoding? ...
Score WebConfig Section for .NET Framework 3.0
Deepak Vasudevan - 7 Mar 2007 9:53 PM - 1 message
I remember seeing a webconfig entry for .NET Framework 3.0 where it seems to give an option of file Upload like MEMORY or STREAM to disk. I could'nt find out now immediately. Can somebody help me out with this? ...
Score label and decimal value
Qiana - 7 Mar 2007 9:03 PM - 4 messages
Is there any know problem with sending a decimal value to a label control in .net 2.0? I am assigning the label value to a label control like this: Dim New MyObject as Object lblDecimal.Text = MyObject.DecimalValue The label is showing a 0 when it should be returning a decimal value. ...
Score A design question about format provider
Nick nkw - 7 Mar 2007 8:06 PM - 2 messages
I am building an asp.net application. However, it had to use a lot of Convert.ToDatetime or Parse. And I had a lot of the following code: IFormatProvider provider = new CultureInfo(ConfigurationManager.AppSettings.Get("culture")); .... DateTime.Parse(lblDate.Text, provider)... ...
Score How to reinforce types without composition/inheritance
Barry Gilbert - 7 Mar 2007 7:56 PM - 6 messages
The answer might be obvious, but I'm looking for inout on the following scenario. I have a class called Employee that looks like this: Public Class Employee    Private _employeeId As Int16    Public Property Id As Int16 ...
Score How to reinforce types without composition/inheritance
Barry Gilbert - 7 Mar 2007 7:56 PM - 1 message
The answer might be obvious, but I'm looking for inout on the following scenario. I have a class called Employee that looks like this: Public Class Employee    Private _employeeId As Int16    Public Property Id As Int16 ...
Score How to reinforce types without composition/inheritance
Barry Gilbert - 7 Mar 2007 7:56 PM - 1 message
The answer might be obvious, but I'm looking for inout on the following scenario. I have a class called Employee that looks like this: Public Class Employee    Private _employeeId As Int16    Public Property Id As Int16 ...
Score cryptography - public private keys
Ollie Riches - 7 Mar 2007 6:12 PM - 3 messages
I am looking for a good example that demostrates the creation, storage and use of public & private keys in a .net application - preferably C#. I am a little unsure on how I am going to extract the public key for use in ...
Score How to open HKLM\Security
Ulf_Jaenicke-Rößler - 7 Mar 2007 2:46 PM - 1 message
Hi, how could I open the registry key HKLM\Security? This key has by default permission for SYSTEM only. Unfortunately I cannot set new RegistrySecurity by RegistryKey.SetAccessControl because this only works for keys that have already been opened - if I'm not mistaken. However, opening ...
Score Retrieve method name at runtime
Patty - 7 Mar 2007 1:15 PM - 2 messages
I need to retrieve the method name and parameters at runtime. I used the System.Reflection.MethodBase.GetCurrentMethod() to do that, but in two cases it returned me a System.argumentExecption. The message is: Cannot evaluate a security function. How can I do to solve this problem? ...
Score Bitmap.Palette
richie - 7 Mar 2007 12:32 PM - 1 message
Hi can anyone tell me why assigning a ColorPalette to a bitmap in windows vista fails? Example             Bitmap bitmap = new Bitmap(100, 100);             ColorPalette pal = bitmap.Palette; ...
Score Sending mails on Exchange 2007
Juan Segura - 7 Mar 2007 12:27 PM - 1 message
Hello: I have an Exchange 2007 working fine, and it’s possible to send and receive mails from mail clients to external domains. I try to send a mail from my application using this server. Te code is like ...
Score Skeleton Active Directory Interface Code (VB.Net)
Brandon_Thinkpad - 7 Mar 2007 8:04 AM - 3 messages
Good morning everybody; I'm looking to find some skeleton code, the bare minimum coding you need to be able to access the Active Directory in Windows Server 2003, using VB.Net code.  What I really want to be able to do is check for ...
Score how to know a file pendedit in tfs?
beelzebub2006 - 7 Mar 2007 7:33 AM - 1 message
how to know a file pendedit in team foundation server? ...
Score Seeking Advice for Starting a Windows Service
Joseph Geretz - 7 Mar 2007 6:14 AM - 8 messages
I have a Service which runs OK, but I'm abviously not starting it properly. In my OnStart event I commence a long running process which polls a database table and performs various processing. Since this polling loop is entered ...
Score MDI and OutOfMemoryException
kiranreddyd - 7 Mar 2007 4:03 AM - 1 message
Hi,   I have this code that makes the form as an MDIChild:             chartWindowController.GetForm().MdiParent = _expertTradeMainFrm;             chartWindowController.GetForm().WindowState = ...
Score How to get a file from team foundation server?
beelzebub2006 - 7 Mar 2007 2:56 AM - 2 messages
I want to get a file from team foundation server, who can tell me how to do it? thanks!                                                         Jakie ...
Score Confused a bit...
Admin - 6 Mar 2007 10:23 PM - 3 messages
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>I tried this out, I was hoping I could get another say. I ...
Score Dot.Net Error -- any idea? "System.Net.Sockets.SocketException:"
Ringholz, Blake - 6 Mar 2007 8:33 PM - 2 messages
We are running Windows Server 2003 Standard SP1 with both IIS and SQL2000 running on the same box (and Dot Net 1.1).   We'll start our application, and it will make a TCP/IP connection to a host computer, but after a few ...
Score migrating from XslTransform to XslCompiledTransform
Marcelo - 6 Mar 2007 5:33 PM - 1 message
Hello, I have a web proyect/solution built in .Net 1.1 which I am migrating to 2.0 There is a function which is called from just about everywhere: ///<summary> ///Applies an xsl transformation to a xml document ...
Score .NET 1.1.4322.2300 and Windows Server 2003
Freddyboy - 6 Mar 2007 3:01 PM - 4 messages
Hi, I need to install the .Net framework version 1.1.4322.2300 on a windows server 2003. I read on Internet that I can install it with the service pack 1 for Windows Server 2003. So I have Installed it, but when I take a look in ...
Score Data type conversion COM dll in VB. Net
Nicol - 6 Mar 2007 2:59 PM - 2 messages
Hi, I created ATL dll in vc++. One of the function has datatype as WCHAR*. I am rferring this dll in .net, .net automatically converts this to interop dll and the signature for the method WCHAR* is changed to ushort. ...
Score Do we have managed newsgroups for .NET 3.0 technologies?
Max2006 - 6 Mar 2007 2:46 PM - 5 messages
Thanks, Max ...
Score Delayed loading dependent assemblies when start an .Net application
wzhao2000 - 6 Mar 2007 2:29 PM - 3 messages
Back in COM time, it's possible to use #import statement in cpp to load COM object type info and use it at coding time. When the application is started, the underlying COM DLL will not be loaded until that part of code is called. ...
Score Global exception handler when creating a windows service?
Simon Harvey - 6 Mar 2007 12:22 PM - 4 messages
Hi all, What is the best way to catch any and all exceptions when creating a windows service application? Is there some sort of global exception event I can use, or is it possible to surround the ServiceBase.Run(ServicesToRun); ...
Score Stopping my Windows Service Programatically
Simon Harvey - 6 Mar 2007 12:19 PM - 5 messages
Hi all, Can anybody tel me how to programatically kill my service when an exception occurs? Whenever something bad happens I'd like to shut it down. Also, is there a way to programatically restart my service at a set ...
Score How to draw clickable text?
moonie - 6 Mar 2007 12:12 PM - 4 messages
Hi, How can I draw clickable text (like linklabel) with graphics object in a c# windows application? ...
Score Localizing MessageBox
Martin - 6 Mar 2007 9:25 AM - 5 messages
Hi. Is it possible to localize MessageBox? I've found some old posts on this subject, stating, that a custom form must be created. If it's still impossible, how must I create these forms, one form for each combination of MessageBox buttons and icons? ...
Score ^*^*^^*^*^*^^*^*^ Microsoft Vista ^*^*^^*^*^*^^*^*^*^^*
Deep Six - 6 Mar 2007 3:01 AM - 1 message
1.01 million is perfect I need the land , I will bleed purple in july and christ help me you hang me out on this one I will do myself. [link] ...
Score Economi
Harboured Criminal - 6 Mar 2007 2:23 AM - 1 message
Abuiltcomputer to go public soon Fundamentalist [link] Do you want money or love I got both. ...
Score Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
Ben Voigt - 5 Mar 2007 9:35 PM - 6 messages
Ok, I keep getting an exception: A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll Additional information: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. However, I already called CreateControl on the Control in question: ...
Score FXCop and Asp.net sample programs
Nick nkw - 5 Mar 2007 9:17 PM - 2 messages
I tried to use FxCop on the sample of [link] And I got the following error. Basically the code defined a member with type of TableAdapter and no Disposable method is defined. It sounds it's not ...
Score Getting a list of Instantiated Types
James Wren - 5 Mar 2007 5:46 PM - 3 messages
Hi, I have three Types (in different assemblies) A (which is abstract), B and C. B inherits A and C inherits B. My host Windows Application creates an instance of C. I would like to be able to look at this EXE and be able to tell that only ...
Score Test a XAML in XP, service pack 2
Peter - 5 Mar 2007 2:52 PM - 12 messages
Hi folks,  I have installed .net 3.0 framework sucessfully in a machine with XP, service pack 2.    In the window explorer,  I clicked a  simplest XAML file, I got error message, "...msctf.dll not found...." . Then, I copied it ...
Score Strange Session ?
mianiro - 5 Mar 2007 2:49 PM - 3 messages
I have a logon screen for an application where I create a session variable to store the username.   The user logs on and is then taken to a main screen. The very first time a user logs in everyday, the user logs in and is ...
Score Framework 2.0 Service Pack
Tomás Martínez - 5 Mar 2007 2:46 PM - 4 messages
Does anybody know when will be released the SP1 for the framework 2.0? Thanks! ...
Score FTPWEBRequest always return error 550
Edison.CCC - 5 Mar 2007 2:13 PM - 8 messages
I'm facing a prblem with FTPWebRequest of .NET v2.0 1. The FTP server I have to access is a small device(not a PC) which provides 2 folders named c: & d:. While attempting to access/get/put files I always get the following exception ...
Score reading Image Property for button from a XML
doubts - 5 Mar 2007 9:41 AM - 1 message
Hi, I have a query regarding reading Image Property for button from a XML file . I read XML files to Generate Screens using System.Windows.Forms.Controls .The XML file is read and properties are set using Reflection a sample representation of it is given below ...
Score AOP Framework
Xavier Collet - 5 Mar 2007 8:18 AM - 7 messages
Hello, I would like to know which implementation is the more mature in the .NET world. Is there limitation on the compact framework ? I already used some Java AOP framework in the past (Spring and AspectJ), but I would like to have an idea about the choice that could ...
Score need obfuscation
Tina - 4 Mar 2007 11:43 PM - 6 messages
Is this Community Edition Obfuscator any good?  Is there a good one or a good method that doesn't cost so much money? Thanks, T ...
Score Help me
Ho Hsen - 4 Mar 2007 7:53 PM - 2 messages
How to get and run for new Progammer.cs from my C# Recent Projects??? From [link] Posted via DevelopmentNow.com Groups [link] ...
Score What's V#/V sharp?
nkw - 4 Mar 2007 2:07 AM - 13 messages
I heard a lot of people talking about "V sharp" today? It sounds a Visual studio plugins? I cannot find any information on the web. What it is? Where to download? ...
Next »