ListBox - Number of visible items?
HiDoes anyone know how to retrieve the number of visible items in a ListBox?For instance: Item 1 ------ Scroll up Item 2 Item 3 Item 4 Item 5 ------ Scroll down Item 6 Item 7This ListBox then have 4...
View Articlechanging color in Rich textbox while timer is on
I got a problem.I am giving colors to the text in Rich text box.When the timer is on ,all the text was turning to aqua color.But I need Different colors.Here is my code private void Form1_Load_1(object...
View Articlecombobox with values from multiply tables mathematical operation
spojeni.Open(); var cb4 = new SqlCommand("SELECT cena1,cena2,cena3,tcena1,tcena2,tcena3 FROM zajezd WHERE akce="+zakce.Text,spojeni); SqlDataReader dr4 = cb4.ExecuteReader(); while (dr4.Read()) {...
View ArticleUpdate label.text from a Thread
My Windows Forms Application has a Label and create thread.I want to update Label.text from the thread.How do I do this?
View Articlehide winform when application loses focus
I have a winform that I use to navigate through my excel workbook. The form opens on the Workbook Open event. All works fine, but I just noticed that if my application is open and I open any other, say...
View ArticleAccess form not visible in All Access Objects panel
I have been given a task to modify an Access database that someone else developed. There are several forms (2 that I know of) that do not appear under All Access Object / Forms. I have already set...
View ArticleCreating a form to save, print, and reopen as a file/application
I want to make a small application that allows a user to save a few textboxes to a file that they name and i want them to be able to open them in an application where they can edit that information....
View ArticleUnique Identifier of a multiple instance of a form
Good Day,I'd like to ask if there is a way for me to identify or to know a some sort of unique identifier of a form instance.Suppose I have a form and a button and from the button's click event I can...
View ArticleDataGridView Fill From XML with Font style
Hi,I have Datagridview Fill From XML file.I want Some Datagridview Cells Have Bold Font style or Font size change.how i create xml file with cell font formatting.Art Of Living Is Art Of Giving
View ArticleWINDOWS 7 BACK-UP IN WINDOWS 8
HOW CAN I MAKE WIN-7 BACK-UP IN WIN-8 RUN LIKE IT DOEWS IN WIN-7.IN WIN-8 IT MAKE A SYSTEM IMAGE AND KEEPS UPDATEING IT BUT WHEN YOU WANT TO RESTORE THE IMAGE THEIR IS NO OPTION ON THE RESTORE SCREEN...
View ArticleWINDOWS 7 BACK-UP IN WINDOWS 8
HOW CAN I MAKE WIN-7 BACK-UP IN WIN-8 RUN LIKE IT DOEWS IN WIN-7.IN WIN-8 IT MAKE A SYSTEM IMAGE AND KEEPS UPDATEING IT BUT WHEN YOU WANT TO RESTORE THE IMAGE THEIR IS NO OPTION ON THE RESTORE SCREEN...
View Articledatagridview save runtime data to sql
Can anyone write me how to save the run time entered information into my database...BindingList<Employee> employees;publicForm3(){InitializeComponent();}publicclassEmployee{publicstring...
View ArticleAntivirus
Hi and How are you doing?Please inform me whether I need to setup an antivirus for windows 8.1, I have tried to setup AVAST & AVIRA but there were no use.Thanks for your precious timeRegardsIbrahim...
View ArticleHow can i replace my windows os?
I just bought a windows laptop already pre-installed with windows 8. I cannot find the serial key for the windows 8, nor did it come with a disk. Ive hear the windows 8 pc's dont come with disk. Also,...
View ArticleC# open a new form, and close a form...
Well... i want to do this: open a form and close the form that is open...Example:Form_P f = new Form_P();f.Show();this.Close();But, my program close.. why?
View Articlesql exception
what does this mean?? I am getting user code SQL exception. This is the exception which is shown:-Procedure or function 'sp_InsertAlbum' expects parameter '@Id', which was not supplied.sakshi mittal
View ArticleConfigManager filename issue
My problem concerns using custom config files. When I load a config using 'System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration("example.config");' the manager saves to...
View ArticlePicturebox update, refresh, show give odd results -vb.net multiform,...
I have n forms each with a picture box in it. (And each on a different monitor).The sole purpose of the picture box is to display bitmaps, which are assigned using .PictureBox1.Image =...
View Articleproperties of c#
using System.Xml.Serialization; namespace Soundfingerprinting.SoundTools.Misc { [XmlRoot("Results")] public class DumpResults { public DumpResults() { Results...
View ArticleHow can i detect if the frame before or the next frame already have been...
I have this trackBar scroll event:private void trackBar1_Scroll(object sender, EventArgs e) { if (trackBar1.Value > trackValue) { if (isanimoredit == true) { addFrame = true; button16.Enabled =...
View Article