How do I find out what directory my console app is running in with C#?
How do I find out what directory my console app is running in with C#?
I'm writing some code that uses some unmanaged calls into user32 functions such as SetWindowsHookEx, etc. This requires me to use lots of constants that I'm not sure what their value is. For example,
I am creating a Visual C# application to covert xml files to x12 edi txt files. I would like to delete all the files in the xml directory after I have created their txt equivalents. I have tried addin
How do I find out which widget in my wx.Frame has the focus?
I am creating an iphone performance app in which I would like to know the Disk Space available on iphone ... I know that a lot of apps do this but I cant seem to find this bit anywhere
I want to make the most simplest application that can communicate via windows send messages (and parse json). I have found a sample code: CWnd* pWnd = FindWindow(old title); pWnd->SendMessage(WM_
I use Exchange Server Managed API. How do I find out if an appointment is private? There doesn't seem to be a method or property in the Appointment class.
I need to be able to find out the version of Groovy runtime via a groovy script. How do I do it? The examples I found on the net show a way, but apparently it has been deprecated and removed in the la
Is there a way to find out how which process has started my process in c#? I have two exes A.exe(console application) and B.exe(GUI). Now A.exe should only be started by B.exe and nothing else. Any
How do I get an NSString from console input, and then try to cast it into an int?
I looked around to find, how I can know on which iPhone my App is running (iPhone 3G, iPhone3GS, iPhone 4) to do additional things depending on the exactly device. The preferred method was mostly some
After a user purchases an app from the app store, and runs it, is it possible for the app to know how much the user paid for it? Does Apple have any APIs that can access this type of metadata about th
First please dont overlook because you might think it as common question, this is not. I know how to find out size of file and directory using file.length and Apache FileUtils.sizeOfDirectory. My prob
I am writing a url shortener app and I would like to also create a console app with C# to push the URLs to a WCF service which I have also created. WCF app will shorten the url on this URI; http://ex
I made a java app for android 2.3.4 and would like to find out how much memory of the available heap it is using. Reason for that is that the dalvik vm has a heap size limit and on my current device
I figured out how to run my Django application via sudo python /home/david/myproject/manage.py runserver 188.8.131.52:80. However, after I quit terminal, the server stops running. I tried to run thi
How do I get a parent of a directory, for example: string upDir = GetOneLvlUp(@C:\AAA\BBB\CCC\DDD\); Output: C:\AAA\BBB\CCC\
When I run my javadoc command with ant or if i try to generate he docs from eclipse (using same build script) this is what I get and I can't figure out how to find the error. Is there somewhere that I
I want to find out the frame rate of my iOS app, i'm wondering how to check that?
I'm querying my database for the user's youtube username. If it is Null, I need a Missing Username to appear. I can't figure out how to find out if the result is null or not. $getyoutube = SELECT c
There are probably about 600 councils in Australia. I need to work out how to create boundaries for them all within my iPhone application so that when a user is in a certain area the application will
I had MAMP installed (and working fine) then I tried to install mongoDB through macPorts. macports then began installing a bunch of dependencies. after that, http://localhost started giving an It Wor
Often when I am coding I just like to print little things (mostly the current value of variables) out to console. I don't see anything like this for Google App Engine, although I note that the Google
I'm wanting to remove a module from my Drupal 6.x sites. I've identified that the module is only being used in one block and now have to trawl through 8 sites * 30 contexts to make sure it's removed.
I've got an active record class open. I want to know all the fields available to me in that class? How can I do this quickly, without walking over to the database design document hanging on my wall? I
I am currently using Emma as the code coverage tool for my project. I know how to get the code coverage analysis of running a sample Java test case. This will give me the code coverage details of the
I was trying to determine a good way to calculate a previous date based on how many weeks I would want to go back. Today is 7/19/2011, so if I wanted to go back 5 weeks what would be the best way to d
What version are my NetFlows? I have an appliance that is exporting NetFlow to my NetFlow collector. My collector is collecting with nfcapd. The only information I can find is that nfcapd will capture
How do I find out which version of Java I am using Perl programming and using that execute some jar file based on that?
In my code I need to do certain fixes only when it is run inside a JUnit test. How can I find out if code is running inside a JUnit test or not? Is there something like JUnit.isRunning() == true ?
So by default, Django creates apps inside the root project dir. But I moved it inside apps. py manage.py schemamigration ./apps/chat --initial This doesn't work. Instead of chat, I put chat Ins
http://shanamccormick.com The page loads all the images and then says (1 item remaining) Waiting on http:// shanamccormick com... How can i see what it is waiting to load here?? and why does it take
i was told that using config.gem alongside :path => path/to/dir would work. on server restart though environment.rb does not pull the gem im pointing at. anyone have any ideas?
Have been using it for a while with CodeIgniter and I can't remember if I installed v2 or just copied the files from another project. Any ideas?
My SQL Server CPU has been at around 90% for the most part of today. I am not in a position to be able to restart it due to it being in constant use. Is it possible to find out what within SQL is caus
Possible Duplicate: How to delete printed characters from command line in C++ my question is, how do I change text while RUNNING a console window in C++. For example. If I were to display this. cou
There are a few topics on this, but none with a satisfactory answer. I have a python application running in an IPython qt console http://ipython.org/ipython-doc/dev/interactive/qtconsole.html When I
My emulator finally displayed what I was asking for, now how do I put it in my Android device? I'm using Netbeans 7.1.2, fyi.
I'm dealing with a complex page with a lot of different scripts going on, some ASP.NET AJAX and some jQuery. For some reason when the page loads one of the elements has its visibility set to hidden.
I am using someone's SDK, but the document does not tell me something is a struct or a class. How can I find out that? typeof or GetType just show the name. I'd like find out that in the IDE(VS2010);
I'm having a problem where an application I'm working on has memory leaks. Experience has taught me that one of the first places garbage collected languages experience memory leaks is dealing with sub
I want to create a C# console application in which my other Java console apps in other machines can query how much messages are in MSMQ. I'm wondering, how do can I implement that? In what way will t
If I use PhoneGap will I build web app as usual? How does PhoneGap tie into the web building process? Can I be real app like ones built in Objective-C (I thought that was a requirement to be in the
How can I tell whether my RealBasic code is running inside a Console or desktop application?
I want to use WQL to get information about IIS worker processes, plus just about everything in Resource Manager -- disk usage, memory usage, CPU usage, and network usage. Where can I find a list of al
You'll have to bear with my slightly on this, but please ask if I have left out any pertinent information. I have just taken over a project to create a dashboard for my team. This dashboard has been m
Good afternoon, I inherited some C# code from years ago. I have refactored it a bit to be asynchronous. Evaluating the impact of my changes on the performance of the CPU, I used Process Explorer to wa
If I run top on my dev android device I can see that when my app in is the background it uses .6% cpu, if I bring it to the foreground it uses 5-6% of the cpu. The problem is, it's not doing anything.
I'm displaying strings with a combination of Japanese and western characters. I know what font I'm using for the western characters...but how do I find out what font is used for the Japanese character