Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score XML document in a treevie needs 57secodns
remo - 16 Dec 2006 8:16 PM - 13 messages
Cant believe it: Loading an XML document (150kb) in a treeview using .net 2.0 using 2.0 seconds!!! That is unusable!!! Loading the same document in Iexplore, it needs 1/100 of a second That could not be .net ...
Score xaml question
BravesCharm - 16 Dec 2006 7:21 PM - 1 message
I am trying to create a SecureStringTextBox in 3.0 using xaml.  I created a control that looks like this: xaml code <TextBox x:Class="PP.Controls.SecureStringTextBox"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...
Score "Safely Remove USB" via .NET
Alex Maghen - 16 Dec 2006 7:11 PM - 3 messages
I'm trying to figure out how, from a .Net Windows Forms application, I can programmatically do the "Safely Remove Hardware" functionality to unmount (or make ready for unplugging) a USB device - specifically, a USB-connected storage drive. ...
Score How to send Lotus Notes Email Via C#
navyliu - 16 Dec 2006 11:07 AM - 5 messages
I want send Lotus Notes Email automatic in my Application.I googled this topic but I can't find the solution. Does anyone have ever use this function?Can you give me some advice? Thanks a lot! ...
Score Encoding in Textboxes
Ferdinand Zaubzer - 15 Dec 2006 3:35 PM - 2 messages
Hello, What character encoding is usually used in Textboxes in the .Net Framework? Regards, Ferdinand Zaubzer ...
Score Web page display
Ed - 15 Dec 2006 3:23 PM - 3 messages
HI All, Iam using Visual Studio 2005  VB.net to develop a web application.  I am having some issues with the page display. I have to actually move the mouse to get the web page to display . If I dont move the mouse I dont see anything ...
Score Nullable types problerm
oscar.acostamontesde@googlemail.com - 15 Dec 2006 2:05 PM - 4 messages
Hello: I'm tryn to detect if a type is a nullable type. I'm using the following code: using System; using System.Reflection; using System.Collections.Generic; public class Test {     public static void Main()     { ...
Score Calling .Net 2.0 Methods from .Net 1.1
Taliesin Airt - 15 Dec 2006 11:13 AM - 4 messages
I would like to call a method on a .Net 2.0 object from a .Net 1.1 object.  The return type of the method will be void and I don't want to bind to the assembly directly.  Basically I want to integrate old code to the new code, ...
Score Enterprise Data Blocks and command timeout
MarkusJNZ - 15 Dec 2006 7:01 AM - 6 messages
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 ...
Score Terminal Font ?
JerryWEC - 14 Dec 2006 9:55 PM - 8 messages
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 ...
Score Problems with COM-Objects
Greg Cyrus - 14 Dec 2006 8:34 PM - 3 messages
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 ...
Score Typed Datasets .Net 2005 2.0 Setting NullValue to (Empty)
Habes - 14 Dec 2006 7:27 PM - 1 message
Hello, Just wondering if anyone else is having this problem, or if I'm crazy. I'm using Typed Datasets in .Net 2.0 and I'm trying to set the NullValue property of my string columns to return an empty string. ...
Score Embedded resource without leading namespace?
Bernd S - 14 Dec 2006 5:19 PM - 1 message
Hi, is it possible to create an embedded resource without leading namespace in its name? Thanks, Bernd ...
Score MSSOAPLib30.SoapClient30 scalability issues
Doug - 14 Dec 2006 4:01 PM - 1 message
Hi, I've posted this question in a few places but haven't gotten any response: We are using MSSOAPLib30.SoapClient30 inside VB6 to access a .NET web service.  It works great on dev and test (as does everything it seems ...
Score How to send messages, data & files between two computers ?
Chor Lit - 14 Dec 2006 3:53 PM - 4 messages
Hello, I have just started to learn .net and I can't find the answer to the above question. I want to write a program that, after installed on two computers, can send messages, data and files to each other. The two computers are inside ...
Score Create a budget
Jim M - 14 Dec 2006 2:43 PM - 3 messages
How do I create a budget ...
Score Problems with Session.IsNewSession - Please Help
rsouza - 14 Dec 2006 1:27 PM - 2 messages
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."). ...
Score Picking up multicast from tap tun device
Eelco - 14 Dec 2006 9:56 AM - 1 message
Hi, I have an openvpn tunnel setup between a server and client PC and I am sending multicast messages (UPnP) through the tunnel. I can see the traffic coming in on the tap tun device on the client but the Intel ...
Score SetUnhandledExceptionMode
ronenburin - 14 Dec 2006 8:24 AM - 1 message
Hello, I encountered a problem and I hope someone will be able to help. I have a C# application running in IE in the following way: IE loads an C# activeX that run my C# application. My application registered to Application.ThreadException event but I ...
Score Keys.Oem1 etc to real character
Pieter - 14 Dec 2006 8:14 AM - 6 messages
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 ...
Score Connection trough MarshalByRefObject
Krys - 14 Dec 2006 12:05 AM - 3 messages
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      { ...
Score Create a log view in the Log Viewer
Eve - 13 Dec 2006 11:13 PM - 2 messages
I want my VB .NET application to have its own log view in the Log Viewer. How do I create the view programmatically? Thank you. ...
Score PlatformNotSupportedException on Tablet PC
Matt Rickard - 13 Dec 2006 10:23 PM - 1 message
We are getting an error on one of our client's Tablet PCs. They have an "identical" Tablet that is not displaying the error. The PCs are "Tablet PC Edition 2005 Version 2002". The application in question uses .Net 2.0. ...
Score Retrieve data from nested repeater?
Zamael - 13 Dec 2006 8:04 PM - 2 messages
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 = ...
Score Windows registry access permission problem
Pe2per.Ro2nie - 13 Dec 2006 8:00 PM - 2 messages
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 = ...
Score Change the local port of a server connection after connection is established
Samik R. - 13 Dec 2006 6:57 PM - 6 messages
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. ...
Score How do I capture the output of a command line app in .NET?
kellygreer1 - 13 Dec 2006 6:23 PM - 2 messages
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 ...
Score Problem with WebClient and Cookies
Bishop - 13 Dec 2006 6:15 PM - 1 message
I'm trying to push the site a cookie, then read a page.  Below is an example that demonstrates the problem I'm having. This is my ASP.NET page code: ***** CODE *****     Protected Sub Page_Load(ByVal sender As Object, ByVal e As ...
Score please, please help - can't access HTTPFileCollection
pbd22 - 13 Dec 2006 5:09 PM - 2 messages
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% ...
Score Retrieving the Telephony CountryList from the Registry
Kaine - 13 Dec 2006 5:04 PM - 4 messages
I was wondering if there was an API call in Windows that would allow us to fetch the Telephony CountryList from the registry without using the registry commands in .NET?  Basically we are wanting to retrieve the list of ...
Score Fill dataset with objectdatasource
mianiro - 13 Dec 2006 2:05 PM - 1 message
Does anyone know if it is possible to fill a new dataset with the data from an objectdatasource? Or can I get the exact sql statement from the objectdatasource that was used to generate the data? Thank you ...
Score Validate ntlm challenge response against an Active Directory
barbutz - 13 Dec 2006 10:08 AM - 1 message
Hi, Is there a way to validate ntlm challenge response string against AD ? I wrote a simple agent application that run on the AD machine (written in C# ..net framework 2.0). The agent gets ntlm string from a web proxy server which ...
Score Restrictions on perf counter instance name
jonathan - 13 Dec 2006 9:37 AM - 1 message
Is there a restriction on the instance name of a performance counter? When I try and add a number of URL's to a perfomance counter using C# no exceptions are thrown.  However when I look in PerMon the string is ...
Score PropertyGrid - Hide Inherited Properties
Saso - 13 Dec 2006 8:41 AM - 1 message
Hello, Which is the easiest way to hide all inherited properties of the class that is derived from any class (eg. PictureBox). Regards Saso ...
Score Assembly
Roop - 13 Dec 2006 8:26 AM - 2 messages
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 ...
Score ActiveX control written in C# works locally but not when hosted by Apache
Andreas Schuler - 13 Dec 2006 6:31 AM - 2 messages
Hi all, I have written a UserControl derived object in C# and registered it as a COM object using the Setup Project in VS 2005. First questions are: is this the right way to go about COM with .NET? I ...
Score How to produce native code in .net 2005?
Hooyoo - 13 Dec 2006 3:51 AM - 5 messages
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. ...
Score .Net LDAP Authentication Problem (ADAM)
steve_ager - 12 Dec 2006 11:24 PM - 2 messages
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#). [link] ...
Score Optional Parameter Dataset default Value
mianiro - 12 Dec 2006 6:45 PM - 3 messages
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 ...
Score Intermediate Language troubles (Advanced Question)
Mark Ingram - 12 Dec 2006 5:55 PM - 2 messages
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 ...
Score A Solution with Multiple Projects
Samuel Shulman - 12 Dec 2006 5:19 PM - 9 messages
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 ...
Score SmtpClient/MailMessage Header Problem
Tom John - 12 Dec 2006 4:33 PM - 1 message
Hi I am trying to send an Xml string as the body of an email to interact with a legacy system: <code>             Dim mail As New MailMessage ...
Score Re: Converting from System.Web.Mail to System.Net.Mail
Spam Catcher - 12 Dec 2006 3:46 PM - 1 message
73g2000cwn.googlegroups.com: He does have a point ... Remoting is another example. ...
Score Load XAML in "Sub Main" in (WPF)?
Horst Klein - 12 Dec 2006 3:15 PM - 2 messages
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" ...
Score Hot fixes issue and the Java world
Spartaco Giubbolini - 12 Dec 2006 2:41 PM - 1 message
This is something I have always thought about since a few months ago, when I subscribed to the kbalerts newsletter, that notifies you whenever a new KB article is added to the MS knowledge base. Well, I noticed that almost every week a new bug is found for the .net ...
Score HttpListener idle timeout
barbutz - 12 Dec 2006 2:19 PM - 4 messages
Hi, I'm using the "HttpListenerWebServer" sample from the microsoft 101 samples. This is basically a simple asynchronous web server based on HttpListener class. It works fine exept there is no client idle timeout. Meaning if i open a connection to the server and keep it idle (not sending any data) the ...
Score page postback related
AVL - 12 Dec 2006 12:11 PM - 2 messages
Hi, I'm newbie to .net..I need some info. How does asp.net recognize if a page is requested for teh first time or is it a postback? ...
Score Convertin Double value to DateTime
Barry - 12 Dec 2006 9:15 AM - 11 messages
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 ...
Score Converting from System.Web.Mail to System.Net.Mail
Nathan Sokalski - 12 Dec 2006 7:39 AM - 2 messages
I am moving an application that involves sending email from 1.1 to 2.0. I am attempting to convert the email-sending code from System.Web.Mail to System.Net.Mail. I think I have most of this accomplished, but I am trying ...
Score Want to make some extra cash on the side? LEGIT!
TT - 12 Dec 2006 6:03 AM - 1 message
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> I was just told about this fabulous program today, you make money for doing relatively nothing! <BR>any people have been getting ...
Score Issues with User Interface running in secondary application domain.
skatukojwala - 12 Dec 2006 1:50 AM - 2 messages
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 ...
Score Move from 2.0 to 3.0 - Help
erin.sebastian - 11 Dec 2006 8:56 PM - 1 message
Hello All, This is probably a really silly question but i can't seem to find a solution. So i am working with visual studio 2005 and have just downloaded and installed the 3.0 redistributable and the extensions for ...
Score Open DirectShow FilterGraph under WPF
AAV - 11 Dec 2006 8:45 PM - 1 message
Dear Collegs, I'm developing a DirectShow Push Source Filter which is wokring fine in DirectShow.NET managed from sourceforge.net. The problem is that i have no way to control or to open the video output under WPF and still have the geometric transformations wich WPF give me. ...
Score Randomize problem
kellygreer1 - 11 Dec 2006 8:33 PM - 5 messages
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 ...
Score Unhandled Exception In Windows Service .Net 2.0
twahl - 11 Dec 2006 7:08 PM - 3 messages
Hi, I need to know if the AppDomain.UnhandledException event can be handled using a Windows Service.  I've create a Windows Service that uses the Exception Handling Application Block and there are certain exceptoions that I want bubbled up as unhandled exceptions.  I've used reflector to see what ...
Score Unable to cast object of type 'ASP.
msnews.microsoft.com - 11 Dec 2006 4:50 PM - 2 messages
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 = ...
Score Could not load type 'System.Web.Security.AccessRoleProvider'
Roland Hall - 11 Dec 2006 3:36 PM - 10 messages
In order to install BackupExec v11, I needed to remove .NET Framework 2.0 BETA and install .NET Framework 2.0.  When the BETA version was removed, all apps reverted to 1.1.  I have since run aspnet_regiis.exe -i to update the ...
Score Convertiing Double to DateTime
Barry - 11 Dec 2006 2:18 PM - 2 messages
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 ...
Score how to install .NET Framework 2.0 unattended using VS.NET Setup Project Template
Christian Muggli - 11 Dec 2006 9:44 AM - 11 messages
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' ...
Score Windows Service application Occurs Application Error Event ID 1000
Teddy - 11 Dec 2006 6:05 AM - 2 messages
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 ...
Score Bitmap displayed in ToolBox of Visual Studio for a control
Charles Zhang - 10 Dec 2006 8:03 PM - 4 messages
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. However, the ...
Score HELP:Invalid URI: The hostname could not be parsed.
Stu - 10 Dec 2006 12:36 AM - 1 message
Hi, Ive upgraded some web pages built in c# & and added a new page It all works fine on my local machine but once i upload it to the site I get this error Thanks Stu Raw Url : /SLFavourites.aspx ...
Next »