Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > october 2003

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

Code access security : codegroups
Posted by Chris at 10/31/2003 7:55:51 PM
Hi, when an assembly is loaded by the runtime does the runtime check the evidence of the assembly. Then depending on the evidence does it assign the assembly to a codeGroup. And finally, depending on the permission sets assigned to the Codegroup (the assembl belongs to) is it allowed (or not) ...more >>

Closing a database in VB .Net
Posted by Vegar Hansen at 10/31/2003 6:53:01 PM
Hello everone. Can somebody help me? When I run my code I can read, write to and delete from database, but when I have done one of these things and try to copy the databasefile from my folder to an other folder with Windows Explorer the system "hangs up" for a couple of minutes. It seems like...more >>

change permissions
Posted by Free at 10/31/2003 4:27:16 PM
Hi, I would like to modify the permission on a registry using .NET For example, the account aspnet has no permission to read or write by default. How to add permissions using code ? thanks for your responses... Guillaume ...more >>

How can I use response.binarywrite and frames?
Posted by Vinay at 10/31/2003 2:20:13 PM
Hi All: I have a frameset (right and left). In the left frame I have a listbox that contains items. When the user clicks on any one of these items (each item points to either a word document or an image) - I'd like to show this (image or word document) in the frame on the right. Would anyone h...more >>

Problems connecting to Active Directory
Posted by Maria Isabel Henao at 10/31/2003 2:17:32 PM
Hi, I'm having some problems with my web application when I try to connect to Active Directory. The code worked well for months but about 4 weeks ago it stopped working. I'm using a LDAP path like this: LDAP://DC=domain,DC=com With the following code: ADSentry=new System.Director...more >>

J2EE Jain vs .NET for Telecom Development
Posted by Sebastien Lange at 10/31/2003 2:16:37 PM
Hi, The telecom company I'm working for is actually deciding to go through .NET or J2EE with Jain. I'd like to convince my boss .NET is the good solution, but I don't know what Jain is, so it's a little hard ;-) I read some stuffs at http://java.sun.com/products/jain/ and Jain looks great fo...more >>

Handle leak in Socket.BeginConnect()
Posted by Bryan Mayland at 10/31/2003 1:28:09 PM
I've got a problem with a System.Net.Socket that is failing on connect. Each time I attempt a connection, 3 handles are allocated, and when the connect fails 2 handles are freed. If left retrying over a long period of time the extra handles build up to several thousand quite quickly. Here's t...more >>

file lock?
Posted by RP at 10/31/2003 12:46:43 PM
Hi all, I was wondering if it is possible to place a lock on a text file, while opening in write mode so that no other processes/threads can even read the file until current process is done and releases the lock? TIA, RP ...more >>



No Excel events with No Touch Deployment?
Posted by shane Carter at 10/31/2003 11:56:14 AM
I have a WinForm app which opens Excel (using Automation) and traps Excel's Workbook_beforeclose event. The handler for this event executes when the app is run as a standalone exe. However, when the app is deployed using No Touch Deployment technology and accessed from the browser the even...more >>

The object is currently in use elsewhere
Posted by David K at 10/31/2003 10:51:45 AM
we are receiving the error ( details in the end of the email) on of our workstations The error appear when using multiple .NET applications. the problem does not happen on other workstations that use the same applications. to exclude the option that it is something in the application - I tested...more >>

how to define function pointer in C#
Posted by ZhangZQ at 10/31/2003 10:38:16 AM
if there is a function in a win32 dll, it is definition is int add(int a, int b); how to define that function pointer in C#? thank you very much! ...more >>

Dynamicaly load and call a function in Win32 dll
Posted by ZhangZQ at 10/31/2003 10:32:12 AM
Is it possible to dynamicaly to local and call a function in Win32 dll(not a ..net assembly dll) in C# at run time, for example, a C# program popup a dialogbox to let use input which Win32 dll to be loaded, which function to be called, and what are the parameters to call the function. Thank ...more >>

