Wednesday, February 25, 2015
Tuesday, February 24, 2015
OUTPUT_B
use OUTPUT_B(0xff); to set all pins of port B high and
use OUTPUT_B(0x00); to set all pins of port B low.
Monday, February 23, 2015
Friday, February 20, 2015
url
string url = HttpContext.Current.Request.Url.AbsoluteUri;
// http://localhost:1302/TESTERS/Default6.aspx
string path = HttpContext.Current.Request.Url.AbsolutePath;
// /TESTERS/Default6.aspx
string host = HttpContext.Current.Request.Url.Host;
// localhost
Thursday, February 19, 2015
IIS worker process
"There was an error attaching the debugger to the IIS worker process
for URL 127.0.0.1:5100 for role instance deployment(5).WindowsAzureProject10.WebRole.1.0
Check the version of Azure APIs in your project
dlls same sdk version
Activate the checkboxes for:
Internet Information Services Hostable Web Core
Internet Information Services > World Wide Web Services > Application Development Features > ASP.NET 4.5
Internet Information Services > World Wide Web Services > Health and Diagnostics > Tracing
Internet Information Services > Web Management Tools > IIS Management Scripts and Tools
Wednesday, February 18, 2015
stop highlight
{
public partial class WebForm88 : System.Web.UI.Page
{
Color _disabledButtonBKColor = System.Drawing.Color.FromArgb(0x80, 0x80, 0x80);
Color _enabledButtonBKColor = System.Drawing.Color.FromArgb(0xFF, 0xAD, 0x33);
protected void Page_Load(object sender, EventArgs e)
{
EndEditButtonDisable();
}
private void EndEditButtonDisable()
{
btnShipmentSectionEndEdit.Enabled = false;
btnShipmentSectionEndEdit.BackColor = _disabledButtonBKColor;
//I am fire this class for not hover action because I need to same GRAY color (It is disable)
//btnShipmentSectionEdit.CssClass = "yellow";
}
protected void btnShipmentSectionEdit_Click(object sender, EventArgs e)
{
btnShipmentSectionEdit.Enabled = false;
btnShipmentSectionEdit.BackColor = _disabledButtonBKColor;
btnShipmentSectionEndEdit.Enabled = true;
btnShipmentSectionEndEdit.BackColor = _enabledButtonBKColor;
}
protected void btnShipmentSectionEndEdit_Click(object sender, EventArgs e)
{
EndEditButtonDisable();
btnShipmentSectionEdit.Enabled = true;
btnShipmentSectionEdit.BackColor = _enabledButtonBKColor;
}
}
}
body
{
background: none repeat scroll 0 0 #FFF; /*overflow-x: hidden;*/
margin: 0;
padding: 0;
/*font-family:Futura, Arial, sans-serif;*/
font-family:Segoe UI, Verdana, Arial;
font-style: normal;
font-size: 12px;
}
.buttonClass [type="submit"]
{
background-color: #FFAD33;
border:1px solid #FFAD33;
border-radius: 5px;
padding: 6px 12px;
font-size: 100%;
color: #fff;
cursor: pointer;
transition: background .3s;
-webkit-transition: background .3s;
position: inherit;
text-align: center;
width: auto;
vertical-align: central;
}
.buttonClass input.aspNetDisabled
{
background: #808080;
color:#FFF !important;
border:1px solid #808080;
}
.buttonClass input.aspNetDisabled:hover
{
background: #808080 !important;
color:#FFF !important;
border:1px solid #808080 !important;
}
.buttonClass input:hover
{
background:#FFF !important;
color:#FFAD33 !important;
border:1px solid #FFAD33 !important;
}
/****************** Disable button *****************************************/
/*
input[type="submit"].notHover,
input[type="submit"].notHover:hover {
background: initial !important;
color: initial !important;
}
*/
< div class = " buttonClass " >
< asp :Button ID = "btnShipmentSectionEdit" runat="server" Text="Edit" Enabled="true"
OnClick="btnShipmentSectionEdit_Click" />
< asp : Button ID = " btnShipmentSectionEndEdit" runat="server" Text="End Edit" Enabled="false"
OnClick="btnShipmentSectionEndEdit_Click" />
Azure SDK requires
The Windows Azure SDK requires Internet Information Services 7.0
with ASP.NET Application
Development components and the
IIS Management Console components installed.
with ASP.NET Application
Development components and the
IIS Management Console components installed.
Azure
The Azure 2.1 SDK is available for Visual Studio 2010 (with SP1).
http://www.microsoft.com/en-us/download/details.aspx?id=15658
The Azure 2.5 SDK is available for Visual Studio 2012
http://www.microsoft.com/en-us/download/details.aspx?id=15658
The Azure 2.5 SDK is available for Visual Studio 2012
Tuesday, February 17, 2015
Apprenticeship Patterns
Apprenticeship Patterns
Guidance for the Aspiring Software Craftsman
David H. Hoover
Adewale Oshineye
Copyright © 2010 David H. Hoover and Adewale Oshineye
Guidance for the Aspiring Software Craftsman
David H. Hoover
Adewale Oshineye
Copyright © 2010 David H. Hoover and Adewale Oshineye
Monday, February 16, 2015
Tuesday, February 10, 2015
Monday, February 9, 2015
18f4550 ccs
void main()
{
setup_adc_ports(NO_ANALOGS|VSS_VDD);
setup_adc(ADC_OFF);
//setup_psp(PSP_DISABLED);
//setup_spi(SPI_SS_DISABLED);
setup_wdt(WDT_OFF);
setup_timer_0(RTCC_INTERNAL);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
//setup_comparator(NC_NC_NC_NC);
//setup_vref(FALSE);
//Setup_Oscillator parameter not selected from Intr Oscillator Config tab
// TODO: USER CODE!!
set_tris_b(0);
output_b(0x00);
while(1){
/*set_tris_b(0);
output_b(0xF0);*/
output_high(PIN_B0);
delay_ms(1000);
output_low(PIN_B0);
delay_ms(1000);
}
}
Friday, February 6, 2015
Wednesday, February 4, 2015
jre
http://ftp.psu.ac.th/pub/java/
http://help.promin.privatbank.ua/java/jre/
http://help.promin.privatbank.ua/java/jdk/
Monday, February 2, 2015
Subscribe to:
Posts (Atom)