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 > july 2005

Filter by week: 1 2 3 4 5

ListBox - is the a reason this doesn't work?
Posted by EXdeveloper NO[at]SPAM gmail.com at 7/31/2005 6:37:28 AM
Hi, I'm using a ListBox to display objects of various classes. Most clases are derived from a base class of mine. If I override ToString in these classes, the listbox displays what I want. BUT I have another class that is derived from LinkedList. Overriding ToString in this one does not...more >>


a few MC++ / (Plain C++ really) questions about constructor & exception
Posted by Lloyd Dupont at 7/31/2005 12:00:00 AM
- if I use the default new operator, are all the instance variable initialize to NULL / 0 ? - if there is not enough memory what happend with new ? does it return NULL or throw an exception? - if new throw a native C++ exception what happen in Managed C++ ?! - if there is an exception in a co...more >>

How to control what framework version is used for an assembly?
Posted by Steve Franks at 7/30/2005 2:28:40 PM
Is there an option within Visual Studio where you tell it what version of the framework you are targetting? I'd like to use Visual Studio 2005 to compile my assembly (C# class library), but I want to to tell VS that I want my compiled assembly to work with the original 1.0 framework, and th...more >>

Activator.CreateInstance(typeof(void)) [.NET 2.0]
Posted by sorin.ionescu NO[at]SPAM gmail.com at 7/30/2005 1:10:27 PM
In .NET 2.0, Activator.CreateInstance(typeof(void)) does not work anymore. System.NotSupportedException : Cannot dynamically create an instance of System.Void. In the documentation, only TypeBuilder, TypedReference, ArgIterator, and RuntimeArgumentHandle types are listed as not supported. ...more >>

Is it possible to highlight just one letter of textbox with window forms?
Posted by pkellner at 7/30/2005 7:32:13 AM
Or, is there a way to highlight the a character in a textbox that is not the last? That is, move the current position of the cursor to inside a word of an item in a textbox? Thanks ...more >>

Question re Compact Framework
Posted by Renato at 7/30/2005 7:32:07 AM
Hi, Is it possible to install the Compact Framework on a memory card instead if the device's base ram. I have a Pocket PC that only has 32Mb Base RAM but has a 1G SD Card with plenty of space onto which I install all my applications and their data. I also map my "My Documents" root folder to ...more >>

where to download vs.net 2005
Posted by guoqi zheng at 7/30/2005 5:22:23 AM
From where and how can I download vs.net 2005 beta version? regards, Guoqi Zheng http://www.ureader.com...more >>

textbox in .net form question
Posted by peter NO[at]SPAM peterkellner.net at 7/29/2005 4:45:47 PM
In a standard textbox control in a windows .net forms app, is there a way to supress the full duplex behavior and output myself? That is, if the user presses A, I want to show 1. If the user presses B, I want to show 10, if the user presses C, I want to show 107. (or something like that) T...more >>



Looking for Recommendations on OOP and Design Books
Posted by Gummy at 7/29/2005 2:17:18 PM
Hi, I am a beginner with .NET who is joining a team of other newbies. We all have programming experience (mostly VBA) but I am afraid that our lack of OOP design expereince with larger-scale applications is going to get us in trouble. Such as version control and things of that nature. The prob...more >>

Event Scheduler??
Posted by Steve at 7/29/2005 12:01:03 PM
Visual Studio 2003 / C# I have a windows based application, with a SQL backend running on Windows Server. It is a basic job logging system in short. There is a requirement to automatically generate jobs at regular intervals. What is the best way to achieve this functionality. My initial...more >>

Shortcomings of Offline Files, Proposal to build new app, advice appreciated.
Posted by Tim_Mac at 7/29/2005 9:37:10 AM
hi, i have used offline files in windows XP for a year or so, and i'm not happy with it. i am considering developing a replacement .net application (open source). i would appreciate any feedback that other users may have on my assesment of windows offline files, and my proposals for the new a...more >>

Possible improvements to Asyncronous Pattern?
Posted by sb534dan NO[at]SPAM hotmail.com at 7/29/2005 6:35:50 AM
I've always found it beneficial that win form component events always callback into the UI thread (as oppose to a worker thread). The UI client code is never exposed to the worker thread. I find this very desirable, as this prevents resource sharing problems from within the callback method. T...more >>

C Style strings to .NET strings.
Posted by David at 7/29/2005 6:21:01 AM
I have a byte array that contains a whole bunch of information in it. It gets generated from an embedded device and sent to me over ethernet. Among the elements of information in that byte array is a C-style string. In other words, there are 16 bytes. Each byte contains an ASCII character,...more >>

