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 > december 2006 > threads for december 8 - 14, 2006

Filter by week: 1 2 3 4 5

Enterprise Data Blocks and command timeout
Posted by MarkusJNZ NO[at]SPAM gmail.com at 12/14/2006 11:01:57 PM
Hi, I am using 2.0 DAB to return a datareader (ASP.NET 2.0) // Create a database object Database db = DatabaseFactory.CreateDatabase("ConnectionString"); I then use the following to return a dataReader IDataReader _reader = db.ExecuteReader(CommandType.StoredProcedure, "spStor...more >>


Problems with COM-Objects
Posted by Greg Cyrus at 12/14/2006 9:34:21 PM
Hi, I am using a COM-Object within a dotnet v1.x application. The COM-Object works quite "fine" on the computer where the deveoping environment runs. BUT when I launch the application on another Computer the COM-Objekt slows down dramatically. (each interaction such like sending or getting...more >>

Terminal Font ?
Posted by JerryWEC at 12/14/2006 4:55:47 PM
We have used Terminal Font in the past with Microsoft tools like VS6 / VB6, etc... We need to use the Terminal Font in .net and on Windows XP machines. It appears that the Terminal Font is no longer available for use. Can anyone shed some light on this subject? There are some ascii chara...more >>

Problems with Session.IsNewSession - Please Help
Posted by rsouza at 12/14/2006 5:27:45 AM
Hi. Recently here in my work we added the following code in the Global.asax file to handled the session expired and redirect users to the home of the site explaining them the occurred (some thing like "Your session has expired, please restart your navigation."). public void Session_Start(Ob...more >>

Connection trough MarshalByRefObject
Posted by Krys at 12/14/2006 1:05:47 AM
When i invoke a method (which tries to create a database query) from = client on server, server throws COMException. this code is in dll used by server and client: public class zdalne_objekty : MarshalByRefObject { public string testowa() { Reco...more >>

Keys.Oem1 etc to real character
Posted by Pieter at 12/14/2006 12:00:00 AM
Hi, How can I convert KeyCode's to the real character? For instance: the row of keys on a keyboard under the F-keys return as Keycode the Keys.Oem1, Keys.Oem2 etc... Depending on the keyboard layout it is another character (and also depening on the fact if you have used Shift or Alt Gr). ...more >>

Retrieve data from nested repeater?
Posted by Zamael at 12/13/2006 12:04:44 PM
Does anyone know how I would go about doing this? I've tried numerous things... but none seem to work. Here's some code of what I've done: I'm trying to retrieve these label values: Dim FVProdPartNum As Label = CType(frmProduct.FindControl("lblProdPartNum"), Label) Dim FVProdDesc As Label =...more >>

Windows registry access permission problem
Posted by Pe2per.Ro2nie NO[at]SPAM gmail.com at 12/13/2006 12:00:26 PM
Hi, I am trying to read the 'Protected Storage System Provider' sub keys and it requires access permission. I would like to access this key thorugh my program, how do I do this? My code is Dim RegKey as RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Protected Storage Sy...more >>



Change the local port of a server connection after connection is established
Posted by Samik R. at 12/13/2006 11:57:12 AM
Hello, I am trying to write a multi-threaded server app, where the server listens at a particular port and creates a new thread each time a client connection has been received. The new thread then handles some handshaking and some file transfer. The problem is as follows: if 2 or more cl...more >>

How do I capture the output of a command line app in .NET?
Posted by kellygreer1 at 12/13/2006 10:23:12 AM
I know I can execute another app using System.Diagnostics.Process.Start. But how do I execute an app where I expect output and capture that output in a String variable inside of .NET? Thanks in advance, Kelly Greer kellygreer@nospam.com change nospam to yahoo ...more >>

please, please help - can't access HTTPFileCollection
Posted by pbd22 at 12/13/2006 9:09:13 AM
hi. i am having probs accessing the HttpFileCollection. the count/length is always zero. the file upload parameters passed to the page that should be getting the httpfilecollection looks like this. uploadprogress.aspx?&video_2=C%3A%5CDocuments%20and%20Settings% 5CAdministrator.FTP-SERVER%5...more >>

Assembly
Posted by Roop at 12/13/2006 12:26:25 AM
Hello All, Please consider this Query ... I know i am asking a very silly thing, but as the Beginner of .NET Frame Work, ? i would like to know the path of my project Assembly.I found in bin directory but unable to get the Assembly. Regards Roop ...more >>

How to produce native code in .net 2005?
Posted by Hooyoo at 12/12/2006 7:51:38 PM
Hi, guys Is there any settings in .net 2005 that can produce native code in .net 2005? I need to deploy my application in a machine without CLR. Thanks. ...more >>

Intermediate Language troubles (Advanced Question)
Posted by Mark Ingram at 12/12/2006 5:55:58 PM
Hi, I am trying to track down a very odd bug that only occurs when it is built on one machine. I try to calculate the width of a piece of string (needed to calculate the width of a button). On one PC upto 2 letters are missed from the text string, however on the other PC it works just fine. ...more >>

A Solution with Multiple Projects
Posted by Samuel Shulman at 12/12/2006 5:19:45 PM
Hi all I am trying to add more than one project to a solution in .NET 2005 How can that be done? Thank you, Samuel ...more >>

Load XAML in "Sub Main" in (WPF)?
Posted by Horst Klein at 12/12/2006 4:15:10 PM
I try to load a xaml on this way the XAML-Window is shown. But if I close the Window the process does not stops! What's wrong? <Application x:Class="App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Startup="AppSta...more >>

.Net LDAP Authentication Problem (ADAM)
Posted by steve_ager NO[at]SPAM yahoo.co.uk at 12/12/2006 3:24:26 PM
Hi I am trying to test LDAP authentication with ADAM from .NET v1.1 I am using the System.DirectoryServices objects as per an example that is available on the microsoft support site (VB) and MSDN (C#). http://support.microsoft.com/kb/326340 and http://msdn.microsoft.com/library/default.a...more >>

Optional Parameter Dataset default Value
Posted by mianiro at 12/12/2006 10:45:11 AM
Im setting up a procedure with an optional dataset parameter in VB.net. You must set a default value for optional parameters. Does anyone know how to set the default value of a dataset to nothing? I tried DBNull but that did not work. Any help would be appreciated! Thanks ...more >>

Convertin Double value to DateTime
Posted by Barry at 12/12/2006 12:00:00 AM
Hi In a excel sheet processed through C#, i get a Date (11/6/2006) as 39027, how do i convert this value to a DateTime (maybe as a string) DateTime dt = Convert.ToDateTime(39027); // shows error TIA Barry ...more >>

Convertiing Double to DateTime
Posted by Barry at 12/11/2006 7:48:17 PM
Hi In a excel sheet processed through C#, i get a Date (11/6/2006) as 39027, how do i convert this value to a DateTime (maybe as a string) TIA Barry ...more >>

Issues with User Interface running in secondary application domain.
Posted by skatukojwala NO[at]SPAM gmail.com at 12/11/2006 5:50:56 PM
I am adding new feature where C# is used as a scripting language which means, I am dynamically compiling and running C# code. I am creating a seperate domain for this dynamic assembly, run it and unload the assembly. I am also giving option to create user interface which generates a .NET Fo...more >>

Randomize problem
Posted by kellygreer1 at 12/11/2006 12:33:54 PM
hi group, I'm hoping someone here can help me. I have an issue injecting some JavaScript onto an ASP.NET page... using ClientScript.RegisterStartupScript. The issue is I am using System.Random class to help generate a Random number that will be come part of a client-side id in the HTML Dom...more >>

Unable to cast object of type 'ASP.
Posted by msnews.microsoft.com at 12/11/2006 11:50:49 AM
I am getting this error randomly and I have no idea why it is happening. I have not made any changes to the offending line in the code, which is as follow(s): Case "patients" ctlPatient = LoadControl("patients/ctlPatientTable.ascx") plhTopR...more >>

how to install .NET Framework 2.0 unattended using VS.NET Setup Project Template
Posted by Christian Muggli at 12/11/2006 12:00:00 AM
Hi all we're trying to create an MSI package to deploy a .NET 2.0 Windows Service using ADS and Computer Policy. To our question: does someone know a good document which describes 'how to build or create a windows installer setup routine using Visual Studio 2005' ? The problem we've faced...more >>

Windows Service application Occurs Application Error Event ID 1000
Posted by Teddy at 12/10/2006 10:05:00 PM
Hi, My program is a windows service program, it is used C# to develop. But sometime it would occurs Application Error Message, the Event ID is 1000 and the category is 100. The description is throw by ntdll.dll. But when it occurs this message, the application still can be run as normal. If...more >>

Bitmap displayed in ToolBox of Visual Studio for a control
Posted by Charles Zhang at 12/10/2006 12:03:48 PM
I created a class that derives from DbConnection class(in turn derives from Component Class). I specified a ToolboxBitmapAttribute for the class like: [ToolboxBitmap(typeof(SpeedyDbConnection), "Bitmaps.SpeedyDbConnection.bmp")] Correct bitmap is shown in the component tray of a form. H...more >>

Get properties on interface (runtime/reflection)
Posted by Anderskj at 12/9/2006 4:10:36 PM
Hi! I am developing a c# application. I have an interface (which can change therefore my problem) If i do like this: List<PropertyInfo> properties = new List<PropertyInfo>(); properties.AddRange(typeof(app.IView).GetProperties()); I get the correct properties on the interface (9 pcs) ...more >>

Webservice Error Unable to find System.Web
Posted by commanderjason NO[at]SPAM gmail.com at 12/8/2006 1:39:24 PM
I have a webservice written in .net 2.0 I am able to view the web service info and wsdl without issue. When I execute one of the methods directly from the webservice page generated by .net I get an error. System.InvalidOperationException: Unable to generate a temporary class (result=1). ...more >>

Caspol in batfile - How override yes/no question after running caspol
Posted by Joe at 12/8/2006 11:13:37 AM
Hi I run Caspol thru a batfile which I want to automate Some pc (some security setting) after running caspol ask yes/no to continue? Is there a flag i can set to overide yes/no ??? Thanks ...more >>

Can I run two versions of .NETFramework on my computer?
Posted by Rainmaker at 12/8/2006 8:28:09 AM
I am not a programmer, so please consider me ignorant. Can I have .NETFramework v1.1 and 2.0 on my machine simultaneously? I have installed ACT! 9.0 and I believe it wants . NET v2.0. When I uninstalled v1.1 and installed v2.0, I get a error message when I boot my machine. Apparently, so...more >>


DevelopmentNow Blog