Looking for a few good APIs
Posted by robinsoh NO[at]SPAM vu.union.edu at 10/31/2003 8:50:22 AM
Hello, I'm looking for some .net APIs to do the following from within a Windows Form. - Open IE with a specific web page (Using the LinkLabel) - Open the System Info Dialog Box (Often found in the About Dialog Box of an application) Thanks in advance, - Harry...more >>

Radial Gradient
Posted by Kelly Elias at 10/31/2003 8:16:33 AM
Is there a way to create a radial gradient in .NET? I would like to create a gradient where the first color starts in the center and the gradient effects the color moving outward in a circular pattern. I have tried to use a LinearGradientBrush to do this but no luck. Any suggestions? ...more >>

Monitoring the activity of a .net windows service
Posted by TG at 10/31/2003 6:06:07 AM
I have created a .net windows service which polls a directory for files every so often. I have created a client service controller application which is used to set configuration properties for the windows service. But in this client application i also want to be able to determine the statu...more >>

import CSV file in to DataSet
Posted by Mohan at 10/31/2003 5:32:26 AM
Hi Friends, I have an issue in importing csv file in to a Dot net data set using Microsoft.Jet.OLEDB.4.0 provider. I am able to import the csv file in to data set when the file has less than 256 columns. If it has more than 256 columns, its not importing the columns beyond the 256 column...more >>

Need Help
Posted by P.Sunil at 10/31/2003 1:06:08 AM
I am using Reflection to print the Fields,Methods,Constructors of a particular class.The sample logic i am using is below. When i am running the programme if i am giving user input as System.Console Output is showing correctly.But when i am giving user input as System.Windows.Forms.Form I...more >>

delegation
Posted by P.Sunil at 10/30/2003 11:24:58 PM
what is meant by delegation.how it is used in .net. can any body can give a good example and url for material on delegation...more >>

need class names
Posted by P.Sunil at 10/30/2003 11:13:43 PM
How to Find all class names In an assembly or namespace.. programmatically. I am getting Assembly name by user input. i.e I dont't the assembly name at compile time ....more >>

LH API
Posted by news.microsoft.com at 10/30/2003 10:08:25 PM
Does the Longhorn managed API do SERIAL COMMUNICATION? ...more >>

include .net in application
Posted by Dragos Barac at 10/30/2003 9:03:01 PM
We built an application in C# and just realized that the .NET framework is not installed by default on WinXP machines. Short of asking our customers to download the entire .NET framework, is there any other way to make a C# application run on a standard XP client machine? Is it possible...more >>

Thread.Sleep...
Posted by news.microsoft.com at 10/30/2003 7:16:43 PM
Hi, Currently I have a thread thats spinning and doing a Thread.Sleep(someTime). I was thinking of changing this to Thread.Sleep(Timeout.Infinite); then when I have actual data in a collection to process in this thread, I was going to do a _thread.Interrupt(); Would this be a better a...more >>

FEATURE REQUEST: Mail handling in its current form is useless
Posted by news.microsoft.com at 10/30/2003 6:46:41 PM
Dear Santa, I would like to have the ability to specify logon information as properties in the SmtpMail class as in its current incarnation its as usefull as a fanny pad in a monestry. Thank you. ...more >>

OleDb, Odbc, Sql classes
Posted by news.microsoft.com at 10/30/2003 6:37:31 PM
Why didnt we just have one class that made the db underneath just coded in one way, now we got 3 diff ways. Couldnt it have just been one? Doint they all do the same thing except differently under the hood. Why should I have to choose when I only want to do ONE thing, access a database. ...more >>

Calling .ASP pages
Posted by Joe Reazor at 10/30/2003 5:08:54 PM
I know you can't use Server.Execute to call an ASP page, so I have tried using the HttpWebRequest and HttpWebResponse objects to do so. The trouble is that the asp page that I need to call is password protected. When I call GetResponse on the HttpWebRequest object I get the login page that a no...more >>

