Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Passing a Javascript value
Maury - 3 Mar 2007 5:58 PM - 2 messages
Hello, I'm trying to pass a Javascript variable (that the user on an asp.net page changes dinamically) to a server-side function... some hints? Thanks ...
Score Windows media centre and sky plus
Dom - 3 Mar 2007 12:30 PM - 4 messages
Hi everyone. In my house, I have a sky plus box downstairs connected to the tv. Upstairs, I have a normal sky box connected to a tv. Also upstairs I have a computer with media centre. To the computer I have connected the tv cable, I can watch ...
Score HttpUtility.UrlEncode
pb - 2 Mar 2007 11:18 PM - 4 messages
Is there a table available that illustrates ***exactly*** what HttpUtility.UrlEncode encodes? (I need to decode and encoded string by HttpUtility.UrlEncode in an unmanaged C++ routine). ...
Score FTP Programming Question
pbd22 - 2 Mar 2007 9:46 PM - 6 messages
Hi. I have an FTP programming question. I want the total size of a file being uploaded "before" it is completely uploaded to the server. I need this for the condition: when currentbytes = totalbytes, do something. But, it seems that the filesize before it hits the FTP server is not equal ...
Score ??? Dynamically loading a generic type ???
Amil Hanish - 2 Mar 2007 9:03 PM - 3 messages
I have a generic type that I need in another app domain?  How can I do this? I was trying to call CreateInstanceAndUnwrap, but it fails since I can't figure out how to tell it which T (type) to use when creating?  Is there ...
Score newbie question
HockeyFan - 2 Mar 2007 8:07 PM - 2 messages
I have an IO.Stream that I get from an embedded resource file.  I called GetManifestResourceStream. This stream is that of a Word template doc.  I'd like to write this to disk. If my embedded resource stream is called 'wordstream', how do I take ...
Score Thread Local Storage and Managed Threads vs O/S Threads
Chris Mullins [MVP] - 2 Mar 2007 7:18 PM - 6 messages
I've been doing quite a bit these past few days with Thread Local Storage - specifically using the ThreadStatic attribute. .... but last night, I got to thinking. When .Net code is running, it's running on a Managed Thread, not (directly) an O/S thread. There's no ...
Score AsyncResult, Calback and WaitHandles
deja - 2 Mar 2007 5:04 PM - 7 messages
I have a web service that reads data from the database in a number of asynchronous calls. I have a callback for each call so that I can call EndInvoke so that I can trap any errors. I also have a WaitHandle.WaitAll. ...
Score RE: HttpContext.Current always returns NULL when called from Classic ASP
Les Bell - 2 Mar 2007 11:57 AM - 2 messages
I am using code like the above oRequest = (ASPTypeLibrary.Request)ContextUtil.GetNamedProperty("Request"); trying to get the client's I.P. address strRemoteAddr = oRequest.ServerVariables["REMOTE_ADDR"].ToString(); but the asp page gives only System.__ComObject Is there some other way to get the client's ip address in a C# class -> dll -> asp page? ...
Score Using .NET Classes in VBA 6 code, possible or not?
// Peter - 2 Mar 2007 10:08 AM - 3 messages
Hi Experts! Need to know if the following is a possible way of doing it; in VBA 6 (actually in Access 2000 visual basic module) code use .NET 1.1 or 2.0 Classes. Development application is Visual Studio .NET 2003 (can’t afford to ...
Score OOP: mutliple references to same Object: how?
Pieter - 2 Mar 2007 10:04 AM - 13 messages
Hi, In my object oriented application (VB.NET 2.0,  Windows Forms), a lot of objects are opened in different forms by a user. For instance (a stupid exemple, but it shows the easiest what's happening): -> two instances of the Company-Object: MyCompany1 and MyCompany2, both of ...
Score UNC paths from drive mappings
JezB - 2 Mar 2007 9:56 AM - 4 messages
I can get a list of drive mappings via Directory.GetLogicalDrives but is there any way I can get the UNC path (eg. \\machine\sharename) for those drives that are mapped to network shares? ...
Score copy & paste
kat - 2 Mar 2007 9:30 AM - 2 messages
How do I copy and paste a text into my website banner or email? ...
Score DLLImport System.NullReferenceException
richard.brenner - 2 Mar 2007 9:26 AM - 2 messages
Hi There. I try to implement methos from an unmanaged DLL in C# to get access to an external device. I have a problem with the following C method: char* __stdcall RDR_SendCommandGetData(void* hReader, char* command, char* data, char* buffer); ...
Score how to use VC++ dll in .net
Nicol - 2 Mar 2007 4:44 AM - 2 messages
Hi, I am having one VC++ dll. I need to refer this dll form C# web site. When I try to add the dll as reference it says the "dll should be com dll or assembly". So I understood I shouldnt use the VC++ dll as it is. I created a ...
Score FileSystemWatcher
Kyle Jedrusiak - 1 Mar 2007 7:46 PM - 3 messages
I'm trying to make us of the FileSystemWatcher. I have it watching a folder for creations and deletions of files. When files are added (by an outside process) to this folder I do get the event for the creation. ...
Score How to get a .NET hotfix
Don Gollahon - 1 Mar 2007 7:41 PM - 3 messages
How do I get a .NET 1.1 hotfix without paying a $99 support fee?  It is mentioned in the following article: [link] Thanks. ...
Score Net framework 3.0 for XP update causing HP 42xx printers to fail.
edavid3001 - 1 Mar 2007 5:55 PM - 9 messages
I approved the .Net 3.0 update in WSUS 2.0 yesterday for a group of PC's.  Those PC's which also have HP LJ4 or 42xx series printers are all having problems now.   When they print, all the pages print ...
Score how to format disk using .NET
decclestone - 1 Mar 2007 4:21 PM - 3 messages
I want to be able to format a removeable hard disk (i.e. PCMCIA drive) programmatically using .NET.  Does anyone know how this can be done? ...
Score Reflecting on an executing assembly
Tim Greenwood - 1 Mar 2007 4:20 PM - 4 messages
I was wondering how to go about looking at an executing assembly and getting a list of not all types but all instantiated types and references to those objects.  Something similar to what the propertygrid in Visual Studio is ...
Score Complex Math - IP Block Splitting Help
lucius - 1 Mar 2007 3:46 PM - 5 messages
I have a given IP address that represents a "block". I would like to split this block range into smaller blocks of "/24" CIDR size. What is the best way to do this? An example is 66.179.96.0 / 20. ...
Score System.DirectoryServices and Authentication
Enosh Chang - 1 Mar 2007 2:43 PM - 2 messages
Hi all: Could I use System.DirectoryServices to do some functions like as NetUserChangePassword and NetValidateName? Any comment is appreciated. Best Regards Enosh Chang ...
Score Cassini fails with An existing connection was forcibly closed by the remote host
Anbu - 1 Mar 2007 9:51 AM - 5 messages
Hi All, I'm using the Cassini component in my desktop application to create a web site to host the web services. The application works fine in normal scenario. If the system is kept idle for some time, the application getting terminated with the following error: ...
Score Installer problems on Windows Server 2003, COM not registered
suse2k5 - 1 Mar 2007 7:26 AM - 2 messages
Hello, I have problem with Windows installer. It works OK on Windows 2003 without problems and on Windows 2003 with service pack it fails. It *compiles fine* on dev machine (XP) and when executed (on XP too) it fails with following error: ...
Score KB931836 (Feb 2007 DST update) breaks DateTime historical DST calculations
Finn Hart - 28 Feb 2007 11:28 PM - 3 messages
The United States Daylight Saving Time rules are changing in 2007 so that DST starts on the 2nd Sunday in March and ends on the first Sunday in November.  The previous DST rule was "First Sunday in April through last Sunday in October". ...
Score create string array from dataread results
Chuck P - 28 Feb 2007 10:43 PM - 4 messages
I need to create a string array from a datareader in .net 2.0 I am using this:     ArrayList al = new ArrayList();             using (SqlDataReader dr = cmd.ExecuteReader()) ...
Score .net framework configuration through programming
syed_razi - 28 Feb 2007 9:36 PM - 3 messages
Is it possible to set Local Intranet Zone code group's security level to FullTrust without going in the control panel to configure it? I have a VB 2005 app with a SQL backend database, but I can't get it ...
Score .NET Client Submitting Tab Delimited String to C++ Server Loses Em
Matthew Wieder - 28 Feb 2007 9:03 PM - 2 messages
We have a .NET 2.0 Client (C#) that  communicates with a C++  (2005) Server via TCP.  The tab delimited strings "January\tFebruary" and "January\t\tFebruary" submitted by the client both arrive at the server as ...
Score Subject: .NET Generics and Dynamic Type Assignment
nettellect - 28 Feb 2007 2:31 PM - 3 messages
I have a simple situation in which I want to use generics along with dynamic type assignment. Following code snippet can explain in more detail But I am unable to do that will anybody help me why? namespace genericTest {     public partial class Form1 : Form ...
Score Start of installed ClickOnce-Application sometime causes reinstall
Sascha - 28 Feb 2007 1:51 PM - 7 messages
Hello ng, we have some strange behavior with our clickonce-applications. The applications were installed successfully. We can start it after installation without problems. But sometimes all installed apps on the client are away. The Shortcuts are in the startmenu but the specific icons are away ...
Score Accessing files on a network share
lasabo - 28 Feb 2007 8:47 AM - 5 messages
Hi, I'm Writing a smart-client application, when running both server and client on the same machine everthing works fine, but running the client on a different machine get me into trouble. I have written a very simple application just to figure out what goes wrong. The only ting it does is ...
Score to get Keychar values from keydata
manini.chaudhari - 28 Feb 2007 6:39 AM - 2 messages
developped a UserControl and for this control I need to handle the + and - keys. The KeyPress event doesn't suit because I want to have an effet when the key is down and when the key is up. So, I handle the KeyDown and KeyUp events, but I received KeyCode and ...
Score Validating a "PropertyGrid" row
John Brown - 28 Feb 2007 1:03 AM - 3 messages
Hi there, I've got an "int" property in one of my objects that I need to conduct a range check on in a "PropertyGrid" (whenever the user attempts to leave the row). I know how to do this using the "TypeConverterAttribute" for ...
Score Window's Vista Controls
BrianTa - 27 Feb 2007 11:51 PM - 7 messages
Hi, I have VS2005 running on Windows Vista, and all seems to operate just fine - except the app I have created uses a scrollbar control added to a panel control.  It operates correctly, but does not have the "look" of a Vista ...
Score How to show a form without giving it focus
Bob Altman - 27 Feb 2007 9:34 PM - 7 messages
Hi all, What is the "proper" way to display a form even if it is minimized, hidden, or obscured by other windows, without giving the form input focus? My (untested) guess looks kind of like this:   ' Make the form visible ...
Score Merging two configuration files
Houda - 27 Feb 2007 9:08 PM - 3 messages
Here what I've been trying to do: I've two different configuration files with the same structure. One of them is the default setting, which gets downloaded from the server, and the other one is the user settings. The user settings overwrite ...
Score Installing .net 3.0 runtime... ?
Peter - 27 Feb 2007 1:23 PM - 2 messages
Hi folks,         I have a question regarding installing .net 3.0 runtime as below: * My PC is installed with window XP and SP2. * There are other softwares in my PC.  My main concern are SQL 2005 BI ...
Score inserting pictures from Data Base to crystal report
mansoor.kashif - 27 Feb 2007 7:50 AM - 2 messages
Dear All Scenrio:- I have to insert the picture whose paths is saved in the database and file is originally present there. What i have to do:- I want this thing that i insert the picture in crystal report according to the record ...
Score Message from XP new installation
Alstar - 27 Feb 2007 5:54 AM - 2 messages
Error,        Supported Device Not Found. New XP Install with Winfast NF4UK8AA board/ with AMD 3200+ /and GIGABYTE GeForce 6200 PciEX Graphics. Message comes on screen twice on startup. What is the problem? Is the ...
Score Urgent!...SQL Server cannot handle "CDEC" in web application
_YES - 26 Feb 2007 10:55 PM - 2 messages
Please, can sombody help me with this problem. I have created a web application, in visual studio 2005 professional. This application needs to convert some string values, from an externally stored SQL database table, to decimals. When the application has been compiled and ...
Score System.Type.GetCommonAttributes() works on c# assemblies, not managed c++ assemblies.
brad - 26 Feb 2007 8:49 PM - 2 messages
Here's the situation:  I load an assembly (using system.reflection) and then I try to query for all methods in the assembly using System.Type.GetCommonAttributes(). This works when my assembly was compiled from c# code.  I call ...
Score VS 2005 on Windows Vista Business
Prateek Baxi - 26 Feb 2007 12:12 PM - 3 messages
Hi, I want to install VS 2005 on Windows Vista Business, can any one help is finding out all necessary software required. I know few of them listed below but if I missed anything, pls let me know - Windows Vista Business OS ...
Score Asynchronous Programming Model - how to implement?
Dmitry Nogin - 26 Feb 2007 12:00 PM - 18 messages
Hi, I'm trying to implement APM (Asynchronous Programming Model) API by myself - I mean:     IAsyncResult BeginMyFunc(AsyncCallback, object @object);     void EndMyFunc(IAsyncResult result); functions pair. The problem is that my working thread has to report updates ...
Score problem in first web form application
Rachana - 26 Feb 2007 10:58 AM - 2 messages
Hi Friends, I hv just started learning vb.net . When I was creating my 1st web forms appl., got follw. problem. 1. It doesn't allow me to type proj.name. Simply displays default one as :WebApplication1 2. It Displays default location as ...
Score String.Split()
nethra11 - 26 Feb 2007 9:32 AM - 2 messages
Hello, Is it possible to split a string at the combination "\r\n" for eg:- string str = "domain\r\nisnetwork" Output required :- domain isnetwork ...
Score C# Irregular shaped user controls.
dr - 26 Feb 2007 2:28 AM - 2 messages
C# Irregular shaped user controls. How to make usercontrol have transparency key for its background image? I want to have irregular shaped user controls on my form. like a funny shaped button. This works fine for irregular shaped forms becuase they have a ...
Next » 2 3 4 5 6 7 8 9 10