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

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

Creating Classes by name
Posted by Shehab Kamal at 1/31/2006 11:07:27 PM
I would lik to instantiate the appropriate control/class given its name, such as: Control c = new Control("TextBox") this should create a new TextBox(). I can write my own code that will create the appropriate control according to the given name using switch statement, but I'm looking for a mo...more >>


HELP!!!!
Posted by sonu at 1/31/2006 10:23:37 PM
I have a page Retrirve.aspx with two frames f1 and f2 .f1 has word.aspx and f2 has retrieveImage.aspx.I want to pass a value from Retrieve.aspx to f2 ie. retrieveImage.aspx. How can i do this? ...more >>

Restart a Remmote PC?
Posted by Tedmond at 1/31/2006 8:42:05 PM
Dear all, Is it possible to restart a remote PC using .net? The PC did not join my domain but I know it's local admin login. Thanks for any help. Tedmond...more >>

News Group
Posted by Shmuel Shulman at 1/31/2006 8:15:11 PM
Hi I am looking for a news group for .NET printing Thank you Shmuel Shulman ...more >>

Application Server in .NET
Posted by Jochen Fromm at 1/31/2006 7:36:49 PM
In the Java and J2EE world there are quite a few application servers like WebShpere, WebLogic or JBoss if you want to develop large-scale applications. How many pure .NET application server exist which are not based on old COM or COM+ technology ? Would it make sense to develop a new one, with s...more >>

How can this be done?
Posted by Chris at 1/31/2006 5:46:28 PM
Hi, I need to create a small app which users will use to import data from excel files to be sent to a database. How can I use VB to check the structure of the files before importing. It will basically have 4 columns. I don't want them to select any excel files. The program should make sure th...more >>

Outlook.MaiIteml.Move: The RPC server is not available
Posted by Pieter at 1/31/2006 3:43:11 PM
Hi, On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server is not available. (Exception from HRESULT: 0x800706BA). The client has all the updates/service packs/ etc isntalled... Does anybod...more >>

Console exe continues to run after exiting all of my code
Posted by Tim Werth at 1/31/2006 3:17:28 PM
I have a .NET console application that is kicked off by a .NET Windows service. They communicate via .NET Remoting, although there isn't much communication between the two while the console app is running. There can be, and are typically, several instances of the console app running at the ...more >>



ComboBox design-time DataBinding setting questions.
Posted by dbuchanan at 1/31/2006 3:15:25 PM
These setting mystify me for these reasons. *SelectedItem* - Help says that 'SelectedItem' gets or sets the currently selected item in the combobox. *SelectedValue* - Help says that 'SelectedValue' gets or sets the value of the member property specified by the ValueMember property. *Valu...more >>

Enumerating systems in a network
Posted by Ken Allen at 1/31/2006 3:10:22 PM
Is there a native .Net mechanism for enumerating a list of all of the servers/systems in a LAN? Or must I resort to a Win32 call to achieve this? -ken...more >>

FileSystemWatcher moniters file with error process cannot access f
Posted by ZWeng at 1/31/2006 1:35:27 PM
I created a windows service using FileSystemWatcher to moniter a folder for file drops. The service uses FileStream and StreamReader to read and process the file. After it is done, the file is copied to a different location and deleted in the original folder. If files coming in in short i...more >>

dotnet question
Posted by Mark A. Sam at 1/31/2006 1:15:30 PM
Hello, I am strictly an Access Developer with limited exposure to ASP. My client wants to put his database online through a brower, which would mean using Thin Client Web ( I think that is the correct term) or something like Visual Studio and creating web pages for accessing the database remo...more >>

Storing conn string in 3 tiered apps
Posted by Vince Varallo at 1/31/2006 12:58:32 PM
Hello, I am building an ASP.NET 2.0 app and would like to architect my app in 3 tiers, UI, BAL, and DAL. What is the recommended place to store the connection string. I only want the DAL to know the connection string. I tried putting it in the web.config and using the ConfigurationMana...more >>

Help! C# - SqlDataSource to TextBox (asp.net)
Posted by deegee NO[at]SPAM 360computing.net at 1/31/2006 12:24:46 PM
Hi, I'm new to C# and Visual Studio 2005 and very confused trying to do a very simple thing (I think). All I want to do is: when a page loads it runs a query on a table in a database and displays the fields in various text boxes on the page. I've added the SqlDataSource to the page ok; added...more >>

Register a .NET DLL???
Posted by John\\ at 1/31/2006 10:28:20 AM
I created a simple DLL called: MyDLL I have been trying to register it so I can see it in the COM References; Regsvr32 does not work for .NET DLL RegAsm - seems to work, but I can not select the DLL from the Add COM References. I can not choose Browse as this is not an option in the ap...more >>

Calling .net 2.0 Dll from .net 1.1
Posted by cra451 at 1/31/2006 9:38:29 AM
Can you call a Dot Net 2.0 Dll from .Net 1.1? Are there any special steps to set this up? Chuck ...more >>

[VB.NET2003] how to host a COM application form inside a winform
Posted by Patrick at 1/31/2006 5:43:29 AM
Hi, I would like to host the form of a COM application (like Excel or other) in a winform. Is there a library to do that or a custom control for vs.net2003 ? Thx...more >>