Detect corrupted PDF
Posted by Michael at 7/29/2005 3:36:02 AM
I have an auto-process which called adobe reader to open a pdf, the adobe reader will close when process done. However, if the pdf is corrupted, the adobe reader will be hanged by an alert box. I want to know how I can detect whether the pdf is corrupted or not before I called up the adobe r...more >>

Does something similar to 'friend' exist in C#
Posted by Martin Hart at 7/29/2005 12:00:00 AM
Hi: Is there an equivalent instruction to a 'friend' class in C++ available under C#? I have a class that I want, basically, readonly access to, except for one class that would have total access to all its fields, public and private. TIA, MartinH....more >>

MessageQueue with unstable network connections
Posted by Alexander Oldemeier at 7/29/2005 12:00:00 AM
Hi there. Does anyone have an idea how to manage a MessageQueue used to receive messages asynchronously from a remote computer in an environment where the network connection may be down sometimes? The problem I experienced was that the MessageQueue object seems to be nonfunctional even after ...more >>

Running InstallUtil twice damages InstallState file?
Posted by dhbayne NO[at]SPAM ihug.co.nz at 7/28/2005 5:17:19 PM
Hi, I have a .NET assembly, written in C#, which has the RunInstaller(true) attribute, and inherits from one of our utility classes called BaseInstaller, which in turn inherits from the Installer class. This assembly is contained in an InstallShield 10.5 generated MSI. InstallShield uses In...more >>

Help! Parser error - "could not load type" after installing Framework v 1.1
Posted by John Galt at 7/28/2005 2:02:31 PM
We've had several ASP.NET apps running on Framework version 1.0.x for a few years now with no problems. This morning I finally upgraded our Framework version to 1.1 and installled the service pack and now I'm getting parser errors on the existing sites. I've Googled and found similar cases, b...more >>

in C# how do i get to total number of kilobytes of memroy total and available for the current machine?
Posted by Daniel at 7/28/2005 10:26:34 AM
in C# how do i get to total number of kilobytes of memroy total and available for the current machine? ...more >>

display an image with BitBlt (in Paint-method)
Posted by DraguVaso at 7/28/2005 10:13:49 AM
Hi, In the override of the Paint-method of a DataGridTextBoxColumn I want to show an image with BitBlt, to see what I can gain there on performance. The problem is: It doesn't show me the image in the DataGrid-Cell's, but a black background... Does anybody has any idea what I am doing wrong...more >>

XP 64 bit beta and .NET framework 2.0 beta 2
Posted by Olaf Baeyens at 7/28/2005 10:13:23 AM
I have the beta version of Windows XP 64 bit that shipped just before the final release installed at my 64 bit computer (Intel) I have no recieved Visual Studio 2005 beta 2. On the Windows 64 bit I have no special installation, no wierd configuration and no virusscanner installed, but the .NET...more >>

Aspx pages do not show up on Server 2003/IIS6.0/.NET Framework 1.1
Posted by lharrison NO[at]SPAM centuryltd.com at 7/28/2005 7:57:02 AM
I have several apsx pages that were created in VS .NET2003. These pages work fine in Xp and 2000. IIS 6.0 was loaded on Server 2003 and I created my virtual directory, as I did in 2000. When I try to load the pages I get 'Page cannot be found'. I can however load a basic html page from the...more >>

datatable.select with filter
Posted by jmhmaine at 7/28/2005 7:37:09 AM
I have the following code in a on page load event of a user control: <Other Code> Dim dt As DataTable ' Also tried using New dt = m_ClaimHistoryEntity.DataTable 'Error occurs here m_ClaimHistoryEntity.Clear() m_ClaimHistoryEntity.Load(FilterTable(dt)) ...more >>

Delete file in Temporary Internet Files
Posted by Michael at 7/28/2005 4:31:06 AM
I try to delete all files from my Temporary Internet Files with: foreach (string s in System.IO.Directory.GetFiles(@"C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files")) { System.IO.File.Delete(s); } However, I found that I can only get 1 file - C:\Documents ...more >>

Using Regex and string.split
Posted by Christos at 7/28/2005 2:47:03 AM
Hello there, i am trying to parse a string expression. The expression looks like this str = {cc, 1}+{cc, 2} delimeters = '{', ',', '}' ant i want to get the result: cc 1 + cc 2 Initially i used string.split(str, delimeters) but it returns spaces as words. I tried Regex but unfor...more >>

