desktop-application

Building Client/Server Windows Based Application By C#

Hello I have Desktop application and i want to convert into Client Server That Many User Can insert, Delete and update simultaneously, I have made project in the C# .Net, so please suggest me what should i do.?? Thanks in advance ...

Loading the child form data in the MDI form

I initially show a MDI form to a user which includes a file menu . If i select new from it i will get a child form there i will have some text boxes there i will fill some data and click on save at that point i would like to load a tree view on the MDI form showing the file with the data i saved i am not going to save that file any where...

how to databind datagridview with datatable (C#)

Hi, I want to bind datagridview in windows application with dynamically changed datatable. I have windows form with two textboxes, one for connection string with sql server and the other for sql query string. I just want to display data in datagridview in order to see data. I don't need anything fancy, just to read result of sql query....

Load the child form on the top of the control

Hi all i have my main form as MDI form on this form i am having data grid view. Now form selecting an option from file menu i am loading a child form and i set the property startposition=center It is getting loaded but some part of the form is getting loaded below the data grid view how to over come this . A sample form is att...

How could i load a form corresponding to the cell clicked in datagrid

Hi all i will have some data in my datagrid as follows Now if i click on first column on any cell i would like to show a from, and if i click on 2nd row on any cell value i would like to show another form. How can i do this... ...

Is it possible to design a control of my own in c#

I would like to design a richTextBox control of my own with rounded rectangular edges or liek some other is it possible to customize this ...

csharp create module for desktop application

hi! in c# language and using sharpdevelop i was wondering how i can create a desktop application that loads features or forms only when requested and not at software boot, something like libraries. thanks ...

What is a good pattern to load data and perform various checks at application start? (desktop)

I have an application that needs to load data via web service calls and perform various permission and data checks. Fairly typical. I'm currently doing this in the background when the application starts, however it is a wizard type application and so the user can't do much until all of this has completed. If any issues come up when doing...

How to open save file dialog when i click on ok of a Message Box

I would like to prompt the user for a save file dialog when he clicks on Ok of a message box displayed. How can i do this... ...

How can i open a file such that its length should be multiple of 94

I would like to open a file using open file dialog. If the opened file length is a multiple of 94 i would like to open that file if not i would like to throw an error message ...

How to trim the illegal characters from a string

I will read a file from my computer using StreamReader sr = new StreamReader(FileName); string str = sr.ReadToEnd(); In this i am getting some illegal characters like /n,/r and some other. I Would like to replace illegal characters with a empty character. I tried of making an character array but i did not able to re...

Easiest way to integrate J2SE app with a Web app

I have a really simple J2SE app that consists of a couple of classes. I plan to make it available to my co-workers, and I've been thinking the easiest way would be for them to access it from a browser, instead of distributing the executable on each machine. What's the easiest method/framework that would allow me to do this? This app is ...

Generate auto increment in textbox

How do I get to increment a textbox content on page load in such a way that if i run my application and if the form is getting loaded the value should be 0000001 and if i load the same form again with out closing my application it should be 0000002. If i close my application and run again the value should be 0000001 ...

How to handle Right mouse click event for a Tree view

I would like to have an option as rename File if i select on a file of the treeview. If i right click the mouse i would like to have an option as Rename file and if i select that i would like to able to rename it.. ...

What is the best way to store a secure information for further usage?

My desktop application asks a user for proxy-server credentials to use it later. But what is the best way to store this secure information for further usage? ...

Help in choosing a programming language

I am a student of std.7 and learning GW-BASIC in school. BASIC doesn't suit my needs and other languages will start from std.9 I can't wait that long (I'm sick of BASIC). I am trying to choose some other good programming languages. (I know this question is silly) Desktop Application Programming and Web app design are my main goals. I d...

Ways for combining Adobe AIR and Python - Python

Hi folks, I need to use Python because: I have implemented many scripts and libraries using Python in order to solve a certain problem. I would like to use AIR because: I really love the flexibility of building UIs using HTML and Javascript, also implementing beautiful UI designs is actually very easy. Any ideas if I can integrate the...

Accessing the control created at runtime without using ControlCollection

Hi All, I have a form and am creating controls, adding them at runtime. How do I get access to those controls without using controlcollection. If I use controlcollection loop the system is getting hanged for a while. Is there any other way to access that control? Thanks in Advance. ...

C# tabindex - generalize (desktop app)

I have a few textboxes. I'd like to point the user each time to the next textbox, on pressing enter. Textboxes have Tabindex set up correctly. I got something like: private void textBox_Description_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Enter) { e.Handled = true; ...

problem with displaying the form into the center of the screen

Hi all, I am having a MDI form and many SDI froms. I enabled a Maximize button for one SDI form.After enabling the maximize button, if I click any form, the form is not opening in the center of the screen. It is displaying in the top left. Is there any property do i need to set in order to bring the form into center. The application ...