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
all groups > dotnet general > october 2004 > threads for thursday october 21

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 31

How do I know if IIS is installed?
Posted by Peter at 10/21/2004 10:09:08 PM
I am using Win XP Professional and am going to install VS.NET 2003. How do I know if IIS 5.0 has installed pn my desktop? Many thanks...more >>


Active Directory new User account - howto set CN value
Posted by Publickey at 10/21/2004 9:45:02 PM
Hi, I am having trouble setting the user's cn value using VB .NET 2002 while creating a new user account. The code is as below: ***********************Start of code**************************** Dim enTry As DirectoryEntry = New DirectoryEntry("LDAP://" + ldapStr) Dim NewUser As Direc...more >>

Deployment Project/MSI/installer problems
Posted by Arun Bhalla at 10/21/2004 7:04:20 PM
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its propert...more >>

SDK download (and ATL)
Posted by Bonj at 10/21/2004 6:57:05 PM
1) I've seen that you can download for free the .NET 2003 SDK, which seems to include everything you need to build apps from the command line, so you only have to actually pay for the development tools if you want the IDE, right? I've also seen the VS.NET 2005 beta express editions downloadab...more >>

Visual Studio - Sentence Case
Posted by Jewel at 10/21/2004 6:45:07 PM
hi all sorry if this is in the wrong group - I have just started using Visual Studio.net 2003 - MSDN reporting tools - I come from a MS Access Background I need to verify sentence case eg emailid - should show John.Smith@aaaa.co.nz - and not john.smith@aaaa.co.nz how do I set ...more >>

Reflection / Casting Question
Posted by Angelos Karantzalis at 10/21/2004 5:17:51 PM
Hi guys, I'm trying to load a class instance dynamically, and then cast it to it's base type so I can use it in my app. More specifically, I'm dynamically instantiating a System.Web.UI.WebControls.RequiredFieldValidator and attempting to cast it into an IValidator and/or a BaseValidator...more >>

Specified cast is not valid exception when moved from v1.0 to v1.1
Posted by Raj at 10/21/2004 4:13:04 PM
I have a c# program in which I used cast. That worked perfectly on .Net platform 1.0. When I moved to .Net 2003, I am getting the execption "Specified cast is not valid". I have not made any changes to the code. Is there any difference in project settings or something else between v1.0 and ...more >>

Create a network account from program?
Posted by Brent at 10/21/2004 4:07:51 PM
Hi, We're developing a new HR Recruitment program, and I'm wondering if it is possible to automatically create a new Windows Network profile for a new employee? (Active Directory I think). If not through C#, maybe some sort of batch program or even some sort of mouse recording and capture wit...more >>



Scale out
Posted by Shabam at 10/21/2004 3:15:57 PM
I have a dotnet application that allows users to upload images. These images are stored in separate folders like this: E:\images\{first 2 letters of user ID}\{3rd and 4th letter of user ID}\{user ID}\user-image.gif This is to prevent overloading of too many files in one particular director...more >>

declare DIM within TRY statement
Posted by wk6pack at 10/21/2004 2:45:28 PM
Hi, I was wondering why when I declare the dim variable outside the try statement, I could use the .dispose() function but when I declare it inside the try statement, I get Name 'varname' is not declared. thanks, Will ...more >>

Weird error: Could not copy temporary files to the output directory.
Posted by Etienne Charland at 10/21/2004 2:39:46 PM
Hi, I have a solution containing 6 C# projects; 1 WinForms project and 5 class libraries. I didn't have any problems until recently. I added a new project containing reports. I am using ActiveReports.Net. Now, whenever I make a change to a report in the class library and recompile, I get this ...more >>

How to change the Startup Type of a Service with VB.NET?
Posted by DraguVaso at 10/21/2004 2:23:04 PM
Hi, How do you change the Startup Type of a Windows Service with VB.NET? When using the ServiceController you can Start and Stop a Service, but I can't find anywhere how to change the Startup Type? Thanks a lot in advance, Pieter ...more >>

VB.NET 2003 FileSystemWatcher Problem - Too many changes?
Posted by JMann8 NO[at]SPAM aspus.jnj.com at 10/21/2004 1:31:11 PM
I have created a windows service which runs the FileSystemWatcher component. If the service is running and monitoring a directory (ex. "c:\temp") during heavy folder access the service generates the following error: "Too many changes at once in directory:". Is there ANY way around this? Is...more >>

Obfuscation: Not just for protecting intellectual property
Posted by Jonathan Henderson at 10/21/2004 12:53:32 PM
Obfuscators aren't only used for protecting intellectual property. See the hacker demo at this link: http://www.preemptive.com/documentation/NetHackerDemo.html For those who don't know what an obfuscator is, here's the link that gives a brief explanation: http://www.preemptive.com/obfus...more >>

Compilation of ASP.NET page classes and in-line .NET code
Posted by ISGADMIN at 10/21/2004 12:43:02 PM
I know that ASP.NET code-behind classes are compiled into IL at project build time, but what about the .aspx files themselves? I believe that the .aspx files are compiled into IL at runtime, upon access to the website, correct? What about in-line .NET code inside <% ... %> blocks in .aspx fi...more >>