Regular Expression and Multiple Group Captures
Posted by Amy L. at 7/28/2005 12:00:00 AM
I am having a hard time figuring out why this regular expression does not have multiple captures for the group. When checking the regular expression in a testing tool like "Expresso" it seems to work fine. Input (All on one line - watch for wordwrap): Student Results [weight=103]: SMITH=PAS...more >>

Draw an Image on my Form
Posted by DraguVaso at 7/28/2005 12:00:00 AM
Hi, I have an inherited DataGrid, that does lots of extra stuff. For exemple drawing a backgroundimage in every cell. The problem is that it's taking too much time (using gdi+), so I want to do it using DirectX. I downloaded already the DSK etc, but I can't find how I need to draw an image on ...more >>

carchive
Posted by Jon Vaughan at 7/28/2005 12:00:00 AM
Hi, Im looking to read and write to a file that has been created using the c++ carchive class. I have the code that does the reading and writting in c++, but I want to use it in VB.Net, whats the best way to go about using this code in my code ? Thanks ...more >>

Problem in Connecting to Object Collections in VS.NET 2005
Posted by xiangyap at 7/27/2005 8:47:04 PM
I'm using C# to develope a windows application. I tried to pass a collection of objects to the crystal report i created but it kept prompting the error message 'Load Report Failed'. I debugged step by step and realized that the collection of the passed in objects became empty after i set the d...more >>

NET Framework 1.1 install question
Posted by Rob Giordano (Crash) at 7/27/2005 6:19:55 PM
Howdy all. New install of XP Pro on new machine...so please be gentle I'm kinda a noob with XP. XP Pro SP2 FrontPage 2003 IIS 5.0 with FP 2002 Extensions installed (all above working fine) ..NET Framework 1.0.3 Trying to install QuickBooks Pro which required updating Framework to 1.1 ...more >>

Cool windows Control
Posted by That would Be Me at 7/27/2005 12:28:03 PM
I was at some MSDN conference where they mentioned that it is possible to get ahold of a certain control...Now I can't find it. Its easy to see...Open my computer. Its like a sub-window...over to the left. a small button with two arrows either pointing up or pointing down. If you click o...more >>

set default encoding
Posted by Bob at 7/27/2005 10:02:31 AM
Is there a way to set what Default.Encoding returns in an appliaiton? I have an object that uses this and I have no way to change it. The only way for it to work is if I could change what Encoding.Default returns. i.e. 'Change to correct code page. Encoding.Default = Encoding.GetEncoding(...more >>

authentication mode=windows and forms togather
Posted by Oren101 at 7/27/2005 9:06:01 AM
is it possible to use authentication mode=windows and forms togather in the same project? i have a 2 different asp pages in my application .one of them should be authenticated with 'forms' mode and the other one with 'windows' mode. i was able to do each one alone with the help of the <applic...more >>

re: test for NG
Posted by dvs at 7/27/2005 8:52:08 AM
This is reply to the Ng -----Original Message----- From: Dhwanit Shah [mailto:dvs@dvs.com] Posted At: Wednesday, July 27, 2005 9:12 PM Posted To: microsoft.public.dotnet.framework Conversation: test for NG Subject: test for NG test for NG ...more >>

ServicedComponent and IComponent
Posted by JMD at 7/27/2005 8:22:04 AM
Is there any connection at all between the ServicedComponent class and the IComponent interface? The Visual Studio Help for IComponent says: Provides functionality required by all components. Component is the default implementation of IComponent and serves as the base class for all component...more >>

