|
OriginalGriff wrote: You are running the background worker twice Isn't that impossible?
From the documentation[^]:
If the background operation is already running, calling RunWorkerAsync again will raise an InvalidOperationException.
|
|
|
|
|
It should be impossible, yes. But you clearly trust the documents more than I do!
(I haven't tried it, it's just the only other way of getting into the code I can think of)
Never underestimate the power of stupid things in large numbers
--- Serious Sam
|
|
|
|
|
Hi,
I wanna ask about your experience please..
if ou had an option to choose between XtraReport and RDLC for our business application? which one you'll decide to use?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
That is easy. I would choose the one that satisfies the needs of the application.
|
|
|
|
|
HTML.
Then again, would also depend on the business, the expectations of the customers, technical limitations, budget.. If you had to create a report by tomorrow-morning, which of the two would you choose?
Start with that one. You can always "add in" a second choice later
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
I'm planning to implement a gridview using c# that is filtered using faced filters(jscript). Can you show me some tutorials or some advises? I google it but nothing helpful.
How to include an option in the gridview to change the layout from grid view to list view? I saw this feature used in many websites.
Thank you
Danny
webdesigner at gotomyprice.com
|
|
|
|
|
I Have Created a Simple form in which i have added Adobe Reader from toolbox using steps
1. right click in toolbox - Choose Items
2. choose COM Components tab and there "Adobe PDF Reader"
3. Now Drag&Drop the Adobe PDF Reader Control into an UserControl
I have successfully added this, opened up a pdf file also. Now it automatically provides with vertical scrollbars for scrolling through the pdf document.
What i want to achieve is instead of using the given scrollbars or mouse to scroll, i want to use a button to scroll scroll the pdf, So there will be two buttons, One for Scroll Up And the other for scroll down.
I have gone through many forums, pages, etc. Havnt found anythn that i could use.
I have Tried Simulating key presses with
SendKeys.Send("{DOWN}");
But as i press the button, the focus is lost on the adobe reader so it doesnt work
Pls help me... I have spent almost half a day searchin for a solution
|
|
|
|
|
You might try using this with SendKeys: "+^H" ... see what happens. [^].
“I'm an artist: it's self evident that word implies looking for something all the time without ever finding it in full. It is the opposite of saying : 'I know all about it. I've already found it.'
As far as I'm concerned, the word means: 'I am looking. I am hunting for it. I am deeply involved.'”
Vincent Van Gogh
|
|
|
|
|
I tried it, but it did nothing, What was it supposed to do???
|
|
|
|
|
Hi All.
public enum tipologie_oggetti { moda,modb,modc}
i would like to add "modd" using a combobox or a textbox or any other controls so to have as a result :
public enum tipologie_oggetti { moda,modb,modc,modd}
I don t know if it is possible.thanks
|
|
|
|
|
What is the context of this question?
Controls usually don't change the source code.
|
|
|
|
|
It is exactly what i nedeed.Controls can not change code.So my next question is: what if i wanted to enable the user to add a new item to my enumerator?
|
|
|
|
|
Well, you kind of can't. (and you kind of can, but let's not go there yet)
It sounds like you need something else, perhaps a Dictionary<TKey,TValue> of some sort? What are you doing with it?
|
|
|
|
|
I'll try to explain it better. I put some serialized data in a 3d object(guid). one of them is my enumerator.Therefore my objet "obj1" contains tipologie_oggetti.moda and
"obj2" has tipologie_oggetti.modc. i would like to enable the user to create a new enumerator(tipologie_oggetti) item and add it to his 3Dobject as a serialized data.
|
|
|
|
|
Yeah, we know what you're doing. You're just using the wrong construct to do it.
Enums are a collection of constant values used in your source code to improve readability, consistency and supportability of the code.
That are NOT used as variable length lists of user data, which is what you're trying to do. Use an appropriate construct, such as a List<t> or Dictionary<t> if you're going to left users modify this list of names and values.
|
|
|
|
|
I think you're right.'ll use a dictionary. thank you all for your cooperation.
|
|
|
|
|
In that case, this should be considered data edited by the program and not an enumerator. You cannot use an enum in the way you want.
|
|
|
|
|
Enums are a structured (ordinal) collection of integral, value-type, Constants. You might say they are "tightly bound" at compile-time.
Two days ago I responded to a question about Enums here on the C# QA Forum: [^].
I hope you might find the content of that response, the comparison of an Enum with its (static) Class equivalent, and the links included in it, helpful.
It is possible to modify an Enum at run-time, but you have to use Reflection to do it, and I'd highly recommend you not do that for performance reasons, as well as reasons of unnecessary code complexity.
“I'm an artist: it's self evident that word implies looking for something all the time without ever finding it in full. It is the opposite of saying : 'I know all about it. I've already found it.'
As far as I'm concerned, the word means: 'I am looking. I am hunting for it. I am deeply involved.'”
Vincent Van Gogh
|
|
|
|
|
thank to everibody.i have to go now .my wife and my daughter are calling me.i will read you link billwooddruff as soon as it is possible .
|
|
|
|
|
You mean "enumerations" and, as said, you want something else.
|
|
|
|
|
you're right. your help and that of those who have patiently helped me a lot to understand. through the effort of those who know the more you grow faster
|
|
|
|
|
microsoft translator api doesn't translate text with proper meaning it only takes word to word mean in c# \
means when i want to translate this sentence
"I WANT YOU TO WRITE THESE"
it does translate this sentence as
मैं इस पढ़ने के लिए आप चाहते हैं in hindi which is not proper .also it doesn't take phrases into consideration
pls give me a solution on this i am tearing my head on this.
|
|
|
|
|
You will never get perfect translation when doing it through software, since a phrase in one language may be interpreted in different ways, and sometimes will not make sense in another language. Consider the English phrases: Time flies like an arrow, fruit flies like a banana.
Veni, vidi, abiit domum
|
|
|
|
|
There is no solution.
That is, unless someone comes up with artificial intelligence that can comprehend human conversion context. That hasn't happened yet, but you're free to try all you want!
|
|
|
|
|
Hello sir,
i want to store invoice number of a document, while scanning or capturing the document. Is there any possible way..?
Please help me sir.. i'm waiting for your valuable feedback
|
|
|
|