Unable to read data from the transport connection
Posted by gregfocker NO[at]SPAM earthlink.net at 10/21/2004 12:38:19 PM
Hi. This error is intermittent, and we can't figure out why it happens. Otherwise, the request is successful, and we get the response we expect. Here's the code (some variable declarations not shown, but exist): Dim sr As IO.StreamReader Dim objResponse As Net.HttpWebResponse ...more >>

Links for .NET security stuff
Posted by Olaf Baeyens at 10/21/2004 11:25:48 AM
Can someone out there point me to a URL or other reference how to use these security stuff in .NET? I know everything can be found online on the msdn but since I am new to this security stuff, I have a very hard time to find the correct page in the zillions of abstract pages talking about this t...more >>

Looking for a pre built dotnet corporate or small business website
Posted by William at 10/21/2004 11:25:03 AM
Looking for a pre built dotnet corporate or small business website template. ...more >>

How to know the Version of a DLL used in the application?
Posted by DraguVaso at 10/21/2004 10:16:47 AM
Hi, Does anyone knows how to determine the version o a dll used in a application? I have an application that uses a dll from another company, but unfortunately that dll is sometimes more than one a a pc, and I want to knwo which one (which directory) it is using, and which version. It's the...more >>

Passing Null value to SQL
Posted by amber at 10/21/2004 9:53:04 AM
Hello, I'm not sure if this question should go in the SQL forum or this one... I'm using VB.NET and SQL Server. I'm using stored procedures to update and create new records in my database. On the form I'm working on, I have 2 date fields. I want the user to have the option of leaving these bl...more >>

Convert <table> from HTML text file to datatable
Posted by js at 10/21/2004 9:17:09 AM
I'm just wondering if anyone have come across a code that reads an html file,search for <table> tag and convert its contents into a datatable and save it into a dataset.If there are few html tables,then each will be converted into a datatable and added into the same dataset. thanks. ...more >>

Assembly lookup , GAC and plugins
Posted by adebaene NO[at]SPAM club-internet.fr at 10/21/2004 9:15:14 AM
Hello group. I have an app which can load "plugins" assemblies that are described in the registry (each registry entry gives the full path to the plugin ..dll file). The plugins may be anywhere on the disk. Each plugin defines a class which implements an interface known to the app. The main...more >>

Get rid of "Visual Studio Projects" folder from My Documents?
Posted by Grahammer at 10/21/2004 9:14:18 AM
I don't keep my projects here, yet this folder keeps appearing in My Documents. This folder is cluttered up enough without extra folders being dumped here for no reason. How do I stop Visual Studio dotNet from creating folders I don't want, need or use? Thx ...more >>

Send email through windows application
Posted by xie NO[at]SPAM proexam.org at 10/21/2004 8:30:11 AM
Hi, I am trying to find a way to send emails through windows application by vb.net. I was using system.web.mail.smtpmail when I am doing the web application, but I couldn't find it on windows application. Can anyone kindly tell me how to do it in windows application? Thanks. Irene...more >>

How to config visual studio .net to read IIS port 8000 as default?
Posted by Rudy Ko at 10/21/2004 8:25:42 AM
Dear All, I have Apache using port 80. So I changed IIS to use port 8000 as default web service. After that all my .net projects were not able to load into Visual Studio .net. Do you know how to configure Visual Studio .net to load web projects from port 8000? Thanks for the help!!! Tha...more >>

Datagrid and events to perform essential task
Posted by Stephen at 10/21/2004 7:17:01 AM
I have an the below datagrid which displays as follows: - ADDRESS Databound SELECT Databound SELECT Databound SELECT I need to to some sort of event which takes the value from the databound cell and displays it in a asp table when the select(linkb...more >>

Strong Name Security Policy Addgroup Error
Posted by Rob Barnes at 10/21/2004 6:39:02 AM
When I try to create a machine-level security policy based on an assembly's strong name, I get the following error: "ERROR: Invalid label or name" The caspol command is: "caspol -machine -addgroup All_Code -strong -file \\<network_share>\app.exe -noversion" I've tried several variati...more >>

XP visual style
Posted by Gary Miller at 10/21/2004 6:22:23 AM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchShapedWindowsFormsControlsInVisualStudioNET.asp I've tried everything in the article http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchShapedWindowsFormsControlsInVisu...more >>

print out a file in VB.net
Posted by Li Weng at 10/21/2004 5:59:04 AM
I am working on a VB.net project that needs to provide a feature that user can print a file to a printer from a directory. The file can be any type, like PDF, TIF, etc., not just text file. Could anybody help me with this? Thanks in advance. Li ...more >>

Enum Windows
Posted by Sid S. at 10/21/2004 3:42:16 AM
Is there a .Net class that you can use to Enumerating Top-Level Windows like the win32 EnumWindows() ? Thanks in advace. Sid S....more >>

The underlying connection was closed: An unexpected error occurred
Posted by Mike Towle at 10/21/2004 12:55:06 AM
Receiving error "The underlying connection was closed: An unexpected error occurred on a receive." when requesting a webpage from VB.NET. Here is the simple code: Dim strStartPage As String 'URL of the requested page Dim reqMain As HttpWebRequest Dim resMain As HttpWebRespo...more >>

Dialing number in .NET
Posted by Igor at 10/21/2004 12:25:02 AM
Hi everyone! I have a question. How can I work with modem in .NET from C#. Do I have to call to TAPI functions from my C# program, or there is another way to do it in .NET? Best regards Igor. ...more >>


DevelopmentNow Blog