I'm learning to do TDD in practice in small project. I want to create a countdown timer class, how to implement it in TDD(Red, Green, Refactor), and it has the delegate callback as well.
I was trying to create a new Class Library project targeted for the .NET Compact Framework.
However, when I select "New project - Smart Device" I only have the Smart Device Project template.
I've checked the folder:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\CSharp\SmartDevice\1033
It contains several project templates:
SmartDeviceClassLibrary
SmartDeviceConsoleApplication
SmartDeviceEmptyProject
SmartDeviceWindowsApplication
SmartDeviceWindowsControlLibrary
None of those are shown on my IDE.
How can I use one of those project templates?
HI,
I need to know how to set class path for the client tag
under web service of build.xml in java.
I have to add the log4j.properties file to the client jar.
Thanks
Abhi
Hi every one!
Does Page class adds ViewState for Controls created in CreateChildControls, I mean I have a page which I add some controls to the page and all of them are Literal and EnableViewState is false, my question is are there any ViewState entry gor them in Page's ViewState?
Thank you.
Hi, I'm trying to decompile a library but when I click on a class name or a method name, the implementation code is empty.
For example:
public bool MethodOne(string str)
{
// nothing
}
What could it be?
Is there anyone who has a good (basic) UML class diagram to get me started on an object oriented CMS?
I want to start using OOP in PHP but can't seem to find a good starting point.
uninitialized class variable @@configuration in Rails
/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:19:in `configuration'
/usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:24
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
This is the initial part of the enviroment.rb:
RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
config.gem "oauth", :version => "0.2.7", :lib => "oauth"
Hi ,
I want to interrupt some specific grails domain class events(read,write,delete,update).Is there any hibernate eventlistner available for grails domain classes.So that all the calls will go through that eventslistner.I tried following def beforeLoad={}, def beforeInsert={} ,etc ..Other than that is there any other way something can be done in service level?
Thanks
How can i remove this <p> tag with all its content in javascript?
say i have this html code
<p class="classname">
<input name="commit" value="Get Value" type="submit"> <span>or Cancel</span>
</p>
Now i need to replace/remove it in javascript, does anyone know how i can remove it?
I seem to have somehow messed up when wordpress calls the post class. I looked in "Main Index Template" but that just says "<div <?php post_class() ?> id="post-<?php the_ID(); ?>">" So I don't know what to do.
I'm trying to add a IsImage property that I wrote myself to the HttpPostedFile class, so that if a user is uploading a file, I can do something like this:
FileUpload1.PostedFile.IsImage
How can I do that in C#?
Retrieving the COM class factory for component with CLSID {86A3FE22-515C-45BF-B489-07DEEB03E2D6} failed due to the following error: 80040154.
this is error message in my page in asp.net?
pls help me how can i remove it
After initiating a new SimpleXml object:
$xml = new SimpleXML($xmlStr);
PHP errors out:
Fatal error: Class 'SimpleXML' not found
PHP info reads:
Simplexml support enabled
Revision $Revision:
1.151.2.22.2.35.2.32 $
Schema support enabled
What could possibly be going wrong?
When I build with XCode (I am porting a large project with tons of errors at this point), is there a way to have it start with the CPP file that contains my main class (I obviously know this file) so I can correct errors there first?
I mean we have about 400,000 errors moving from CW to XCode.
I am trying httpUnit for the first time and just trying to get a response back from google.com.
However, I keep getting the following error:
com.meterware.httpunit.dom.HTMLDocumentImpl not found
Though, I have placed httpUnit.jar in the libraries folder of my NetBeans project and can actually see that class file is there.
Any experiences with this?
Can anyone suggest a FileSet package/class in Java. By FileSet I mean a collection of files and directories together with regex-powered inclusion and exclusion rules (similar to Apache Ant). Thanks.
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list.( no additional language package installation, assume the windowns system language packages support Chinese/English/Japanese/Korea already).
I am using <%# MyFormatClass(Eval("fieldname")) % to display data in a grid view on my page. MyFormatClass works fine, but now I want to move it to a central location that can be used by many pages. When I try to access the class <%# Utils.MyFormatClass(Eval("fieldname")) % it no longer works. Is this something we are allowed to do?
Given: An application that accesses a directory of files: some plain text, some binary files that adhere to a particular NSCoding implementation, and perhaps other binary files it simply doesn't understand how to process.
I want to be able to figure out which of the files in that directory adhere to my NSCoding class, and I'd prefer not to have to fall back on the naïve approach of loading the entirety of each file into memory, attempting to unarchive each.
Anyone have an elegant approach or pattern to this problem?
I've got a control that derives from Forms.Control, it handles mouse events and paint events just fine, but I'm having a problem with key events. I need to handle Left arrow and Right arrow, but so far the Tab control that contains my class eats these.
How do I make this control selectable, focusable?
Hi All,
I want to use min-width and width for a class. Is that possible?
Can I use the following code :
.container
{
min-width:1000px;
width:100%;
height:100%;
overflow:hidden;
}
Thanks
hi!
I'm working on a project which includes generating pie and bar graph charts on the fly with user inputs.
Can anyone suggest me some good libraries to do that?
It can be any like jquery, css, php class or anything..
Thanks :)
I need to use method like:
DoSomething<(T)();
But i don't know which Type i have, only object of class Type. How can i call this method if I have only:
Type typeOfGeneric;
I have two view controllers (viewControllerA and viewControllerB) with their own views. When the user touches a button in the view of viewControllerA, I am able to load the view of the viewControllerB.
However, I don't know how to invoke a method in viewControllerB's class!