Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet framework > november 2005

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

my .net prog will run with out framework
Posted by murali.trichy at 11/30/2005 11:24:21 PM
hi, my c#.net program will run with out .net framework ? bye ???Murali??? ...more >>

Restricting access of class variable to another single class?
Posted by Danny Tuppeny at 11/30/2005 9:43:02 PM
Hi all, The next few paragraphs put my question in context, but feel free to skip down to the end if you don't care *why* I need the answer! :) **************************************** *** Start of long-winded description *** **************************************** I've got some classe...more >>

Getting text from PDF
Posted by Klaus Jensen at 11/30/2005 9:10:08 PM
Hi! I need to extract all text from PDF-files for fulltext-indexing purposes. How do I do that? I have looked at several PDF-components, but none of them have features to read the text in the PDF - only create PDF's. Using an applicaton (or indexing service) to search the pdf is not wha...more >>

HttpWebRequest with HTTPS URL over proxy
Posted by Praveen at 11/30/2005 8:45:54 PM
Hi All, I was facing problem using the HttpWebRequest class to make a connection to a secure site with a proxy server. I am getting the below error An unhandled exception of type 'System.NotSupportedException' occurred in system.dll Additional information: The ServicePointManager does not...more >>

Catastrophic failure
Posted by mamin at 11/30/2005 8:39:14 PM
When I'm trying to run any asp.net application, the following error appears: "CS0007: Unexpected common language runtime initialization error --Catastrophic failure" I've reinstalled .NET Framework but without any results.I've also tried to use aspnet_regiis -i but the problem is still the sam...more >>

Offline Data Synchronization
Posted by Fenno at 11/30/2005 8:23:52 PM
One of the requirements of a development project I am working on is for end users to be able to take their laptop off the network and do work on the application (VB.NET win-forms app with SQL Server database). Then at some time later, the user should be able to come back into the office, re-co...more >>

Calling close on StringReader (or not)
Posted by Brad Wood
I have a test routine where I want to call new XmlTextReader( new StringReader( xmlString ) ) repeatedly. Structuring the code so that I call Close (which calls Dispose) on the StringReader makes the code much fatter. Is failing to call Close on each instance here really a bad thing? Is ...more >>

call .net 2.0 assemblies from .net 1.1
Posted by Perecli Manole at 11/30/2005 1:50:25 PM
There are some features that I want to use from .NET 2.0 but my company is not ready to do the shift yet. I have incapsulated these functions in a .NET 2.0 assembly that I want to call from our existing .NET 1.1 application. When adding the reference to the .NET 2.0 assembly in VS 2003 the IDE...more >>



Disable prompting for updates
Posted by Bruce Parker at 11/30/2005 1:40:06 PM
How do you disable the prompt a user gets when an update is available. I want to automatically update the application every time they start it....more >>

.net framework 1.1 install failure on fresh XP MCE
Posted by Bjorn Heijligers at 11/30/2005 12:09:02 PM
I've been trying to install .net 1.1 on a fresh Windows XP MCE machine all day. the MCE version i downloaded from msdn 2 days ago (english) and everytime i try to install .net framework 1.1 the installation stops/hangs/stall at the following point: Removing backup files d:\windows\....\Syst...more >>

Error loading design screen for an Inherited form
Posted by Brandon Owensby at 11/30/2005 11:03:48 AM
I am using MDE 2003 version 7.1.3088 with .NET Framework 1.1. I have a C# program with a Windows Form I want to inherit from. When I create the inherited class I get an error when I try to go to the design screen. It says that there was an exception trying to get an instance of the base class...more >>

Directory of assembly when using services
Posted by Michael Groeger at 11/30/2005 10:26:12 AM
Hi all, normally, when starting a service the current directory (System.Environment.CurrentDirectory) is the system directory of the platform. The service itself can be started from another location e.g. c:\foo\bar\myservice.exe . Is there a way to get the directory the service executable was...more >>

can vb.net support WINAPI(_stadcall)?
Posted by jg at 11/30/2005 10:25:50 AM
or would I have to use C# or C++? ...more >>

