have to check some formulae whether they are providing correct result, these formula are written part of a VB program, what is the best tool\method to unit test these formula?
I have a mainView. To this view, I am adding a view of the same size. When the mainView(the background) rotates, its being detected but the subview doesnt have any idea about being rotated. And its functions are not even being called. Even when the program launches too, if I am in landscape mode, its the same way.
How can I make the subView know that the device is being rotated?
public class WrapperTest {
static {
print(10);
}
static void print(int x) {
System.out.println(x);
System.exit(0);
}
}
In the above code System.exit(0) is used to stop the program. What argument does that method take? Why do we gave it as 0. Can anyone explain the concept?Thanks.
I've done a lot of research on when it's correct to release things, but it's all confusing to me. I think sometimes the Leaks program is off. Anyway...
background is a UIImageView
background.image = [UIImage imageNamed:@"greenbackground.png"];
Do I have to release background? I never alloced it and it's not set as a property, so I'm thinking no.
Is there any plug-in that provides an integrated shell (i.e. command prompt) in Eclipse?
The console only seems to be for interaction with a running program.
I've found a reference to the plug-in Open extern but that opens an external command window, and I'd rather have it integrated with Eclipse.
hi
i try to install my C# program on Windows 7 64bit and i got error.
i need to install MDAC and ActiveSync on computer.
from where i can download MDAC (that fit for Win-7 64 bit) and ActiveSync ?
thank's in advance
I want to use the performance counter output in my program. How can I access the performance counter in code without using the perfmon.exe. I want to create my own performance counter app.
program runs fine. When I put a breakpoint a segmentation fault is generated. Is it me or GDB? At run time this never happens and if I instantiate only one object then no problems.
Im using QtCreator on ubuntu x86_64 karmic koala.
I just installed QT 4.6 on snow leopard 10.6.3. I wrote a really simple program. I can generate a xcode project using qmake, but I can't step into QT function. How can I set it up?
I can't figure out where exactly to go in order to write the Ruby code itself. I know that I can enter things line-by-line in Terminal (I'm on a Mac), but I'd like to figure out how to start using something like Xdrive (Apple won't allow me to download Xrive because I have OS X 10.5, not 10.6).
What steps do I need to take in order to start writing code in a program like xDrive.
Thank you in advance.
I have a Database named CarsType.accdb there are four fields in the data base Item_Name, Item_Num, Item_Qty, Item_Cost.
I am able to get the database to display my data in VisualBasic but I am not sure how to get the total cost to appear in my label (lblTotalCost). I prefer doing it in VB versus writing in my access program. All I am wanting to do it multiply item_qty * Item_Cost How would I go about doing that?
what is this exception and how to remove this
in my problem i am creating an arraylist of objects, and after checking some condition,i want to remove some objects. but the program is giving this exception ConcurrentModificationException. how to remove this
thanks in advance
Is there a definitive guide for special folders in windows? An internet search yielded just a few crumbs of information, e.g.
Wikipedia:Special Folders
Windows 7 Client Software Logo Program
What I'm looking for is an explanation of each folder, its intended purpose, usage scenarios and motivation for its existence (e.g. what does Local App settings provide for that App settings doesn't). A matrix/table of requirements/uses against folder would be handy I think.
I have a program written in C, which is named computeWeight.c and to compile it i use the following code
chaitu@ubuntu:~$ gcc -Wall -o computeWeight computeWeight.c
//to execute it:
chaitu@ubuntu:~$ ./computeWeight
Do i have any mechansim where i can directly use as mentioned below,
chaitu@ubuntu:~$ computeWeight
Should i be changing any permissions on the executable to get this?
I have been asked to program in .NET
I am used to java, javascript, PHP, jQuery
What is the implication to work in .NET, any reading, any migration white paper?
I kno that .NET is a microsoft windows ONLY thing as opposed to PHP, free and universal.
After watching the tier 1 video, where do I go to learn how to program in C#?
Is there an online video series?
Usually people say to "Read the Manual", but what is a manual these days? Do I just say "Help", "View Help" and start grokking?
Can i get a small sample program for sending RTSP requests to a server, I am new to protocols and my application requires streaming live data. Please respond. I need to start with a very small basic example to implement RTSP requests
I have been working with the Swing library for a long time, I'm working on a new project for school and due to the nature of the program it can't look like a generic/boring swing gui. So my question is does anyone know of an interesting java gui library that is not swing or awt?
I've used PPerl for deamon like processes.
This program turns ordinary perl
scripts into long running daemons,
making subsequent executions extremely
fast. It forks several processes for
each script, allowing many proceses to
call the script at once.
Does anyone know of something like this for ruby? Right now I am planing on using a wrapper around curl to call a REST WebService written in Sinatra running on JRuby. I'm hoping there is a simpler option.
Hello
Can any one help me to find out, how I can setup Hessian Kit on existing iPhone project. What are the steps required to run a simple hello world program.
I have Hessian Kit (http://sourceforge.net/projects/hessiankit/) but don't know how I can include this in my existing project.
Please help
Thanks
SD
Hi,
I'm a beginner in java. I want the logic of the small program.
I have two arrays
array = {a1,a2,a3,a4,a5,,,,,,,,,an}
and
array2 = {b1,b2,b3,b4,,,,,,,,,,,bn}
I want string as:
a1b1,a2a3b2b3,a4a5a6b4b5b6,..........an
Please tell me what will be the logic.
Assume in my text box user enter like
18-06-2010 ,
Validation RULE if date is greater then current date then program should through the validation error like ,
PELASE ENTER PAST OR CURRENT DATE, DONT CHOOSE FUTURE DATE ,
Thanks
when ever i write the following line of code any where in any app i program with delphi
ShellExecute(self.WindowHandle,'open','www.yahoo.com',nil,nil, SW_SHOWNORMAL);
kaspersky 2010 beeps this message
''behavior similar to pdm.hidden data sending. detected''
why is that and how do i get rid of this
note: i am using delphi 2007
Hi, I'm not sure when this happened but when I was trying to edit a menustrip in my program (in the VS designer), I noticed that the menu items had be grouped or merged. Like:
File Edit Format Insert ...
Instead of being able to click each menu item and add sub-items to them in the designer, they all were grouped together so I couldn't edit the menu items separately, it's quite painful.
I couldn't find any properties related to this, so how could I ungroup the menu items in the designer?