Question on access modifier of interface members in VB.NET And C#
Posted by prakash at 7/27/2005 6:56:50 AM
Dear Friends The following Code Works Well.... ------------------------------------------------------------ Public Interface IHello Sub SayHello() End Interface Public Class Hello Implements IHello Private Sub SayHello() Implements IHello.SayHello MessageBox.Show("Say Hello On th...more >>

Compiling Projects
Posted by Roshawn Dawson at 7/27/2005 6:46:58 AM
Hi, I'm using VS.NET 2002. I've downloaded some free code to use (from a trusted source) that was created using VS.NET 2003. I can't seem to open the project in VS.NET 2002. However, I noticed that the project contains a couple class files, including an xml file for documentation (Inte...more >>

Filestream, Stream, StreamReader
Posted by Jacques van der Hoven at 7/27/2005 6:29:13 AM
My situation is simple: I have an Xml doc that I want to transform into another Xml doc. I've tested the Xslt in an Xml editor and it works perfectly. So in C# I create an Xml Document object and load the source xml. Then I create the XslTransform object and load the xslt. I create a second ...more >>

drag and drop issues (I'm using VS.NET 2005 beta 2)
Posted by Lloyd Dupont at 7/27/2005 12:00:00 AM
I started playing with Drag&Drop in my application. I start dragging with code like that: myControl.DoDragDrop(value, DragDropEffects.Copy); where value is an instance of some business object. When I drag my value around and move it over my controls or an other app like Paint, everything b...more >>

number of Columns in DataGrid (not DataSource!)
Posted by DraguVaso at 7/27/2005 12:00:00 AM
Hi, I need a function that gives me the number of Columns shown in a DataGrid. So I don't need to know the number of columns shown in tha DataSource, because this number can be completely something else than the number of columns defined in the currently active TableStyle! I currently use D...more >>

Few Question in C# and Assembly
Posted by Silent Ocean at 7/26/2005 11:06:23 PM
Hi All I have following questions regarding C# Assembly and Threading. Let me know the precise answer or lead me to the proper materials. 1. Is memory leakeage possible in .Net Manager Code ? 2. Is memory leakage possible in .Net Unmanaged Code ? 3. How can I find the what % of memory i...more >>

Changing Buttons Shape Programatically
Posted by AJ at 7/26/2005 4:35:03 PM
Hi guys, any clues or suggesstion on how to programatically change the shape of a button from rectangular to say elliptical or circular. Meaning that when the mouse hovers just within the shape, only then the Click event can be generated. Would be Great if you guys can help Code can be eithe...more >>

A Directory Service error has occurred
Posted by Eduardo Fonseca B. at 7/26/2005 2:04:04 PM
Hello, I work giving support to a system developed in .NET wich uses Autorization Manager, Remoting, and Reflection. I'm having trouble with the system at the production environment because sometime it launches an Exception with the message "A Directory Service error has occurred". Can some...more >>

COM+ transaction is timing out while having serviced components
Posted by Juan Dent at 7/26/2005 1:43:36 PM
Hi, Is there a way to prevent this exception? "You made a method call on a COM+ component that has a transaction that has already aborted or in the process of aborting." I have been using: System.EnterpriseServices.ServiceDomain.Enter( cfg ); to enter into a COM+ context with a tr...more >>

Dataset Conversion From 1.1 to 2.0
Posted by mdex NO[at]SPAM online.nospam at 7/26/2005 1:11:23 PM
Has anyone seen this? We are porting a web application from .NET 1.1 to 2.0 beta, and receiving errors "The type <dataset> already contains a definition for <event handler>" Looks like the error is happening in a temporary cs file. The dataset was moved to the App_Code folder upon conversion t...more >>

HttpUtility.HtmlEncode and HtmlDecode problems
Posted by J80127 at 7/26/2005 11:29:02 AM
In working with System.Web.HttpUtility class, I've come across some inconsistencies in encoding and decoding. If I start with the following code: string s = @"& " &apos; < > ® ™ © é"; s = System.Web.HttpUtility.HtmlDecode(s); s = System.Web.HttpUtility.HtmlEncode(s); The value of the...more >>

1.1 and 2.0 Framework in production enviroment
Posted by Wayne at 7/26/2005 10:54:01 AM
I've been task to get a general feeling of how well 1.1 and beta 2 work side by side, both in production and development. Any known issues with installing 1.1 framework and 2.0 framework side by side in production? So far I have 2.0 updates all web sites in IIS to work with the 2.0 fram...more >>

Control Code Generation
Posted by Marco Rego at 7/26/2005 10:38:08 AM
Sorry for the newbie question ... I need to programatically generate code for any control. One of my doubts is how to identify the properties that were changed after "MyControl myControl = new MyControl()". In other words, if the user coded myControl.Location = new Point(10, 10); by ...more >>

Using COM+ through EnterpriseServices
Posted by Juan Dent at 7/26/2005 9:49:06 AM
Hi, I am looking for the equivalent of TransactionContext object from COM+ from ..NET using EnterpriseServices, since COMSVCS.dll does not provide a primary interop assembly (thus it is not strong name and cannot be used from strong named assemblies). I need this because I want to do the fo...more >>

Image to text
Posted by VJ at 7/26/2005 9:34:29 AM
Is there a set of API's .NET that will let me convert a Image file to text.. More specifically, I will have a screen shot of writing in image, i want to be able to read the image file and write the text to a textbox. Thanks VJ ...more >>


DevelopmentNow Blog