|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
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 ...
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 ...
conversion issue
Ace -
3 Mar 2007 3:02 AM - 1 message
i just opened a solution file for projects (includes a web app and a class project), which was built in .net 1.1 (with vs 2003) on vs 2005. as i expected, vs 2005 detected that this is an older version and asked for ...
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). ...
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 ...
??? 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 ...
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 ...
DLL Deployment and upgrades
Jonathan Orgel -
2 Mar 2007 7:34 PM - 1 message
Is there a way of deploying a DLL with metadate describing the location of any updates so that the framework will automatically check for updates (and deploy them) without any user or program intervention. Clickonce seems to kind of do this but I get the impression clickonce only ...
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 ...
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. ...
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? ...
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 ...
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 ...
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? ...
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? ...
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); ...
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 ...
System.DirectoryServices and Authentication
Enosh Chang -
1 Mar 2007 9:23 PM - 1 message
Hi all: Could I use System.DirectoryServices to do some functions like as NetUserChangePassword and NetValidateName? Any comment is appreciated. Best Regards Enosh Chang ...
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. ...
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. ...
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 ...
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? ...
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 ...
RE: HttpContext.Current always returns NULL when called from Classic ASP
Les Bell -
1 Mar 2007 3:51 PM - 1 message
I am trying to use the ciode suggested. I have the following code (that works as a class in asp.net) but compiled into a dll and used in a classic asp page I get an error "System.__ComObject" Here is the code: ...
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. ...
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 ...
Help! Flash OCX on VS2005
mtczx232 -
1 Mar 2007 11:31 AM - 3 messages
the Flash OCX not work on VS2005! see this link: [link] the Bloger suggest to copy Assembly files from 2003 project, it's work! but must have some direct solution for this problem?? ...
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: ...
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: ...
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". ...
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()) ...
.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 ...
.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 ...
Document.body is Null
KaizerSose -
28 Feb 2007 5:01 PM - 1 message
Hi, we are working with mshtml ActiveX component, and it should display some HTML data. So we have a data binding working and all ok, but, in the first time when data binding trying to set a Content property of ...
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 ...
Frontpage extensions for asp.net on IIS in Vista
ThunderMusic -
28 Feb 2007 1:59 PM - 1 message
Hi, I know this question must have come a thousand times, but I can't find any post about it, so I ask (maybe once more)... I just installed VS 2005 on Windows Vista... aside from the fact that it ...
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 ...
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 ...
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 ...
Related ADAM..
datta.adsule -
28 Feb 2007 6:22 AM - 1 message
How to acess all active directory services from ADAM when ADSI acess using IIS server as service provider.. ...
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 ...
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 ...
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 ...
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 ...
http read contents on source server-write contents to different se
theWizard1 -
27 Feb 2007 8:30 PM - 1 message
Need to pass the directory name (path) of where the file should be stored on the target server. Currently it is hardcoded. This app uses webclient, httpWebRequest and httpWebResponse. Both applications were written with vs.net 1.0 ...
Remove Time Zone Information From Date
Elroyskimms -
27 Feb 2007 8:04 PM - 1 message
I've recently made the switch from .Net v1.1 to .Net v2.0 and I noticed some quirky behavior. Part of our system includes a web service, which takes a date value as one of its parameters, representing the birthday. Apparently, .Net 2.0 adds additional time ...
Europe Tests Established Chemicals on Millions of Animals
TONY -
27 Feb 2007 6:17 PM - 1 message
Tony Nottingham England 27 February 2007 TO: All People Who Care A new European Chemical Testing Policy called REACH has now been finalised by the European ...
Using Web.Config from Program
Ahmed Al-Lakani -
27 Feb 2007 2:50 PM - 1 message
hi, i wrote program that is located in my bin folder of my web application, i want this program to use my web.config which is not on the same folder, in other words i want this program to use another config file other than ...
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 ...
Sample wanted: Winform with OWC Pivot table to browse a cube
jshenj2001 -
27 Feb 2007 8:07 AM - 1 message
Any one has a simple Winform program to use OWC Pivot table to browse a cube. The MDX in it can be hard coded. I can do it with Excel but when I do it with C#, it tells me that "The query could not be ...
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 ...
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 ...
Isolated Storage In Citrix Deployment
Piyush Gupta -
26 Feb 2007 11:06 PM - 1 message
Hi All, Has anyone used Isolated Storage in citrix environment? Does it work as smoothly in normal desktop environment? If not, what's other options to store user-sensitive information in Citrix environment? I'll greatly appreciate any response. Thanks, ...
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 ...
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 ...
Ask sth. about my overview of .NET Framework
东皇钟 -
26 Feb 2007 2:45 PM - 1 message
In the world of .NET Framework. Can I consider all the computers on Internet which provide function for my computer as a single virtual computer.I think that, the CLR is execution environment, assembly is function model, application domaion is process, CTS is generic programming lanuage, .NET ...
ClickOnce and application command line parameters
roybrew@att.net -
26 Feb 2007 2:30 PM - 1 message
Is it possible at all, with a ClickOnce application, to specify command line parameters to that application? In most cases we want to just launch it, let ClickOnce do its thing, etc. But in some cases, we want to specify command line arguments to the application. For ...
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 ...
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 ...
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 ...
BACKPROPCONTROLLib.dll
Muhammad Nasir Waqar -
26 Feb 2007 10:08 AM - 1 message
Dear All, I need following DLL "BACKPROPCONTROLLib.dll". If anyone have this, please provide me. Thanks. ...
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 ...
Making the PC choose correct .NET framework
Ib Schrader -
26 Feb 2007 9:26 AM - 2 messages
Hello Sorry if this is not the correct newsgroup. There are many dotnet groups out there and I have tried choosing the correct one. Here is my question. I have a computer with both .NET 1.1 and .NET 2.0 installed. I am trying to ...
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 ...
[.Net 1.1] WS keepalive problem
# Cyrille37 # -
25 Feb 2007 10:56 PM - 1 message
Hello, I come here to report a strange problem. An application that was well working for 2 years got some problems within 2 or 4 weeks ago with its webservice call. For 2 or 4 weeks the webservice call is throwing some WebRequest Exceptions. ...
Strange Strange problem and i'm stuck
GeezerButler -
25 Feb 2007 10:35 PM - 2 messages
I'm trying to implement a control designer for my web composite control. According to what i read at msdn, i am supposed to inherit my class from System.Web.UI.Design.ControlDesigner. Now, in my code when i try to write this: ...
|
|||||||||||||||||||||||