Answer Questions
Sstar Designer doesn't like Array InitializeComponent code
Hey, Sorry for a possible dumb post, I dont post at all usually! I haven't coded for that long in c# so as i said this may be dumb quest. I get the feeling that the designer does not like arrayed components as i have done: Ctrl = new System.Windows.Forms. CheckBox [4]; for ( int i = 0; i < 4; i++) { this .Ctrl = new System.Windows.Forms. CheckBox (); } for ( int i = 0; i < 4; i++) { this .Ctrl .Location = new System.Drawing. P ...Show All
boon3333 How can i send SMS or make phone calls from my cell phone
How can i send SMS or make phone calls from my cell phone (lets say nokia 3310) using some sort of connectivity with my application, using serial port. I am new to this sort of programming and need some advice on things i need to set up, including hardware to connect mobile phone to PC. My application is built in C# Thanks.... The nokia developers section is not all Java, only for application that sho ...Show All
CarryonWilliams combox.text
when assigning text to combobox.text="ddddd" it is not displaying while runing program Hi I think you need to add string "ddddd" as an Item into your comboBox comboBox.Items.Add("ddddd"); Hope this helps we have to add the item using comboBox.Items.Add("dddd"); Check your ComboBox's DropDownStyle property. If it is set to DropDownList then the Tex ...Show All
fletchdaf C# Webpage image file
What is the correct location of the file, and the best way to link an image for a webpage so that it is viewable to all So in C# when I add the image and I go to browse for the file... I should just replace the file:///S:\M Images\Logos\Logos\Custconnects.jpg with (this is a web application for internal use only) Thanks, I am actually working with C#.net 200 ...Show All
ReyCri Reading BitMap Text
Hi, I need to read text (numbers) information from a bitmap Image. Does anybody know how to do that in C# and Windows Forms I'm using VS 2003. Thanks Here is some good information from Wikipedia: ... Edited! Here is the code, it's a visual basic.net 2003 code : ... Edited! Anybody has any ideas for this Thanks Ok , Thanks. I converted this to C#. But what are those numbe ...Show All
jacobite Could the compiler only build modifled project?
Whenever I build the solution, the C# compiler build a lot of projects even the files in the project has not been modified. This costs a lot of time. Is there any option that could make the compiler only compile the modified project(projects contains files that has been modified since the last build) Thanks! The Dependency Walker is not a Visual Studio process, as far as I know. It comes with the OS, such as Windows XP. T ...Show All
Insignia RichTextBox, text highlighting and Undo/Redo
Hello! I have a RichTextBox control. I use it for syntax highlighting in my text. The problem is: after a syntax is highlighted, when user press Ctrl+Z (calls Undo action)... control "unhighlights" my text. For highlighting I use Select method and SelectionColor property. How to suppress writting actions into the undo stack of a RichTextBox during SelectionColor changes Is it possible ...Show All
Chad_06 INullableValue removed from .NET 2.0 RTM??
I began the process of upgrading one of our Beta2 applications to run under the 2.0 RTM and the compiler is complaining that INullableValue cannot be found in the System namespace. Using the object browser I can verify that there isn't a INullableValue interface defined in the mscorlib assembly version 2.0.50727. Was it intentionally removed If so, why has the documentation not been updated to reflect that change The code I am trying ...Show All
thea.umali Not possible to set a background image in a multiline textbox?
The textbox control does not have any backgroundImage property - are there any other way i can set a background image Maybe place a image behind the textbox and set the background transparant or something Does anyone know any solution to this Hi, did you provide this suggestion to MSDN Productfeedback Centre I did now. But are there no workarounds Hi, for your app ...Show All
Syed Safiullah Hussaini How to Refer a C# dll over the Network into a VB6 Application
Hi , I am using a dll created by a C# project in my VB 6.0 Application. I am refering the dll from the Project-> Refrences from the VB 6.0 IDE the dll which i am using is now in the local system say " C:\Project\MyInterface " can any one help in refering this dll from another machine over the network. Thanks and Regards, Suraj you could also use .Net Web Service for this purpose. ...Show All
esin g&#38;&#35;252&#59;lten Exceptions in designer - how to find?
Hi, I have a control added to a form and whenever I open that form it tells me that an exception was thrown in the control and thus it's disabled in the form. However, I can't seem to find where this exception is thrown and everything is fine at runtime. Is there a way to break on exceptions at design time Thanks, Tom well, I found out that I could debug with the immediate window. However, I can't find it Is ...Show All
Jean Baronas Runtime Button_Click event
Ok. I have created a button at runtime, the only problem is, I need it to have a click event. How do I go about doing that Well. Im still having problems. I have a peice of code here, its kind of long, but could you take a look at it and tell me what the problem is private void timer1_Tick( object sender, EventArgs e) { if (progressBar1.Value <= progressBar1.Maximum - 1) progressBar1.Value += 1; else { timer1 ...Show All
infamous New Guy: Threading Info
I'm working on a small server project where I believe I need two threads in a C# application: 1 Thread to handle user interface (Windows Forms) requests and 1 Thread to perform tasks requested through the user interface against MS SQL Server Hopefully this is sensible ... In any event, are there any good articles on multi-threading w/ C# that cover the basics from the ground up Thanks! DB If I found a problem in C#, my first refere ...Show All
Sara_H System.Drawing.Point
Ok. I would have to say this is a pretty profound question, or almost complex. Is there anyway increase the x point, or y point, without actually creating a new point. Something like label.Location += 1 (x)...or something like that. Can someone please help me. I know I will be helped, like I always am. :) Wouldn't {object}.Location = new Point({object}.Location.X + 1, 658); do the trick Yes. That would work perfec ...Show All
Jon Drake Typedef-equivalent in C#?
I pass integer IDs to a variety of functions. I want to create a type for each ID so the compiler can check I am passing the right type. In C I would do this with typedefs. E.g.: typedef int personID; typedef int addressID; void DoSomething(personID p, addressID a) { ... } How can I do this in C# Creating an entire class seems like a lot of overhead. using personID = int; This gives me a synta ...Show All
