| How can we make a msgbox function in webform ap? (5 replies) |
| microsoft.public.dotnet.framework |
| msgbox could not use in webform.. althougn it can work in windowform.. How can we make a msgbox function in webform without using javascript?? James |
|
| Current Login Information (3 replies) |
| microsoft.public.dotnet.framework |
| Hi Which .NET Framework Namespace used to get the "Current Logon Information"? or Win 2000 User Account Information? Could u please help me? Regards Johnsingh |
|
| Conversion Byte to Stream (2 replies) |
| microsoft.public.dotnet.framework |
| I have the next problem: i must to insert an byte's array in to Stream in VB.NET, so i use the stream class for to make the stream. But i can't to instance the Stream class for use it. How can i use it? Thanks a lot |
|
| Exception Vs Errors (2 replies) |
| microsoft.public.dotnet.framework |
| Hello, I just want to know what the difference is between Exception and Err object. Also, i see that Exception does not provide any number attribute unlike Err.Nnmber in VB. So, how do we suppose to raise an exception for a business rule violation which are usually implemented by specifing err.number in VB6 and dislaying a user friendly message fromt the database. I looked at Microsoft Application... |
|
| ASP.Net Caching - looking for help on caching business objects, not page content... (4 replies) |
| microsoft.public.dotnet.framework |
| Hello I wasn't quite sure which subgroup was most appropriate, so I am posting this in three places. Any help on the following would be greatly appreciated!! We are currently working on architecting an application using a Sql Server 7, 2000, or 2002 Database, business objects written in C# and compiled into assembles and ASP.Net for the presentation layer. The expectation that we have is to utiliz... |
|
| Setting attributes of common dialog (2 replies) |
| microsoft.public.dotnet.framework |
| I need to cause a File Open dialog to open with a specific View (e.g., "small icon" or "thumbnail"). Can't find a thing on this in the Framwork docs. Is it possible? Bill |
|
| How to run .net exe from the internet (7 replies, VIP) |
| microsoft.public.dotnet.framework |
| How do I do it. I want to write a forms based app that others can use. Do I just put the .exe in a web folder ? |
|
| GraphicsPath class - path types? (2 replies) |
| microsoft.public.dotnet.framework |
| The GraphicsPath class has the PathTYpes property that returns an array of bytes. Each array element specifies the type of the corresponding point in the path. However the docs say nothing about what the point tyupes are and what byte values correspond to what types. Any ideas? Thanks, Peter Aitken Remove the crap from my email address before using. |
|
| Excention Vs Err (5 replies) |
| microsoft.public.dotnet.framework |
| Hello, I just want to know what the difference is between Exception and Err object. Also, i see that Exception does not provide any number attribute unlike Err.Nnmber in VB. So, how do we suppose to raise an exception for a business rule violation which are usually implemented by specifing err.number in VB6 and dislaying a user friendly message fromt the database. I looked at Microsoft Application... |
|
| encrypt & decrypt data on different machine (3 replies) |
| microsoft.public.dotnet.framework |
| Hi, In fact, I have posted a similar topic before but I think I should give a clearer scenario. There're 2 machines, some applications (maybe console program or web application) in machine A will encrypt data it generated with public key from machine B, then a program in machine B can get the encrypted data and decrypt by its private key. Currently, I'm using RSACryptServiceProvider for implementi... |
|
| File or assembly name System, or one of its dependencies, was not found (2 replies) |
| microsoft.public.dotnet.framework |
| Why, after upgrading to the RTM framework, do I get this on my ASP.NET sites????? GRRRRAGHGHGH! File or assembly name System, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.File... |
|
| RegEx & Replace capabilities (2 replies) |
| microsoft.public.dotnet.framework |
| Hi All, My goal is to replace expressions found by a RegEx.Match expression by programmatic generated values. Actually : 1 I create my RegEx 2 I retrieve the Match collection 3 While Match.success string replace for found value by something generated from this value database results ... 4 end of loop I only found string replace because every match value can be different ! Result is poor performanc... |
|
| Announcing the Release of the V1 Microsoft IE Web Controls for ASP.NET (2 replies) |
| microsoft.public.dotnet.framework |
| The Microsoft IE Web Controls are now available free of charge for ASP.NET Version 1.0. You can review and download them immediately from the online ASP.NET server control gallery site at: http://www.asp.net (just click the "Control Gallery" tab at the top of the http://www.asp.net site, and then select the "IE Web Controls" subsection within the gallery). Each of the controls released works with ... |
|
| .Net equivalent of Win32 ::GetDriveType() (3 replies) |
| microsoft.public.dotnet.framework |
| How can I determine the type of a drive in .Net? The FileAttributes Enum has a "Device" member which is documented as being reserved for future use. Is this where the drive type will be identified...? |
|
| Web Service Problems with new release. (3 replies) |
| microsoft.public.dotnet.framework |
| I have installed the final release of the Framework on our server. I have installed the new release of VS on my machine. I am trying to create a web service on the server. When I attempt to browse the web service I get the following error: CS1595: 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1... |
|
| Sharing Memory Between Applications (2 replies) |
| microsoft.public.dotnet.framework |
| I would like to share in memory data between applications. For example, I would like to create and compile a DLL that creates a reference to a DataTable. Then create two separate applications that create an instance of the DLL. When these applications ask for a reference to the DataTable, I would like them to get the same one. What are my options in the .NET framework to accomplish this functional... |
|
| WMI events and consumers (3 replies) |
| microsoft.public.dotnet.framework |
| Does anyone have a simple example of using WMI events and consumers with c#? Basically I am trying to write 1 app that raises WMI events and another that consumes them. Simple huh? Well, I've tried Inheriting my event class from System.Management.Instrumentation.BaseEvent and using the Fire function when I want to raise the event...to no avail. Any help would be greatly appreciated!! |
|
| TimeZone class (4 replies) |
| microsoft.public.dotnet.framework |
| I am writing a Web application that will have a finite set of users from many time zones. DateTimes will be stored in the database in UTC. These times will need to be converted to the local time of the user for display. I can store time zone information on each user in the database. I cannot find any classes that derive from the abstract TimeZone class except one that represents the time zone of t... |
|
| How do I convert from system.string to sqlstring? (3 replies) |
| microsoft.public.dotnet.framework |
| How do I convert from system.string to sqlstring? |
|
| HOWTO: Multithreading & parameter passing (4 replies) |
| microsoft.public.dotnet.framework |
| How do I pass paramters to a worker function i.e, I want to do this: Some Function(...) { .... Thread workerThread new Thread ( new ThreadStart ( RetrieveData ( itemStockNum, targetURL) ) ); workerThread.Start(); .... }; // The delegate for thread processing protected static void RetrieveData ( string id, string url ) { // process here } When I compile I get the error message: "Method name expecte... |
|
| Ticks (4 replies) |
| microsoft.public.dotnet.framework |
| Just wanted to make sure I'm right here.... If you grab the time at the start of a function: lngStartTime Now.Ticks And then at the end calculate the # of elapsed ticks: lngElapsedTime Now.Ticks lngStartTime Does this give you the elapsed time in milliseconds? CDbl(lngElapsedTime) / TimeSpan.TicksPerMillisecond Wouldn't the TicksPerMillisecond constant be machine specific, and thus this calculatio... |
|
| asp:button (3 replies) |
| microsoft.public.dotnet.framework |
| I got the following error after I upgraded my beta2 donet version to the current version 1. Compilation error: Control 'btnFirst' of type 'LinkButton' must be placed inside a form tag with runat server. The following is an excerpt of part of the program and it works fine in the beta 2 version. form method "Post" name "form1" runat "server" asp:button id "print1" text "Print List by Letters Group" ... |
|
| How to detemine the current authentication mode (4 replies) |
| microsoft.public.dotnet.framework |
| Does anyone know how to determine what authentication mode a web site is currently using? I am attempting to write some code to cater for all the possible modes (configurable by the user) and need to detect the current authentication mode. I have attempted to use AuthenticationManager but am not sure how to use it or whether it is even correct to do so Any assistance would be greatly appreciated A... |
|
| Image (5 replies) |
| microsoft.public.dotnet.framework |
| I got a problem with the method Image.FromStream() I have make a Stream from a Byte's array but when i call the method FromStream( stream) throw an exception can you help me ? thanks a lot |
|
| Class loading via reflection (5 replies, VIP) |
| microsoft.public.dotnet.framework |
| Is there a mechanism whereby I can instantiate an object of a class that I only know the name of (fully qualified if necessary)? I would like to be able to extend my framework by adding classes later without knowing what those classes will be now and without changing the code. The documentation seems to refer to a static GetType method on the Type class but I can't find it documented anywhere. Can... |
|