Search This Blog

Friday, November 4, 2016

umbraco testing

Monday, August 18, 2014

Web Programming

Web Programming is not hard but it takes time to learn basics and fix bugs.

Tuesday, November 6, 2012

WebSmart .............

Thursday, July 12, 2012

After long time back to work today, keep 3 words in my pocket:- TRY -TRUE -TRUST. TRY- for better FUTURE. TRUE- with My WORK. TRUST - in GOD..

Thursday, March 15, 2012

little bit about RPG/400
  RPG in the Sixties :-
 
- 1960
- High Level Language
- Fixed- Logic Cycle
- Indicators
- Batch Oriented
- Card based machines

RPG II - RPG III :-
- 1970
- Mid- range Systems
    . System/3
    . System/32
    . System/34
    . System/36
- Interactive applications
  . Disk processing support
  . Workstastion support
- Structured program design for efficientcy
- DBMS grew in sophistication
- System/38
 
RPG/400 :-
-1990
-AS/400
-Enhancements
     . New operation codes
     . Named constants
     . Initialization subroutines
     . Source Code indentation
- Embed SQL statements in RPG code

Thank you guys. I hope this is work full to you.




RPG IV Introduction

What is RPG IV?
. Available beginning with V3R1
. Component of ILE RPG for AS/400 Program Product
. Expanded or eliminated language limits
. Fulfilled RPG programmer's requirements at that time
         - Longer field names
         - Free from expressions

         - Date/ time calculations supported
. Positioned for future growth
. ILE (Integrated Language Environment)
         - Part of OS/400 beginning with V2R3
         - More modularity


Friday, October 14, 2011

How to Update Twitter using ASP and Twitter API

In aspx file post

<..form id="form1" runat="server1">
    <..div>
        <..asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Height="148px"
            Width="413px">
       

        <..asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
    <../div>
    <../form>
aspx.cs file post

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
TwitterVB2.TwitterAPI twConn = new TwitterVB2.TwitterAPI();
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
//Retrieve Keys from web.config
string twitterKey = System.Configuration.ConfigurationManager.AppSettings["ConsumerKey"];
string twitterSecret = System.Configuration.ConfigurationManager.AppSettings["ConsumerSecret"];
string twitterOAuthToken = System.Configuration.ConfigurationManager.AppSettings["OAuthToken"];
string twitterOAuthTokenSecret = System.Configuration.ConfigurationManager.AppSettings["OAuthTokenSecret"];

//string twitterKey ="kXhmnfAxj7wcGEpKL5Flg";

//string twitterSecret ="oLEkFzdCuSNw7y8s89HxCAq5bqSwOQfDsod58pP3xc";
//string twitterOAuthToken="388768904-6oOgQN1k5O9CeDgOEDN0jWsrk1PaWCRTDVHpahRf";
//string twitterOAuthTokenSecret = "5gyVBErdjTcrxdyddx1QTY4p2gsnxvgk3na5FA8kPTE";

try
{
twConn.AuthenticateWith(twitterKey, twitterSecret, twitterOAuthToken, twitterOAuthTokenSecret);
twConn.Update(TextBox1.Text);
TextBox1.Text = "";
}
catch (Exception ex)
{
//lblError.Text = "Twitter Returned: " + ex.Message;
}
}
}

in web.configuration file

-<..configuration>
  <..appSettings>
    -->


finally add twitter.dll on bin filder