I may have missed the whole point about protocols but my question is, can protocol be used to say iterate a custom data structure or how println would print the object?
Hi,
I'm trying to invoke a built-in activity from my custom CodeActivity for the TFS2010 Build Process.
I've got my own CodeActivity which generates a batch file and I want to invoke the InvokeProcess activity (built-in) to execute that generated file.
Of course I could split it into two activities, but it would be nicer if I could put these actions together. Can somebody push me in the right direction?
Thanks in advance!
Please guide me how to make a custom kendo ui widget, like if you could refer to some tutorial or anything. Secondly the main question is that I want to use kendo grid to consume webapi and i want to use it in a widget in which and pass the datasource to this widget.
Bascially I want to make a widget which will consume the webapi using a particular url, and which will return a data source that I can add to this kendogrid widget.
Looking for a custom tooltip (typical yellow baloon callout) on click of an anchor tag. The tooltip should appear and remain in view until the cross button on the tooltip is clicked.
Just looking for a tried and tested open source solution. Tried googling this but most of the tooltip [...missing info?...]
Ajax control toolkit has the calloutvalidator which seems like a good choice but is tied up to be used for validation tooltips.
I want to design a custom Control for Line (vertical or horizontal line)
basic usercontrol is rectangle and not suitable for line
what s your idea about line control?
I've written a custom plugin for CKEditor--successful on all fronts, save one currently: I can't, for the life of me, figure out how to customize the image on the button in the toolbar of the editor. As I'm a new user, you'll have to click through to see attached image; the highlighted square in the top left should have a pretty picture (like most of the other toolbar items).
Thanks much for thoughts/advice/help.
Isaac
Screenshot: http://imgur.com/ZNNKe.jpg
How do I create a custom Visual Studio 2008 UI designer for a C# file?
For example, when you double click on a DataSet in the Solution Explorer, a UI screen appears that allows you to edit the DataSet, even though it is defined in XML/code (which you can right click and "View Code").
Usually this code is separated from user code in some way, either by region ("Windows Forms Designer Generated Code"), by codegen (".g.cs" for WPF XAML files), or some other means like partial classes.
Hi, I am writing a custom read function for one of the data types in my module. For eg, when I do read "(1 + 1)" :: Data, I want it to return Plus 1 1. My data declaration is data Data = Plus Int Int. Thanks
How do I pass an argument to my custom save method, preserving proper *args, **kwargs for passing to te super method? I was trying something like:
form.save(my_value)
and
def save(self, my_value=None, *args, **kwargs):
super(MyModel, self).save(*args, **kwargs)
print my_value
But this doesn't seem to work. What am I doing wrong?
I want to put custom scripts/programs in ~/bin on few machines under version control (repository is on a remote server). In the bin/ folders I have many perl/sh/bash scripts, as well as small .c programs. What layout would you use for such repo?
I need to create a button. And it should have a label on it. I need to write selectors for the button. I tried with CCMenuFont, but I could not add custom label on it or I could not set the size of the button? Can we set the size of the button by using CGRectMake ?
Just something I'd like to play with, I would like to create a "virtual" file/directory in the File System of Linux or Mac OS X (Not sure if I can share the same code - does POSIX help?), for example /foo and then perform custom code when something is read or written to it.
Similar how /dev/null allows for stuff like
echo "Hello!" > /dev/null
I don't care if it's in /dev, /proc or anywhere else, as said it's mainly something to play with...
I guess this may be a novice question ( Which I am :) ).
While redirecting user to custom error page, for e.g. 404, to tell that page wasn't found, the type of this redirect is 302.
<error statusCode="404" redirect="/Utility/Error404.aspx" />
<error statusCode="400" redirect="/Utility/Error404.aspx" />
Is it possible to make this redirect 301 through Web.config?
Thanks in advance to you all code maniacs.
Currently I have a custom module with hook_menu for path 'search'. It's working just fine. However, it couldn't process the request when I access /search?q=something.
How do I do this? I'm using Drupal 6 btw.
Thanks
I am recording audio in iPhone ..
This is my Audio Queue object
AudioQueueNewInput(
&audioDescription,
recordingCallback, self,
CFRunLoopGetCurrent(), kCFRunLoopDefaultMode, 0,
&mInputQueue
);
But i want to run this in a seperate RunLoop..How to create custom CFRunLoop ?
Please help me..Thanks in advance.
I have a TabLayout containing tabs as intents to activities.
I want to set custom menu items for each tab, but the onCreateOptionsMenu version called is the Host's version.
How can I make the menu items created by each activity on its own.
I want to pass the sessionID as a json parameter, I can see how to override SessionIDManager and such, but this just covers custom creation/validation of sessionID's as opposed to where it actually gets the sessionID from.
There is of course 'cookieless' which puts it in the url, but that doesn't work for me either.
So i'd like to override the session handling so I can specify where it should look for the sessionID.
I'm trying to organize a collection of maybe 500 or so journal articles, stored in a combination of .pdf and .djvu formats. I'd like to be able to sort the collection by author(s), title, journal name, year, and subject keywords. Is there a way to create metadata fields for this information in the Windows file system (similar to how .mp3 files come with tags for album, title, track length, etc)? Or, if not, is there some software (preferably free) that can do something similar?
I developed a custom made (.EXE) application to scan document using TWAIN and would like this software to be part of the list of scanners that appear in the Events tab within the Scanners properties window.
does anyone have an idea how this can be achieved?
I have a custom keyboard and whenever I touch the backspace button for the first time my app crashes! How can I solve this problem?
My code:
myText.text = [myText.text substringToIndex:([myText.text length]-1)];
Trying to put in FontLabel (http://github.com/zynga/FontLabel) into a UIButton. At first I wanted to set titlelabel. But it's restricting a setter to it so i can't just set the label to it.
Just wondering if anyone has an idea in doing this without using images to set my custom button.
Hi,
I've two columns in a sheet that are interdependent and I want to use validation, drop-down lists, on both as follows:
Column A (TYPE) | Column B (Sub-TYPE)
------------------------------------------|
TypeA, TypeB | If TypeA SubTypeA1, |
... TypeN | SubTypeA2 ... SubTypeAN |
------------------------------------------|
Creating the column A drop down is trivial. How do I create the Column B drop down, that in turn depends on what was chosen in Column A?
TIA