help

Is there way to get intellisense when editing AML files in SandCastle?

I am using sandcastle to auther my help files. Editing AML files is painful because there as no intellisense support - unlike, say, ASP.NET or XAML in Visual Studio. Is there a better way? ...

Embedding a region of code in a help file.

I am using sandcastle to build my help file. Is there a way to add code samples from actual C# files? Ideally, I would have C# files with region, reference the region from sandcastle. Sandcastle would then embed the content of the region when building. Is this feasible? ...

CSS positioning issues.

Hi! I'm trying to, of course, build something in HTML. However, I am running into some serious issues with positioning! I'm trying to get elements in the website to be centered, but I cannot do that without sacrificing (somehow) controls such as z-index, and width on those elements -- In some cases, vice versa. Theoretically, I should...

SML trouble....

Two people considered identical if they have exactly the same information (same name, sex, birth and death). I must declare a function pers: person * person -> bool that determines whether two values of type person enter the same person. I'm stucked, anyone ? tnx. ...

How to do a preg_match in php?

Hi I have this argument in php and i want this to just allow users to enter a domain name...i want it so that it doesnt allow characters like "/" "?" and so on...so i only get the domain name such as "http://somedomain.co.nz" or "http://www.somedomain.co.nz" if(!preg_match('/^(http):\/\/([A-Z0-9][A-Z0-9_-]*(?:\.[A-Z0-9][A-Z0-9_-]*)+):...

Installing the igraph package for python

Dear Pythonistas, I have downloaded the igraph 0.5.4 tar ball for macosx Leopard 10.5.8. When I unpack it and then run: sudo python setup.py install I get the following long error message: Include path: /usr/include /usr/local/include Library path: running install running bdist_egg running egg_info writing python_igraph.egg-inf...

How do I set up an automated "Quote of the day"?

Hi all, I am in charge of a website, and I have set up a "Quote of the Day" which currently is quite simplistic. See Here (on the right of the page) What it currently does is it gets the Day of the month and the month, and normalises to one, then multiplies by the number of quotes (stored in an xml file) and rounds down. While this met...

Progress Counter in Cocos2D

Hello, I need a counter that updates a CCLabel every second. I want it so the user can see how long they survived. I'm not totally sure how to explain this so let me know if I can make things clearer. ...

How to export SWF as HTML5 Canvas on Flash Professional CS5 ?

Hey there, I have Flash CS5 on my computer but didn't find the way to export swf as HTML5 Canvas.. any help? ...

Visual Studio 2010 Property Help

In Visual Studios 2005 and 2008 one can see a short sentence or two describing each property in the Forms Designer. This doesn't seem to be there with Visual Studio 2010. Is this an option that I have yet to turn on? Or is there something I just don't understand about the Help system? I would like quick access to information about th...

Question on Django: Displaying many to many fields

I seem to have a problem with Django when it comes Rendering ManyToManyField in a template. I can make it work partially, but I cannot make it work properly as I want it. Firstly I have an invoice template which displays Invoice details from my data base #invoice_details.html {% extends "base.html" %} {% block content %} <h2>Invoice D...

structure of apple help

I have inherited a mac app that needs some fixing and I have trouble with help on Snow Leopard. Today the help is structured as: App/Contents/Resources/LANG.lproj/Help I have trouble when trying to load non-English help pages, it always loads the English version on Snow Leopard. I believe Mac OS thinks there are two help books in the...

How to decypher intents from javadoc

Hi, I'm starting out with android development, and am really confused by the javadoc on intents. For example I'm trying to launch the intent: android.provider.ContactsContract.Intents.ATTACH_IMAGE I try to launch it with: Intent test = new Intent(ContactsContract.Intents.ATTACH_IMAGE); startActivity(test); and it returns an Activ...

How do I detect web surfing habits and redirect the browser?

Howdy, I have a simple basic program in mind to keep my kids off certain websites for prolonged periods of time. Basically, I would like to run a little background process that would have something like this : if (user is on website for > 20 minutes every 24 hours ) { browser redirect user to specified website } I realise...

I can't get Delphi Context-sensitive help working in open and save dialogs

I have a Delphi 2006 app with a CHM help file. It all works OK except that I cannot get any help to connect to the "Help" button on the TOpenDialog and TSaveDialog. A simple program demonstrating this is shown below. Clicking button 2 opens the help file and displays the correct page. Clicking button 1 opens the dialog, but clicking ...

Android admob cant see

Hello! Admob code cant see on device. i followed the instructions here: http://www.admob.com/docs/AdMob_Android_SDK_Instructions.pdf everything ok, but the 6. not clear for me "Step 6 When integrating AdMob ads into your application it is recommended to use test mode. In test mode test, ads are always returned. Test mode is enabled o...

How to write a simple compiler in C/++?

Possible Duplicate: Learning to write a compiler Hi Stack Overflow, now don't get me wrong, I don't intend to write a compiler for C++(though I intend to write it in C++) or Java or some other high level complex programming language. I just want to learn the basics of converting a basic instruction set into a Windows Executab...

char list list -> bool

Does anyone know how to declare a function rscheck : char list list -> bool , that checks, if the number 1-9 are used once in every row and every list... so it returns true? like in a sudoku game.. Thnx. ...

How to implement HD "Retina Display" graphics in Cocos2D

Hello, I am not quite sure how use HD images for sprites in cocos2d. I looked through the documentation, and downloaded the newest beta which supports points instead of pixels, but I don't understand the whole -hd suffix idea. In other word I need help and have no idea how to use retina quality graphics in my cocos2d game. I feel tha...

What are some better alternatives to help files?

Does anyone have any piece of software that actually does a good job of help? I've seen some good ideas out there but by and large help files do not do "what it says on the tin" i.e. They just aren't "helpful." Lets face it, help files are so 80s, does anyone read them? As software developers we know people don't read them, so we don't ...