Answer Questions
Ricardo Rivera maskedTextBox ,SelectAll
i got problem with masked text box while trying select text in the text box by pressing tab it is unable to select masked text box text. private void SelectMaskedText(object sender, EventArgs e) { ((System.Windows.Forms.MaskedTextBox)sender).SelectAll(); } this is not working I this method invoked When you set a breakpoint, does it break I writen a little test and the TextBoxBase.SelectAll method works here for a ...Show All
Koei How to send an SMS through C#
Hi PPL, Can anybody help me in sending an SMS through ASP.NET. Probably, sample of codes and links are appreciatable. Regards, Vinoraja. Hi, sorry for the delay yes i have I use the code I downloaded from http://www.intellisoftware.co.uk/products/evaluate.aspx I am online, I willing to parcitipate whenever you want me too. hi vinoraja, i think you need a gsm modem for this (that is if the project is st ...Show All
amitsingh18 Any productivity support for implementing interface?
When I implement an interface, say System.Web.IHttpModule like this ... class Class1 : System.Web.IHttpModule { } Here is the IHttpModule definition public interface IHttpModule { void Dispose(); void Init(HttpApplication context); } I find that it is tedious that you have to manually code all the implementation signature. Is there a better way I knew that there ...Show All
NC01 C# Immediate window problem
The immediate window in Vs.NET is giving me problems when i use it with C#. Simple example is I have the following line of code in a function String MyString = "abc.doc"; Then I put a breakpoint on it, when i debug the application and it goes into that break, I goto immediate window and type MyString it shows abc.doc but when I want to test for something else like MyString.ToUpper() or MyString.ToUpper() it gives error error: managed ...Show All
Marque IV Printing text directly to a printer (NOT as a graphic)
I can print text if i do a e.Graphics.DrawString(......) My problem is that I am trying to print to a card printer, and usually it checks what text it is printing, and if it hits a '~' it then encodes the magnetic stripe. When i print from Microsoft word, or Access, it works fine because text is sent to the printer. But using "PrintDocument" object and drawing to a bitmap, it is unable to parse the text. Any ideas on how to print text ...Show All
jdw-75 How to import a dll made in C++ Win 32
Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Unfortunately, not and I'm getting the same Problem for e ...Show All
Bodis DataSet Problem (Access Database)
I am connecting to an Access Database,when I create a Dataset I get data type errors when adding a new query. If I try linking to it in the code I cant declare it as a TableAdapter , its not there. I also made sure I included the Oledb class.I'm using Visual Web Developer 2005 Each time I re-open the dataset i get the following error: One or more errors encountered while loading the designer. The errors are listed below. ...Show All
Jarreijk Paint
You know in common paint programs, there is a white like square where you do all of your drawings and editing and so forth, I'm new at most of this so I was wondering what that white screen was called and how to make one and also to make the tools, I realize that is a big question that would take a lot of time and probably a lot of code also but I was just curious because I would like to create a sort of Paint program, just a basic one until I g ...Show All
Hansjoerg How to remove content from console application?
How to remove content from console application Console.WriteLine("Something..."); // I don's want to remove it do { Console.WriteLine("Sample text"); Console.Clear() // How to remove the text, which is only in this loop } while(...); There is something wrong. When I choose 'y', the application close, but when I choose 'n', the application don't do anything. I am the beginner, so I'd like to y ...Show All
mutaba Enum question C# and VB
Why this code in C# not work but in VB work Code C#: public enum eFilteringCode : ulong { None = 0, Gen = 1, BdF = 2 } static void Main( string [] args { int BitMask = 400; ulong uRes = BitMask & eFilteringCode. Gen; } Code VB: Public Enum eFilteringCode As ULong None = 0 Gen = 1 BdF = 2 End Enum Sub Main() Dim BitMask As ULong Dim uRes As ...Show All
Pochero How to change the color of the app's title bar?
Hello, How do I change the color of the app's title bar (where you have the Close, Minimize and Maximize buttons) in C# Mateusz I personally wouldn't create a user control for the borders. The non-client area is built for these situations. The correct way to do this is to create a form with your own borders. How to do so is described here . P.s: Try to post windows forms specific questions h ...Show All
DGardner IIS respods "You are not authorized to view this page"
I went wrote a new web app with VS 2005 Proff.and IIS 5 in XP Pro w/SP2 Have a wesite that launches correctly if I use http://localhost/mywebapp/default.aspx , but if I use: http://localhost/mywebapp/ the browser responds with: " You are not authorized to view this page". I have tried solutions for similar bug reports written by Microsoft, but their solutions do not fix my problem. I have tried using windows authentication an ...Show All
Indinfer how can I deep clone an instance of any object?
how can I deep clone an instance of an object for example: i want to clone an instance of the control class TabPage,including the references to its member.If I got the clone of the TabPage class,I can add it to any TabPlane i want with the same design. any ideas It's a tough work,isn't it the controls are not marked as serializable,I can't use that way; could you give me your code sample,that'll be very kind of you. ...Show All
Bob II Question regarding Events and Threading Models
I'm fairly new to most of the concepts around the .NET Framework, so I've been reading through MSDN2 documentation, some books and other internet sources including blogs. I've already understood some principles of the asynchronous model of the 2.0 version, but while reading through msdn and debugging concept code I've confirmed that events don't synchronize automatically across threads, but according to the msdn guidelines at http://msdn2.mic ...Show All
Vonfranzken can anyone explain polymorphism
can anyone explain polymorphism with simple example Class tree Class olivetree inherits from class tree. So olivetree is a type of a tree, it inherits all tree properties and has special ones that make it an olivetree. Class pinetree inherits from class tree. Now pinetree inherits all tree properties and has special ones that make it a pinetree. Both derived classes, olivetree and pinetree, are ...Show All
