| Resize an image and keep the transparency infos (4 replies) |
| microsoft.public.dotnet.faqs |
| When I resize an image with the GetThumbnailImage(...) method, the transparency background color become black !!! How can i do to keep the transparency infos in the new image resized ? Thanks Seb D. |
|
| byte (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi folks, how can I convert various data types from and to byte[]? I want to write some data into a binary file. Calling File.Open gives me a FileStream. FileStream's Read and Write want byte[] as arguments. How do I write longs, ints, strings etc. using FileStream.Write()? And how to convert them back after FileStream.Read()? Thank you Markus |
|
| Web Application Name (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi all, I have a class library that is called by a web service, and then there's a web application call this wev service. My question is how I can get the web application's name in my class library? I have tried to use "HttpContext.Current.Request.ApplicationPath", but I just can get the name of the web service. And I will get "aspnet wp.exe" if I used "Process.GetCurrentProcess().MainModule.Modul... |
|
| VS.NET InstallShield (5 replies) |
| microsoft.public.dotnet.faqs |
| Hi, i'm searching for the "InstallShield" in VS.NET (a tool that automatically created Install Programms to deploy the application with all dependencies). where IS IT in VS.NET?!?! Thanks Sisco |
|
| Environment.UserDomainName throws exception on Windows 98 (2 replies) |
| microsoft.public.dotnet.faqs |
| Our app works fine under Win 2K. When we deploy to Win 98 (with .NET framework installed on the Win 98 box), our code fails with an exception of the form: "An exception occurred which could not be handled" on the call to Environment.UserDomainName Has anyone else seen this? TIA Dave |
|
| Problem with Console-apps (setting env. /fetch shutdown) (5 replies) |
| microsoft.public.dotnet.faqs |
| Hi All, I have expected a console app (and so the console class) should be able to receive the logoff/shutdown event, but there is nothing is this class and I don't know, where to look for. Additionally, I need to set environment variables, but the environment class don't provide a methode for that. I need too access to a specific environment. If someone knows how to do that, please post me a hint... |
|
| How to add reference to .exe server in VS.net (3 replies) |
| microsoft.public.dotnet.faqs |
| Hi I am VC veteran / .net newbie. I am working through the O'Reilly .net framework book in particular the .net remoting section. I can not work out how the client application (using VS.net) can add a reference to the server executable so that it can reference the server class name. e.g. CoHello h (CoHello) Activator.GetObject( typeof (CoHello), "tcp://127.0.0.1:4000/HelloDotNet" ) VS tells me that... |
|
| COMException when connecting events (2 replies) |
| microsoft.public.dotnet.faqs |
| I get a COMException when trying to connect an event... I've added a reference to the MessengerAPI interface (windows messenger) to my project. private MessengerClass Messenger new MessengerClass(); // class definition in the messengerapi properties and methods are all working fine but when I try to connect an event (any event from this reference) it throws a COMException: Messenger.OnContactBlock... |
|
| vs.net beta 2 (3 replies) |
| microsoft.public.dotnet.faqs |
| Hi I don't know whether you can help me here, I've just installed VS.NET Beta 2 on a Windows 2000 the installation went without any errors. The problem being that I cannot view any projects in Design view, and the properties window is blank, I get an error message (Mess box) when I try to open a form, it reads: The following exception has occurred: NullReferenceException: Value null was found wher... |
|
| overriding Page_Load in a webform (5 replies) |
| microsoft.public.dotnet.faqs |
| I created a webpage class, from which I inherit other pages. I want to override the Page Load method, using following code : Public Class BasePage Inherits System.Web.UI.Page Protected Overridable Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'code... End Sub End Class Public Class MyPage Inherits BasePage Protected Overrides Sub Page Load(ByVal send... |
|
| Find in files (4 replies) |
| microsoft.public.dotnet.faqs |
| Could someone please modify find in files to remember what files it has searched through, and prevent it from searching the same file more than once? I'm getting flooded with search hits in shared headers that 3 or 4 dll's in my solution are all including. |
|
| Unable to create ASP.NET Web Application on a W200 Domain Controller (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi Is there anybody who knows about this problem? I have the next configuration: Windows 2000 Advanced Server Domain Controller Visual Studio 6.0 Visual Studio .NET I can run ASP.NET web application that I published from other server but I can t create an ASP.NET Web application from this server. When I try to drop web forms controls to the WebForm it hangs and brings up the Just in Time debugging... |
|
| file.exist no longer works (2 replies) |
| microsoft.public.dotnet.faqs |
| After installing version 1 of the Asp.net framework, file.exist no longer works for me. If I test it with a file in the root directory: if file.exists("c:\win2000.gif") then response.write("file exists " & strphoto) else response.write("file doesn't exist ") end if the file is not found. It used to work in Beta 2 what am I doing wrong (I am using SYSTEM.IO ) Thanks Bob Cummings |
|
| Writing Integers using BinaryWriter (3 replies) |
| microsoft.public.dotnet.faqs |
| I am writing an unsigned integer to a stream using a C# BinaryWriter: BinaryWriter bw new BinaryWriter(someStream); uint myUInt 3; bw.Write(myUInt); The problem I am having is that the least significant byte is being written first and I require that the most sig bytes be written first. Is there a better class to use? Is there some trick here which I do not know about? Thanks Dave Mercer Senior Wir... |
|
| VB.NET ($99) vs. VS.NET Pro ($1031) (16 replies) |
| microsoft.public.dotnet.faqs |
| I am a former (from a few years ago) VB5/6 developer that is now unfortunately developing in an unknown 4GL & Oracle. However, I am attempting to refresh my skills, so I have been using VS.NET Beta 2 to learn a little about .NET. Following the last question I posted, apparently I cannot use Beta 2 anymore legally. So, I am going to have to buy real version now (with very little money saved up). I ... |
|
| Microsoft .NET Framework Service Pack (40 replies) |
| microsoft.public.dotnet.faqs |
| Microsoft .NET Framework Service Pack http://msdn.microsoft.com/netframework/downloads/sp1/ Ken MVP [ASP.NET] Join the MVPs' effort to uncover new cancer drugs through computational chemistry. http://members.ud.com/services/teams/team.htm?id A740D227 A950 475E 9543 A46 DD4C5A6EF |
|
| How I can generate a 5-digit ID in C# (12 replies) |
| microsoft.public.dotnet.faqs |
| any idea?? big thx! Pawel |
|
| RSA Cryptography, storage of Private and Public Keys (3 replies) |
| microsoft.public.dotnet.faqs |
| Hi, I wrote a sample program to test RSA Cryptography. If I Encrypt and Decrypt in the same program it works fine. But if I Store the Encrypted text in file and later in another program if I try to decrypt it, it fails. What I figured out was, it generates a new set of Keys everytime I run the program. What is the cretiria it uses for generation of the keys and is there a way to persist the keys. ... |
|
| Console write line method (2 replies) |
| microsoft.public.dotnet.faqs |
| When I code this method the system doesn't stop to display the message, it just opens and closes the window immediately. Is there an option that waits for the user to press any key to continue? Thanks for any help you may give |
|
| how to send mail using mapi in C#..... (4 replies) |
| microsoft.public.dotnet.faqs |
| hi, i am using the mapi for sending the mail ..... here is the class which i have made to call the api .....but this isn't sendin the mail.....pls tell me what's worng in it.... the Class having structures,constants and function declarations ........ using System; using System.Runtime.InteropServices; namespace Mailer.MAPI32 { /// summary /// /// /summary public struct MAPIMessage { public long Re... |
|