|
ok the property worked partially. now the comboBox is displaying the value once. suppose we have three values stored in the array. a1,a2 and a3. the above mentioned property displays the value stored in a3 but after pressing the back button again, it still displays the value of a3. it should display the value of a2 and then if the button is pressed again then a1.
|
|
|
|
|
For that do change in value like
When you click on the back button use
Combobox1.Text=a2
then a1
Yogesh Agarwal
|
|
|
|
|
my problems solved
Muajaaan e maujaan
|
|
|
|
|
hello,
is there any way in DataTable by which i can Select non-blank columns only
for example
DataTable
-------------------------------
|ID|Name|COL1|COL2|.....COL(n)|
-------------------------------
|13|kkkk| | ss |.....COL(n)|
|13|kkkk| | ss |.....COL(n)|
DataRow[] dr = DT.Select("ID=13");
this will return with all columns, but i want it should ignore COL1
i cannot put all columns name in filter as they are in unknown quantity
how can i do this?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
no reply
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Ok so... i got a program that may or may not close/crash unexpectedly, and i want it to spawn another form so that when the parent program does die, that the sibling form is still alive. I also intend to send various data objects to this form, so a solution must be flexible to allow for this.
the goal is an exception reporter that can survive even the most extreme crashes of the program it's trying to report about.
Basically my code is done except for how to handle this case :P
|
|
|
|
|
You could create thje multiple projects into a single solution
exam: -
Make three solution sol1,sol2,sol3 where sol1 is the startup object and we have to give the reference for sol2 and sol3 into the sol1 so now sol1 is the main solution or Application running always and will able to call any subproject
so call the sol2 and then call the sol3 from sol2 now i this case you would able to pass the values also from one project to another and if one soluiton say sol2 is closed then now problem the project will work fine because main application is still working and you could do your work with sol3.
finally if you don't want to display the main project or application instance then you could hide the form for main solution sol1 in our case it will work as backgroud process.
Hope this will solve your problem
Yogesh Agarwal
|
|
|
|
|
yogesh_kumar_agarwal wrote: You could create thje multiple projects into a single solution
The projects become sepate assemblies, but it's still a single application.
You have to create separate applications to run them as separate processes.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
I would like to know what are some of the benefits of using C# vs C++ (MFC) specifically regarding GUI's. I've heard that it offers the ease of creating gui's that visual basic has offered developers for years, but I would like to know what specifically is more "easier" in C#? I've developed GUI's using MFC for many years, and at a first glance at C# GUI toolbox it looked pretty similar to what i've been used to and didn't find anything that is much different.
Any help and pointers from the experts out here would be greatly appericated.
Thanks
|
|
|
|
|
The language is suited to putting applications together quickly. Layout and dynamic adding of controls is easier than MFC (and I speak as an ex MFCer here). It's quicker to put together pattern and tier based solutions than C++ is, plus the event handling code is far easier to work with than the MFC Message Maps. Plus (and this is a big plus on my part), it's much easier to ignore Document View and actually work with patterns like Model View Controller (MVC).
|
|
|
|
|
The extension of WPF support for VB and C# allows for much better GUIs in those languages in my opinion.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Hello
I'm new to C# I'm looking for a good documented code to implement auto complete combobox
I've seen some code here but without any documentation, nor the way to use it
I've also hear about a notinlist event for ComboBox but that event is not available in csharp 2005 nor 2008
|
|
|
|
|
baranils wrote: I'm looking for a good documented code to implement auto complete combobox
Have you actually tried yourself and experimented? It really is very easy - you won't find a great deal of documentation anywhere as the code is almost 'self commenting'.
Just have a go and post back with specifics if you get stuck
Dave
|
|
|
|
|
Hello
I've added the source provided to my project
It compiles
But I do'nt know how to set a new combobox into my form nor from the designer nor from programming
And till now I never had add a object by code, I always use the designer
I'm leaning C# since a few weeks now I can already do many things but many things remain obscure
Another example of good documented code :
I've found dgvprinter here it is wonderfull !
The authors gives all the information about using the code and it was very easy to implement, understand and use, but it was a portion of code I'm much familiar with code library than component library
|
|
|
|
|
All the auto complete functions of a combo box can be set in the designer. If you need to do it through code - this should get you started. (I've commented it for you but it should be very obvious what's happenning even without the comments)
AutoCompleteStringCollection myAutoCompleteCollection = new AutoCompleteStringCollection();
myAutoCompleteCollection.Add("Test entry 1");
myAutoCompleteCollection.Add("Test entry 2");
ComboBox myComboBox = new ComboBox();
myComboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
myComboBox.AutoCompleteSource = AutoCompleteSource.CustomSource;
myComboBox.AutoCompleteCustomSource = myAutoCompleteCollection;
myComboBox.Location = new Point(13, 13);
myComboBox.Size = new Size(121, 21);
this.Controls.Add(myComboBox);
Dave
|
|
|
|
|
I'm sorry but I'm a really newbie
First of all I want to be able to add the special combobox from the designer
In my project
1- I have a form (form.cs)
2- I have the designer of that formForm.Designer.cs
3- I have added the source of Matt.Berther.Control for special combobox CodeFile1.cs
4- I have added the using Matt.Betrther.Control directive in my project
NOW !
How can I visualy add an autocomplete combobox into my form
Is it possible or do I have to define everything the code editor it is not realy practicall to ajust size and position that way and I never did it for any control !
|
|
|
|
|
Ahhh - you didn't say you were using a custom control and not the standard combo box!
Have you got a link to where you got this from?
Dave
|
|
|
|
|
|
Omit any of these steps if you've already done them!
1. Right click your project in solution explorer and chose Add|Existing Item.
2. Browse to AutoCompleteComboBox.cs and click Add.
3. Hit F5 to run your project.
4. In Design view, open the toolbox and you'll find a new entry 'AutoCompleteComboBox' at the top.
5. Use like any other control.
Dave
|
|
|
|
|
Hello
Thans a lot !
I don't know how I miss it (it was probably too high in the toolbox) !!
However I will now inspect the code because it does'nt react as I expect but exactly as a standard CB for now
You assistence is Great !!
|
|
|
|
|
Hi, i use
PrintDocument pd = new PrintDocument();
pd.PrintPage += new PrintPageEventHandler(this.pd_PrintPage);
pd.Print();
to print something to printer.
there's a small dialog box appear for a second saying the
document file name with a 'Cancel' button. I think is not
PrintDocument doing this, but Windows.
Somebody know how i can hide this dialog??
or
Someone know other print command than 'PrintDocument'
that i can use to prevent showing this dialog???
|
|
|
|
|
Hi
go to this link it will help you
Click Here
Yogesh Agarwal
|
|
|
|
|
I have a text box with a URL in in.
How do I get my application to recognize the URL and open the corresponding webpage when it is clicked?
Here is what I am putting in the text box:
<code>txtAbout.Text = "Developed by Teboweb.Com 2008" + Environment.NewLine + Environment.NewLine +
"Be sure to check www.teboweb.com/firstofficernews.html for news on updates etc."</code>
I realize this is very much a beginners question and I have googled but to no avail.
You always pass failure on the way to success.
|
|
|
|
|
Use richtextbox control instead of textbox ans set DetectUrls property to true. You can also use LinkLabel class for displaying urls
|
|
|
|
|
Thank you Giorgi.
You always pass failure on the way to success.
|
|
|
|