String To Byte array
Posted by Dan C at 10/30/2003 4:36:24 PM
Is there a routine in c# that will transform a string ie"Hello Mom" into a Byte[] array. I have found char[] cTmp = pString.ToCharArray(); But I have not been able to figure out how to convert a char into a hex value and place that value into the byte[]. Thanks for your help Dan C ...more >>

reflection?
Posted by RP at 10/30/2003 3:39:46 PM
Hi all, I am wondering if it is possible to dynamically retrieve an objects value given a variable. Basically: Public Class Address Public address1, address2, city, state, zipcode as string End Class Dim A as Address Dim strobjectname as string = "A.address1" How can I retrieve value ...more >>

Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset
Posted by Nedu N at 10/30/2003 2:36:12 PM
Hi All, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data into typed dataset in order to ease the further processing using typed references. DataSet ds = getDataFromDB(); - i am getting the dataset ds f...more >>

BUG System.Web.Mail.SmtpMail BUG
Posted by news.microsoft.com at 10/30/2003 2:24:03 PM
Unable to specify login credentials for SMTPMail object. How can I specify a login for sending SMTP with SmtpMail class? ...more >>

Convert string to Stream
Posted by Robert Strickland at 10/30/2003 2:07:59 PM
What is the best way to convert a variable of type string to the IO.Stream object? ...more >>

Compilation Date
Posted by Patrick at 10/30/2003 1:46:09 PM
Hello Is there a way to get the compilation date of a file.. or build in a variable at compilation with the current date in c# (not the file-date!). somethin like #define date ...?? Thanks Patrick ...more >>