Programattically Change Password
Posted by MikeL at 11/30/2005 10:09:23 AM
Hello. I need to programmatically reset a user's password. We will create an account that has the proper authority to do so. I've been looking through the .Net framework for a class that might handle this but am having no luck. Does anyone have any suggestions? Thanks in advance, ...more >>

Install .NET Framework 1.1 issue.
Posted by MikeLI2004 at 11/30/2005 10:09:04 AM
I try to re-install .NET Framework 1.1 on my desktop computer. But I keep getting an error message: Microsoft .NET Framework Setup failed. If this problem continues, contact Product Support Service. Does anybody know how to resolve this problem? Thanks! ...more >>

VB 2005 Express Collection(of T) IComparator
Posted by Michael D. Ober at 11/30/2005 9:50:16 AM
In the code below, the IComparator function is never called. What am I missing? Public Class ArchiveInfo Implements System.IComparable(Of ArchiveInfo) Public FullName As String = "" Public AccountNumber As String = "" Public Sub New(ByRef Account As String, ByVal fname A...more >>

Getting Read/Delivery receipts from SMTPClient mail message?
Posted by Scott Townsend at 11/30/2005 9:23:01 AM
I'm trying to get a Delivery Receipt from sending a message using the System.Net.Mail.SMTPClient Class There seems to be a few ways to do it. You can set the DeliveryNotificationOptions, or add Headers. I've tried the following with varying results. eMail.DeliveryNotificationOptions = ...more >>

customize drawing tool with messenger API?
Posted by Mad Scientist Jr at 11/30/2005 8:36:24 AM
The MSN Messenger drawing tool is great, but kind of limited. Would there be a way to make a customized messenger using the API with a more full featured drawing tool? As is the drawing tool only has the most basic functions and only lets you drag drawings from another instance of messanger....more >>

IIS and .Net 2.0
Posted by Arne at 11/30/2005 5:31:04 AM
I have three web site on one Windows 2003 server. I tried to configure one to use the 2.0 framework. That doesn't work. The error message I got is that multiple web site can't use the same process to run different version of the framework. Next I create a new application pool. I thoght I could...more >>

Detecting file changes just like Visual Studio
Posted by desmcc NO[at]SPAM gmail.com at 11/30/2005 1:27:38 AM
I want to mimic the functionality of Visual studio where if an opened file is modified outside of the IDE, the user is prompted if they wish to reload the file(s). What is the best approach to do this. I have read different postings about the FileSystemWatcher class where there seems to be plent...more >>

EventHandling problem : Java has solution but what about Microsoft???
Posted by Mahesh Devjibhai Dhola [MVP] at 11/29/2005 9:44:44 PM
Hi, I have added few of the events in some control, example code is: btnControl.GotFocus +=3Dnew EventHandler(EventHandlingMethod); btnControl.Click +=3Dnew EventHandler(EventHandlingMethod); lblControl.Click +=3Dnew EventHandler(EventHandlingMethod); private void EventHandlingMethod(object s...more >>

how to determine whether a datarow is null or not
Posted by guoqi zheng at 11/29/2005 3:15:24 PM
Dear sir, I am trying to find a row in a dataset. I know I can define a primaryKey and use rows.find(key) to locate this row. However, very often this row does not exists, what can I use to determine whether this row exists or not?? >Dim objSet As New DataSet >objSet.ReadXmlSchema("e...more >>

Deploying a winform in 2.0 Framework on the intranet
Posted by Arne at 11/29/2005 12:21:04 PM
There should be a way to distribute a winform from a URL on the intranet. Where can I find more information on this subject?...more >>

Using System.Xml.XmlDocument to parse an XML Excel document
Posted by balmerch at 11/29/2005 11:46:19 AM
I am loading an xml excel document into the XmlDocument class, and using the SelectSingleNode method to try and select the node of the Worksheet in the document. It is not returning any results, but my XPath is right as far as I can tell. This is my code: xmlDoc.Load( "Export\\...more >>

Difficulty with Remoting and IPC Channels
Posted by mhetherington at 11/29/2005 10:48:13 AM
I'm trying to get an Remoting proof of concept working. Using TCP and/or HTTP Channels, the proof of concept works fine. However, when trying it with the IPC Channel, I get the following RemotingException when exectuing the client piece: "Failed to connect to an IPC port: Access Denied" ...more >>

Best practices for a two-keyed (i.e. 2-dimensional) hash table in
Posted by Quimbly at 11/29/2005 10:36:08 AM
Is there a data structure built for this? Or do I have to do something like combining the keys into a single element? ...more >>

Connecting to strong-named DLL outside of appbase
Posted by Mike at 11/29/2005 10:07:43 AM
Hi again, I'm working on an app that will be using an assembly that will be sitting on the network. I thought once I got the public key from the assembly I'd have it figured out, but alas, I don't. Any help would be appreciated. (And sorry in advance for a long message) Here's my setup: ...more >>

Generic Union Type with Explicit Layout
Posted by Hagen Schendel at 11/29/2005 8:50:25 AM
I am desperately trying to build a generic union type with explicit field layout. First, I will show you my attempt without generics. This is something like a tagged union in functional languages like F#. Thus let us first write an example using F#, which is rather short (assuming polymorphic ...more >>

Finding a DLL's public key value
Posted by Mike at 11/29/2005 7:12:46 AM
Hi all, I've been working on this problem for a few days and I'm about at my whit's end for searching, I appreciate any help I can get with this. I've got a DLL that was signed with a key (using VS 2005). I'm trying to find the public key value to put into an application's config file but ...more >>

lock file access
Posted by Colin at 11/29/2005 12:00:00 AM
I'm using system.io.file How do I lock access to the file while appending? Other processes may try to open it while I want it. Thanks, Colin. ...more >>

entering internationalized input
Posted by Lloyd Dupont at 11/29/2005 12:00:00 AM
I have implemented an international text editor based on uniscribe, GDI & GDI+. While it display internationalized text fine I realize user input are no good. So far what I do: I override Control.OnKeyPressed(char keyCode); I was expecting the appropriate char to be passed on. Now I test...more >>

Could not load type 'System.CodeDom.Compiler.GeneratedCodeAttribute'?
Posted by Olav Tollefsen at 11/28/2005 8:32:01 PM
I get this error when I try to run my Visual Studio Tools for Office 2005 application. Does anyone have any clue to what the problem could be? Olav Could not load type 'System.CodeDom.Compiler.GeneratedCodeAttribute' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyTo...more >>

Type switch?
Posted by xenophon at 11/28/2005 4:20:56 PM
I am trying to do a switch on a Type. It's actually a DataType used to type a column in a DataTable. I have run through several blogs and am not sure what I'm missing or why it can't be done. My switch statement looks like this: int typeEnum = myObject.GetType().GetHashCode(); ...more >>

vs 2003 & framework 2.0
Posted by sir vincent at 11/28/2005 1:25:03 PM
still have vs 2003 but like to use framework 2.0 with vs 2003 instead of 1.1. so is it possible and if it is how to register 2.0 to vs 2003? would there be any other problems using these two together?...more >>

Hash ContainsValue?
Posted by seal at 11/28/2005 11:50:36 AM
I have a very simple class (see CurrentUser below), that I am adding to a hash table. Public Class CurrentUser Private userName As String Private sessionId As String Private logindateTime As DateTime 'Properties left out End Class I add the values: myHash(somekey,Curre...more >>

How to Open a File in Text-mode?
Posted by 小安 at 11/28/2005 10:39:26 AM
It is that in Traditional C++ ,the Class "file" has a Open Method which can specify opening a file in Text-Mode. The Text-Mode can automaticaly Convert "\r\n" to "\n" (\13 \10 to \10). But,I can not find a way to do this in Extention Managed C++.Net ? Any new Solution?...more >>

FtpWebRequest in 2.0 Framework
Posted by Arne at 11/28/2005 9:56:09 AM
Has anyone tried to download a mainframe file with FtpWebRequest. It doesn't seem to translate from EBCDIC to ASCII. The old inet control in VB6 has the same problem. Command line FTP has no problem to translate from EBCDIC to ASCII, but I prefer a .Net assembly....more >>

Wellknown-Singleton object is being created 2 times
Posted by polism NO[at]SPAM gmail.com at 11/28/2005 8:02:26 AM
Hi, I have a singleton class which I want to "create" (call it's GetInstance() for the first time) in server process, and after some time I want to use it in client process, through .Net Remoting. I define the singleton as MarshalByRefObject. My server process looks like this: 1.Register si...more >>

Access file on another computer with specific username / password
Posted by balmerch at 11/28/2005 7:49:09 AM
I need to access files on computers around our network, some are on the same domain as myself, and some are on others. I have an account for each domain with rights to read files on each system, but I can't figure out how to specify a username/password when using the System.IO namespace to rea...more >>

Email Sed Error
Posted by TimPowell at 11/28/2005 7:39:07 AM
Hi, I use the following code snippet in VS 2005 Dim message As New MailMessage("timpowell@controlequipment.co.uk", "timpowell@controlequipment.co.uk", "Subject", "Message Text") Dim emailClient As New SmtpClient("10.34.45.135") emailClient.Send(message) When I execute the code I get th...more >>

Convert MS Word Document in HTML
Posted by Nikolay Petrov at 11/28/2005 6:56:07 AM
I want to convert MS Word Document in HTML file. I would like to do it, without having MS Word installed on server. Is this possible? ...more >>

IDisposable and Finalization
Posted by nickdu at 11/28/2005 6:51:10 AM
I believe that I fully understand the concepts behind IDisposable and finalization (at least I hope I do) and I would like to get feedback from the experts so that I can forward them on to others. There are people who think that if a class implements IDisposable then it should include a fin...more >>

Checking that a file is not in the process of being copied
Posted by Craig HB at 11/28/2005 3:40:07 AM
How can I check that a file is not in the process of being copied ? I want to copy a file from a source path to a destination path, but if the file is in the process of being copied to the source path, then my code will fail. If it is in the process of being copied then my code needs to wait...more >>

CodeDom - parses sourcecode into a tree?
Posted by Engelit at 11/28/2005 2:10:12 AM
Hi, I've encountered the following problem: My input is a .cs file. The output I need is a parsed tree. I'd like to use CodeParser.Parse which Compiles the specified text stream into a CodeCompileUnit. ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf...more >>

Can I write MFC application and without .net Framework with Visual C++ 2005 Express?
Posted by W. Jordan at 11/28/2005 12:00:00 AM
Hello, I would like to learn MFC programming. However, Visual Studio is expensive. Can I write MFC programs with the VC++ 2005 Express but without bothering the .net framework? -- Best Regards, W. Jordan ...more >>

2.0 Beta has no XML namespace
Posted by Taoge at 11/28/2005 12:00:00 AM
Hi, I download and install VB.bet 2005 Express and also dotnet frame 2.0 Beta on my pc. I want to try XML functions, but there is no XML namespace under system!! Where is could I find it. P.S When I try to install dotnet frame 2.0, it indicates that I should uninstall 2.0 Beta first. After I u...more >>

Visual design tools and DAL in VS 2005 / .NET 2.0
Posted by Paul Aspinall at 11/27/2005 10:48:40 PM
Hi I wrote quite a few apps with .NET 1.0 and 1.1, which made use of a Data Access Layer, and also used the Microsoft Application Blocks for Data Access (v2). In VS 2005, there is a huge improvement in 'visually' designing the data access, and binding it to the controls on the form. I h...more >>

UserInterfaceProcess AB and CompositeUI AB
Posted by hB at 11/27/2005 7:36:24 PM
Hi, (I do not know which is the exact newsgroup for this post) I am doing application based on SOA. My client app is winforms and we are targeting it as smart client. I know about MVC in general. And I am puzzled how to go with MVC in my this Smart Client User Interface (winform based) ap...more >>

code security?
Posted by Lore Leunoeg at 11/27/2005 2:56:58 PM
Hello Is there a way to get code really secure, so that it can't be disassembled? I don't mean dotfuscator, because I think it's not secure. Thank you Sincerely Lore ...more >>

HttpWebRequest / Response disconnect question
Posted by lw_elite NO[at]SPAM hotmail.com at 11/27/2005 2:06:06 PM
Hi all, I'm trying to figure something out and not quite sure if I'm doing it the right way. First, the quick overview and I'll post more info if it's needed. On my web site, I've got an HTTP Module that serves binaries. It basically just reads them from disk and streams the bytes to the ...more >>


DevelopmentNow Blog