Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Using shadow copy in a standalone exe
Strider - 17 Jun 2006 4:04 PM - 3 messages
Hello all, I am tryng to enable shadow copying on a standalone executable. What I need to do is to install upgrades while the application is running. I do not need to upgrade the executable, only the assemblies it refernces. ...
Score Spelling Checker
Goh - 17 Jun 2006 1:37 PM - 2 messages
Hi,     How can we implement spelling checker for windows forms development.     I heard some one using Office spelling checker components. If so does it mean that production computer must equip with MS Office?     Any Component can help me done this? ...
Score [assembly: SecurityPermission] question
Lloyd Dupont - 17 Jun 2006 8:55 AM - 6 messages
FxCop advise me to assign some security to my library, with this warning: [link] I should confess that I have little knowledge about this, never done it ...
Score .NET Redistributable Nightmare (x-posted)
Infinite - 17 Jun 2006 6:45 AM - 4 messages
I create a windows app which works fine on my dev machine.  I deploy it on my test machine using the MSDE Deployment Toolkit and everything installs fine (expect attaching the db). The newly installed app will not run, it crashes before it does anything.  I can run the same file ...
Score 2003 VS to 2005 VS broke Win app after upgrade
T - 16 Jun 2006 9:40 PM - 3 messages
Greetings, I created a windows application that displays a single form with a  few dropdowns to build a query to send to an embedded crystal reports viewer. I just recently upgraded the app from VS 2003 to VS 2005. I then created a ...
Score decompile assembly to source code
Jeremy Chapman - 16 Jun 2006 9:16 PM - 3 messages
For the last two years we've been using an internally built web site.  Over this time, we've had several people in charge of the project, all of whome have left.  Unfortunately the group that developed the project originally ...
Score Untrusted Source Code location and Framework Security
Tim Frawley - 16 Jun 2006 8:43 PM - 6 messages
I have been using Visual Studio 2003 for several years with the .Net Framework 1.1 sp1.  Our source code resides on a network share, primarily because it gets backed up every night.  Our VSS is on another ...
Score printer spooler
steph - 16 Jun 2006 7:40 PM - 2 messages
Does anyone know how to fix a printer spooler problem??? i cannot install my printer - everytime i go into printer/faxes from the start menu there is no printer to choose from- i then go into add printer and it says '' cannot add ...
Score Printed version of framework 2.0 reference?
svierregger - 16 Jun 2006 6:59 PM - 2 messages
I can't find a printed version of the .Net Framework 2.0 Class Library Reference anywhere.  Microsoft published a boxed set for version 1.1. Is a printed version available or going to be available for 2.0? ...
Score app.config
chris.m.oswald - 16 Jun 2006 5:43 PM - 2 messages
Is there a way to load a config file from outside the project?  I am using .Net 2.0 and love being able to use My.Settings.  I know you can load user.configs from the applicationdata folder, but this is for a ...
Score Urgent! Distributable license for .NET
news.microsoft.com - 16 Jun 2006 4:09 PM - 3 messages
Hello, where clearly and explicity says that .NET Framwork Redistributable is free??? Thanks in advance, Néstor Sánchez A. ...
Score Install .NET Framework 1.1 on Itanium
Lester Cavey - 16 Jun 2006 2:46 PM - 2 messages
We are trying to install .NET Framework 1.1 on our Itanium 2, which uses Windows Server 2003 Enterprise Edition.  However, running dotnetfx.exe results in the error message "Microsoft .NET Framework Setup failed.  If this problem continues, contact Product Support Services.".  Any ideas on why this ...
Score "Not CLS Compliant" Warning in a Hello World example!
Chad - 16 Jun 2006 2:45 PM - 4 messages
Why am I getting the following warning? Note the example is complete. Both projects were created as Class Libraries. Note that adding a Public Sub in RpClass1 does not remove the error. Warning 3 'DalTest' is not CLS-compliant because it derives from 'RpClass1', which is not CLS-compliant. C:\MyDocs\vss\CollectDotNet\DataAccess\DalTest.vb 3 14 DataAccessLayer ...
Score Instaling Windows Service without using InstallUtil.exe
Sachin Vaishnav - 16 Jun 2006 12:44 PM - 3 messages
Hi Guys, I have created a windows service which now I want to install / uninstall without using InstallUtil.exe. I am already having another setup program which now needs to install this service. How do I do this? Please help. ...
Score Loader Lock in MFC mixed application
Luis F. Rodas - 16 Jun 2006 11:56 AM - 3 messages
When I use the debugger in Microsoft Visual Studio 2005 to debug my Microsoft Foundation Classes (MFC) class library application, I receive an error message: "Managed Debugging Assistant 'LoaderLock' has detected a problem in <filename.exe>. Additional Information: Attempting managed execution inside ...
Score .Net Export MS Word
Goh - 16 Jun 2006 9:40 AM - 2 messages
Hi,     Do have any component that can export report to MS Word documents? Thanks in advance for any comment, Goh ...
Score browse files on Share point server
Miro - 16 Jun 2006 8:41 AM - 2 messages
Hello! I need to write a simple application that lists all files in a folder on a Share Point Server. Can I use Directory.GetDirectories() and GetFiles() functions? The program is for my customers so I don't have the server available for ...
Score 2.0 Framework needed for VS2003 Application
vechoor - 16 Jun 2006 6:30 AM - 3 messages
Is it possible that application developing in vs2003 to utilize .netframework 2.0. Thanks ...
Score write to application Event Viewer
sk.rasheedfarhan - 16 Jun 2006 6:19 AM - 3 messages
Hi All, Please look in to this snippet. string sEvtSource = "MSSQLSERVER"; int m_nEventID = 17055; string sEvtLog = "Application"; if (!EventLog.SourceExists(sEvtSource))       EventLog.CreateEventSource(sEvtSource,sEvtLog); EventLog.WriteEntry(sEvtSource,"TESTMessage",EventLogEntryType.Information,m_nEventID); Above I am Generating and writing an NT Event entry into the logviewer. ...
Score Keyboard shorcuts & multiple forms
Noah Stein - 16 Jun 2006 12:46 AM - 2 messages
I'd like to add keyboard shorcuts to my program. I'm writing an application that has many top-level forms that reside on the desktop. When the focus is one form, other forms can't respond to short cuts. Some of my shortcuts are ...
Score RegularExpressions
Serge - 15 Jun 2006 10:07 PM - 11 messages
Hello, I have a log file that looks something like this ABCDEF ddfs adasd A BRE asdd asd dfddf EROI DFIOU eeroo B BRE errt ssdrr AAA eIR DFDF C BRE AAA asdd All lines are seperated by NEWLINE (\r\n) I want to extract lines that start ...
Score about zooming controls
# Cyrille37 # - 15 Jun 2006 8:39 PM - 2 messages
Hello, I'm looking for a method that can make a form zoomable : controls and texts grow with the form like a vectoriel drawing (MM Flash). I think it is not possible with dotnet... But perhaps it is ??? Thanks for your lights ! ...
Score .net applicationcrashes. at 1.2GB
Amar - 15 Jun 2006 4:30 PM - 3 messages
hi. is ther a reason why a .net application crashes after using 1.2 gb of physical mrmoey.. I am using the 1.0 framework wth SP3 on windows server 2003. The application runs on a server with about 2 GB of ram, not other ...
Score Launching ASP.NET from a Windows Form
Mike - 15 Jun 2006 3:35 PM - 3 messages
Hello, I need to start an ASP.NET 2.0 web from within a Windows Form. I also need to pass a username and password, but I would like to "hide" them so that they do not appear in the URL. ...
Score Nasty IIS site compilation error / bug
Ryan - 15 Jun 2006 2:07 PM - 3 messages
Hi All, I have a web site that I am editing on my local machine running under IIS that compiles from Visual Studio fine and gives no errors when running the web deployment project either. If I browse the site it works, if I then edit a page (no code changes, ...
Score Problem mit Crystal Report: neues Datenbankfeld
Peter Ramsebner - 15 Jun 2006 9:40 AM - 3 messages
Hallo miteinander, ich habe in meinem Projekt eine Accessdatenbank, ein DataSet und einen CrystalReport. Soweit hat alles funktioniert. Jetzt das Problem: In der Tabelle musste ich eine neue Spalte einfügen. Habe das Typisierte DS aktualisiert. Dann hatte ich Probleme das neue Feld im Report verfügbar zu ...
Score .Net Framework 3.0 announced
Nick Malik [Microsoft] - 15 Jun 2006 8:35 AM - 8 messages
I didn't want folks to miss this. [link] ...
Score Subject: Question: Dynamically Raise Event using Reflection API
KIM - 15 Jun 2006 8:30 AM - 2 messages
Hi there, I tried to find a way to dynamically raise event using Reflection API. The scenario is, I have to raise a event in a class instance by using a given event name. I can use the GetEvent(...) method of the Reflection API to get ...
Score Deployment of Framework from setup project
Sudha - 15 Jun 2006 5:45 AM - 3 messages
Hi all I am using VS2005, How can I deploy the .Net Framework from my setup project? In the bootstrapper setup program we have below 3 options 1.Download prerequisites from the component vendor's web site 2.Download prerequisites from the same location as my application ...
Score how to protect my codes
zeeway - 15 Jun 2006 2:37 AM - 3 messages
hi,every one!   I have an urgent question. My codes need to be published now,but I learn programs produced with .net are very easy to be reverse-engineered. Could anyone give me some sugguestions to protect my c# codes? ...
Score Mulples threads and impersonation
David Cablalero - 15 Jun 2006 12:46 AM - 5 messages
I have a windows service which every night checks a SQL Server database for some data and business rules. The application can access different DBs with the same structure, to tell the service which database to check I created local users and assigned each of them a different default DB in SQL Server, ...
Score 1.1 Famework needed for an applications API
ngpost1 - 15 Jun 2006 12:28 AM - 2 messages
I am wanting to write an application and/or a Web service that will connect to another commercial application via that comercial application's API.  I would like to write my application using VS.Net 2005 (as opposed to 2003).  The commercial application can only run ...
Score .NET Frameowrk's interaction with the Windows OS
scottelloco - 14 Jun 2006 10:42 PM - 7 messages
Hi, A colleague and I are in a dicussion about how exactly the .NET Framework interacts with the underlying OS. We've looked around online and haven't found much information to explain this interaction. We of course know the the Framework is a layer which sits on top of the OS, ...
Score Asynchronous Process.WaitForExit()?
Douglas Harber - 14 Jun 2006 10:38 PM - 3 messages
Is there any way to do an asynchronous wait for a process to exit? My application needs to monitor when processes it launched have completed and take further action. However, the app can launch processes essentially randomly (with respect to any other launched processes and/or their ...
Score Implementing renaming of a file
Emmanuel Stapf [ES] - 14 Jun 2006 7:23 PM - 6 messages
Hi, I'd like to implement `rename' as it is done on Unix platforms. There is FileInfo.MoveTo, but if the destination file already exist it does not do the renaming. I thought of doing something like (pseudo-code): if (destination_exists) { ...
Score creating services with UI
Arvind Ganesan - 14 Jun 2006 6:43 PM - 3 messages
Hi, I would like to write a service in C# and I have the need to display a UI with status information, statistics, etc.  If  I use the Windows Service project in C#, I noticed that the System.Windows namespace is not available ...
Score ClickOnce application parameters
Alvaro E. Gonzalez - 14 Jun 2006 3:46 PM - 2 messages
Greetings How can i pass parameters to a ClickOnce application that is published in a network share directory ? Can i modify the .manifiest file to include parameters ? Thanks. ...
Score Suspend/Resume obsolete?
WXS - 14 Jun 2006 2:50 PM - 16 messages
What can be used now to control threads, if these are considered obsolete? To pre-empt the obvious and standard questions due to this change: 1. No we don't have control over the particular code being executed so we ...
Score [BUG] VS 2005, Manifest mechanism and redistrib DLLs - VS2005_Manifest_bug.zip (0/1)
Viviana Vc - 14 Jun 2006 2:25 PM - 3 messages
Hi all, I found 2 bugs related to VS 2005 and the new way of redistributing the MS DLLs which uses the Manifest mechanism. In order for everybody to be able to follow my steps I'll make a detailed description, so sorry for ...
Score Building from command line
flopbucket - 14 Jun 2006 2:05 PM - 4 messages
Hi, We are using Visual Studio.NET 2003 and need to build from command line for integration with Cruise Control.  Reading the docs, I see I can do: c:\> devenv.exe /clean Debug example.sln This build fine, however, it seems that is starts a background process ...
Score Ending an app programmatically
Schemer - 14 Jun 2006 1:40 PM - 6 messages
Hello, I have a C# test app that I want to terminate after it has executed the functions being tested. Where is the best place to do this, and how? static void Main() {     Application.Run(new Form1()); ...
Score Efficient regular expression pattern ?
Steve B. - 14 Jun 2006 12:24 PM - 10 messages
Hi, I'm building an application that analyse a flow of url in order to detect some pages. I've a very huge list of regular expressions (up to several thousands) that I have to check on all urls. Each regular expression will be evaluated agains all urls. ...
Score ReportingService is not define? (MSDN code!)
mtczx232 - 14 Jun 2006 11:22 AM - 3 messages
I try the code ffrom MSDN ReportingService.Render Method at: [link] and i add reference to project: http://localhost/ReportServer/ReportService.asmx But i got "not define" Error. ...
Score Can we use dlls build with VS2005 with old apps?
yevvi - 13 Jun 2006 8:41 PM - 10 messages
Hi, We have a product with bunch of dlls which are now built with Visual Studio 2003.  We want to switch the build to use VS2005.  I have read that in VS2005 runtime libraries come as side-by-side assemblies and ...
Score Missing ASP.NET tab in IIS , last but not least!
Massimo_Z - 13 Jun 2006 7:46 PM - 5 messages
Please workers! I have more than one windows 2003 server in which after installing the 2.0 framework I can't find any ASP.NET tab in IIS properties of all web. - I tried to modify registries key but there aren't any strange key ...
Score Memory leak when SmtpMail and MailMessage are used.
Pavel - 13 Jun 2006 6:02 PM - 5 messages
I have the function which consists code below. Every 50 mails the memory of application raises up 100k. Sometimes is more. Does someone know why and what I have to do to solve this problem. for(int emailNum = 0; emailNum < int.Parse(txtMailsAmount.Text); emailNum++) ...
Score Alternative to Dataset??
Amar - 13 Jun 2006 4:03 PM - 2 messages
Hi, I am part of a team building a stock exchange software  - Order Management system'. The current system that we have supports 200,000 orders per day. All of this data is needed in memory.Ofc ourse this system was built in ...
Score sending fax using .NET
PBENISTY - 13 Jun 2006 3:52 PM - 5 messages
Hi, I'm looking for a sample VB.NET to send fax using .NET Framework. thanks ...
Score Save running assembly to disk.
Bruce - 13 Jun 2006 2:25 PM - 5 messages
Ok lets say I have a neural network implementation and I in the process of running a wizard have trained it for my data. Now I have that trained network in memory. I already have the functionality to serialize and deserialize the ...
Score How to define Type T for List<T> at runtime
Webbert - 13 Jun 2006 2:19 PM - 7 messages
I am looking for a way to do something similar to public void CreateList() {     Type[] dataTypes =     {            typeof(int),                            typeof(string) ...
Score 2.0 smtpclient permission mystery
Daniel Billingsley - 13 Jun 2006 12:02 PM - 16 messages
I have an application that has been sending email alerts successfully for a few months.  Not it has stopped. My investigation has taken me to some kind of permission issue. Test #1 - If I use the smtpclient with the defaultCredentials=true option in ...
Score How to embed external document?
Lloyd Dupont - 13 Jun 2006 5:52 AM - 14 messages
In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document. Like a Word with document a Windows Media Player or Excel or Visio document ...
Score how to catch win32 dll exception in c#?
BEelzebub - 13 Jun 2006 3:03 AM - 2 messages
how to catch win32 dll exception in c#? ...
Score Trying to obtain the title property from Notepad, Word, etc...
Scott - 13 Jun 2006 2:49 AM - 2 messages
I hope I am just missing something easy, and that someone can point me in the right direction, but I cannot seem to find out how to change the title property of any random file using VB.NET. For example, in Notepad, with a saved text file, one can right click on the ...
Score Toolbar Scrolls with Window
bern11 - 13 Jun 2006 2:44 AM - 6 messages
I have a main form with autoscroll and a menu docked top & left.  When I scroll to the right or down, the menu moves off-screen.  How do I keep that from happening?  (Do I have to set the location of the menu with ...
Score Sharing violation error
techy - 12 Jun 2006 9:48 PM - 3 messages
hi guys i am facing an error while trying  to delete a file access denied  "c:\\22.bmp" file is in use by another process what i am trying to do is i have loaded an image it goes fine ...
Score Differences in UnicodeEncoding library between .Net 2.0 and 1.1
Jim - 12 Jun 2006 6:05 PM - 2 messages
Hello All, I have an issue with the unicodeencoding library. The following code:             m_key= New Byte(127) {&HCD, &H1, &H0, &H0, &H8, &H9, &HCB, ...
Score System.Net.Mail.SmtpClient.Send Problem
george - 12 Jun 2006 2:53 PM - 2 messages
This box sends email all the time with a localhost smtp address on .NET 1.1 code framework, fails with the 2.0 API. Any thoughts? Exception:    at System.Net.Mail.SmtpClient.Send(MailMessage message)    at csxlib.SmtpMessage.TestSend() in F:\Projects\Visual Studio 2005\csxlib ...
Score ASP.Net tab not showing up on IIS Property page
Blasting Cap - 12 Jun 2006 2:52 PM - 2 messages
I have installed (and un-installed, and reinstalled) framework 2.0 on a Windows 2003 server.  I still cannot get the property page to come up on it. When I run aspnet_regiis -lv on the 1.1 framework folder, I get this: ...
Score Setting up Permissions during installation
Anbu - 12 Jun 2006 1:46 PM - 2 messages
Hi All, I'm writing an installer to install ASP .net web site on the web server. The application needs to generate log files based on the input. These log files will be passed by the administrator while installing the application. ...
Score Limit to filesize on Streamwriter?
eric.goforth - 12 Jun 2006 12:26 PM - 7 messages
Hello, I have a VB.NET app written in VS 2005 that's copying and then deleting a very large number of files (250,000).  It appears to run successfully, but I don't see it finish in it's log file.  The end of ...
Score Recursive delete for Directory structure with read-only files
Peter - 12 Jun 2006 10:57 AM - 3 messages
Hi All - Is there a way to delete a directory structure with read-only files in it? The Directory.Delete() and DirectoryInfo.Delete() methods both throw an access violation exception if the directory structure contains read-only diles or sub-dirs. ...
Score Alternative to FXCop ?
Steve B. - 12 Jun 2006 7:32 AM - 3 messages
Hi, I'm looking fo tools that can analyse my code. I've tested FXCop, but I'm wondering if there is alternative tools that could be better and that can create rules within the app. The main criterias are the cost (fxcop is free, but we can invest some ...
Score Your Assistance Needed
Sudha - 12 Jun 2006 6:56 AM - 3 messages
Hi Folks, I am basically an Technical Recruiter.  I am in the preparation of questionaire in Dot Net technology. Could you help me out in the new technologies coming up in recent days esp. in the combination of vb.net, asp.net, C# with Sql server. ...
Score A Failure about ildasm/ilasm MSIL
ThomasLiu83 - 12 Jun 2006 4:07 AM - 3 messages
Dear friends, I'm a newer in MSIL , nowadays I have a problem about disassemble/assemble .net MSIL. I found a dll plugin ,i want to dissamble it for studing , so i ildasm it to prog.il, and then i ilasm it ,but it not works and failure.i do ...
Score Is it common to delegate most of the legwork to Windows services?
Water Cooler v2 - 11 Jun 2006 9:03 PM - 4 messages
I want a process to be running always and it is supposed to do a lot of stuff like: 1. reading and writing to files 2. watching a file system folder 3. communicating with COM components 4. communicating with other C DLLs ...
Score taskbar and start menu
steph - 11 Jun 2006 9:54 AM - 3 messages
Cany anyone help? ive recently had the internet installed on my computer and since then the start menu and task bar at the bottom of the screen will not come up. i dont understand why can anyone tell me how to fix this problem ??? ...
Next » 2 3 4 5 6 7 8 9 10