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 > september 2007 > threads for september 15 - 21, 2007

Filter by week: 1 2 3 4 5

.NET CF 1.1 How to call a process on Desktop after Synchronization?
Posted by orandov NO[at]SPAM gmail.com at 9/21/2007 8:16:56 PM
Hi, I am new to programming with a hand held. I am working with Pocket PC 2003, .NET 1.1, SQL Server 2000, SQLCE 2.0. I am using merge replication to sync the data between my SQLCE and SQL 2000 database. After the sync I want to start a process on the desktop that will take the rows from on...more >>

how to force a .net application to use .net 2.0 ?
Posted by Daniel at 9/21/2007 1:53:21 PM
how to force a .net application to use .net 2.0 ? this windows service is about 4 years old and im pretty sure is using .net 1.x runtime. Is there soem setting in the installer that says to use .net 2.0 instead of .net 1.0? this windows service is developed in visual studio 2002 ...more >>

New Mutex constructor with MutexSecurity
Posted by Steven Kilby at 9/21/2007 12:42:12 AM
Hi, With .NET 2.0 a new Mutex constructor was added that takes a MutexSecurity object as a parameter. The interesting thing is the following statement from the MSDN documentation: If the named mutex has already been created with access control security, and the caller does not have Mute...more >>

Throw without parameter...
Posted by AshokG at 9/21/2007 12:00:00 AM
Hi, If you use just throw without parameter should preserve the complete stack trace and the exception information. for example: 1. private void Bar() 2. { 3. try 4. { 5. string s = null; 6. if (s.Length == 0) 7. return; 8. } 9. catch 10. { 11. // do some proce...more >>

Problem with installing .NET 1.1. on top of 2.0
Posted by mark4asp at 9/21/2007 12:00:00 AM
I already have 2.0 Framework (and VS2005 + SP) on my PC. I wanted to work throught the book "Test-Driven Development in Microsoft ..NET, Newirk & Vorontsov, 2004". I downloaded the source from the author's site. It is an MSI. When I run the MSI it demands the Framework version 1.1.4322 be inst...more >>

Windows Desktop Search (Enterprise or Personal)
Posted by Colin Goss at 9/20/2007 2:32:00 PM
Is there a way to modify the UI on Windows Desktop Search? Programmatically or through a xml or css file? maybe xaml? Can I remove or Add an Item to the Other Drop Down. Can I remove the Music search? I don't work for a music company or radio station. As well as the web button can I get rid ...more >>

Update AD with VB.NET
Posted by jimstruckster NO[at]SPAM gmail.com at 9/20/2007 2:31:34 PM
Hey everyone, I'm working on a project to set up a new user in AD using VB. I have the connection working and I'm able to get most of the settings done. However I can't find the properties to set the password to never expire and the user cannot change password. I'd also like to be able ...more >>

Populate Typed DataSet with XML Problem
Posted by hardy.yin.wang NO[at]SPAM gmail.com at 9/20/2007 10:57:41 AM
Hi all, I have a XSD file to define the structure of XML. I generated typed DataSet by running "xsd rey_SvcApptView.xsd /dataset" command. Then I run following statements to populate DataSet with XML content, NewDataSet nds = new NewDataSet(); nds.ReadXml(@"c:\temp\rey_SvcApptView.xml"); I...more >>



.NET Framework 1.0 uninstall
Posted by JC at 9/20/2007 8:10:05 AM
I am working with a Server 2003 Standard SP2 box with both .NET Framework 1.0 and .NET Framework 2.0 installed. I want to uninstall .NET Framework 1.0 but do not want to break any of the apps that depend on .NET Framework. From my understanding, apps that depend on .NET Framework 1.0 are a...more >>

hashtable as shared field
Posted by James at 9/20/2007 4:04:00 AM
Trouble in the house. I have a BL-component with different shared get and save methods. When I get my data I put everything in a shared field. When I call the save method my shared field(hashtable) is saying "length=error cannot obtain value". When I call my get method again then the field...more >>

Force 24 hours datetime format
Posted by hvj NO[at]SPAM paralax.nl at 9/20/2007 3:10:54 AM
Hi, I am using DateTime.Now.ToString("yyyyMMddThhmmss"), but time is displayed in 12-hours format. How can I force .NET to display 24 hours format? Can I do something with the CultureInfo of the current thread. I do not want it to be dependent of the settings of the computer. Any help appre...more >>

.Net DateTime.Now not frequent enough?
Posted by Gareth at 9/20/2007 1:48:19 AM
I am trying to use DateTime.Now to apply a frame limit to my 3d application. Below is the code involved. In this example I have hard coded it for 60 frames per second (1000 milliseconds / 60 fps). public void Execute() { while(!_close) { DateTime n=DateTime.Now; TimeSpan t=n.Subtra...more >>

Front Page and Vista
Posted by Rickaref at 9/19/2007 8:40:02 PM
I have recently purchased a new computer pre-installed w/vista and fornt page does not work quite the same. I can upload my webs but cannot open (IE Download the web) Can Anyone give me some thoughts as to why? -- Rick...more >>

.NET 3.0 USB support?
Posted by David Harrison at 9/19/2007 7:22:02 PM
Is there any Microsoft USB driver support in .NET 3.0. In .NET 2.0 this was a glaring omission - developers having to rely on libusb-win32, which is certainly not perfect. -- Regards, David Harrison...more >>

Trap Task Manager SwitchTo message
Posted by SwedeFlyer at 9/19/2007 8:22:03 AM
I have an application that when it is locked I activate a password dialog. I trigger it by adding a message filter. public class AuthenticationMessageFilter : IMessageFilter { private const int SC_RESTORE = 0xF120; private const int SC_MAXIMIZE = 0xF030; private cons...more >>

registry error
Posted by AVL at 9/19/2007 5:32:01 AM
hi, i'm trying to read out the registry keys in my win application.. but fir few keys..i'm encountering the below error "Request access to the registry isn't allowed". how can i solve it... what settings should i prefer?...more >>

reading registry
Posted by AVL at 9/19/2007 5:30:09 AM
hi, i've a requirement to scan the registry keys programatically in a console application and read the data of the keys.. given a registry key, say,"HKEY_USERS". user should be able to scan the subkeys of the given key recursively(i.e. all the subkeys of the given subkeys etcc..) till the l...more >>

CspParameter and CryptSetProvParam(PP_KEYEXCHANGE_PIN)
Posted by John Allberg at 9/19/2007 12:00:00 AM
Hi! I recently had to create an application using smart card certificates, but since this was going to be a server application we had to insert the smart card pin from the software. So, I embarked on a mission to use P/Invoke but realized there is a CspParameter constructor that ...more >>

Book recommendations
Posted by Erik Wikström at 9/18/2007 10:46:48 PM
Hi there I'm looking for a good book or a couple of good books for learning C# and the .Net framework. I have a background with C++ programming and I'd say I'm fairly competent, I have also used a bit of managed C++ and little C# but now I need to get a better understanding of both the langua...more >>

is a reader automaticaly disposed if the connection it is associated with is closed?
Posted by Daniel at 9/18/2007 2:14:32 PM
is a reader automaticaly disposed if the connection it is associated with is closed? what will happen if an app: while true open connection open reader close connection end while ...more >>

Dotnet and MSI
Posted by wmb at 9/18/2007 2:12:12 PM
Hi ALL Does anyone know if dotnet 2 is available in an MSI format as I would like to distribute VIA GPO or where I can obtain one Thanks W ...more >>

can a service map a network share to a drive letter
Posted by Chuck P at 9/18/2007 1:14:01 PM
Is it possible to write a .net Service that would map a remote share to a drive letter. The reasons: Mistake 1 A long time ago someone wrote lots and lots of programs in vb6 that require driver letter type drive mappings. Mistake 2 They would log on to the server with a shared accou...more >>

Word automation using vc++ 2005
Posted by antarikshv at 9/18/2007 10:41:03 AM
I want to use VC++.Net 2005 to automate Microsoft word.I have checked the code available online for C# but the code could not be translated as it is to VC++ as the compiler was giving errors for the properties could not be found. Below is the code where i am stuck,Please help. Object ...more >>

xml namespaces
Posted by Jerry C at 9/18/2007 9:00:05 AM
I am working through some examples in Workflow foundation and the code uses lines like xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:my="http://schemas.example.org/MyStuff" in the code. These lines are in a lot of places and I can't find much about them. Can you g...more >>

Push in the right direction on security...
Posted by JJ at 9/18/2007 8:08:04 AM
First, I want to confess I am not security expert by any stretch of the imagination, but I have been tasked with securing our dB connection information for our distributed windows applications. Essentially I would like to store the information in an encrypted XML file, but the problem I can...more >>

Getting byte array from C# to ATL COM DLL
Posted by shiva at 9/18/2007 7:46:07 AM
Hi, I have a VC++ COM DLL which is making calls to C#.net DLL. The C#.net DLL functions which are byte array expecting SAFEARRAY from VC++ DLL. VC++ DLL get called from my VB client where I need to pass this SAFEARRAY as VARIANT to VB. Could anyone help me how to get byte array from C# int...more >>

dotnet 2 framework loading from CD?
Posted by liamo1 at 9/18/2007 4:16:02 AM
I have just completed an undelete program in C#/.NET2 for NTFS. Of course to use it you have to have .NET2 framework installed. To widen the potential audience for this program, I was wondering if it is possible to have the clr etc. loaded with the program from a CD. I realise that the registr...more >>

i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process?
Posted by Daniel at 9/18/2007 2:05:05 AM
i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process? ...more >>

Deployment in VS2003
Posted by osl at 9/18/2007 1:02:09 AM
Hi, Is deployment as simple as copying all files except ..vbproj,vbproj.webinfo,.resx, .vb into the production web server? Need I install VS2003 onto the production server which is going to host my web application? Problems which I'm facing are:- 1) If there's CR involves, error msg like 'c...more >>

Relicate default error page
Posted by bmjnine NO[at]SPAM hotmail.com at 9/17/2007 10:48:52 PM
Hi all, I'm using Application_Error in Global.asax to send myself an email when a server error occurs on my site. It's been working fine. However I just realized that by using this override, the error message no longer is displayed to the user. So I just want to include some code to replicate...more >>

Weird problem with Outlook, WebBrowser control and Windows Server 2003
Posted by Nordiek, Christof at 9/17/2007 6:01:54 PM
I have an applaction, that is an addin for Outlook. It opens a form with a WebBrowser control wich then shows a page from a Webserver. It works fine, but when I installed it on Windows Server 2003 the page didn't get shown in the WebBrowser control. I have another application wich uses the ...more >>

DataGridView with datatable, how prevent view all column?
Posted by mtczx232 NO[at]SPAM yahoo.com at 9/17/2007 12:03:38 PM
Datagrid view bound to datatable, view all fields from table, even I add some column to DataGridView. to prevent it I must add all clolumn to grid and set them unvisible except the column that I want to be visible. Have beter way to do that ...more >>

Inter Process Communication
Posted by Vivek at 9/17/2007 6:22:02 AM
Hi I am developing one Windows App. I want the user should run only one instance at time of application. But i have also two variant of this Assembly in same code which depends on some file of current application folder. I dont want that user can run same variant at time, but user can run two...more >>

regex pattern
Posted by AVL at 9/17/2007 5:32:01 AM
hi, i'm a new bie to regular expressions.. i'm trying to see if a string ends with teh below pattern \filename.xls or \filename.xlsx... I've used the @"\\[\w|\W]+\.xls" pattern but's it's matching hte below string d:\sample\.xls.... can someone help me out with teh correct pattern...more >>

Is there a way to save load a bitmap from a web site without saving to a file
Posted by buu at 9/16/2007 1:06:00 PM
So, is there a possibility not to use at the way: system.net.client(url, file_name) dim b as new bitmap(file_name), but to have some way to load it directly o a bitmap? I tried to find some ways (using streams, etc), but none of it works with bitmaps, only for text files ...more >>

Computer crash while running spyware removal program
Posted by ultradigital at 9/16/2007 10:00:01 AM
Whenever I Run any spyware removal program (ad-aware, spybot, regisrty mechanic) it will reach a certain point in the scan then i get the blue screen error and have to restart. I am unable to remove any of the problems these programs detect. I have also tried windows defender as well, but it ...more >>

[Dot Net 1.1 ] [UDP & encrypted communication]
Posted by aaa.aaa at 9/16/2007 12:00:00 AM
Hello All, I would like to know if it's possible to use SSL on top of UDP message? What kind of a minimum of 128-bit encryption method shall be applied with UDP? Thanks...more >>

[Dot.Net 1.1][Broacast & Muticast ] via UDP only or possible via TCP-IP ?
Posted by aaa.aaa at 9/15/2007 7:55:26 PM
Hello All, I would like to know if it's possible to listen or send broadcast or multicast message via TCP-IP channel ? or It 's only possible with UDP ? Thanks...more >>

Back up utility
Posted by BeckyCamp at 9/15/2007 7:10:04 AM
Went in to accessories to back up my computer. Then I have a blue screen come up and says I have a critical error must shut down and restart? -- ThinkCamping!...more >>


DevelopmentNow Blog