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 > august 2004

Filter by week: 1 2 3 4 5

Exception in configuration section handler...
Posted by murlbrown NO[at]SPAM bellsouth.net at 8/31/2004 9:44:39 PM
Below is what i have as the custom section in the web.config file... <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- register local configuration handlers --> <configSections> <sectionGroup name="cbsoffice"> <section name="data" type="CbsOffice...more >>


no touch deployment .net framework download
Posted by siddharthkhare NO[at]SPAM hotmail.com at 8/31/2004 9:14:34 PM
Hi all, we are planing to use no touch deployment in our project. i wanted to know ,when user tries to download our 'no touch application',is it possible to detect some how if client machine has ..net frame work or not. if machine does not have .net frame work redirect them to a URL to downloa...more >>

Windows Service deployment problem
Posted by CalinV at 8/31/2004 6:41:12 PM
Can I specifiy the username and password under the Windows Service will be run in installutil? Can I write something as installutil MyService.exe /username=... /password=... ?...more >>

Timers for "larger" intervals?
Posted by Paul J. Hurley at 8/31/2004 4:27:49 PM
I am working on an application that will repeat a certain procedure after a user specified time interval. This interval could be as brief as 2 seconds, or as long as once every hour or two. If it was limited to several seconds or even every few minutes, I would use one of the timer classes, pr...more >>

USB device
Posted by Steve Podradchik at 8/31/2004 4:13:53 PM
Has anyone figured out how to connect to and read/write data to a USB device? I found some sample code for VB6 on the Intel Web site but, even under VB6, it doesn't seem to work quite right (at least it didn't recognize my device). http://www.intel.com/intelpress/usb/examples/download.htm ...more >>

UTC/GMT dates...
Posted by José Araujo at 8/31/2004 2:20:45 PM
Hi, I am developing an application that is used in Spain and USA. That application saves its information in a MSSQL server, some tables have a date field, I am thinking on setting those fields to use UTC date (using GETUTCDATE() when filling them). Given that i have a way to storage the d...more >>

windows service api
Posted by RP at 8/31/2004 2:09:16 PM
Hi all, I have been assigned the task of writing some code in .net in the form of an .aspx page to restart a problematic Windows Service. Any pointers as to where I need to start looking? The service is one of the MS services and all I need to do is restart the service. TIA! ...more >>

Tab Control ComboBox
Posted by Jeff Haumesser at 8/31/2004 1:41:50 PM
Here's one! I have a Tab Control that consists of 4 Tab Pages. These pages will be removed and added as needed as the user checks and unchecks certain checkboxes. On the Form_Load event, I am calling routines that populate the various ComboBoxes List's that are contained by these Tab Pa...more >>



SP1 generated an exception that couldn't be handled
Posted by khitl NO[at]SPAM yahoo.com.au at 8/31/2004 11:06:11 AM
It wouldn't install. I have version 1.1.4322.573. Thanks for any help....more >>

changing user in a windows service
Posted by Daniele at 8/31/2004 8:56:57 AM
Hi, I have deployed a windows service, that starts with Local System account. In some particular situations, I need to change the account for the service. I don't want to tell the user to go on \Control Panel->Administrative Tools->Services ecc..., but I want to show a dialog where the user can ...more >>

Inheriting Static/Shared Fields and Properties
Posted by Craig - A Healtchare IT developer at 8/31/2004 4:25:02 AM
Hi, I'm x-training to .NET at the moment from Java. I have a question regarding how to implement in .NET the following Java feature. In Java interfaces it is possible to define static final fields (and assign values to them) - these fields provide constants that can be exploited by all c...more >>

ANN: Final .NET Framework 1.1 SP1
Posted by Thomas Scheidegger [MVP] at 8/31/2004 12:38:36 AM
..NET Framework 1.1 SP1 Date Published: 8/30/2004 http://www.microsoft.com/downloads/details.aspx?familyid=a8f5654f-088e-40b2-bbdb-a83353618b38 Download http://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe For Server 2003:...more >>

