wrapper

classes or wrapper for working with dde in .net?

Can anyone point me to classes or wrapper to use when working with DDE in .NET? yeah yeah, I know it's supposed to be obselete etc etc :) Just sometimes necessary to work with. ...

Finding the UserID of a Stack Overflow user with their Display Name in C#?

I'm building a small Stack Overflow application, but to collect information from Stack Overflow about a user I need to know their UserID. I would like the user to be able to enter their display name/username and for the application to find their UserID. However, I understand that usernames are not unique, but would it be possible to find...

Accessibility of methods in a control wrapper

I am trying to extend a Terminal control from The Code Project based on the Poderosa Project. The part I am stuck on is trying to call a method in the control wrapper class from a class in the Poderosa project. The method is going to buffer/queue the char’s and lines of text going to the terminal screen so that they can be processed wit...

Retrieving the First Non-Option Command Line Argument

I am trying to write a wrapper shell script that caches information every time a command is called. It only needs to store the first non-option argument. For example, in $ mycommand -o option1 -f another --spec more arg1 arg2 I want to retrieve "arg1." How can this be done in bash? ...

Core Data: Design questions. Object wrappers or not?

I'm designing my first project using Core Data (for iPhone) and Im having some issues that might be related with my design approach. I'm doing an application that allows the user to create an Order (let's say for a restaurant). I'm using the graphic designer to model my persistence object (i.e. OrdeMO). I add MO to the ead of each name ...

How close is Python to being able to wrap it in a workbook type skin?

With my luck this question will be closed too quickly. I see a tremendous possibility for a python application that basically is like a workbook. Imagine if you will that instead of writing code you select from a menu of choices. For example, the File menu would have an open command that lets the user navigate to a file or directory o...

wrapper printf function that filters according to user preferences

My program writes to a log and to stdout. Every message, however, has a certain priority and the user specifies in Preferences which priorities go to which stream (log or stdout). unsigned short PRIO_HIGH = 0x0001; unsigned short PRIO_NORMAL = 0x0002; unsigned short PRIO_LOW = 0x0003; The preferences is handled by some flags: unsign...

Does anyone have experience with Clipsmm?

Hey Stack Overflowers, I have been looking at using CLIPS as an expert system for a simulator i am working on, and so i had a look at clipsmm. The only problem is that their sourceforge page has broken links and private forums. I was just curious if anyone has had experience with clipsmm (i have learnt how to use CLIPS as a stand alone a...

What disadvantages/problems are there when integrating Joomla and ASP.Net web pages?

A friend of mine really likes using Joomla as a base for his websites. He also likes the power that Asp.Net has and can code in VB.Net. He wants to use Joomla as the "Master Page" and Asp.Net/VB.Net/SQL Server to handle the main business logic of the application. He is planning on using the Joomla Wrapper Module (an IFrame, joomla modul...

sqlite ado.net provider - which is the most popular to use? (e.g. phxsoftware, devart, mindscape)

Hi, Regarding starting to use SQLite within C# Visual Studio 2008 for a winforms application, it seems from the sqlite site you have to download a sqlite ado.net provider, and there are numerous listed (in .net section of sqlite wrappers) QUESTION - Which is the most popular/robust sqlite wrapper that people are using? Some from the ...

jquery wrap sibling elements

The following markup will have some extra elements injected into it (ie: a div containing some flash for example). How can i dynamically wrap all of the p tags in one div and add a button above it to toggle that newly made div? <div class="post"> <p>blquehrgéoqihrteoijth</p> </div> <div class="post"> <p>blquehrgéoqihrteoijth</p> ...

When to use wrapper class and primitive type

Hello All, When i should go for wrapper class over primitive types? Or On what circumstance i should choose between wrapper / Primitive types? ...

C# wrapper to Cairo library

Hello Everybody, Does anybody have a C# wrapper for Cairo library? I need it to use to render PDF files previews on my program (in Windows and Mac under Mono). Or please drop a link to this one. Thanks in advance! -- Best Regards, Murat ...

How to wrap a CLI program in Python (keeping the interactivity)?

Hello everybody, I'd like to write a wrapper for an interactive CLI Program (the Asterisk CLI). Basically, I need to keep the interaction with the CLI (including tab-completion) but I want to filter the output of Asterisk, in order to show only lines matching a given pattern. I tried a select() based approach, using popen.popen4 and pu...

JavaServiceWrapper:Application not waiting to shutdown

Hi, I have an application that spawns worker threads and process files in the the worker threads. On application shutdown request, I want the application to shutdown only when the worker thread has finished processing the current file (if it is processing a file). I am using JavaServiceWarapper to manage my application. I have added shu...

Classes not resolving in C++/CLI Assembly.

I'm running into a very weird behavior in a C++/CLI DLL that wraps some native code, so it can be accessed through .NET. This DLL wraps code from different native DLLs and defines namespaces to separate the wrappers for the different native modules. For example: namespace Foo -> wraps code in Foo.dll (which is a native C++ DLL). namesp...

How to start Application from a simple AS file?

I want to use vkontakte's new wrapper feature, that enhances your application abilities by running under SWF wrapper. This is a sample application that uses this mechanism. It uses pure action script to display it's contents rather than an mx:Application. Using the wrapper on my mx:Application failed due to the following error: TypeE...

What's the relative order with which Windows seach for executable files in PATH?

If I have a.com, a.cmd, a.bat, and a.exe files %PATH%, which one would Windows pick if I invoke just the command "a"? Is this officially spec-ed somewhere by M$? I just wanted to wrap my gvim.exe executable with -n, but my gvim.bat doesn't appear to get run neither from the command line, nor from the Run dialog. ...

Inheriting directly from a built-in type versus its wrapper class in Python

Hi all, I'm currently reading Dive Into Python by Mark Pilgrim, and have gotten to the section on inheritance. In section 5.5, Pilgrim mentions the differences between inheriting from the wrapper class UserDict vs inheriting from the built-in dict type. I'm having trouble understanding why anyone would even bother with the wrapper cla...

jquery how to wrap a table cell

I'd to add a wrapper around a row with jquery. I've made several attempts but am not able to. I'm only able via have a html template and filling in but doing orig.html() I lose any input selections values that were there. Original html <table><tbody> <tr id="myitem1"><td>I need a coat1</td></tr> <tr id="myitem2"><td>I need a co...