C++ and Garbage Collector?
Posted by Boris at 10/30/2003 1:34:46 PM
I am having really tough time finding anywhere on the web concrete explanation (if any) of how Garbage Colletor decided for C++ managed objects when object is ready to be released, and why? Refer to simple example below with questions inside comments. __gc public class MyGCClass {...more >>

Add enum to combo box?
Posted by Bill at 10/30/2003 12:32:18 PM
Is there an easy way to add an enumeration to a ComboBox? i.e. comboBox1.Items = MyEnum ...more >>

Problem using Type.GetType
Posted by Daniel Bello Urizarri at 10/30/2003 12:24:51 PM
Hello: I have a form that finds all the dlls with types inheriting from DbConnection and allow users to key-in a connection string. Then I save the AssemblyQualifyedName of the type and the connection string, and later I use: Type type = Type.GetType ( _assemblyQN ); to get the type. Works f...more >>

Framework 1.0
Posted by basin at 10/30/2003 12:18:04 PM
I need to roll back to Version 1.0sp2 on one of our web servers. However, I am having trouble finding the 1.0 version of the Framework anywhere on Microsoft's site. Does the sp2 download encompass the 1.0 framework also? Thanks...more >>

temporary asp.net files folder
Posted by Tin at 10/30/2003 11:56:59 AM
is it safe to purge objects under this folder? i have discovered about 150+ thousand objects under folder 'root' and that seems to be causing random failures on our website. it took awhile to access this folder in windows explorer too. thanks ...more >>

Can not debug in VS.NET
Posted by edward NO[at]SPAM de-leau.com at 10/30/2003 11:16:42 AM
Hello, I have (possibly) a framework related problem Or VS specific : Error while trying to run the project: unable to start debugging on the server. could not start asp.net or atl debugging. Verify that ASP.NET or ATL Server is correctly installed on the Server. This occurs when i want ...more >>

string value of enum
Posted by RP at 10/30/2003 10:57:58 AM
Hi all, I was wondering if there was a way to return the string value of an enumeration. Example: Public Enum MyStatus NA YES NO End Enum Dim a as MyStatus = MyStatus.YES response.write(Cstr(a)) ' returns 0 Instead I need "YES" TIA, PR ...more >>

network drive problem w/ System.IO.Directory.Exists
Posted by Peter O'Reilly at 10/30/2003 10:55:29 AM
While using the .Net framework v 1.1 implementation of System.IO.Directory.Exists(), it fails to recognize a mapped network drive. This is true if the path specified uses a mapped drive letter or is expressed as a UNC address. I have also tried the drive letter and UNC paths with and without ...more >>

copying a datatable content from an untyped dataset into a table which is inside a typed dataset
Posted by Nedu N at 10/30/2003 9:13:21 AM
Hi Techies, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data into typed dataset in order to ease the further processing using typed references. DataSet ds = getDataFromDB(); - i am getting the datase...more >>

Searching the .Net Namespaces for Functionality
Posted by January Smith at 10/30/2003 8:20:18 AM
I am new to the .Net framework and finding it difficult to determine the namespace in which I might find a particular functionality. I feel certain that I will eventually develop a 'feel' for where to look, but until then I was wondering if anyone could share any techniques or other resources fo...more >>

How to Save Excel chart object as a GIF ?
Posted by hypehoopla NO[at]SPAM yahoo.com at 10/30/2003 8:04:25 AM
Hi, When programming using the .NET framework, How can Is it possible to save the Chart in an existing excel spreadsheet as a GIF programmatically ? Thanks, Hype....more >>

Calling .Net from C++ (unmanaged)
Posted by Paul at 10/30/2003 8:00:04 AM
Hi all, Not sure if this should have gone into the C++ board, apologies if it should have. I was hoping for a really simple answer/examples to the simple question of whether I can call .Net functions from my legacy unmanaged C++ application. I just cannot seem to get the answer from the...more >>

HttpContext.Current always returns NULL when called from Classic ASP
Posted by mattk NO[at]SPAM mattk.dj at 10/30/2003 5:14:28 AM
Hello, I am porting my existing ASP business logic into C#, compiling as an application, then using COM callable wrappers to instantiate the application under ASP. I am trying to use HttpContext.Current.Request.MapPath in my c# code, but when I call the code from ASP HttpContext.Current ret...more >>

Global Assembly Cache
Posted by Bill at 10/30/2003 1:10:57 AM
I'm trying to add an assembly to Global Assembly Cache using the Global Assembly Cache tool (Gacutil.exe). From command prompt: "GACUTIL /I amqmdnet "C:\Program Files\IBM\WebSphereQ\bin\amqmdnet.dll" After the execution am getting: "Assembly successfully added to the cache" But when am...more >>

.Net Framework setup failure in Windows XP
Posted by Eivind Smedsvig at 10/30/2003 1:08:11 AM
I get this error message when I try to install .Net Framework 1.1 on WinXp Pro: "Setup cannot access Windows Installer components. Setup cannot continue". Tried with Dotnetfx.exe and from Windows Update. I'm logged in as Administrator. Windows Installer version is 2.0....more >>

This new fangled services stuff
Posted by news.microsoft.com at 10/29/2003 8:58:24 PM
How many people actually use it live for real things or do people do "normal" projects, and porting. What is the main use for C# by people. Web Fantasy Services, or down to earth controlling hardware (mumbling craptiveX as no serial comms) and porting other normal apps, client and server side...more >>

Set proportional ListView column widths - how to
Posted by Richard Muller at 10/29/2003 7:18:22 PM
Hi All, As I recall from Java Swing, I could assign the widths of columns to something like a list control proportionally rather than absolutely. That is, essentially I could assign "weights" x, y and z to the columns respectively of a three-column list control; at run time, the system woul...more >>

send message from two Apps
Posted by Igor at 10/29/2003 7:11:22 PM
in mfc i used to declare shared memory between two or more processes, and send message from one to another (IPC), how to implement that in .NET Applications?...more >>

problem of exchange data between classes
Posted by yangxiaoxiang at 10/29/2003 6:41:10 PM
I find there are some conditions I can't get data defined in another class. One condition is: namespace Test { class A { private int aValue; public void method1() { B b=new B; int value=b.GetValue(); //Cheers!I can get bValue in class B } } class B { ...more >>


DevelopmentNow Blog