Here is the good example after several tries.
http://msdn.microsoft.com/en-us/library/d94bdzz2.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
Monday, January 7, 2013
Reset password in ASP.net Without using email and security question
Posted by AG at 11:39 PM 0 comments
Labels: asp.net, reset password, VB
send email in asp.net function
MailMessage mail = new MailMessage(); mail.To = "receivers@email.address"; mail.From = "senders@email.address"; mail.BodyFormat = MailFormat.Text; mail.Subject = "Subject of this Email"; mail.Body = "Body of this message."; SmtpMail.Send(mail);
Posted by AG at 11:33 PM 0 comments
Labels: asp.net, email notification
Thursday, August 30, 2012
Remove a startup application
Posted by AG at 9:11 AM 0 comments
Labels: regedit, Remove a startup application
Friday, July 20, 2012
telerik mouse over
credit to http://demos.telerik.com/aspnet-ajax/controls/examples/integration/chartandtooltip/defaultcs.aspx?product=chart
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Skin="Telerik"
Width="200px" Animation="Slide" Position="TopCenter" EnableShadow="true" ToolTipZoneID="RadChart1" AutoTooltipify="true">
telerik:RadToolTipManager>
Posted by AG at 1:46 AM 0 comments
Friday, July 6, 2012
MasterCard Delectable 1-For-1 Deals
Promotion period: 1 July - 30 Sept 2012
Buy 1 FREE 1 Promotion!
Enjoy double the excitement with Debit or Prepaid MasterCard all across Malaysia.
Purchase a Golden Screen Cinemas movie ticket and receive aFREE ticket to share at the same movie session.
Top up RM10 DiGi talktime with your Debit or Prepaid MasterCard and you will receive RM10 FREE when you purchase online.
Not a Debit MasterCard cardholder yet? Sign up now to enjoy a voucher for 1-for-1 regular pizza atPizza Hut.
Terms & conditions apply.
Posted by AG at 1:29 AM 0 comments
Sunday, May 20, 2012
VBA Comparison Operators
VBA Comparison Operators
Operator | Action |
= | Equal To |
< > | Not Equal To |
< | Less Than |
> | Greater Than |
<= | Less Than or Equal To |
>= | Greater Than or Equal To |
references:
http://www.excelfunctions.net/VBA-Operators-And-Functions.html
Posted by AG at 11:05 PM 0 comments
Tuesday, May 15, 2012
split integer value from others character
#!/usr/bin/perl
use strict;
my $data = '2323424: 2434324, 3455543543';
my @ftr =();
my @values = ();
@values = split(/(\d+)/, $data);
foreach my $val (0 .. $#values) {
unless ( $values[$val] =~/^[0-9]+$/)
{
splice(@values, $val, 1);
}
}
print " @values\n";
exit 0;
Posted by AG at 12:04 AM 0 comments
Labels: Perl, split integer values