frontpage server extensions with .net framework
Posted by deep at 8/31/2004 12:23:01 AM
Hi All I have one win2k server ( iis 5.0 ) , 512 MB RAm single processor . we had to host few sites requiring asp.net support and asp , so in hurry i configured the server with win2k iis 5.0 , .net framework installation and asp.net was registered with iis also. now it has 7 sites ( doi...more >>

Impersonation in a console (or Windows) app
Posted by headdeball at 8/30/2004 6:06:21 PM
Hi, I have googled around and searched hell and high water for this but does anyone know how to set up impersonation in a console app (or a windows app). I am used to ASP.NET and have traditionally used the web.config file like this <configuration> <system.web> <authentication mode="wind...more >>

GetProperties() problem
Posted by Lloyd Dupont at 8/30/2004 3:59:35 PM
I have a simple class like that: class Foo { int bar; } somewhere else in the code I write Type t = typeof(Foo); PropertyInfo[] pi = t.GetProperties(BindingFlags.INstance | BindingFlags.NonPublic); unfortunately the pi array I get is of length 0 ?!?! did I miss something ? -- ...more >>

Saving excel file through Managed c++
Posted by Rajat at 8/30/2004 3:05:08 PM
Folks I am trying to build an application, in managed c++, which opens an excel file and enters a formula, in one of the cell, and then reads the value generated by that formula. The program works fine except for the fact that I am not able to close the excel file which I created through th...more >>

TCPClient -form.show
Posted by Andrew Dimech at 8/30/2004 2:31:02 PM
Hello, I've been using the "Advanced .NET Framework (Networking) - Use Sockets" example that comes with the "Visual Basic.Net Resource Kit". This works perfectly fine and i learned alot from it. However i'm having a problem with showing a Windows Form in the asynchronous Read procedure ...more >>

Renaming log file that is being read
Posted by Mike Blake-Knox at 8/30/2004 1:00:01 PM
I have a server using the .NET Framework 1.0 that writes logs onto the end of a text file. When the log file becomes full, it renames the log file then creates a new file and writes logs into that file until it too becomes full. It is often useful to watch the text being added to the file ...more >>

catching Runtime Stack Overflow Exception
Posted by assaf at 8/30/2004 12:40:24 PM
hi all i need to catch a Runtime Stack Overflow Exception. how can i do this? assaf ...more >>

upgrading to visual studio 2005
Posted by Dennis at 8/30/2004 1:39:05 AM
When I visit the visual studio or visual basic home pages, most of the talk is about vs 2005. I'd like to know whether my vs 2003 projects will open up in vs 2005. Can they be automatically upgraded to take advantage of the better features? Is this true for ado.net, asp.net, windows for...more >>

Logging Exceptions ... Where ?
Posted by Gurminder at 8/30/2004 12:11:02 AM
Hi, Can anybody guide which approach is the best for logging exceptions ? The solution should consider performance, concurrency issues, production scenarious, easy of data analysis & purging operations. Logging Exceptions to, 1. Text Files 2. SQL Server 3. MSMQ or, suggest any other ......more >>

Progressbar stops working
Posted by Glyn Meek at 8/29/2004 2:41:32 AM
I have a Visual Basic application that process TIF and TARGA image files, some of which are upwards of 1.5 gig each. The processing can take about 10 hours on a fairly fast PC with 2 giabytes of memory. Like most anal retentive developers(!) I want to keep my eye on the progress and have built ...more >>

AppDomains + remoting
Posted by aaron.thomas1 NO[at]SPAM defence.gov.au at 8/28/2004 10:18:13 PM
Hi, I've implemented an elegant way to provide a plug-in, hierarchical, architecture to our application with sub-application isolation - AppDomains. These AppDomains are loaded and unloaded as neccessary within the application. Both synchronous and asynchronous events that cross AppDomain bou...more >>

Deployment Problem
Posted by Abdul Rahman at 8/28/2004 8:59:03 PM
Hi, I would appreciate if any of u could help me out of this mess. I created a windows service and i have a another project(which has some Util function) which is added as reference.Now when i compile,where will the second project dll be placed. There are 2 directories , Bin/ Release or Deb...more >>

Create GUID in C#
Posted by Jeff Lynch at 8/28/2004 7:45:32 PM
How do I create a new GUID programatically like the "Create Guid" tool does in VS.NET? -- Jeff Lynch "A BizTalk Enthusiast" http://dotnetjunkies.com/WebLog/jlynch/ ...more >>

Windows CE or Pocket PC ?
Posted by moko at 8/28/2004 6:50:25 PM
If we had to develop a .NET Smart Devices application, what are the pros and cons in choosing between Pocket PC OS, and Windows CE ? This may be an age-old question, but hope somebody has the patience to explain ...more >>

Derived method GetObjectData .... can not reduce access. (runtime error)
Posted by Steven Ireland at 8/28/2004 5:44:26 PM
I'm getting the follow message when I try to call a routine which creates an instance of my class TG.ADO.DataConnector.ADOConnectorColumn. The calling code is // try {Inquire();} catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message); } catch...more >>

Managed EXE DLL Injection
Posted by Nadav at 8/28/2004 5:19:03 PM
Hi, I am writing some kind of an encryptor for.NET assemblies, This require me: A. To encrypt the IL code ( done successfully ) B. To enable transparent means of decrypting the IL code on run-time in a way that the encrypted DLL will stay independent. Concerning the latter issue, to achiev...more >>

removing DefaultTraceListener in app.config
Posted by sam at 8/28/2004 2:14:06 PM
Hi, I am using the tracing features in system.Diagnostics I want to be able to configure my listeners throught the app.config not in code. I configured a TextWriterTraceListener which works fine. But I noticed output was also being sent to the console, and if a Trace.Fail statement is issued th...more >>

ABOUT MAPNETWORK DRIVE
Posted by Ranjit Kumar via .NET 247 at 8/28/2004 11:45:38 AM
(Type your message here) -------------------------------- From: Ranjit Kumar Dear friends, i am doing a project in .NET.i am stuck in mapping the network drive...can any one help me to give the procedures for coding this particular module. ----------------------- Posted by a user from .N...more >>

Debugging .NET plugin in Excel 2003
Posted by Theewara Vorakosit at 8/28/2004 9:16:50 AM
Hi, I have an excel file (.xls) that contain .net plugin and its required dll. I cannot execute it. There is no error message. But when I click a button, there is no response. Can someone suggest me about debugging it? Thanks, Theewara ...more >>

How to use different color to display the item text in a ListView class with View property set to "details"?
Posted by ZhangZQ at 8/27/2004 5:59:27 PM
How to use different color to display the item text in a ListView class with View property set to "details"? I want to use different color for different row in the ListView. Thank you very much! Regards, ZhangZQ ...more >>

Exiting a for loop
Posted by Microsoft at 8/27/2004 5:16:43 PM
I have a for loops that goes from 1 to 256 I test the number and exception is thrown if there is an error. How do I get the program to stop in the middle of the loop and go to the next increment if an exception is thrown. I can only figure out how to exit the loop. 'read the text file ...more >>

An open source drive space viewer
Posted by Simon Harvey at 8/27/2004 3:12:54 PM
"Simon Harvey" <sh856531@microsofts_free_email_service.com> wrote in message news:... Hi all, I am looking to make an open source Drive space viewer. One that displays the sizes in a graph and lets you move through the directories via a treeview at the left. I have three questions i...more >>

SpinWait....
Posted by Ollie at 8/27/2004 2:20:57 PM
What is an iteration with respect to Thread.SpinWait...... Cheers Ollie ...more >>

Code sample and/or tutorial please
Posted by scorpion53061 at 8/27/2004 2:05:09 PM
I thought this would be simple but.. I need to monitor a folder on a Windows 98 and up PC for new files and perform events with the files in a windows system tray application (runs in the background). For some reason I am having trouble with the watcher component and getting it to coope...more >>

MonthCalendar and SP2
Posted by Josip Medved at 8/27/2004 12:21:14 PM
On each computer where I have SP2 installed, MonthCalendar changes it's width. Is there any cure for this? -- Pozdrav, Josip Medved, MCSD http://www.jmedved.com ...more >>

Declaring variable publically
Posted by Microsoft at 8/27/2004 11:43:01 AM
I need to have two private subs have access to a variable. One will assign the value and the second will use it. The user will choose a file using the openfiledialog and a button The user will use a second button to begin processing the file. I can't seem to get the file name to move from...more >>

Finalization order and using finalizers to commit changes
Posted by Fernando Cacciola at 8/27/2004 11:28:10 AM
Hi, In the context of C#: Comming from C++ and new to C# it just ocurred to me to put some code in the finalizer of a class as a mean to commit changes whatever happens. It would have worked right if it were not for the fact that when I close the application this finalizer is called after ...more >>

Validation controls
Posted by Stephen at 8/27/2004 9:58:31 AM
Hi, Does Validation controls like "Required field validator".... ever work with Netscape or we have to write javascript for either client-side or write server side validation. Please advice. Stephen ...more >>

c# Design Patterns
Posted by Greg Webb at 8/27/2004 9:49:38 AM
Hi, Coming from a VBA background I am new to C#. I have come accross: Design Patterns C# Workbook by Steven John Metsker, Professional C# Design Patterns Applied (wrox) and C# Class Design Handbook (apress). Can anyone recommend the better book for my circumstances. Thanks ...more >>

This is Disturbing
Posted by scorpion53061 at 8/27/2004 8:55:47 AM
Associated Press Greenspan Warns on Baby Boomer Benefits Friday August 27, 10:22 am ET By Martin Crutsinger, AP Economics Writer Greenspan Warns of 'Abrupt and Painful' Choices Unless Baby Boomer Benefits Are Trimmed JACKSON, Wyo. (AP) -- Federal Reserve Chairman Alan Greenspan said F...more >>

Object reference not set to an instance of an object.
Posted by jknaty NO[at]SPAM yahoo.com at 8/27/2004 8:28:46 AM
I basically built a C# ASP.Net application on my local machine (running Windows XP, MSSQL2000, IIS) and it has been tested and ready for deployment. So I deploy it to our server (running Windows 2003 Advanced Server, MSSQL 2000, IIS). So I go to the site locally in case of an error (http://loc...more >>

Reflection pass by ref abnormal behavior
Posted by Sri Vobilisetti at 8/27/2004 6:29:03 AM
hi, I am trying to call a method from a .net class dynamically and I am passing a string reference to the method. Below is a sample of what I am doing. Somehow the value of the parameter passed is not being updated. The wierd thing is that if I change the variable type to Integer, it works. ...more >>

Update from Framework 1.0 to Framework 1.1
Posted by Joe at 8/27/2004 2:15:34 AM
Hi there. I ran the install for the new Framework, and it installed without problems. But how do I know what Framework Visual Studio.NET is accessing? When I go to the Help Tab in VS.NET it and select About Visual Studio.NET is it tells you what Framework it is using, and it still says ...more >>

ADM for .NET configuration??
Posted by AndersBj at 8/27/2004 12:27:02 AM
I'm looking for a way to configure "Runtime Security Policy" in .NET configuration using AD. I've heard that there is something called ADM that you can install that gives you the possibility to set these thing in Active Directory. Has anyone heard of this? Where can I download this ADM for .NE...more >>

Set Icon Property for User's Desktop and AddRemoveProgramIcon Prop
Posted by Joyce at 8/27/2004 12:05:03 AM
I am using VS.NET Setup Wizard to create my setup msi file. However, I can't set the AddRemoveProgramsIcon property for my Setup Project and the Icon proptery for the shortcut of the output file in the User's Desktop. The correct icon can't appear. I use the following steps to set the icon ...more >>

Set Focus
Posted by Rookie at 8/26/2004 7:13:01 PM
If my aspx page contains a listbox and a text box, is there a way to set focus to the textbox after an item is selected in the listbox?...more >>

URGENT: PROBLEM WITH VS.NET 2003
Posted by Mustafa Rabie at 8/26/2004 7:12:55 PM
Dear All, I need help with this problem ASAP. I formatted my PC and installed windows XP and VS.Net 2003 Arch edition. Whenever i try to add a form to any project (web, smartdevice, windows) or even create a new project i get the following ERROR MESSAGE. --------------------------- Micr...more >>

Return file as string
Posted by Microsoft at 8/26/2004 6:59:04 PM
Is there a way in vb.net to have the user browse to a file and return that file's name and path as strings? ...more >>


DevelopmentNow Blog