Visual Basic.net 2003 - Mouse status
Posted by Chas Large at 1/31/2006 3:59:28 AM
Hi all, I hope I have found the right group to post this question to, if not please point me in the right direction. I have VB.net 2003 and need to make a button that performs an action only when pressed and the action STOP when the button is released. I have tried putting the following i...more >>

Help: Runing asp app from server 2003 ???
Posted by serge calderara at 1/31/2006 2:25:15 AM
Dear all, I have build asn ASP application which is collecting data from an SQL server database through store procedure call Running my we app from VS2003 environement works ok Copy my application to Server 2003 and running it localy works Ok But when accessing my web server from an othe...more >>

how to get printerstatus ?
Posted by Geir Sanne at 1/31/2006 2:09:26 AM
hi!!! ive tried to use WMI to get printerstatus, but it always report status "Idle". is it a way to get the status of a printer ?...more >>

Settings Question
Posted by Kent Boogaart at 1/31/2006 12:00:00 AM
Hi, I am working on a web project and have split my data access layer into a separate DLL. This separate DLL uses a .settings file to store the connection string. A strongly-typed settings class is generated for me in the background. However, this generated class is internal. My problem ...more >>

tool for extracting common methods
Posted by Vikram at 1/31/2006 12:00:00 AM
I have a task where I have 5 different class files , which have almost similar methods. But not sure... I want to check all 5 of them and want to list all the functions which are common in all 5. Is there any kind of tool or freeware available to performa similar task ...more >>

information required regarding creation of shadow copy in winxp
Posted by supriya at 1/31/2006 12:00:00 AM
Hi, I found vshadow sdk in MSDN.I am unable to use the shadow copy for backup and restore because it is creating only non persistent shadow copy in winxp.How can i create persistent shadow copy in winxp which is necessary for backup and restore. Is ot possible to do backup and restore w...more >>

Just in time compiling
Posted by Justin Naidl at 1/30/2006 10:55:05 PM
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the contents of his/her game, that you would end up with a tiny executable and a huge datafile. We wanted...more >>

.net blogging software?
Posted by Darrel at 1/30/2006 9:04:06 PM
Are there options out there? .text is the only thing I can find and it hasn't been updated in a long while. -Darrel ...more >>

Building a ITEMIDLIST from a number of SHITEMID structs
Posted by Peter Larsen at 1/30/2006 7:21:00 PM
Hi, I'm new to C# and need help to build a list if pidl's (ITEMIDLIST). I am currently working on a shell-browser, and i think i have most of it done right now - except from the icon stuff. Up to now i have used SHGetFileInfo to load the icon-index, but its slow and doest'n work on network ...more >>

Type cast
Posted by Peter Larsen at 1/30/2006 7:11:37 PM
Hi, How do i type cast a type to an array of type, e.g. IntPtr to IntPtr[] ?? /Peter ...more >>

Panel Control
Posted by Gomathi at 1/30/2006 5:09:08 PM
hi all, Can i have vertical scroll bar inside a panel or place holder? Is it possible? Possible means how to do that one? Regards, Gomathi ...more >>

Saving Checkboxlist settings in VB 2005 for Each user.
Posted by mattfracassa NO[at]SPAM hotmail.com at 1/30/2006 12:51:14 PM
VB 2005, .net 2.0 Is there an easy way to save the items checked in a CheckedListBox for each user (so that everytime the user opens the app, it remembers and displays what was checked.) I know I can make a collection in user settings, and save/retreive items by looping through the indices....more >>

Fatal Error
Posted by Stephanie at 1/30/2006 10:59:29 AM
I have VB.NET 2003 installed that I used in a recent college course. It worked fine. This week I started another class and when I went to open a project, I got a fatal error. I tried to reinstall VB.NET and got the same error. I tried to UNINSTALL VB.NET and got the same error. At the...more >>

Problem inheriting managed C++ from C#
Posted by PDHB at 1/30/2006 10:59:28 AM
Hi. I have an interface written in managed C++. I try to implement the interface in C#. I try to override the function, but the compiler says no suitable function can be found to override. If I remove this function the compiler complains that it is not implemented. The code is below. I can ...more >>

Problem Crystal
Posted by chinobi27 at 1/30/2006 10:47:27 AM
Considered... It wanted to know if it is possible to group of vertical form in a report. EXAMPLE: A | B | C | D 2 4 0 0 3 0 5 AT THE MOMENT: A 2 3 B 4 C 0 0 D 0 5 -- Victor Gutierrez...more >>

Advice
Posted by Chris at 1/30/2006 10:22:45 AM
Hi, I need to send some files weekly (generated by another program) to some of our customers. I was thinking of writing a program to do just that, however, wouldn't be better to create an addin for outlook so the user can basically see a list of the customers being emailed and click a button ...more >>

Start and Stop service on remote server programatically
Posted by Chris Dunaway at 1/30/2006 8:53:32 AM
I need to be able to start and stop a service on another computer on the network. But I cannot connect to the other computer using my standard user credentials. I have a separate login for that for which I use Remote Desktop to connect to the other machine. The other machine is a test serve...more >>

