custom

Policy Exception SharePoint

Hi, I have a web part and the dll is deployed to the bin of the web application.I have created a custom cas policy and deployed( wss_custom). Just for the sake of testing i have given Unrestricted access to whatever IPermission i knew (around 10). Most of the IPermissions i got is from the PermCalc.exe. Yet i get the following error gen...

Flash Custom Font with Dynamic Text Field

I am creating a textfield using this code: window_title = p.createTextField("border"+diepixWindow.NextBorderDepth, p.getNextHighestDepth(), wx1+TITLE_OFFSETX, wy1+TITLE_OFFSETY, ww, 64); var fformat:TextFormat = new TextFormat(); fformat.font = "TF2 Build"; fformat.size = 36; window_title.setTextFormat(fformat); window_titl...

How to use iPhone Custom URL schemes

I've got an app that I want to be able to use Custom URL schemes for. I want users to be able to open Tweetie using the Custom URL protocol however I need to populate the tweet with dynamic website link which I get using currentItem.link. I found this code which launches Tweetie and populates a message with static information: NSString...

JSF Custom Image Component Problem to display multiple Image

Created a Tag Library Descriptor File: <?xml version="1.0" encoding="UTF-8"?> <taglib version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"> <tlib-version>1.0</tlib-version> <short-name>im...

How to create skype like message window?

Hi all, I am just trying to design skype like message window , for this I have taken the NSDrawer element. It contains : a table view on left, menu items on top, text field on right bottom and text view at central portion on right side. Using text view I can play with string being displayed but I cannot draw the line between messages or...

QNetworkAccessManager/QNetworkReply with custom QTcpSocket?

Hi Is there any way to replace QSslSocket used by QNetworkAccessManager with my own implementation? I was really looking forward to use WebKit!! I'm working on attaching PKCS11 implementation to our Qt based software. So far the only way I found is to use QHttp - but doc says that this class should not be used.. I find QNetworkAcces...

Custom UITableViewCell rounded corners (grouped style)

When creating a custom UITableViewCell I notice that it looks as expected in 'plain' style but that the corners of the cells are not rounded if the table view is displayed in 'grouped' style: i.e. the corners are square. I have searched but cannot find any real explanation of why this happens and, more importantly, how to remedy this ef...

Minor versions for SharePoint custom list

I've developed a SharePoint 2007 custom list with a single custom content type derived from Item. The problem is that I only get major versions when enabling versioning on the list. Is it possible to get minor version on a custom list? If not, does anyone know of a post explaining a good approach around how this might be accomplished for...

Editable content area for user with restricted access

Hi, I'm building a blog for a client and they need to be able to edit a paragraph of text in the sidebar. I currently have it setup as a 'Better Text' widget which I can quickly edit for them. I don't want to give them access to the widgets, etc but they want to be able to edit it themselves. Is there an easy way to add a custom write ...

android custom view how to draw button on top of the view

I am creating a android app using LunarLander as a example. Now I need to create a few buttons which are drawn over the view. I do not want them as a seperate layout above or below the view but in the custom view. Is this possible or am I going to have to programmatically show the button images then detect the touch. The buttons I create...

Flat File Database Example

I would like to see some examples of simple flat file databases and how they are accessed through a data layer. I've written to and read from a flat file before, but I have not ever created a data layer that accessed the data for an application using text files. If possible, it would be nice to see a tutorial that had a data layer that ...

ASP.NET 2.0 Custom Profile Class Question

Hi. I am attempting to design a custom profile class that allows me to access the aspnet tables in addition to my custom tables (all in the same DB). I have been following two online examples that describe how to wire up a custom profile class. In this example, I am asked to inherit from ProfileProvider How To Implement A Custom Pro...

Custom model attribute (column name) title in Ruby on Rails

Can I add custom model attribute titles, so forms could automatically render them instead of "prettied" column name? For example I apply some method in my model, which defines attribute title: imaginary_method_which_defines_attribute_title :description, "Aprašymas" So I do not need to write title in every form label helper: <%= f.la...

Returning a Custom Type from a Postgresql function

I'm trying to return a Custom type from a PostgreSQL function as follows: DROP TYPE IF EXISTS GaugeSummary_GetDateRangeForGauge_Type CASCADE; -- Drop our previous type CREATE TYPE GaugeSummary_GetDateRangeForGauge_Type AS -- Recreate our type ( Minimum timestamp without time zone, Maximum timestamp without time zone ); ...

Custom MediaSizeName for Java Printing

Hi, I need to use a card printer (Evolis Tattoo) with java .. the problem is, that java seems not to have a correct mediasize (54mm by 85mm or 2.13" by 3.38"). Thats my code: DocPrintJob job = tattoo.createPrintJob(); PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet(); aset.add(new MediaPrintableArea(0, 0, 54, 85...

Customized UITableViewCell dissappears

Hello. I've seen a number of people having a similar issue, but either their solution did not help, or it was too different. My problem is, I have a customized UITableViewCell, custom size, image and content. When I scroll up or down and then back again, the text within some of the cells disappears. This seems to be happening randomly...

Is it posible to display custom charts per test in TeamCity?

TeamCity reports charts for test duration. I want to break duration into two separate timings and want to display these graphs in "Test Details" tab. Is it possible and how? ...

Qt Creator (compiled with MinGW) widget integration

Hi, I'm using Qt Creator 1.3.0 on Windows XP. I'm developing custom widgets in Creator, but as many other people have found, these widgets don't get imported into the integrated Designer. However, my widgets do work when Designer is run independently of Creator. The initial problem was due to Creator being shipped as a Visual Studio b...

Need to implement custom Fitnesse responders

Hi, I believe that I am in need of implementing custom Fitnesse responders for a client but have not found much success in my research/attempts to make this work. The idea is that the client will have suites of tests written in Fitnesse but that the results will be published to their database via a web service on their local intranet. W...

Android Widget Not Updating

I am trying to implement a simple widget for display on the home screen. The problem I am experiencing is that onUpdate is only being called once when I install the widget. The configuration is below. Note: I will not leave update period at 20 secs as I know that would kill battery (just testing). Configuration: `<appwidget-provider xm...