|
Is there a component/addin for VS that provides incremental searching/filtering of components in ToolBox.
For example I'm designing a form and need to place a button control.
I would then type letters (b, u, t, t, ... ) inside search/filter box and all component classes matching entered characters would be filtered inside ToolBox or displayed within a DropDown window.
Thanks.
|
|
|
|
|
Hi, i've got a problem when using the localization possibilities of .NET.
I'm using sharpDevelop2 and i created two language files (en-US and fr-FR) to match the two languages. When i compile the soft, it work whell but the dll files created from the resx files are in two folders named fr-FR and en-US directly on the program root.
I'm searching for a way to create a global 'lang' folder in whitch i will put the languages folder.
I tried to put the resx files in a 'lang' folder created in my solution but the compilation faild because the resx files are dependent of the MainForm.cs and in this case it does not find this file.
Is there any way to do that in sharpdevelop ? If yes could you explain ?
or sould i use VS ?
I hope it's clear, thank for help.
|
|
|
|
|
AFAIK you cannot do what you want to (no matter which IDE you use) since the framework has a fix algorithm to look for those satellite assemblies.
"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." - Rick Cook www.troschuetz.de
|
|
|
|
|
OK so if i understand, if i want to localize my application for 100 languages, the compilation will create 100 directories directly in the program root !
I've never seen a program with such directory architecture !! So if i want to put my language dll files in an other directory, i have to do it by hands, could you give me a good solution to do that ?
thanks.
|
|
|
|
|
Maybe this (ResourceManager.CreateFileBasedResourceManager ) can help you, but I'm not sure as I never needed to circumvent the standard procedure. If not, search the docs starting from the System.Resources namespace.
"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." - Rick Cook www.troschuetz.de
|
|
|
|
|
XimpleWare is proud to announce the release of version 2.0 of
VTD-XML, the next generation XML parser/indexer. The new
features introduced in this version are:
* VTD+XML version 1.0: the world's first true native XML index
that is simple, general-purpose and back-compatible with XML.
* NodeRecorder Class that saves VTDNav's cursor location for
later sequential access.
* Overwrite capability
* Lexically comparisons between VTD and strings
To download the software, please go to
http://sourceforge.net/project/showfiles.php?group_id=110612
To read the latest benchmark report please go to
http://vtd-xml.sf.net/benchmark1.html
To get the latest API overview
http://www.ximpleware.com/vtd-xml_intro.pdf
|
|
|
|
|
When the value of CurrentCell in DataGri changed, how do we get the value before it is modified?
Eagally waiting online!
|
|
|
|
|
To get original row, include the original value
((DataRowView)DataGrid.BindingContext[DataSource].Current).Row["Column",System.Data.DataRowVersion.Original]
|
|
|
|
|
hi,
i am creating a editor in RichtextBox and I want to change the cursor Background color.
where ever i scrolldown my cursor the selected line color should change.
PLs help me
Thank you
Prasad
|
|
|
|
|
Odds are, the rich text box does not do that, and you'll need to write a custom control. Although, I suspect you could kludge it together.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
can u explain it pls.
Thank you
prasad
|
|
|
|
|
I know there is no input box class in C# and we have to either import it from VB or write a custom input box.
But currently while I'm working with my program, it is an excel-like program with a grid table on the GUI, user can enter data into any cell on that (like an excel sheet), I come across a problem that whenever I call the input box to display, the currently selected cell will lose all its data.
I tried both the input box from VB and made a new form to display my custom input box, but the problem is still the same.
Can anyone help me identify why this happen ? I really have no idea why pop up a new form would make the currently selected cell in current form lose all the data, especially when the other cells remained unchanged.
Regards
|
|
|
|
|
What's wrong with a textbox ? What on earth is an inport box, that you need to import it from VB ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well there is really nothing wrong with a text box, but I don't need a text box here.
What I need is a pop up box to ask user input something and allow them to confirm/cancel with button, and that's why I need an Input box
|
|
|
|
|
OK, then you need to create a form that does that.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Please read my original post again.
I do know that I need to create a form to do that, and I already did. But the problem is that whenever I call that form, my cell data got erased.
|
|
|
|
|
Hello,
Are you passing information to that form, like the instance of your control?
Give us more information what this form is doing.
All the best,
Martin
|
|
|
|
|
This is all I do with that input box, I don't pass in any control
InputBoxResult result = InputBox.Show("Enter alias:", "Some title", "Default", new InputBoxValidatingHandler(inputBox_Validating));
InputBoxResult is a class that have a boolean value for validating input and a text value for input string.
Here is the method that I use to show the form:
public static InputBoxResult Show(string prompt, string title, string defaultResponse, InputBoxValidatingHandler validator, int xpos, int ypos) {
using (InputBox form = new InputBox()) {
form.labelPrompt.Text = prompt;
form.Text = title;
form.textBoxText.Text = defaultResponse;
if (xpos >= 0 && ypos >= 0) {
form.StartPosition = FormStartPosition.Manual;
form.Left = xpos;
form.Top = ypos;
}
form.Validator = validator;
DialogResult result = form.ShowDialog();
InputBoxResult retval = new InputBoxResult();
if (result == DialogResult.OK) {
retval.Text = form.textBoxText.Text;
retval.OK = true;
}
return retval;
}
}
I want to get this input string and set it as the cell alias. Well I can get that string, but whenever the form pop up, my cell goes empty
|
|
|
|
|
Hello,
thailehuy wrote: new InputBoxValidatingHandler
What is the handler doing?
From which event are you calling the Show method?
All the best,
Martin
|
|
|
|
|
The handler does not do anything in particular, but call this method:
private void textBoxText_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
if (Validator != null) {
InputBoxValidatingArgs args = new InputBoxValidatingArgs();
args.Text = textBoxText.Text;
Validator(this, args);
if (args.Cancel) {
e.Cancel = true;
errorProviderText.SetError(textBoxText, args.Message);
}
}
InputBoxValidatingArgs and Validator are some other classes and variables that store values
The Show method is called whenever user click a button or a menu item
|
|
|
|
|
thailehuy wrote: I do know that I need to create a form to do that, and I already did.
OK, I thought you said you were importing some VB thing instead.
thailehuy wrote: But the problem is that whenever I call that form, my cell data got erased.
OK, it's impossible to help you without seeing some code.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I am using OLEDB for reading excel data.Although it's working fine but unable to read values of some cell e.g. i have data in A1,A2,A3 cells.
my program is successfully reading data of cell A1 but unable to read data from cells A2,A3. i have checked all but unable to find the cause.when i applied watch on table. Its showing System.DBNull in cell A2 and A3.
please help me ASAP
|
|
|
|
|
Do you have data in any other cells ? Perhaps you're not reading the cells you thin kyou are.
No-one can offer more concrete help without seeing your code.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
data is present in all cells. i think problem in the column data type
|
|
|
|
|
How do u read the data from cells?
Does the app always read first cell?
|
|
|
|