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 > january 2007

Filter by week: 1 2 3 4 5

How to display RTF
Posted by n_lloyd at 1/31/2007 7:46:01 PM
Hi, I'm trying to display an RTF string on a Windows Mobile device running Pocket PC 2003 with .Net framework 1.X (Compact). I've been hunting all over the net to get some idea of how I might go about this. Does the compact framework support a native RTF control, if not, how do I go a...more >>


Exposing .net library to COM
Posted by mike at 1/31/2007 6:50:35 PM
i have written a library in .net by c# and i want to expose it to com i have follow all the instruction in this website: http://www.codeproject.com/dotnet/nettocom.asp and then i open the VB6 and i want find my com in the reference and add in it but when i want to use the method in it, i c...more >>

performance testing
Posted by Random at 1/31/2007 3:01:37 PM
I have a class I'm using to load and deserialize an xml file. Within the class I'm using the Stopwatch class to time the deserialization. The first time through the process takes somewhere in the realm of 4900 milliseconds. If I repeatedly call the method that does the deserialization, the t...more >>

Dotnet Framework Not Running
Posted by Create_Share at 1/31/2007 12:59:18 PM
I have installed .Net Framework 2.0 on my windows xp sp2 system but it is not in the start menu programs. I need to install an application that needs ..Net Framework but everytime i try to install it i get a msg that the setup requires .net framework. any help? Thankx! ...more >>

streamwriter and pound character
Posted by sudhakar at 1/31/2007 11:55:01 AM
I want to create a text file with a pound (£) character in it, when i use StreamWriter class with ASCII (System.Text.Encoding.ASCII) or ANSI (System.Text.Encoding.Default) encoding the £ (pound) character is either getting displayed as a ? or as some special character. It works fine if i...more >>

Excel grid in Visual Studio 2005 app
Posted by Any User at 1/31/2007 11:06:30 AM
Hello I have an Excel spreadsheet, that holds some tabular data, and a macro, that exports it daily do SQL Server 2000 table. Now I want to build VS2005 application, that embeds Excel grid, that is connected directly to SQL Server, so all editing will go directly to database. I've see...more >>

.NET property names and translation
Posted by John Allen at 1/31/2007 9:30:51 AM
Hi there, Does anyone know if the standard "PropertyGrid" control is (foreign) language sensitive. If I display an object in the control, and my object has the native .NET "Size" struct as a property (which also contains its own ""Width" and "Height" members), will someone running my app o...more >>

Timers.timer Stops in W2K SP1 With hotfix 900822!!!
Posted by Bobby at 1/31/2007 4:13:11 AM
Hi, We have a .NET 1.1 Windows service which has some timers.timer running. A while back we notified microsoft and subsequently were informed of HotFix 900822. On most of our sites, this has resolved the issue. On 1 site however, the problem still occurs. We trace output from one of the ti...more >>



How to enumerate all the assemblies in the GAC?
Posted by Dmitry Nogin at 1/30/2007 3:55:36 PM
Hi, How to programmatically enumerate all the assemblies in the GAC? thanks a lot. ...more >>

requiredRuntime and supportedRuntime in VS 2005
Posted by illegal.prime NO[at]SPAM gmail.com at 1/30/2007 2:27:31 PM
So this seems like it should be a simple concept - but for some reason I don't understand it. So I've read everywhere that you can't use an assembly built in VS 2005 (specifically .NET 2.x) in an assembly built by VS 2003 (specifically .NET 1.x). However, I've never seen any Microsoft do...more >>

Deserialization type load exception even when using a serialization binder
Posted by john_smith_677 NO[at]SPAM hotmail.com at 1/30/2007 1:52:10 PM
Hi, I moved some code from my project to a separate assembly. I have some saved definitions that were saved using regular .net serialization. When trying to open the saved definitions, I get type load exceptions. I am getting around this by implementing my own SerializationBinder and f...more >>

.NET 1.1 x .NET 2.0
Posted by Antonio Lima at 1/30/2007 1:30:34 PM
Hi Guys, is there any form that i can develop a solution using Visual Web Developer in the framework .NET 1.1. All that i knows i sthat VWD is especific for developing solutions in .NET 2.0. I´ll have to use Webmatrix??? Tks ...more >>

Class handling fully qualified type names?
Posted by Jens Weiermann at 1/30/2007 9:41:33 AM
Hi, in many occasions (mainly with configuration), you'll have to specify fully qualified type names in the format type="Fully qualified class name, assembly file name, version, culture, public key token" I was suprised to see that there's no overload of Activator.CreateInstance() that...more >>

need a good idea :)
Posted by xxxx at 1/30/2007 3:20:36 AM
Hi all, i need some help here plz :) i'm building a small application that will dispaly a list of folders in a listbox, but i only want to display the folder name rather than the whole path, so i take the substring from the whole path and add it to the listbox. the problem is, later, when...more >>

