I need to create a batch file that goes to a directory and execute a series of executables
start cd c:\temp\
command1
command2
the above doesn't work, it only starts in c:\temp, but ignores rest.
I'm trying to install the Python Imaging Library on Mac OS X 10.4, but I get errors. I'm not sure where the error starts, it's just a huge wall of text when executing sudo python setup.py install.
But the last few lines are:
...
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccNKvQpP.out (No such file or directory)
error: command 'gcc' failed with exit status 1
I've googled, but none of the results are working.
I have different elements in my layout: Buttons, RadioButtons, EditText, and I have made a RelativeLayout that is clickable and starts a new intent. Everything works ok except that I can't select that element with the trackball. Is there any way to achieve this? Thanks in advance.
I need to kill windows explorer's process (explorer.exe), for that
it tried using
System.Diagnostics.Process.Kill("Explorer.exe");
It works but the problem is that the explorer starts again, may be windows is doing that, anyway. When i kill explorer.exe with windows task manager, it doesn't come back, its stays killed
I want to do whatever taskmanager is doing through my application.
It's really interesting how book reading applications like Stanza or Eucalyptus split epubs which is html by page so lines are clear and next page starts at the correct line.
Does anyone has any idea how this could be accomplished?
Hi,
I have a class that starts with:
public class GeneralID implements WritableComparable<GeneralID>{
...
}
And another that is:
public class LineValuesMapper<KI, VI, KO, VO> extends Mapper<LongWritable, Text, Text, IntWritable>{
...
}
All methods in these classes are covered. But not their header. The header of both classes gets painted as yellow with EclEmma.
Is there anything I can do to fully cover the class header?
Hello,
how can I use pure HTML to make a browser-integrated flash-free online music player? Like, you click on a button, and the music starts playing. I have tried everything with and with(out) , but none of it seems to work. I need it to work in Firefox.
I have an MP3 file.
Thanks in advance ^^
One of my applications in my Django project require each request/visitor to that instance to have their own thread. This might sound confusing, so I'll describe what I'm looking to accomplish in a case based scenario, with steps:
User visits application
Thread starts
Until the thread finishes, that user's server instance hangs
Once the thread completes, a response is delivered to the user
Other visitors to the site should not be affected by any other users using the application
How can I accomplish something like this? If possible, I'd like to find a lightweight solution.
I'm getting a System.NullReferenceException when my application starts up (after a small login screen) which doesn't crash the entire app but prevents it from loading correctly.
How can I get the VS.Net debugger to stop at the error so I can fix it?
The output I'm getting in the Immediate Window is:
A first chance exception of type 'System.NullReferenceException' occurred in GrelisCrampApp.exe
I look for a free launcher or bootstrapper that checks whether the .net framework is installed, and starts my app1.exe, or app2.exe if not. Alternatively a louncher that checks for the OS version.
/* start the capture */
pcap_loop(adhandle, 0, packet_handler, NULL);
The above starts the capture,but I don't find a way to stop the capture except exit the programe...
I've got a module that I'm attempting to turn into a proper OTP application. Currently, the module has start/0 which starts a genserver which supplies configuration data read from a config file. It then calls inets:start(httpd,config:lookup(httpd_conf)). I gather that I need to move the starting of these out into the .app file's (application list) but I'm not sure how to get my config data into the inets:start function (or pass in httpd)?
Thanks,
--tim
Hello. Does anyone know how I can create a screen overflow while a program is running? Mainly while a game is running. If anyone has used xFire or Steam, these use this feature. I've created a winform which starts the game/program and then minimizes. Could the overflow be created in the same winform? Thanks for the help! :)
Hi ,
I am developing a reminder application. A part of it is to have voive notes as reminders.
On click of voice notes button i want to start the inbuilt voice recorder. How do i go ahead for it ?
Also once it starts i want to retrieve the path where it gets stored so that it can be played automatically on the day the timeline is reached. Is it possible ?
i have two projects in a project group:
ProjectA
ProjectB
Whenever i open the ProjectGroup.bpg in Delphi, it always starts with the 2nd project as the active one:
ProjectA
ProjectB
And every time i have to flip it to the the "real" project:
ProjectA
ProjectB
How can i make ProjectA the default project that opens with the project group?
ProjectGroup.bpg
#------------------------------------------------------------------------------
VERSION = BWS.01
#------------------------------------------------------------------------------
!ifndef ROOT
ROOT = $(MAKEDIR)\..
!endif
#------------------------------------------------------------------------------
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
DCC = $(ROOT)\bin\dcc32.exe $**
BRCC = $(ROOT)\bin\brcc32.exe $**
#------------------------------------------------------------------------------
PROJECTS = ProjectA.exe ProjectB.exe
#------------------------------------------------------------------------------
default: $(PROJECTS)
#------------------------------------------------------------------------------
ProjectA.exe: ProjectA.dpr
$(DCC)
ProjectB.exe: childfolder\ProjectB.dpr
$(DCC)
I am developing a GUI application in Qt Creator and want to write some unit tests for it.
I followed This guide to make some unit tests with QtTestlib and the program compiles fine.
But how do I run them? I would like them to be run before the GUI app starts if debug buid and not run if release build.
Title says it all.
I'm trying to write an extension for VS2010, but I get this every time:
Hit F5 to start debugging
A new instance of visual studio starts up
I can see a bunch of DLLs loading in the debug host while the new instance is starting
It then fails with a "LoaderLock".
When I continue after that, the new instance is fully functional, but there's no debugging happening at all.
The same happens when creating an addin.
Any clues?
here I continue my question, I do have an app structure like this:
http://www.youtube.com/user/jamesshaw95#p/f/4/LBnPfAtswgw
and I want to add a startupview displays for 3 seconds at the app starts then disappear, then user will see the content.
but I am not able to remove the tabbar at the startupview, I want the startupview be a 320*480 picture which showing for 3 seconds then disappear, any help is highly appreciated!
I'm using Core Data's automatic lightweight migration successfully. However, when a particular entity gets created during a migration, I'd like to populate it with some data. Of course I could check if the entity is empty every time the application starts, but this seems inefficient when Core Data has a migration framework.
Is it possible to detect when a lightweight migration occurs (possibly using KVO or notifications), or does this require implementing standard migrations?
I've tried using the NSPersistentStoreCoordinatorStoresDidChangeNotification, but it doesn't fire when migrations occur.
I'm displaying a string like "I'm an Actor" or "I'm a skateboarder" and need to use a or an correctly.
Is there a nifty rails view helper to see if a word starts with a vowel?
<p>I'm an <%= @user.skills %></p>
<p>I'm a <%= @user.skills %></p>
I have an animated Sprite that is drawn on the screen when I press the button. However, I want to the animation to start after 5 seconds. Technically, the ver first PNG in the "animation set" is shown and the animation starts after 5 seconds.
I have tried to used the DelayModifier as follows, but without luck:
mySprite.registerEntityModifier(new DelayModifier(500)); //doesn't work
I would appreciate your input.
I am using VideoView to display a video in my app. The problem is that, once the layout gets created there is lag of almost 10-30 seconds before which the video starts to play. I can see in LogCat that the video is buffering during the lag.
Is there a way I can minimize this lag, or tell MediaPlayer to play the video sooner?
Thanks
Chris
When you have an application and send a select command, the sql server gathers all the data and sends them back to your application and fills your datagrid (for example)
If you performed the same select command in sql management studio, immediately as the query starts running and finding data the results panel would start filling with the data found.
How can I do that for my winforms application?
Is there a technique or a standard method of doing something like this?
Links to good examples would be an immense help.
thanks
I have just noticed that my ViewController does not call init (See below) when it starts up.
-(id)init {
self = [super init];
if(self) {
NSLog(@"_init: %@", [self class]);
otherStuff...
}
return self;
}
Is there a reason for this, or is it replaced by viewDidLoad
-(void)viewDidLoad {
otherStuff ..
[super viewDidLoad];
}
cheers gary