String Constructor (Char, Int32) not working?...
Posted by Eric at 1/30/2006 7:30:28 AM
Initializes a new instance of the String class to the value indicated by a specified Unicode character repeated a specified number of times. String Constructor (Char, Int32) Why am I getting these errors: 1) C2078: too many initializers and 2) C2440: 'initializing' : cannot convert from '...more >>

FileSystemWatcher - New Form Hanging
Posted by Frederic H at 1/30/2006 6:56:09 AM
Hi, I have a problem when I try to open a new form with the Changed event (FileSystemWatcher) : the form hangs just after the paint. But I use the same function (OpenFormPerform) to open a new form when I click on the Button1 and it works fine. I think that it's a problem with thread or ap...more >>

document to PDF
Posted by aj at 1/30/2006 6:41:27 AM
Hi, We need to convert any document to PDF in .NET. Is there any component available which can readily convert .doc file to PDF. We are looking for free components only. Please reply ASAP....more >>

Question Regarding HashTables
Posted by Terrance at 1/30/2006 5:13:27 AM
Hello, I have a question in regards to hashtables that I was hoping someone can share some light on. I'm currently working with VB.net and I'm trying to learn as much as possible about the developer software. Can someone clarify what a hashtable is? What is it's purpose? Why/when should one b...more >>

n-Tier development
Posted by Steve Barnett at 1/30/2006 12:00:00 AM
Ok, I've never done n-Tier development and I'm getting confused... Assuming I have a business layer and a data access layer that may be running on different machines, how does my business layer know where my data access layer is running? What is it I have to do in the business layer that "c...more >>

Free Web Services
Posted by Varun at 1/29/2006 11:06:51 PM
Could anyone suggest a free web service, which we could use in our application. just for learning. Thanks ...more >>

How to <%= Response.Write(DateTime.Now) %> inline?
Posted by clintonG at 1/29/2006 9:48:38 PM
I haven't done this since ASP and though we could use some sort of "expression" to process code inline. I did some searching and reading but haven't found anything specific. What's up? <%= Clinton Gallagher ...more >>

It's the little things
Posted by CMM at 1/29/2006 9:41:47 PM
Do the developers of Visual 2005 actuall use it??? There's lots of great things in VS2005 (mostly related to the outstanding work done on the CLR)... but in general the LITTLE THINGS totally drag it down.. especially the slightly-improved-but-not-all-that-much IDE. I waited for 3 years for thi...more >>

displaying results
Posted by Lynn at 1/29/2006 8:26:31 PM
Hi, In VB.net, how can i know the results of Obj.GetText without running the code and using messagebox to display it? thanks ...more >>

What happens with DirextX
Posted by Perry at 1/29/2006 1:32:59 PM
How do we do DirectX and Direct 3D from a .NET (CLR) program? Or is there a new way to get that type of performance? Thanks in advance, Perry. ...more >>

VS.net 2005 problems, how to completely uninstall?
Posted by The ants are driving me crazy at 1/29/2006 9:24:17 AM
I'm having a problem with VS.Net 2005. I accidently installed VSS 2005 over VSS 6.0. This has broken my instance of VS.net 2005. All controls in the toolbox are disabled, I can not load any projects and most project types are missing. I've uninstalled and reinstalled VS.net multiple times a...more >>

Can't Use the Debugger in VB.Net 2003
Posted by Mojo Zeppe at 1/29/2006 7:31:27 AM
Why I press F5 to debug my program i get this error: Class CLSID_CorSymWriter_SxS could not be created - Class not registered. I can run the program using ctrl+F5 though. I reinstalled both VS .Net 2003 and the ..Net Framework 1.1, tried registering mscordbi.dll but i still recieve this erro...more >>

Session Error
Posted by Sinu at 1/29/2006 5:59:05 AM
There is a part of code which checks whether the session variable is NULL. If it is then it redirects to login page, but if it is not then it continues further processing. I have noticed a peculiar behaviour of this variable. At one instance it passes the NOT NULL code, but then later on in th...more >>

devenv commandline switch /clean has no effect
Posted by roel.schreurs NO[at]SPAM gmail.com at 1/29/2006 5:52:34 AM
Sometimes, I want to archive or transport a solution. In such cases, I would like to remove all redundant files from the solution, i.e. all compiler output. The documention describes the command line switch /clean (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/htm...more >>

ListBox explicit sizing
Posted by Michael Dawson at 1/29/2006 12:00:00 AM
I am using the listbox control to list some information, but it is part of a resizable control which looks ugly when everything is resizing smoothly except the listbox which resizes in increments. Is there a way to smooth it? I would appreciate any input or suggestion on this subject very m...more >>

Asynchronously reading off a TcpSocket the best way
Posted by Dave A at 1/28/2006 9:52:54 PM
I have an application that does lots of socket communications all = asynchronously via the TcpClient class. The code has been working 99.9999% of the time (yeah one of those bugs) = but occasionally the receiving thread would get 'stuck'. =20 The pattern that I have used from the reading is...more >>


DevelopmentNow Blog