Hi there..
I am new in silverlight ..
unlike windows form ,I am unable to find menu item in silverlight .
How to add menu item in xaml file.
I have to do this
Thanks
I have to read *.ics file from the download files by using my application and transfer the data in to Google calendar in android. I am new to android. I need some help to do this.Can anyone help me to do this?
I have a PHP file that I need it to detect it's directory it's in. In my case I want it to return C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\
I think that this is pretty straightforward but if there is something you don't understand just comment
How can I send trace messages to the console (like print) when I'm running my Django app under manage.py runserver, but have those messages sent to a log file when I'm running the app under Apache?
I reviewed Django logging and although I was impressed with its flexibility and configurability for advanced uses, I'm still stumped with how to handle my simple use-case.
My apologies for not being able to find the answer elsewhere-- this is a newbie question I know.
So this is probably a long shot, but is there any way to run a C or C++ file as a script? I tried:
#!/usr/bin/gcc main.c -o main; ./main
int main(){ return 0; }
But it says:
./main.c:1:2: error: invalid preprocessing directive #!
I have several projects in Perforce that I need to maintain in Eclipse. I did a successful import the first time, but I've since removed all projects from the workspace and deleted the Perforce files from the P4 folder. I'm not very familiar with Perforce so I'm not sure why whenever I try to re-import those projects, all I get is a .project file instead of the whole package.
Any help would be appreciated. Thanks.
Is there any way to unpack or extract a zip file with PHP that does not rely on any installed extension? Has anyone written a class or something that can handle it?
Alternatively, is there a solution that uses an extension that is relatively commonly installed on most servers?
I need this to work on as many different servers that I have no control over as possible.
Thanks for any help!
I want to trigger a special action in the save() method of a Django model object when I'm saving a new record (not updating an existing record.)
Is the check for (self.id != None) necessary and sufficient to guarantee the self record is new and not being updated? Any special cases this might overlook?
Is it possible download a file in an AIR application, store it on the user's system, and prohibit access to the files by applications other than the one with which it was downloaded?
I have configured a Virtual Directory on IIS 6.0 running under UserA.
AppPool for the same is configured under Network Services.
I have one WCF svc file running under it,
My question is:
Is it running on UserA Account Or Network Service?
I am trying to persist member variables by saving them in the ViewState (only a few small variables) however I read up and I gather its better to save them into the ViewState at the PreRender stage than PageLoad?
I can see that the ViewState can be saved to anytime before Page rendering, but does it make any difference in PreRender or PageLoad?
Found this question while trying to do the same:
http://stackoverflow.com/questions/642076/how-to-save-sms-to-inbox-in-android-programmatically.
But this part:
getContentResolver().insert(Uri.parse("content://sms/sent"), values);
throws an SecurityException.
I requestet SMS_WRITE permission in the manifest file.
Thanks in advance!
Hi all
There are a lot of numbers like 200 20.5 329.2...in a file. Now, I need replace every number A with A*0.8. Is there any simple method to replace original value with another based on original value?
Best Regards,
I have the following source code
public class mod_MyMod extends BaseMod
public String Version()
{
return "1.2_02";
}
public void AddRecipes(CraftingManager recipes)
{
recipes.addRecipe(new ItemStack(Item.diamond), new Object[] {
"#", Character.valueOf('#'), Block.dirt
});
}
When I try to compile it I get the following error:
java:11: reached end of file while parsing }
What am I doing wrong? Any help appreciated.
1- Resource files suppose to be added on adding some resource in application like image or audio or video etc. But if I just change size of form a .resx file under that particular form. Changing size of form does not add any resource so why this .resx file.
2- I dropped a button on form and a resource file is included again this button is not some kind of resource, it is object created and having information in designer file.
3- A resource file added on dropping button on form but if I delete this resource file and run application it compile and run with NO error and button is still there. If this button has any relation with resource file then there must by some kind of compile or runtime error AND if .resx file has nothing to do with button then why it was added?
I am using VS 2008.
Thanks in advance for the help
Hi,
I have an Apache server installed on my windows machine using XAMPP. Now I'm trying to use a premade .htaccess file for one of my projects, but it doesn't seem to be seeing it. The project just totally ignores it, even though I've enabled mod_rewrite.
Any idea how I can troubleshoot this? I can't fix it if it just doesn't work and doesn't show me any errors.
Appreciate your help.
Here is a simple header file for six different programs that used to work right, but then my files also include other files. This needs to get changed so that if the dependencies change the files that include those dependencies get updated.
all: load list show add delete btree
%: %.cpp
g++ $< -g -o $@
I am running a Maven (2) release build with with: mvn -f release.xml clean deploy
and want to get the currently running pom file name (release.xml) into a property or mojo.
Is it possible?
Hello,
I want to make an executable file (.exe) of my python's application.
I want to know how to do it but have this in mind:
I use a c++ dll!
Do I have to put the dll along side with the .exe or is there some other way?
Thanks in advance!
Hi!
I am well aware about error_reporting(0); & ini_set('display_errors', "Off"); to make error messages go away.
What would be an appropriate way to do this - for a specific file or part of code only?
Surpressing errors with @'s seems like a bad idea since it apparently slows the code down...
Thanks!
Hi
I am reading a file using File.ReadAllText("filename.txt"). This file is located in very same folder where the .exe file is located (c:/program files/installation folder). But windows app looks into System32 folder for this file by default.
**I don't want to hard code the path of the file.
Hi,
I have a folder for downloads on my server, i want to prevent direct access to that folder so i am makin it pass-protected with htaccess and i will push download with a php script. But i have some questions regarding mkdir and file_exists
Do mkdir and file_exists works good for pass-protected folders ?
and
would i get any error while uploading file to that folder ?
AND
is this a good way of preventing direct access ?
thanks