extension

What does .do webpage stands for

Hi there, I would like to know what does .do webpages stand for ( as .php stands for PHP pages with PHP Scripting) and what is the scripting language behind it. ...

How do I make an extention for PSPad?

I have used PSPad alot and I would like to make an extension for PSPad, but I don't know how to do it. I cannot find anywhere an API documentation to make the extensions. Can someone please help me? ...

How do I edit a text buffer (or selected text) with the Visual Studio 2010 SDK

I want to create a simple extension which modifies text buffers based on a command. No sample, documentation or template that I've found so far explains anything about working with text buffers. Anyone got a clue how to do this? What I want to end up with is a format selection/document extension for text files, that wrap content around ...

Extending business model and store it in database

Hey Guys I have a (kinda general) question about C# 4.0, MS SQL and a business object generated via ADO.NET entity data model. Let's say I got the MS SQL Table Foo with the rows: ID uniqueidentifier TITLE nvarchar(20) DESCRIPTION text ADDITIONALDATA image My initial idea was to serialize custom data (the extended properties and t...

[PHP.ini] Can't load mcrypt.dll dynamic library.

Hey guys, I'm trying to load this module: php_mcrypt.dll' Everything in the php.ini file is correct, see for yourself: extension_dir = "C:/PHP/5.2.13/ext" extension=php_mcrypt.dll The file exists in this path. And other modules are in there as well and are loaded successfully. It only has a problem with this particular module. I hav...

Find a file with a certain extension in folder

Given a folder path (like C:\Random Folder), how can I find a file in it that holds a certain extension, like txt? I assume I'll have to do a search for *.txt in the directory, but I'm not sure how I'm suppose to start this search in the first place. EDIT: Thanks all! Works like a charm. Gotta hone my search skills :) ...

Debugging Namespace Extensions using Visual Studio

What is the best way to debug a namespace extension using Visual Studio? It's not convenient to use regsvr32 to register and unregister the extension and to restart the Explorer for each and every build. Attaching the debugger to the extension would be a nice benefit. Is there a simple way to debug a namespace extension using Visual Stu...

USE CASE UML Modeling different ways to System access (SMS, IVR, WEB)

Hi, I’m working on a USE CASE diagram but I’m having problems modeling the following: A user wants to inquire his balance, but he can do it by phone, SMS or IVR. How should I represent the different ways? Each one has different flows. Should I model just one use case for each one, or should I represent the different ways as extended use ...

Class 'HttpResponse' not found

According to PHP documentation, HttpResponse is a static class to manipulate the Http response to the requester. The code echo HttpResponse::getBufferSize(); throws the error in the Subject of this post. Any ideas? Maybe it's some config, but I am a PHP newbie and I'm not sure where to look. Thanks! ...

Why don't the links in my Chrome Extension Open?

Hi, I've got a simple little Chrome Extension that displays Links to some RSS Feed Items. https://chrome.google.com/extensions/detail/kphnebohimlmflbecpghgbclhobnphnm?hl=en-GB However, clicking the links does nothing. What am I doing wrong. I'm sure it's very simple. Am I missing any Permissions from my Manifest file? ...

Invoking MSVC compiler from VS extension

Is it possible to invoke cl.exe, the MSVC++ compiler, from inside a Visual Studio extension? I'm using VS2010 and not bothered about maintaining compatibility for 2008/2005. I've hunted through MSDN and had a poke through my DTE object, but not found anything of use. The documentation on what you can do with this stuff is kinda sparse. ...

Google Chrome Extensions - Open New Tab when clicking a toolbar icon

How can I create an extension for Chrome that adds an icon to the toolbar, and when you click it, it opens a new tab with some local web page (for example: f.html)? I saw this question, but it doesn't really explains what should I add in the manifest file... Thanks. ...

Ruby Enumeration and RETURN_ENUMERATOR - Questions Regarding Ruby's C Internals

I'm a bit confused about how Ruby handles the creation of Enumerators. Block-based iteration makes sense and is working for me; I am still confused how the return of an Enumerator is supposed to function code-wise. Here is the code I am working with: VALUE rb_RPRuby_Sender_Kernel_each_backtrace_frame( int argc, ...

How to create chrome crx file programatically (preferrably in java) ?

Hi All, I want to create chrome extension crx file programatically (not using chrome.exe, because it opens new chrome window). So what are the alternatives for same ? My preference is java, but if its possible in other language then also I am okay. Thanks, Ankur Shah ...

How to extend the Visual Studio Debugger with an IronPython shell?

First the problem I am trying to solve: I'm debugging a C# application that has huge object graphs (think Building Information Models, a kind of object oriented CAD). When I hit a breakpoint, I generally have long lists of objects I'd first need to transform to be useful for debugging. In code, I use LINQ and lambdas to do this. But you...

Add a KeyUsage extension on a Bouncycastle certificate request

Hello. Could anyone post a Java code for adding to a PKCS10 bouncycastle certificate request an extension regarding a KeyUsage (for example a KeyUsage.keyEncipherment). I didn't find anything ad i cannot find a proper contructor for X509Extension with a KeyUsage. Thanks ...

Ruby 1.9.1-p378 C Extension rb_block_call Weirdness

I'm working with what should be a fairly basic iteration. I understand that I could accomplish it with Ruby code, but I am working already in a C extension, so I would prefer to keep this function in C with the rest of the code- especially since this should work (one way or another) without issue. The issue is with rb_block_call. Here ...

Ruby C Extension using Singleton

I only wanted to allow one instance of my C extension class to be made, so I wanted to include the singleton module. void Init_mousetest() { VALUE mouseclass = rb_define_class("MyMouse",rb_cObject); rb_require("singleton"); VALUE singletonmodule = rb_const_get(rb_cObject,rb_intern("Singleton")); rb_include_module(mousecl...

How to add command to right-click menu of certain extension programmatically?

I have created 2 exe files: open.exe and edit.exe. and a new extension: say .newext. Now I want to open by double click on .newext file with open exe. get a menu with right click on .newext file where in bold it is written "Open" and under that it is written "Edit". And by clicking "Edit" the edit.exe opens the .newext file. do thi...

Mercurial Acl Extension deny pull of some files

I'm new mercurial user. I setup the acl extension adding this into my hgrc file: [hooks] pretxnchangegroup.acl = python:hgext.acl.hook [acl] sources = serve pull push [acl.deny] ** = mercurial So with this code above I deny access to all files to user "mercurial". I successfully tested the acl extension and it works perfectly when I...