So I recently stumbled on the (potentially) useful %~$PATH:1 expansion, however I seem to be unable to make it work correctly. I tried to use it to make a cheap Windows version of the which command, however the syntax seems to be defeating me. My batch file looks like this:
@echo off
echo %~$PATH:1
However when I run this with for exa...
Hi,
Within a HttpModule I would like to check whether the url ends with a file:
ie. www.example.com/images/images.css
and what the file extension is ie. css or js
In the Begin_Request event handler, using the Url property of the Request object nested in the HttpApplication, I am currently cutting of the file extension using String op...
I have the need to add a custom behavior extension to my WCF client endpoints. I tried doing this through configuration, but have been bitten by the often-mentioned bug where WFC configuration can't parse the type name correctly. So can I do this programatically instead?
I can't modify the configuration sections at runtime because the...
In flex when I allow user to download a file using :
dwFile = new FileReference();
dwFile.download(downloadURL, dwFileName);
Is there a way to ensure that the downloaded file always ends up with the extension .tar or any other extension for that matter? By default I give it a name like xyz.tar,
but as of now t...
Hi,
I need to display openx ads in one of my html file bundled with firefox extension (xpi). No ads are shown once it is accessed in chrome context. please let me know how to display ads in html page bundled with xpi.
Thanks
Anand
...
I would like to build a browser extension for IE 7/8. I would like to do it using .NET. Do you know of any resources or tutorials that I could reference to do this? I haven't found much.
Thanks!
...
To all,
I have deployed the Printer Delivery Sample and another FTP Delivery Extension. Neither one are showing the WebControl HTML table as it is defined in the custom assembly DLL. When I attach to the browser and access the subscription html content Visual Studio 2008 fails to attach to the DLL and allow walk through of the code.
Th...
I have three classes (class A, class B, and class C).
Class A calls an instance of B and runs start().
Class B extends Thread, so when start() is called, anything in the run() method is executed.
In the run() thread, there is an instance of class C.
Is there anyway to allow a method in Class C to call a method in Class A, without ins...
Hi there,
Basically, I want to get HTTP requests from a different source than a listening socket. However, since the provided bindings don't offer support for this, I am currently building my own binding.
My current binding consists of the WebMessageEncoder and of a custom TransportBindingElement, which references a custom ChannelListe...
Hello, my configuration:
Windows 2008
IIS 7
PHP 5.2.10 / FastCGI
Memcache as a Windows Service
I tried to use the php_memcache extension for PHP but it doesn't load. This extension comes with PECL 5.2.6
Any idea? Do you know if exist a php_memcache"d" extension for PHP on Windows?
BR Santiago
...
I haven't used C since the 1980s and 1990s with my own experimentation. I'd like to be able to pick it up again, but this time by building small things in it and then loading it into PHP on Linux.
Does anyone have a very short tutorial for me to make a foo() function in C as a shared object extension loaded in a php.ini? I assume I'll n...
Hello,
I have a static class in a shared project, which I want to extend with further methods in another project. Because the method I want to extend the static class with is only applicable to the 2nd project and also dependent on other classes in that different project, I can't just move it to the shared project.
Basically I have cla...
hello guys,
I have a firefox extension where for some reason(for the sake of functionality) i have to employ the use of a tcp server so that it can receive messages from my client application.
I am using nsiServerSocketInterface to do it.
This works fine. But the problem, comes up when FF is running and i hibernate or put my m/c to sl...
I'm perhaps overlooking something, but I'm attempting to wrestle protocol buffers into an easy method for providing extensions later. That seems a bit unclear so I'll jump directly into the problem.
I am writing an assembly to support various tasks, one of which includes describing structured data. Perfect time to use protocol buffers...
I'm making extension for firefox, and I want to my extension open a file like "file:///home/blahblah/foo.txt" and then put content of this file in text area. Its easy with files "http://", but i cant do this with "file://"
...
Hi, I'm trying to make an firefox extension. Why when I want to use document.body.innerHTML = data; in new opened tab, it doesn't work. Here is my code:
function change() {
//Open google in new Tab and select it
tab=gBrowser.addTab("http://www.google.com");
gBrowser.selectedTab=tab;
//Create nslFile object
var path="/home/foo/notify...
I have written a Firefox extension that catches when a particular URL is entered and does some stuff. My main app launches Firefox with this URL. The URL contains sensitive information so I don't want it being stored in the history.
I'm concerned about the case where the extension is not installed. If its not installed and Firefox ...
Hello, does anybody know, how to get URI of current page/tab?
...
My firefox extension have to:
Save an address of current page,
Open new page
Put this address into content of the new page, if a button will be pressed.
Problem is, how to save to var this address, becouse if I will do it from first function, the function that is from button doesnt have this var. Should i use a global function, or so...
Can I use python in firefox extensions? Does it work?
...