|
Moreno Airoldi wrote: a progressbar whose value is incremented every second
That is actually called a "let us hope the other thread is still working on this, however I am not really sure any progress is being made, all I know is the clock is ticking"-bar.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Exactly hehe!
But seriously, if you implement a timeout check (and you MUST do that when you use this kind of worker threads), this solution works just fine.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
Like Navaneeth has said, there is no way of knowing how long the connection will take, sometimes it takes a split second so showing a progressbar for that is a bit overkill I would say. As for the collection of the data I would impliment a Marquee style progressBar. This will just scroll untill you stop it when the data has been retreived from the DB.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
yeah i'd do what musefan said, that's the approach i took when i wanted a thorough report for the connection/collection of the data
|
|
|
|
|
Hey all
I have created a setup of my application now my requirement is to run another setup when my application's setup is completed as it wont allow me to run setup during installtion of my application dats why i can't add any thing in commit custom action.
I've spent 3 days to search anything but coudn't find any if you guys have any idea how to do that please tell me.
Thanx in advance
|
|
|
|
|
if you want to run an executable from code you could use...
System.Diagnostics.Process.Start("MyEXE.exe");
Now I have helped you, maybe you could come knocking at my door a little later than scheduled?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
i think you didn't get it the problem is i wanna add a custom action that should run after the installation of my set up is completed i know how to run an exe or setup from code it just dont allow you to run any setup during the installation of you application.
|
|
|
|
|
Ya, this is one of the drwa backs of using MSI's.
I resolved this using a batch file which calls the executable once the setup is completed.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
This might help: MSILaunch[^]
Nick
----------------------------------
Be excellent to each other
|
|
|
|
|
Hi
I couldn't find any TESTING forum so using this to post.
I am using Nunit GUI test runner (version 2.4.5) for running almost 1000 tests written using C#. It runs completely and give me results in the end.
Now, there are some failed tests which if I run them in Visual studio directly, they work fine. And GUI log window doesn't say much about why tests failed.
Why could these tests be failing? Is there a way to find out? More logging, maybe. But what should I be logging?
Please advise. Thanks
Pankaj
|
|
|
|
|
pankazmittal wrote: I couldn't find any TESTING forum so using this to post.
this[^] one comes to mind
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
too fast!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
yeah, strange that... you see I was just writing a template reply in case anyone was posting here as they couldn't find a testing forum then just as I wrote it <BANG!> someone has that very problem... Spooky
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
It's not in the drop down list and the last option "All Message Boards" probably skipped from my eyes. I should have looked deeper.
Thanks
|
|
|
|
|
pankazmittal wrote: Now, there are some failed tests which if I run them in Visual studio directly
Sometimes you can have hidden dependencies between tests such that you can run them all you get some failures but if you run them in isolation they pass. What happens if you run those tests individually in the NUnit GUI? Do they pass or do they still fail?
How are you running them when inside VS? Are you using TestDriven.net or similar?
You might want to examine the state of your test fixture before and after running each test.
Kevin
|
|
|
|
|
I am using Resharper plugin inside Visual Studio. I think I have all dependenies copied over. Not sure about the TextFixture state. Will try to find something on that.
Thanks ..
|
|
|
|
|
I too have run into the problem you describe in the past. It turned out to be my own mistakes. It's likely that one or more tests are not leaving the test fixture class in a clean state, such that a subsequent test(s) fails. But if you run a test in isolation you're always starting from a clean state so it may pass.
Btw, that ReSharper unit test plugin is pretty good. Unfortunately, I'm not a ReSharper user so I have to make use of their old free Unit Test Run 1.0 which they've now discontinued. It's a bit flaky but it works.
Kevin
|
|
|
|
|
yes! it does run in isolation. must be something I am missing. gotta find it.
and yes! resharper is very very cool. Before we got the license I use to run it's 30 day trial. Uninstall it and run it again. Not sure if that still works though. It becomes pain though after a while. But this tool really makes loads of difference.
|
|
|
|
|
I've used ReSharper briefly in the past but I'm currently in the CodeRush/Refactor! camp (actually really just Refactor!). ReSharper is more widely used though. The impression I get is that ReSharper is better at general code analysis and unit testing (CodeRush has only recently started doing this). CodeRush/Refactor! is stronger on refactoring (I think). But anyway both tools are good, though both periodically run into performance problems.
Kevin
|
|
|
|
|
After reading your views about codeRush, I wanted to check it out. Guess what I found... A free license of CodeRush/Refactor.
I still have to form my opinion on this product for thought you may like free stuff.
Get it at http://msdn.microsoft.com/en-us/vcsharp/dd218053.aspx and Enjoy!
|
|
|
|
|
Yes, in fact it's what I use. I have Refactor! Pro but not the full CodeRush (long-term umemployed contractor ) So I use Refactor! Pro + CodeRush Xpress.
I think in the DevExpress forums there is someone who is a ReSharper user who also uses CodeRush Xpress at the same time and reports that the combination is OK.
The feature I like most is quick navigation but I assume you must already have this in ReSharper?
I have a blog post on this here:
Developer Productivity Tools[^]
Kevin
|
|
|
|
|
cool .. i will check this out too. Thanks
|
|
|
|
|
Can't see DevExpress menu in VStudio. How do you bring it up?
Did it happen to you too?
|
|
|
|
|
For the free versions of these products the menu has been removed at the request of Microsoft apparently. I don't have this issue because I get the mnu through having the paid for Refactor! Pro.
However, there is a way round this. See near the bottom of this thread (it's not long) http://community.devexpress.com/forums/t/72689.aspx[^]
There is a registry key you can set to display the menu.
Also there is a keyboard shortcut for invoking a refactoring(s) that you can customise. if you go to VS Tools/Options/Keyboard and search for CodeRush.Refactor you will see a keyboard binding. I set mine to Ctrl+# (UK keyboard).
You also get the refactorings via a smart tag - three grey dots that appear next to a code element when a refactoring is available and the cursor or mouse is at that location.
If you have any other issues try searching or posting in the DevExpress forums. There are lots of very helpful guys there.
Kevin
|
|
|
|
|
Awesome! Registry change did the trick.
Asking you proved to be much faster than sending it to DevExpress team. thanks a lot
|
|
|
|