Skip to main content

Posts

Showing posts from 2009

Request Signatures in Blackberry

Request Signatures in Blackberry need copy sigtool.db, sigtool.csk to SDK/component/Bin folder for example V 4.2.1 ../eclipse\plugins\net.rim.eide.componentpack4.2.1_4.2.1.17\components\bin

How to install SQL Server 2005 Reporting Services on a Windows Vista-based computer

Note If you do not enable all these features, the Reporting Services option does not appear in the Feature Selection dialog box of the SQL Server Setup program. After you enable the required features, you must start the World Wide Publishing service if you want to install the default configuration of Reporting Services. Otherwise, the SQL Server Setup program only installs Reporting Services and does not configure Reporting Services. http://support.microsoft.com/kb/934164

Form.DefaultButton

Well, in ASP.Net 2.0 there is a new property on the form and asp:Panel controls called “DefaultButton” which allows you to set the button which is “selected” when the Enter key is pressed. Page.Form.DefaultButton = btnSaveOnly.UniqueID;

Tooltip callback

jQUERY TOOLTIP callback $(".pickdrop").tooltip({ bodyHandler: function() { var div = $(this); var divd = "#"+div.attr("id") +"d"; if ($(divd).html()!='') return $(divd).html(); else { var result = $("<span/>").html("loading..."); var str = div.attr("name") orderId = str.substring(0, str.indexOf(":")); type = str.substring(str.indexOf(":")+1); $.get("yoururl.aspx?OrderId="+orderId+"&type="+type, function(data){ $(divd).html(data); result.html(data); }); return result; } }, delay: 0, showURL: false });

What is the most common street name in the U.S.?

http://geography.about.com/library/faq/blqzstreetname.htm The most common street name is the United States isn't Main Street - it's actually Second Street! The second most popular street name is Park Street, followed by 3rd, 4th, and 5th Streets. First Street doesn't even make the top five, it's number six. The second most popular non-numerical street name is Washington Street, which is #9 overall.

Jquery Phone Number validation

$.validator.addMethod("phone", function(ph, element) { if (ph == null) { return false; } var phoneRe = /^((\+\d{1,3}(-| )?\(?\d\)?(-| )?\d{1,5})|(\(?\d{2,6}\)?))(-| )?(\d{3,4})(-| )?(\d{4})(( x| ext)\d{1,5}){0,1}$/; return phoneRe.test(ph); }, "Please enter a valid phone number");

install own certificate to blackberry

Additional Information The following are alternate methods of loading personal certificates: Browser Plugin - If a web page has the appropriate Multipurpose Internet Mail Extension (MIME) type set and the .cer file type is used, click the link to the certificate and import or view the certificate wirelessly. Email messages - Certificates included as email attachments can also be imported manually when received on the BlackBerry smartphone. info from

Blackberry - Access Address Book contacts

Procedure BlackBerry smartphone applications can make use of contacts stored in the Address Book. The following sample application gives a listing of all contacts in the Address Book and then displays all information for a selected contact. Note: This example uses the BlackBerryContact interface that is an extension of Contact. It is possible to use the Contact interface if you do not require access to any BlackBerry smartphone specific fields that include four user-defined fields (string values) and a personal identification number (PIN) field (hexadecimal number). code here

How To - Add a Certificate to DeviceKeyStore

By default, KeyStore Injection is denied on a BlackBerry wireless device that is added to a BlackBerry Enterprise Server™. Use Application Control to allow third-party applications to add certificates to the DeviceKeyStore. By locating a ControlledAccessException, the application will continue to function, even if the application control is denying the addition of the certificate. Note: Currently, third-party applications are unable to add certificates to the TrustedKeyStore automatically. The application must first add the certificate to the DeviceKeyStore. Then the user can manually trust the certificate on the device under Options > Security > Certificates. A third-party application can add a certificate to DeviceKeyStore by using the following method

Determining how to properly call a stored procedure

Set Conn = Server.CreateObject("ADODB.Connection") ' The following line must be changed to reflect your data source info Conn.Open "data source name", "user id", "password" set cmd = Server.CreateObject("ADODB.Command") set cmd.ActiveConnection = Conn ' Specify the name of the stored procedure you wish to call cmd.CommandText = "sp_MyStoredProc" cmd.CommandType = adCmdStoredProc ' Query the server for what the parameters are cmd.Parameters.Refresh %> <Table Border=1> <TR> <TD><B>PARAMETER NAME</B></TD> <TD><B>DATA-TYPE</B></TD> <TD><B>DIRECTION</B></TD> <TD><B>DATA-SIZE</B></TD> </TR> <% For Each param In cmd.Parameters %> <TR> <TD><%= param.name %></TD> <TD><%= param.type %></TD> <TD><%= param.direction %></TD> ...

user Emulator to debug Windows Mobile 6 in Vista

open Windows Mobile Device center Mobile Device Setting -> Connection Setting -> Allow connections to one of the following: Change to DMA in vs 2008, Go to Tools -> Device Emulator Manager select one from list, for example: windows mobile 6 professional emulator right on to cradle waiting for popup to establish the relationship (be sure get internet connection from Emulator)

PHP Framework - CodeIgniter

create own library: http://codeigniter.com/user_guide/general/creating_libraries.html external library - if don't want to create another php file just for css or js They try this: http://codeigniter.com/forums/viewthread/101236/ If run into any URI issue: external->run(); ?> ? to /: (auto -> query_string, or try any others) $config['uri_protocol'] = "query_string";