Is there some library which I could wrap so I could call it from the commandline and run refactorings like extract method from Textmate or Vim? I am mainly thinking about on the Mono framework.
Hi there,
I'm making an application and I'm using a timer in that application to change label content in WPF C# .NET.
In timer elapsed event I'm writing the following code
lblTimer.Content = "hello";
but its throwing an InvalidOperationException and gives a message "The calling thread cannot access this object because a different thread owns it."
I'm using .NET framework3.5 and WPF with C#.
Please help me.
Thanks in advance.
Given the Thread class with it current method.
Now inside a test, I want to do this:
def test_alter_current_thread
Thread.current = a_stubbed_method
# do something that involve the work of Thread.current
Thread.current = default_thread_current
end
Basically, I want to alter the method of a class inside a test method and recover it after that.
I know it sound complex for another language, like Java & C# (in Java, only powerful mock framework can do it). But it's ruby and I hope such nasty stuff would be available
Qt is a nice framework which allows people to develop something once and it will works for the 3 main OSes.
But from times to times, there is some differences in the layout: placing some widgets does not have the same behavior as in windows or linux.
Did you observe weird behavior ? on which Widgets ? how did you corrected this ?
Thanks for sharing
I need to retrieve only selected portion of a webpage (user open a webpage in web-browser control, then he/she would select some portion of a webpage, i just need only those selected portion/text) in vb.net in visual basic language. How to do ?
i am using microsoft visual studio 2008
Language: Visual Basic
FrameWork: vb.net 3.5
Is there a way to get the form active control?
I was checking in the help for the "Support.GetActiveControl" method but it isn't supported :) for the Compact Framework.
I suppose that I can track the focus by adding a custom GotFocus event handler to all the form controls, but I'm looking for a more generic way that can be implemented for any form.
a bit confused as to how my XML config file would change when
switching over to Signals.
Right now the 3framework Commands I am using are defined as follows.
Both ViewChangedCommand and the InitViewCommand are mapped to custom
events.
Hi,
I'm working with an OCR project which is developed using Visual C++ on .net framework.
But since the .net is platform dependent I want to make this project platform independent and make it supports to multiple operating systems.
So can some one give me a hint to how to do it.
Thanks.
whenever using a framework it's so good with a api reference so you could lookup the classes' methods and properties, which class they extend from and so on.
is there a api reference for codeigniter similar to yii's excellent api referenc?
http://www.yiiframework.com/doc/api/
thanks.
Hello,
I want a framework (or anything) that helps me make rich client guis. I know my server-side, but I don't like programming in ajax, javascript, css etc.
Something that wraps the ajax code in some objects/methods with clean syntax, would do the trick. I want to write code in java instead of defining css and html tags.
Does Java Spring, JSF, Django support this ?
Languages: Java, Python
Thank you
Good Day!
i am working on page which has
Javascript Menus (dont know how made, i think they are in compressed form)
Jquery
Sexy Alerts
now my problem is that when i want to add any type of jquery calender, it wont work :(, i have tried different possibilities found here, but yet invain. Can somebody guide me.
OR
some body give me suggestion to use a calender that is compatible with any other framework.
help is appreciated.
Thanks
I am looking for a Unix based application or framework that would allow me to view/edit ini files on a remote system in a Html GUI via Apache (or similar).
Searching for ini/config/GUI solutions via search engines returns a lot a false positives.
Any recommendations?
I am trying to come up with a common UI framework for my organization. I want to know can I have something called shared faces-config.xml file which can be shared across projects.
I need the imageid of the images that are stored in photo album. How can i achieve it? I have heard that PLPhotoLibrary helps in fetching the id, but because it is a private framework, app store does not allow it. Please help.
Let's say I have two dynamic objects like this:
var objA = new { test = "test", blah = "blah" };
var objB = new { foo = "foo", bar = "bar" };
I want to combine them to get:
new { test = "test", blah = "blah", foo = "foo", bar = "bar" };
I won't know what the properties are for both objA and objB at compile time.
I want this to be like jquery's extend method.
Anybody know of a library or a .net framework class that can help me do this?
Hi,
I want to develop an application that runs on any windows platform (XP, Vista, 7) but does not require a dependency like .NET Framework or JVM. I have given the other requirements below:
Runs in any windows platform
Must have GUI libraries to create windows/primitive controls
I also want the output file size of the application to be minimal (So cannot include .net frameword etc in the exe file)
Any suggestions for this requirement?
Our company needs to build web solution and we're somewhat short on time. We use Java and do not have a design yet.
We're looking for some tools/plugins for:
GUI-like web design (drag and drop components)
WYSIWYG
The tools must be *free
We like GWT but any other UI framework is fine. Plugins for NetBeans or Eclipse would be great. Any ideas?
As you all know the VS 2010 RC is out for MSDN subcribers.
Unfortunately I guess I have the same problem as some of you, in that the company I work for wants to continue keeping our projects on VS 2008.
I would like to know if its possible for me to work with VS 21010, then later convert my projects back to VS2008?
I intend to use v3 of the framework for this particular project.
Thanks in advance..
I have an application that is running on .net 3.5 SP1 and that is supposed to check if .net 4 is installed.
Actually, I'm more interested if MSBuild v4 is installed, which would boil down to a simple File.Exists(@"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe");
However, apart from the fragility of the 4.0.30319 Version (and the Windir, but that's easy to solve), I wonder if there is a more appropriate way, like an API?
What ways do I have for creating a unit test template like this? I'm using visual studio 2010 and Resharper 5.
using NUnit.Framework;
namespace SolutionName.Core
{
[TestFixture]
public class ClassNameTests
{
[Test]
public void test()
{
}
}
}
I saw this in some header file in the framework directory:
@interface NSCharacterSet : NSObject <NSCopying, NSMutableCopying, NSCoding>
@end
@interface NSMutableCharacterSet : NSCharacterSet <NSCopying, NSMutableCopying>
@end
I thought protocols were inheritable.If I am right about that,There is no need to type <NSCopying, NSMutableCopying> again after "NSMutableCharacterSet : NSCharacterSet".And NSMutableCharacterSet also conforms to NSCoding protocol, right?
Than why is Apple typing that again?Am I making mistake?
in .net Claim-based identity framework
If i wanted to restrict users to do an operation (view or edit) on let's say an account, a particular account #123456.(i am talking about business entity, like a bank account.) Is it a good idea to create a claim for each account they can view or edit?
Any disadvantages of having a lot of claims in a set? a system admin might have access to all accounts in the system thus creating hundreds of claims (maybe more than one for each account)
If my class has NO destructor, an it goes out of scope.
GC runs at certain time, now will it simply reclaim memory from my class OR will it call its destructor or Finalize () on it ?
And does the .net framework class like SQLConnection implement a destructor? I saw it has a Dispose () implementation but didn't see the destructor using "Go to definition".