Answer Questions
PocketPC Coder set the Text value from another Form
Hi, I am using this code to set the Text value of a Label on WorkingAreaForm from the FindForm but nothing is changing.. why frmWorkingArea WorkingAreaForm = new frmWorkingArea(); WorkingAreaForm.txtName.Text = "HELLO"; Thanks... Ok, then try following for .NET 1.1. In your Form1 include following property: private static Form1 _instance = null ; public static Form1 Instance { &n ...Show All
A.M.Khan "Show procedure line separators" option in C#
Is there a way to enable the "Show procedure line separators" option with the VS 2005 C# editor I believe that's a visual basic option only, so I would say no. I tried logging a suggestion...but found that somebody already asked for it a looong time ago (Beta 1). It is such a tiny thing...but it helps a lot when trying to move large programming teams to a new IDE. The feature ...Show All
shikwai C#.net or VB.net
I am beginner for .net programmer. Just want to know which one is better on marketing VB.net or C#.net I heard big companies more like c#.ner than vb.net thanks. Yeah, I agree. Everyone assumed that C# was C++ like, I'd say it's more Java like. I really have no idea, you should perhaps check local newpapers to see which is advertised for more. I would guess that a lot of companies would prefer C#, here where I liv ...Show All
Ot2 Preserving compatibility with an Interop dll
I asked this question a couple of weeks ago and thought I had solved it, but I was wrong. When creating an interop dll in C#, any time I alter the code and re-compile, I lose the reference to it from any applications that reference it (like VB etc). This is a sample application. I thought I was doing everything write by specifying the GUID etc but nope. Any ideas using System; using System.Collections; using System.Compon ...Show All
Isabel_v PGP encryption using Visual Studio 2005
I want to encrpt a text file using PGP encryption. Can anyone help I donot know much about the PGP encryption, i tried both CodeProject and CodeGuru site but could not get enough information. SharpPrivacy seems to be dead. There's OpenPGPBlackbox offered here . 1. Go to google.com 2 Write query "PGP C# code" 3. select first, second or threed link the second for exam ...Show All
Mark42 Printing to a fast dot-matrix printer
I am developing a program in C# that will be used with a high speed dot-matrix printer. In the Visual Studio 2005 version of C#, can I enumerate the printer's fonts and choose one of them so the printer isn't printing in graphics mode (i.e. very slow) Thanks for any help. try the ClassicReports for .NET controls i posted at Gotdotnet's CodeGallery. ...Show All
Edusie Debug Compile Problem
Hello! I have a C# project, a Windows forms application. It compiles without any errors, but when I compile it in debug mode, it compiles the application as it was a few hours ago. If I compile without debug it works just as it is meant to do. This is very weird since debug mode worked yesterday. Any ideas on what this could be Thanks! It works, but what was the problem Try d ...Show All
AlexB-007 Output components in C#.NET
Hi, i am new in C#.NET and I am using Visual Studio 2005. I want to use a graphic component that show the output from an arithmetic operation with variables that I have created. Please, anybody tell me this. Can I do that with a text box Text box is only for input or it can wotk with outputs too How do you mean, a graphical component How do you want to 'graphically' represent the result of 8*2 If you want to draw something like a ch ...Show All
omengware Intellisense is missing a class.
Hi there. I've just created a new class and everything compiles fine. But now Intellisense doesnt list the class. I've re-checked the namespace and using lines over and over. I've closed the forms and re-opened and ive closed the solution and re-opened. Still doesnt work. Is there a way i can sort this out This used to happen in VS2003 but usually closing the files or solution would fix the problem. I've just checked the Class viewe ...Show All
Robert B How to change an instance at runtime?
I want a concept solution (not a logic solution) for the below question Question :: My question is... Assume a window application Assume the code is <<<<<<<<<<<<<<< Class ClassOne{ int getSingleDigitValue(){return 1;} .. } ClassOne c1; (On the click event of the answer button the below code is executed) a = c1.getSingleDigitValue(); >>>>>>>> ...Show All
L1Alpha01 Label Justify text
hi i was wondering how can i create a label with the text justified .... i need this becasue im making my own messagebox control, so the text is variable and i need to justify it so it looks pretty, does anybody have an idea im using window application with .NET 2.0 ,,,, mig16 Try setting the AutoSize property of the label to true.In addition,if you want to specify justification,set the TextAlign propert ...Show All
SamSL how long can a string be
I have a pretty large text file, with very long lines. I am trying to read each line, match a particular field in that line (this is a comma deliminated text file) and then insert the coresponding field. I have done this and it works on most of the files. The problem is with the file that contains very long lines. It just screws everything up. It seems to either be having a problem reading the line as a string, or writing it back to a file. How ...Show All
paolo_cc How to add a printer
I need to add a printer to a customer computer. I have the printer address but can't find any component to do this. Any way to do this programmatically Well, i want to add a network printer. I have the printer shared name, the name of the computer on which the printer is plugged and the name of the printer driver. But i can't find how to use those information to add the printer to my computer programmatically ...Show All
Nazim Active Solution
I have created a button in one of the VS.NET IDE toolbars. What i'm basically lookin for is to be able to display the path of the currently opened solution file in the VS.NET application environment when i click on that button. I've been trying to play with EnvDTE, System.Reflection etc. for quite sometime now, but have basically ended up nowhere. Kindly throw some suggestions my way ! I can help if you post h ...Show All
Gabriel_XD NO IDE file for Microsoft Samples?
I download the sample apps from http://msdn.microsoft.com/asp.net/reference/design/templates/default.aspx . After I installed them, I wanted to loaded them into VS but there a no IDE file to load. What I am missing Thanks Ralph Ralph, These Templates need to be copied into your web site application. There is no VS Project, simply copy over the files into your web site project and refresh the Solut ...Show All
