How can I go about using java-script in Crystal Reports formula editor ? I wish to write a function that will use Google Translation API to modify the report's data.
Thanks
Hello,
I'm writing a program with C++ and by native Win32 API. I'm creating a process from a SFX archive EXE in silent mode that no GUI is shown to user. But I want to show a progress bar in my application, while the SFX archive extracting.
How can I do that?
Thanks.
What are the best practices for extending a python module -- in this case I want to extend python-twitter by adding new methods to the base API class.
I've looked at tweepy, and I like that as well, I just find python-twitter easier to understand and extend with the functionality I want.
I have the methods written already, I'm just trying to figure out the best way to add them into the module, without changing the core.
Dim x AS New URI("http://www.example.com/test//test.asp")
Dim rel AS New URI("http://www.example.com/xxx/xxx.asp")
Console.Writeline(x.MakeRelativeUri(rel).Tostring())
In here output is:
../../xxx/xxx.asp
Which looks correct almost all web servers will process the two of the following as same request:
http://www.example.com/test//test.asp
http://www.example.com/test/test.asp
What's the best way to fix this behaviour is there any API to do this, or shall manually create a new URI and remove all // in the path?
Hi!
Flash/Actionscript 3 lack the possibility to "draw" text to a displayobject graphics - a textfield has to be created, added and set. This is rather clumsy and time consuming.
In the wait for simple and stable alternatives (for example http://lab.polygonal.de/2009/12/15/font-rendering-with-the-fp10-drawing-api/), is there a class or library for simply plotting text strings using graphical primitives (lines), something like the text is "drawn" on plotted technical drawings?
I have an interesting situation where I am refactoring a bunch of ObjC iPhone code to create a C++ API. I'm a novice to C++ and looking into C++ mocking frameworks to augment the work I'd done using OCUnit and poor man's mocks. I ran across googlemock and wanted to know if anyone has ever used it for iPhone development? Also, how can I share this (or mockpp) with other devs as it is an installable package and doesn't seem to lend itself to checking into a repository?
I am testing jobs in EMR and each and every test takes a lot of time to start up. Is there a way to keep the server/master node alive in Amazon EMR? I know this can be done with the API. But, I wanted to know if this can be done in the aws console?
So i am testing a couple of API, and after sorting a couple of them, i am undecided between zemanta and opencalais.
A can use both perfectly at home, but at the company behind the proxy, i can put them working, even when running the same examples.
I am running this example http://philippeadjiman.com/blog/2009/09/16/open-calais-from-java-with-eclipse-extract-entities-facts-and-events-in-4-minutes/ and this http://developer.zemanta.com/wiki both java versions
How can i setup the proxy so it works?
blueomega
I'm looking for a way to programmatically reset a page to that page's site/feature definition, without using SharePoint Designer. There must some sort of API that can do this, but my Googling around is coming up empty...
By using BlackBerry Api - mesasge.setContent( Object o );, we can change the message body of blackberry messaging application. But This work when message is plain text, How can we change / update the message body for HTML message programmaticay.
message.setContent(object o); does not work for HTML message.
Please advice
Afternoon,
Bit of a tricky question this one, I have a website and need to translate the pages into french, I am using google translate API to do the translation. What I am doing is loading in the HTML templates into a string using PHP and then need to translate the text copy on the pages and then save as for example:
fr_master_header.html
de_master_header.html
The problem I have is identifying the text copy on the page ignoring the HTML, replacing the copy in the extact place and then saving the file with the HTML tags and trasnlated text copy.
Cheers in advanced.
I'd like to get the Facebook profile ID of a Facebook user's father.
Basically I want to display a picture of the user's father and say 'how about buying an X for Dad'.
Is this possible with the graph (or REST) API ?
How do you debug lua code embedded in a c++ application?
From what I gather, either I need to buy a special IDE and link in their special lua runtime (ugh). Or I need to build a debug console in to the game engine, using the lua debug API calls.
I am leaning toward writing my own debug console, but it seems like a lot of work. Time that I could better spend polishing the other portions of the game.
I want to send an email from within my iPhone application, primarily because i don't want to quit my application. Is there ANY way to do that?
Solution:
1) I found this open source API which does that:
http://code.google.com/p/skpsmtpmessage/
Anyone can write their own smtp client for this purpose. (If you can invest that much time - that is)
2) Use a web service to send the message details and handle message sending functionality at server end.
Thanks.
I need to "construct" .NET DateTime values in Python/C++.
How can I compute the number of ticks stored by DateTime starting from a UNIX timestamp?
A solution involving Win32 API calls it's ok (I believe FILETIME functions could help).
Let's say I want to grab the first paragraph in this wikipedia page. How do I get the principal text between the title and contents box using XPath or DOM & PHP or something similar?
Is there any php library for that? I don't want to use the api because it's a bit complex.
Note: i just need that to add a widget under my pages that displays related info from Wikipedia.
Hope someone can advise,
I would like to be able to use google map API to find all Zip codes/cities with x Miles of a point.
Has anyone done such a thing with google map or maybe some other type of service.
Would love to know if so how you have achieved it !
Thank you if you can advise.
Hi
Let's say I have a list of track titles and I want to get an Amazon ASIN code for each. Instead of searching manually, is there some API to use? Couldn't find anything on the Amazon MP3 Clips Widget pages (https://widgets.amazon.com/Amazon-MP3-Clips-Widget/) ...
thanks
Nicola
I'd like to create a window, using WPF, that has a thin border all the way around the form - i.e. no space for the title bar with the icon/caption and min/max/close buttons.
For example, the "extra" icons form of the new Windows 7 taskbar:
How can I do this with WPF (I don't mind resorting to the Win32 API, if not supported natively by WPF)?
Because of VLC conflict I have to turn off Windows Advanced Text Services at my application launch. Is there any special API for that? Will it work for user with default rights?
Hi all,
I was trying to get the purpose of the IntentService, and when should I use it?
I tried to understand from the API, but not enough details on that one.
Is there any analogy between this and running long-task on a working thread?
Any further explanation and samples on why I would use IntentService would be very welcome.
Thanks,
ray.
I'm looking for some advice on how to go about reading the online documentation of various packages classes and methods for java.
i mean all this stuff: http://java.sun.com/javase/6/docs/api/
If I have the following plain string, how do I divide it into an array of three elements?
{["a","English"],["b","US"],["c","Chinese"]}
["a","English"],["b","US"],["c","Chinese"]
This problem is related to JSON string parsing, so I wonder if there is any API to faciliate the conversion.