What is unit testing and unit testing libraries like xUnit? I understood it's testing specific code, so what's the difference between this and just opening a new project and test this specific code?
in my project i have one registration form which is developed in C#.net.to this form at lost i have an print button on clicking this button i have to get print window which we usually see when we give print in our system .plz provide me this code and help me. thanks uu
Hi all,
I have next situation. I need to choise source control system for my project. This scs must provide the API to my .net application to get information about check-in-s for specified user and date period and about changes which was done in this check-in-s (the number of added and updated lines).
What source control system provides this functionality?
P.S. I can't use the TFS, it's a limitation..
I'm planning to use Autofac IoC for my project where I must implement auditing (Who, What is doing in application). I was already read a lot of articles on this subject (auditing).
My intention was to use method interception to implement this functionality.
I know that Unity support this, but I was wondering if I can use Autofac for this scenario ?
For my project(in asp.net) i wrote near 1000 lines of c# code for one asp.net page.It includes so many functions.The problem is,it is going complicated while i am writing more codes on one page.How can i make multiple c# files for one asp.net page?? I tried by adding new class in VS2008.But calling a function from one file to other is making error(item is not present in current file).How can i do that??
I have created a couple of java working sets for a project in my workspace and want to share them with other people (using different workspaces). Is there a way to export them?
I'm coming from a Ruby/Rails world. I'm getting testing set up on a Sinatra project (with Rack::Test). I usually use Fixtures in testing. Is there an equivalent for Sinatra?
How do people set up their Sinatra test suites (outside of the basic helloworld example that is the only example I can find for Sinatra tests).
Thanks!
Hi,
I am trying to use 'GetModuleFileNameA' but I keep getting the error 'c4430: missing type specifier - int assumed'. From reading the results from my google search I am guessing that it is from my use of NULL:
char Filename[MAX_PATH]; //this is a char buffer
GetModuleFileNameA(NULL, Filename, sizeof(Filename));
NULL is supposedly defined in #include stdio.h which I have included in my project, what am I doing wrong?
Thanks.
Where does one go to report bugs in Google Code? Alas, searching for "Google Code" within "Google Code" is futile as the title of every single project page contains the words "Google Code" -- assuming that Google Code is even self-hosting.
Starting a new project on Google code offers a choice of several licenses:
Apache License 2.0
Artistic License/GPL
Eclipse Public License
GPL v2/v3
Lesser GPL
MIT
Mozilla License 1.1
New BSD License
Which license do you choose, ans why? I'm also interested in opinions which license is the least restrictive license for commercial users, ie. allow commercial use of the code w/o restrictions.
In a windows environemnt, how can I invoke groovy without having to specifiy the classpath for a given set of JARs each time? I am trying to create a script for an admin so that he can just type groovy deploy [project name].
My project has several deployed artifacts as ear files. My understanding is that each of the ears will have it's own classloader. Is it possible to tell weblogic to use the same classloader for each of these deployables.
What factors do i need to consider when making this change?
i have say, richTextBox1, and here is the contents:
line one from my textbox is this, and i want this to be normal, arial, 8 point non-bold font
line two, i want everything after the | to be bolded... | this is bold
line three: everything in brackets i (want) to be the color (Red)
line 4 is "this line is going to be /slanted/ or with italics
and so on, basically if i know how to do what i mentioned above, ill know everything i need to know to complete my project. code examples would be very very much appricaited! :)
I have a asp.net web application project, with some global resources.
If i deploy to my dev machine, the resources are used correctly, however in the production server the text appears in the default language so the global resources are not being read.
Any ideas? (i copied the App_GlobalResources directory to the production web dir root)
Can we use Facelets in JSF1.1_02?If we can please send me some piece of code relating to that?Can anyone tell me which version of tomcat will support Sun RI1.1_02?I have a restriction of jsf1.1 in my project so if anyone know the thing related to this please share with me!!!!
I am curious about code in my action script project:
public var _p:Object
...
in a function:
public function WObject(pp:MovieClip)
{
_p = pp;
_p.Play();
}
The Play() function is in MovieClip but not Object, can action script allow such syntax?
Hi All,
In my silverlight project I have a Context Menu (right click menu) that I want to close it if I click anywhere outside it. I add handler to the click event on App:
AddHandler App.Current.RootVisual.MouseLeftButtonDown, AddressOf HideMenu
But the problem that: it does not enter the Handler when I click on any other command, or click on the same control that have the context menu, it is enter only when I click on an empty area outside the menu.
Thanks.
Hello.
I have added a simple .gif file into Resources folder in my project.
Now i have created a user control with pictureBox.
How can i add the .gif to pictureBox.Image = new Bitmap (path).
What is the path in this case?
thanx !
Hi recently I finished my WM6 Pro.6.1 application and happily learned that to put it into marketplace, it has to pass some tests.
-Application Verifier
-Microsoft Hopper Test Tool for Windows Mobile 6.0, 6.1, and 6.5
I use VS 2008 and windows mobile 6.1 and I couldnt run none of these tests, Hopeer tool has a FocusApp c++ application which I must build and run before testing, but its a VS 2005 project and I couldnt run it on VS 200..and without it I can't test anything.
any ideas how can I build that for VS2008?
Dear sir's & madam.
im using flexgrid in my project,it contains 6 colums,if the first column value is 1 then automatically focus ill move on the sixth column.help me anybody..
(im used in flex grid payment id,payment type,bank name,bank code,reffrence code,referance no,amount.
the payment type is like cash or credit or cheque,suppose when i place the value in payment type is cash then the next focus is go to amount)
hello i am a student and i am doing my senior project it is about developing an application in j2me for scanning a barcode and extract the number of the barcode in a message to be send.
please i search the net but i cant found something usefull i am new at j2me if someone could help me with sourch code and how to create it i will be very thankfull my email is [email protected]
thanks in advanced
I choosed a web project in order to do that i am using an IDE (Eclipse), database (DB2 universal driver) and Apache Tomcat server. So, by gods grace every thing has gone well but when I try to update data to DB2 database through JDBC code then I am getting an SQL DB error as
:: DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2ADMIN.REGISTER
where register is my table name and even i logged in as db2admin but i think there is no connectivity established but still its not resolved
For the longest time I've been curious to code in Intermediate Language just as an academic endeavour and to gain a better understanding of what's "happening under the hood".
Is there any sort of Visual Studio support for this in the form of: project templates, IntelliSense integration, and those kind of RAD features?
Hi ,
I am new in iphone and i am on the final stage of my first project for iPhone.I need some help in Inapp purchase implementation.I need to give a free version of my app for thirty days and then force the user to buy the app.Please let me know how can i start implement this.Looking forward for valuable advices.
Thanks in advance.