custom

iPhone initializing a UIViewController with additional data

Hi guys, I have a custom UIViewController subclass, which gets pushed on a UINavigationController stack. I want to add some data of my own at the time of initialization/pushing. Should I a) write a custom init method with my data as argument, like this? MyCustomViewControllerSubclass.m: -(id) initWithNibName: bundle: myCustomData: {...

How to save custom color to UserDefaults

I am trying to use some non-standard colors (i.e. not UIColor blueColor, but a darker blue color, a darker green, red...etc...) and when I try to save the user selected UIColor object to UserDefaults, it is failing. Below is the code I am using to create the custom colors, followed by the code to save the UIColor objects to the UserDefau...

Android: Tutorial on Custom View creation

Can anyone suggest a good tutorial about how to create custom view? ...

How to create customized asp.net page to fetch custom list data from custom list on sharepoint 2007 site?

How to create customized asp.net page to fetch sharepoint custom list data from custom list on sharepoint 2007 site? I have a custom list on sharepoint site. I need to create an option in custom list menu toolbar (something like Print). On click event of this menu option , a new pop up window should open. New pop-up window should be ab...

Crystal Report Function for converting Seconds to Timespan format.

I have a crystal report where it shows the Agent's activities throughout the day with a pie chart. In the details section it is displaying: Activity [string] StartedAt [DateTime] EndedAt [DateTime] Duration [The difference between EndedAt and StartedAt in seconds - Integer] Report data is GroupedBy Activity and summarized by D...

Custom Tracking with Google Analytics

I am trying to figure out how to use my google analytics account, and do custom tracking on certain links and such, but following the technical information on the help site on google isn't getting me anywhere. Has anyone done something like this? Point me in the right direction. UPDATE This is the code, I am not seeing the results in m...

Using custom and built-in properties in Boost::Graph

Hi, I am building a graph class based on the following suggestion: http://stackoverflow.com/questions/671714/modifying-vertex-properties-in-a-boostgraph Unfortunately, I realized an unexpected behavior. When using my own vertex-properties (for simplicity please ignore the edge properties), the built-in properties seem not to be used. S...

Iphone custom Navigation Bar Button with SystemButtonImage

Hey guys, I'm working with custom navigationBarButtons so I can give them a different tint-color thant the navigation Bar. But I can't see a way to get them to show a systemButton (Like the symbol for reloading). I guess these are private. Does anyone of you have matching symbols/images I can use? ...

weblogic 10.3 custom authenticator

we are migrating weblogic from 8.1 to 10.3. We had custom authenticator provider. Is there any standard way to migrate custom authenticator from 8.1 to 10.3? In fact, I could not find the wlManagement.jar in 10.3. I did find a wlManagement.jar file but it only contains .java files, no .class files. Please advise. ...

how get value from smartgwt Custom FilterEditorType ?

Hi I've developed a custom widget (a persian calendar consist of a base textbox & image widget on a gwt grid which look likes smartgwt calendar) & putted it in a CanvasItem because i want to add it as a filter editor for a listGrid : ListGridField regDateTimeField = new ListGridField("regDateTime", تاریخ و زمان", 120"); regDateTimeField...

Create semi-transparent overlay to mimic UIAlertView or UIActionSheet?

In the iPhone app that I am currently developing, I present several "alert" views that mimic the behaviour of UIAlertView and UIActionSheet. These views require non-standard elements that are not available in UIAlertView or UIActionSheet. Rather than attempt to subclass either, I have created my own classes so that I can easily customi...

Cannot add child components to custom containers in Flex 4

Hi, there, I have a question about custom containers in Flex 4. For example, I extends DividedBox named FrameBox only changed the color of dividers, and I used it normally as the DividedBox. But I cannot add any components into it. In design node I can see these components but cannot see them in Flash Player. It seems the box's z-index i...

Custom types in OpenCL kernel

Is it possible to use custom types in OpenCL kernel like gmp types (mpz_t, mpq_t, …) ? To have something like this (this kernel doesn't build just because of #include <gmp.h>) : #include <gmp.h> __kernel square( __global mpz_t* input, __global mpz_t number, __global int* output, const unsigned int count) { int i = get_g...

Bing maps silverlight control custom pushpin

I tried to make a custom pushpin for the Bing Maps silverlight control, but I can only add 1 pushpin. At the second pushpin I get the following error: System.ArgumentException: Value does not fall within the expected range. at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.Collection_AddValue[T](Presentat...

Where To Call Custom Method? viewDidLoad, viewWillLoad...

I am loading some info from a server. I have created a separate method to do this. I am then calling [self myCustomMethod] to run the method. No matter where I call [self myCustomMethod] (initWithNibName, viewDidLoad, viewWillLoad, viewWillAppear, viewDidAppear), the custom method is getting called twice - what's the deal? ...

ASP.NET Custom Control With A Property That Is An Interface

I want to have a property on my custom control that is an interface type. For example: [ ToolboxData("<{0}:MyTextBox runat=server></{0}:MyTextBox"), ParseChildren(true, "Validation") ] class MyTextBox : WebControl { [ Category("Behavior"), Description("The validation to use"), DesignerSerializationVis...

Custom file type and icon

I have a game I'm writing in java, it has the functionality to save games and load them all working with .txt files but I thought it would be cool if I could have my own file type...I know I can just set it to save as a type that isn't already defined but then I get a blank icon for the file...is there a way I can give it a custom file i...

php custom post variables

is there a way to create custom post variables when a user presses submit, like this: $_POST['var'] = 'hi'; ...

Custom Terms of Use Page before login to SharePoint.

Hello I am using MOSS with ADS. I want to display Terms of Use page before the user can login into SharePoint with two button i.e. "Accept","Decline". If user select "Accept" he will be directed to sharepoint site, if not to our companies intranet front page. This will be applicable for the current session. ie. If the user has signed o...

How to add and access Custom Header in C#

Hi I need to add a custom header something like MYName: Balaji which i need to access from .aspx file through Request.ServerVariables["HTTP_MYName"]; should return "Balaji". I need so many variables like this it will added dynamically. Kindly help. Also, I cannot persist this varaibles in any of the .Net controls or objects like cooki...