| How can I Serialize control such as Button? (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi, How can I Serialize control such as Button? I tried to do it with XmlSerializer and BinaryFormatter, but got exception: Class Button isn't marked as Serializable. I tried to mark as Serializable my own class inherited of Button, but got the same. What do I have to do to resolve this problem? Ivan |
|
| Controlling a Datagrid from Code behind? (3 replies) |
| microsoft.public.dotnet.faqs |
| Is it possible to get the Edit, Update, Cancel events to fire to a code behind based function? I would really like to keep my Core logic separate from my UI if possible. |
|
| How I can override the attribute. (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi, How I can override the attribute, which I derrived from ancestor (base class). I insert my attribute, but VS WinForm designer used old attribute either. Ivan |
|
| file access synchronization (5 replies) |
| microsoft.public.dotnet.faqs |
| If i want to write to a shared file with different processes at the same time, how can i do that? Here is the class i tried but it fails: class TestFile { ReaderWriterLock rwl new ReaderWriterLock(); FileStream fs new FileStream("a.txt", FileMode.Append, FileAccess.Write, FileShare.ReadWrite); public void Write(String message) { rwl.AcquireWriterLock(Timeout.Infinite); try { StreamWriter writer; t... |
|
| Now.Date doesn't work (3 replies) |
| microsoft.public.dotnet.faqs |
| Could some tell me why the line Format(Now.Date, "dddd dd MMMM yyyy") does not work inside an assembly, the same line of code works fine when in a web page. The assembly has the same imports the page does. Thanks Eurisko |
|
| distribute apps? (2 replies) |
| microsoft.public.dotnet.faqs |
| Can i distribute aapps creeated with visual studio beta 2 ?? will it run on other machines with .NET framework installed ? can i make an installer and install the app ? so many questions ! Success is a bastard. Every one claims to be its father. Failure is an orphan. No one wants it ! Back from death to rule the world again ! |
|
| Programming OLE Structured Storage in C# (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi there, Now I'm studying to use C# to read and write data into Excel files. You know, Excel files (*.xls) are compound files which use OLE Structured Storage mechanism. In MFC, there are several classes to do this kind of job: COleStreamFile, COleServerDoc, COleServerItem, etc. Unfortunately, there are no classes like those in C# class library of ..Net Framework. So my questions are: (1). Will .... |
|
| FTPing from Dotnet? (5 replies) |
| microsoft.public.dotnet.faqs |
| Anyone found any info on ftping from dotnet? I could use the VB6 Internet Transfer COM control but I'd rather not. Thanks, Russ |
|
| web client (2 replies) |
| microsoft.public.dotnet.faqs |
| have any tried using webrequest and webresponse? I'm having a problem.. i need to persist the connection between to calls, lets say: I'm calling page A, and showing in my browser as part of my page B and when i post back.. the Page A looses the session am i clear? Prabu |
|
| What is the licensing policy on .net? (2 replies, VIP) |
| microsoft.public.dotnet.faqs |
| I am wondering what the licensing policy and or agreement will be on the .net framework. Is there a developers license like with Java? Or is it free to develop anything you wish using the framework, and only must pay a license if you distribute other MS apps with your program. I checked the licensing page but there is nothing on .net. |
|
| Web Services - transaction support features (2 replies) |
| microsoft.public.dotnet.faqs |
| What kinds of transaction support does standard web services offer? |
|
| .NET without XML (9 replies, VIP) |
| microsoft.public.dotnet.faqs |
| Can we use .NET without XML? What are the advantages and disadvantages of such an approach ? |
|
| How edit Register(Win98,Win2k) in c# ? (2 replies, VIP) |
| microsoft.public.dotnet.faqs |
| Is it possiable? |
|
| Encrypt&Decrypt File (4 replies, VIP) |
| microsoft.public.dotnet.faqs |
| Hi all, If I wanna encrypt a text file, I must use DESCryptoServiceProvider or those Symmetric Algorithm? and the problem is I don't want the key to be exposed in the client applications. I want the text file to be encrypted in client side (that included some sensitive information), but can be decrypted by the server side applications. However, using symmetric algorithm, the key should either stor... |
|
| for each ? (2 replies) |
| microsoft.public.dotnet.faqs |
| I have a usercollection with my objects but i can t do for each in the elements of this class In VB.6 we do this.... 'Public ReadOnly Property NewEnum() As IUnknown ' Get ' 'this property allows you to enumerate ' 'this collection with the For...Each syntax ' NewEnum mCol.[ NewEnum] ' mcol. ' End Get 'End Property .... to use for each but in vb.net this don t work. THIS IS MY CLASS Public Class CO... |
|
| how to know a fonts width and height in pixels? (2 replies) |
| microsoft.public.dotnet.faqs |
| question 1: say, a label has the following font set : Label l new Label(); l.Font new Font("Arial",18,FontStyle.Regular); l.Text "SOME TEXT TO COME AT RUN TIME HERE"; How do i calculate the width and height (int pixels) of this text? The Graphics class does seem to have a proper method for this : Graphics.MeasureString(l.Text,l.Font).Width; Graphics.MeasureString(l.Text,l.Font).Height; question 2:... |
|
| for each ? (2 replies) |
| microsoft.public.dotnet.faqs |
| What i must do to implement the method that permits iteration with for ... each |
|
| Simple Inheritance Question (21 replies) |
| microsoft.public.dotnet.faqs |
| After posting my Web Controls Question Bellow, I have decided to post a few simpler questions... The First Question, and the only one right now is... After Inheriting a class, is there a way to make public functions of the Inherited Class into Private Functions (Kinda Like Override) Thanks Mike P.S. I beleive I am a strong supporter of a few Microsoft.Public.DotNet NewsGroups, and have answered nu... |
|
| Runtime Loading of Classes in .Net (3 replies) |
| microsoft.public.dotnet.faqs |
| Have any idea how we can achieve runtime loading of classes (having the class name in a variable) something like it is available in java. Thanks Sri Prabu Vontlin |
|