refer the version
Posted by kalaivanan at 1/30/2007 3:14:46 AM
hi, i am using two versions of a particular dll cust.ll. how do i make a class file to refer the two versions of cust.dll. eg: version one : using System; using System.Reflection; [assembly: AssemblyKeyFile("test.txt")] [assembly: AssemblyVersion("2.0.0.0")] public class cust { pub...more >>

Firing hotkey
Posted by marek zegarek at 1/29/2007 11:13:12 AM
Hello! I wrote application, that is watching Windows session for some windows. I want to close them by pressing "Alt+F4", when windows shows. How to fire hotkeys like that? ...more >>

compile csharp file
Posted by kalaivanan at 1/29/2007 2:52:02 AM
hi, how should i compile csharp programs in the cmd command prompt without being installing visual studio .net. I have installed framework 1.1 and sdk. also i have executed the vsvars32 btach file. still iam not able to compile the csharp file. the error generated is: csc is not recognized...more >>

Invalid parameter used
Posted by JayvardhanPune at 1/28/2007 9:52:46 PM
I am facing a problem with my GDI++ code in C# control. Though i have tried many things from last 6 months, i am not able to get completely rid of this bug. Whenever the user is opening a window or closing a window, i'm getting following exception. This is a very rare exception but it ca...more >>

Time
Posted by Dagan at 1/28/2007 8:42:10 PM
Hi All When getting time updated event, when the system time is changed, I would like to get the difference from the last value of TimeDate (before the change) to the current value, is there any way that gives that and ready to use in C#? Thanks in advance ...more >>

outlook express
Posted by bernard at 1/28/2007 12:46:01 PM
have installed windows xp home ed. I want to use outllok express so i can edit received emails, but it will not respond. it makes a little happy sound but does nothing. why? I tried microsoft thing where it tries to set it up online for me, but it didn't work?...more >>

deleted something
Posted by neil at 1/28/2007 1:43:43 AM
something came up sayin i delete something need help...more >>

Need Help in accessing photoshop with C#.net
Posted by KAMAL at 1/27/2007 11:25:49 AM
We need some help in photoshop Add-in. Here i am sending the problem. Please do in favour in solving the problem. Through the .Net application we are activating the photoshop and sending the short cut keys to photoshop for activating the adjustment dialog boxes. in C#.net Interact...more >>

vb.net class help
Posted by paulbearden at 1/27/2007 3:54:26 AM
Greetings, I'm fairly new to .net (especially 2.0). I using vb.net, 2.0 framework and Visual Studio 2005. I'm trying to create a class with a member that will iterate through a web page and discover all the controls on the page, list their types, names and what value they hold. What I wa...more >>

switch between local and remote (web) Business Logic
Posted by kies98 NO[at]SPAM gmx.net at 1/27/2007 2:18:18 AM
Hi Everyone, i need some ideas for the following problem: I am developing a three tier architecture. The client should be implemented in WPF to be able to easily port the application to a web application later on. The Business and Data Tier should be easily portable from local computer t...more >>

Localization stopped working. Why?
Posted by cyberco at 1/26/2007 3:51:14 PM
WM5 PPC, .Net CF 2 I have resources for 2 languages in my application. I have a general ..resx file for the complete project and a .resx file for each form. Changing the regional settings on my phone worked fine. The application changed its language. But suddenly this stopped working. I assum...more >>

Reflection and DirectoryInfo.Delete error
Posted by goHawkeyes at 1/26/2007 2:41:40 PM
After using System.Reflection.Assembly.ReflectionOnlyLoadFile to look through a directory and inspect versions of files and such I use a DirectoryInfo.Delete(True) object to delete the directory but it gives me an unauthorized error. If I do everything the same way but do not inspect the direct...more >>

Creating a plugin configuration architecture
Posted by Jens Weiermann at 1/26/2007 1:23:43 PM
Hi! I want to create something like a "plugin" like architecture for my application. My question regards the configuration of these plugins - I want all to be done in an xml file (optimally the app.config file). It should look like this: <triggers> <trigger name="Timer1" type="Sensaction....more >>

Popup screen
Posted by SW at 1/26/2007 1:20:48 PM
Hi all, I need to display a popup scrren similar to an MSN popup screen is my application. I have to check some database values after certain time interval and show some simple msg as a popup screen. I tried writing a service, that will check the database and pops up a form. But I am not able...more >>

Want to call a custom handler that redirect and receive the http return code (302, 303 or 307)
Posted by ThunderMusic at 1/26/2007 9:37:50 AM
Hi, I want to use a class (if possible other than Socket) which one I could call a custom handler and receive the redirect code it sends... Actually, I tried using the WebClient class, but when the WebClient is redirected, it does not give the redirect code in the result, it automaticaly r...more >>

ObjectDataSource for Windows Forms?
Posted by Chris Douglas at 1/26/2007 3:51:00 AM
I have recently started using the ObjectDataSource object to populate a GridView in my ASP.Net application. I am recently interested in applying the same functionality in my windows-based applications as well. Is there a similar object available for windows? -- Christopher W. Douglas M...more >>

auto email in asp.net
Posted by Anu at 1/25/2007 11:12:01 PM
I have developed a website in ASP 2.0 and SQl Server. I want my web site sent email with HTML format(with Photo) automatically ...at some specified time (lets say it execute ceratain ASP page at 3:00 am that send emails) how can i schedule that? Should i write some program (EXE) that wi...more >>

How to find out which ref-Variable is null, when exception is null reference
Posted by Rolf Welskes at 1/25/2007 10:29:39 PM
Hello, I have the following problem: Visual Studio 2003 , dotnet 1.1 (can not go to .net 2.0 !) an application works fine. At our customers sometimes there are exeptions, NullReferenceExceptions. So we know: Reference-Variable is null. But we do not know WHICH variable is null. Furthe...more >>

Strange server socket behaviour
Posted by Massimo at 1/25/2007 9:49:22 PM
I'm facing quite a strange problem with a network server application. This is quite a complex project, involving some embedded roaming clients sending data to a central server using GPRS modems, and only the server part is being developed using .NET: the clients uses C-language firmware runni...more >>

Parsing an english-style double on an italian Windows system
Posted by Massimo at 1/25/2007 8:48:25 PM
As the title implies, I'm in need of reading a double number from a text file, but the file follows english-style syntax, while the application is running on an italian-language Windows system; this causes some troubles, because in Italy we use "." to separate thousands and "," for decimal d...more >>

Error: The project type is not supported by this installation
Posted by manika02 at 1/25/2007 1:59:01 PM
Hi, I had created a solution on a different machine consisting of 4 different projects for each of the different layers Business, Data, Schema, Presentation where it was working fine. I copied (folder copy) the same solution on my machine. The Presentation Layer project is the start up pro...more >>

constraint programming
Posted by Pieter at 1/25/2007 1:06:52 PM
Hi, How can I include contraints in VB.NET (Windows Forms, 2.0), using Objects with Propertys? I need several property's be recalculated when others change, but not in a straightforward way: When A is changed, B has to change, but when B changes, A has to change (or C or ...). Untill no...more >>

cSharp ( c# ) SQL and pocket pc
Posted by Sheikko at 1/25/2007 6:07:36 AM
Hi, I want to develop an application in c# (cSharp) that create a database and popolate it with some information. In my mobile device I have SQL Mobile Edition... I want a brief tutorial or example to start. thank you very much ...more >>

Combobox
Posted by Azrael at 1/25/2007 5:26:36 AM
I have a simple question. I want to press F4 button in combobox to open dropdown list. How can I open combobox dropdown trough code by using KeyDown event? ...more >>

Debug class in Release mode
Posted by vicky at 1/25/2007 12:51:14 AM
i am using some debug class function like Debug.Writeline() i just want to know when i am compiling this code in Release mode,,,as does complier ignore this line or compile it. all debug class functions are ignored by compiler in release mode????? or these functions are also compiled by compi...more >>

Visual studio 2003 SQL 2005 client tools Framework 1.0 and 2.0
Posted by myalog NO[at]SPAM gmail.com at 1/24/2007 5:58:51 PM
I had: ..Net framework 1.0 / 1.1, visual studio 2003. I then intalled the client tools for SQL 2005 which installed an Visual studio 2005 on my computer. Later, I downloaded and installed OneCare - an antivirus, antispam product from Microsoft. The last item had problem in the install and I co...more >>

about record CD&DVD SDK
Posted by JimPaul at 1/24/2007 4:28:26 PM
I need sdk to record files and audio to dvd, I found one product Record CD/DVD sdk released by softgogo.com(can be download at: http://www.download.com/Softgogo/3260-20_4-6201331.html or http://www.softgogo.com), it very good, but before purchase I want to know is there anyone has used it? ...more >>

FlowLayoutPanel, why can't I remove the space between my controls?
Posted by ThunderMusic at 1/24/2007 3:58:50 PM
Hi, I want to make a toolbox form (like the one in Adobe Photoshop), so I would like to put many buttons one beside the others (beside, over and under, just like the toolbox in photoshop). I thought FlowLayoutPanel would be the thing to go, but I can't remove the space between my buttons even...more >>

Restart with ClickOnce
Posted by Rex the Strange at 1/24/2007 3:57:57 PM
Is it possible to require a reboot with a clickonce deployment - IE: show a window that says: You need to reboot your computer (or similar) with buttons: "reboot now" and "reboot later" or similar, after installing? ...more >>

intercepting the CLR
Posted by gilad at 1/24/2007 7:42:56 AM
Hi, I would like to know how is it possible to intercept the CLR. I want to be able to know if someone if calling open connection to SQL Server for example and then update the queries that are being sent or send some of my own queries on the opened connection. I read about the profiling API b...more >>

Multiple asynchronous sockets
Posted by Ryan at 1/24/2007 6:31:01 AM
Hello all, This is my first post so I thanks in advance. I'm writing a windows service application that connects to four different servers (to elaborate they are machinery equipment) to retrieve information via tcp. I wrote a "controller" class that manages the connection and communcation f...more >>

Invoking An App
Posted by Barry at 1/23/2007 8:25:08 PM
Hi In a 3-rd part Grid control when i click on html link ( something like www.google.com ) i am able to open Internet Explorer programmatically using Shell Control in C#. I have a e-mail address in another column, but am not able to open the mail client (eg Outlook Express) with the e-ma...more >>

Can I inherit from Collections.Generics.List in VB.NET 2.0?
Posted by RJ at 1/23/2007 6:45:00 PM
If so, how is this done? I can't seem to get the generic parameter syntax....more >>

.NET 2.0 Addins compatibility (KB907417) to pre-Office2003 versions
Posted by b6s at 1/23/2007 5:41:12 PM
(This is also post on http://groups.google.com/group/microsoft.public.officedev/browse_thread/thread/f7bac83a0abad31a) Dear all, I am a developer of IME (Input Method Editor) and I have tried to integrate IME with .NET 2.0 based GUI via managed C++. It worked fine on Office 2007. To Wor...more >>

Web request in a c# app
Posted by ThunderMusic at 1/23/2007 4:31:44 PM
Hi, What I want to do is send Http requests for a stress test application. The url I query will send me a 404, 400, maybe others or redirect me to a different url. I need to do that asynchronously. I mean, I could possibily send request using 10 threads and sending 10 requests per thread on e...more >>

IP ping
Posted by *FeDe* at 1/23/2007 4:04:13 PM
What of the framework can I use to know if a computer IP is avaible on my net? I was thinking about a ping service, is it avaible in the framework? Thanks ...more >>


DevelopmentNow Blog