Answer Questions
VBNET_Fanatico what is the diffrentce bettwen "new" and "virtual"???
i don't know. they look like. plz tell me. Dear Spectrum, Thank you very much for your code, hope that you wouldn't mind my inturruption. It's just I believe that the modifier new does not really block inheritance. In fact, you can use the 2 modifiers new and virtual with the same function at the same time wiithout any problem. Please, kindly check the following couple of links. Dear Swordman, To obtain information about that, ...Show All
Steven W. listening to keyboard
ok i know how to know is shift+F6 key is pressed in my form but how do i do to capture key press from windows (when my form doesnt have focus) ex: i put my program in system tray and i start internet explorer, and in internet explorer i press SHIFT+F6 my form doesnt do anything.. how ca i set my form to do that You must set a keyboard hook. A great article writen by George can be found here ! When you form does not have focus, it ...Show All
Arix Deployment Installer problem
I was unsure where to post this, so I do apologise if it is in the wrong forum. I have been having a wierd issue, no idea where the problem lies. I have setup launch conditions, my application has some requirements on the target machine. The launch conditions are based on file and registry search. Registry search works fine, and if there is one key/value that doesnt match, installer fails - just want I want :) As for the ...Show All
Recep TARAKÇIOĞLU Editor
I had a *quick* look through the Tools > Choose Toolbox Items... menu but the list is far too big for me to check out every single item. My question is; is it possible to use the editing component from the IDE in our own applications I want to build a nice script editor for my application with code folding, syntax highlighting, intellisense, etc. I he don't want to use GDI+ because of the complexity, ...Show All
Paul.Brown listview
Hello, i got question, how to get the selected items on the listview control Code: this .listView1.Columns.AddRange( new System.Windows.Forms. ColumnHeader [] { this .columnHeader1, this .columnHeader2, this .id}); this .listView1.FullRowSelect = true ; this .listView1.GridLines = true ; this .listView1.Location = new System.Drawing. Point (0, 32); this .listView1.MultiSelect = false ; this .listView1.Nam ...Show All
LDCVS Problem to Swap two number in C# using caret sign (^)
I have try the following code in Turbo C it works fine. but when i try the same in C# it not give me a proper result.i dont know why it so Turbo C ===================================================================== #include<stdio.h> void main() { int a,b; a=10; b=20; //Before swap two numbers printf("a = %d\n",a); printf("b = %d\n",b); //After swap two numbers a^=b^=a^=b; printf("a = ...Show All
vidya2002 Releasing window focus
Hello all, I am writting a virtual keyboard type application as an excersize, and have run into a bit of a problem. I want to be able to press they keys and fire a keyboard event that will be handled by the window with focus. My problem is, when I press a key, the keyboard of course takes the focus, and which ever application had the focus previosly will of course not receive the SendKeys event. So, I figured (without knowing ...Show All
dfranklyn Error Installing and Running C# Beta 2
Whenever I install C# Express Beta 2, I get an error message during the install process of C# Express (An error has occurred would you like to send an error report). The installation continues just fine. When I open C# after the installation completes, I can go to file > new project, but the templates listing is empty. If I try to open an old .sln or .csproj, I get another error message and C# crashes. Here is a list of the things I've tri ...Show All
Vyanki HELP: Not working like it should
I'm working through the "SAMS Teach Yourself C# in 24 hours" book using the free download Microsoft Visual C# 2005 Express Beta. I don't know if a lot's changed between the book being written in 2002 and the release of the beta but a few things don't seem to work exactly the same as in the book. Hence, some sections of code won't compile without giving errors. I've gone over the code meticulously and can confirm that I've entered it correctly. ...Show All
SBD !!! IF MICROSOFT HEAR US!!!
I just saw another thread with "Can i make a app that doesnt use the .NET. The framework is too big 23 MB".. SO... Can Microsoft create a .Net Framework just for c# not for asp or j# or visual basic providing only the neccesary dlls Please!!!! cablehead wrote: Just make it a "security" update at Windows Update.... I think that would probably be the best option. F ...Show All
Phil_Ramos net mail namespace and SMTP
I know that this has been asked before, but I've tried all the answers and haven't found the answer yet. I'm trying to send email using C#. My code works great on my local machine - no problems. But when I publish to my 2003 server, it won't send. There are no errors, all the other scripts execute ok, but the email doesn't come through. Here's my code ===================== MailM ...Show All
Phattim RichTextBox rtf to HTML
Hi All The RichTextBox is a very powerful control,it has text formating and image embedding. I need to save the RTF with images into an HTML File , any advice is highly appreciated I use the http://www.codeproject.com/cs/miscctrl/htmlrichtextbox.asp this is very basic but better that nothing thanks for your answer. Unfortunately in the FAQ I read: The HTMLEditor changes my HTML code ...Show All
haputanlas ienumerator and ienumerable, functionality of getenumerator
I am trying to understand IEnumerator and IEnumerable. In the code snippet I am inserting below is the example of array list out of msdn. IEnumerator and IEnumerable both are being used in the code snippet. Here is the question....By definition an interface defines a contract. A class or struct that implements an interface must adhere to its contract. So any method in interface should have no implementation. Coming back to IEnumerable and ...Show All
Muthu Arunachalam I think this is for an expert!!.. coz` no one knowes it..
I think this is for an expert!!.. coz` no one knowes it.. Can anyone tell how to insert a new line in a file Example: test.txt line 1 line 2 line 3 line 4 line 6 line 7 line 8 after the insertion of the line... line 1 line 2 line 3 line 4 line 5 line 6 line 7 line 8 i tryed to use the seek() method.. it works but he overides the other lines.. Anyone know how to do that You will have to rewrite the fil ...Show All
Cypris Not Freeing Memory
Hi, I don't know if anyone can help me. I am working with large png files, and finding the memory is not being freed after the object is disposed. Are there any know bugs on this issue Many thanks, Bruce But this would solve the problem only if the exceptions were occuring in the first place. However, adding the dispose in a finally block and to use 'using' are good suggestions and documented best practices - its anyway a good ...Show All
