<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The dot before the Net : Others</title><link>http://blogs.msdn.com/sanket/archive/tags/Others/default.aspx</link><description>Tags: Others</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>EHLLAPI Progamming Guide &amp;amp;amp; other resources</title><link>http://blogs.msdn.com/sanket/archive/2006/08/26/EHLLAPI-Progamming-Guide-_2600_amp_3B00_-other-resources.aspx</link><pubDate>Sat, 26 Aug 2006 02:07:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:724658</guid><dc:creator>Sanket Bakshi</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sanket/comments/724658.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sanket/commentrss.aspx?PostID=724658</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sanket/rsscomments.aspx?PostID=724658</wfw:comment><description>&lt;p&gt;A couple of days ago, I had blogged about &lt;a href="http://blogs.msdn.com/sanket/archive/2006/08/22/712991.aspx"&gt;Automating 3270 emulators with EHLLAPI&lt;/a&gt;. While looking for some more information on it, I came across the &lt;a href="http://www.alebra.com/docs/32025003.pdf#search=%22Alebra%20EHLLAPI%20Programming%20guide%22" target="_blank"&gt;EHLLAPI Programming Reference&lt;/a&gt; published by &lt;a href="http://www.alebra.com" target="_blank"&gt;Alebra Technologies&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Its almost a 90 pager PDF guide that explains well in detail about all the functions that can be performed with the EHLLAPI along with &lt;em&gt;how&lt;/em&gt; you can go about implementing them. Even some gotchas that you need to look for. &lt;/p&gt;  &lt;p&gt;There is also a very nice sample provided by Luca Bertoncini at Code Project titled - "&lt;a href="http://www.codeproject.com/csharp/all_ehllapi.asp?df=100"&gt;Using EHLLAPI in C#&lt;/a&gt;".&lt;/p&gt;  &lt;p&gt;Overall, these are very nice and helpful resources that can help you get started quickly for automating the 3270 emulators. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt; --Sanket&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=724658" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sanket/archive/tags/CCF/default.aspx">CCF</category><category domain="http://blogs.msdn.com/sanket/archive/tags/Others/default.aspx">Others</category></item><item><title>Automating 3270 emulators with EHLLAPI</title><link>http://blogs.msdn.com/sanket/archive/2006/08/22/Automating-3270-emulators-with-EHLLAPI.aspx</link><pubDate>Tue, 22 Aug 2006 21:36:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:712991</guid><dc:creator>Sanket Bakshi</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/sanket/comments/712991.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sanket/commentrss.aspx?PostID=712991</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sanket/rsscomments.aspx?PostID=712991</wfw:comment><description>&lt;p&gt;The green screen days aren't completely gone yet! If you are working in integration projects, there will be a couple of times when you bump into those ugly green screens that want to hide everything that they have into a closed box called the mainframe. Most of the times, these mainframe apps just wont go because they are very crucial to the business. But the entire org moves over to the Microsoft platform. So what do you do? The simplest way is of course - use emulators :) There are&amp;nbsp;a lot&amp;nbsp;of emulators in the market that you can use like the Zephyr Passport or the Attachmate Extra or the BlueZone emulator by Seagull Software. &lt;/p&gt;  &lt;p&gt;Much of these 3270 apps were designed the archaic way and have no real connection to the word "UI". But still they stand there and we got to figure out some ways to ease the pains of using them. That's where we think of automating them from our own applications.&lt;/p&gt;  &lt;p&gt;Somewhere in the&amp;nbsp;medieval age, between ours and the archaic green screen age, when the green screens were being accessed from the PCs using the DOS based TSRs, somebody came up with a API interface that can be&amp;nbsp;used to access and control these 3270 sessions. Personally, I don't think anybody has touched these APIs to make them better after that. These are being called the EHLLAPI (right from the medieval age) - the &lt;strong&gt;E&lt;/strong&gt;xtended &lt;strong&gt;H&lt;/strong&gt;igh &lt;strong&gt;L&lt;/strong&gt;evel &lt;strong&gt;L&lt;/strong&gt;anguage &lt;strong&gt;API&lt;/strong&gt;. &lt;/p&gt;  &lt;p&gt;Now when you are dealing with integrating the functionality at the presentation layer - which is what you would be doing most of the times with CCF, the EHLLAPIs come real handy. Most of the emulators out there in the market support EHLLAPI as a standard way of interacting. In effect, you can get &lt;u&gt;one EHLLAPI program that can work with all the emulators that support EHLLAPI&lt;/u&gt;. The EHLLAPI will allow you to interact with the emulator screen exactly as if you have a user interacting with it. If it can be best understood with a scenario, here goes a simple one. You have a mainframe app that requires you to provide your username and password in order to use it. Simple isn't it? In a default case, the user would always need to go to the emulator screen and type in his credentials and hit the "Return" key. That's definitely a very repetitive task and you would love it if the system just knows who you are and logs you in. Right?&amp;nbsp; Combining the stuff, we can use the SSO to map the users windows credentials to his mainframe login and then use the EHLLAPI with the emulator to automate the login procedure after fetching the credentials from the SSO. &lt;/p&gt;  &lt;p&gt;The EHLLAPI provides just one method to interact with it. That's the hllapi(). The function takes certain parameters that determine what actions are to be performed. The actions to be performed are determined by an integer number. For example its 40 to set the cursor position and 3 to send a keyboard key to the emulator. (I told you guys, I don't think this has been updated ever since the medieval age :) ). Along with every function goes the data that the API can use for performing the action. Like for example, to set a cursor position, you need to know what the position is. Or to set the text, you need to know what text to set. This information goes in the data field. &lt;/p&gt;  &lt;p&gt;To access the EHLLAPI, the emulator would usually come with a DLL that would encapsulate the EHLLAPI code. In my case, I worked with the BlueZone Emulator by Seagull Software and they ship a DLL named - PCSHLL.dll. This can be referenced using a &lt;font face="Courier New"&gt;DllImport&lt;/font&gt; statement and that's it. Your C# code will be able to interact with the emulator. Here is an example of how it will go&amp;nbsp;- &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Courier New"&gt;[DllImport("PCSHLL.dll")]       &lt;br /&gt;public static extern UInt32 hllapi(out UInt32 Func, StringBuilder Data, out UInt32 Length, out UInt32 RetC);&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Hope this alleviates a bit of pain for all you guys who are looking at a way of getting these green screens to do some &lt;em&gt;productive&lt;/em&gt; work on Windows.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=712991" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sanket/archive/tags/CCF/default.aspx">CCF</category><category domain="http://blogs.msdn.com/sanket/archive/tags/Others/default.aspx">Others</category></item><item><title>Mumbai Blast Victims - Lets try to lend our helping hand</title><link>http://blogs.msdn.com/sanket/archive/2006/07/11/Mumbai-Blast-Victims-_2D00_-Lets-try-to-lend-our-helping-hand.aspx</link><pubDate>Tue, 11 Jul 2006 20:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:662518</guid><dc:creator>Sanket Bakshi</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sanket/comments/662518.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sanket/commentrss.aspx?PostID=662518</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sanket/rsscomments.aspx?PostID=662518</wfw:comment><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Off topic, but just&amp;nbsp;today&amp;nbsp;8 horrifying blasts have shook the city of Mumbai - India's financial capital &amp;amp; main trade center. All of these blasts have occured in the local trains which are almost like the nervous system of the city.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Over 150 people have been killed and a lot more injured. &lt;/FONT&gt;&lt;A href="http://in.rediff.com/news/2006/jul/11train.htm"&gt;&lt;FONT face=Arial size=2&gt;&lt;BR&gt;http://in.rediff.com/news/2006/jul/11train.htm&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;A href="http://news.bbc.co.uk/2/hi/south_asia/5169332.stm"&gt;&lt;FONT face=Arial size=2&gt;http://news.bbc.co.uk/2/hi/south_asia/5169332.stm&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;The telephone lines are already jammed, for those within India, &lt;STRONG&gt;&lt;U&gt;Times of India is providing an SMS service to know about those affected&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;. These SMSs are being broadcasted on all the news channels. This can help you know about your friends or relatives confirming that they are safe. To avail this service from within India, you can send an SMS to 8888. This will be broadcasted on the news channels. &lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://timesofindia.indiatimes.com/okarticleshow/1733065.cms"&gt;&lt;FONT face=Arial size=2&gt;http://timesofindia.indiatimes.com/okarticleshow/1733065.cms&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;News channels including ND TV are also showing names of those injured and admitted to the nearby hospitals. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;The govt has already started its remedial measure, but lets do whatever it takes on our part to try and help the unfortunate victims. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;--Sanket&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=1&gt;&lt;EM&gt;Pl note that the views and opinions expressed on this blog are solely mine and do not represent the opinions of my employer.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=662518" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sanket/archive/tags/Others/default.aspx">Others</category></item><item><title>IBF stands for Information Bridge Framework</title><link>http://blogs.msdn.com/sanket/archive/2006/07/05/IBF-stands-for-Information-Bridge-Framework.aspx</link><pubDate>Wed, 05 Jul 2006 12:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:656856</guid><dc:creator>Sanket Bakshi</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sanket/comments/656856.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sanket/commentrss.aspx?PostID=656856</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sanket/rsscomments.aspx?PostID=656856</wfw:comment><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;The Information Bridge Framework helps connect your backend LOB apps to the front end tools that you use the most - Microsoft Office. In marketing terms, it would reduce costs by providng faster discovery of information and better integration by making the data from the business systems directly available in the Office Applications. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Starting from Office 2003, the MS Office provides support for Smart Tags and Smart Panes. The IBF leverages these features and uses them so that the users can directly start the business functions directly from the Office Tools.&amp;nbsp; For eg. Lets say a customer service executive recieves an email that mentions about a particular service request with its Id and then asks about its status. Because, the MS Office systems are connected to the backend LOB Apps, the MS Outlook immediately detects the service request number and provides a smart tag to it (The dotted underline to a word that you might've seen in several Office Documents). To get a&amp;nbsp;glimpse of what a smart tag is, try typing in a place name in MS Word Document such as "Seattle". MS Word immediately recongnises it as a place. Going ahead in our case, as the executive clicks the smart tag, he can find various actions that he can perform on it. The actions, for instance, can be "Get details for this service request", "Set Priority for this request" or something even more complex like - "Create service request status doc". Once the executive selects an action, the IBF gets into action and using the web services based middle-tier&amp;nbsp;logic, connects to the end systems to perform required actions on the LOB Apps. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Looks interesting right?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Get to know more about this framework @ - &lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/office/tool/ibf/default.aspx"&gt;&lt;FONT face=Arial size=2&gt;http://msdn.microsoft.com/office/tool/ibf/default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;More posts would of course follow.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;--Sanket Bakshi&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=656856" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sanket/archive/tags/Others/default.aspx">Others</category></item><item><title>Notepad Easter Egg</title><link>http://blogs.msdn.com/sanket/archive/2006/06/16/Notepad-Easter-Egg.aspx</link><pubDate>Fri, 16 Jun 2006 16:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:634041</guid><dc:creator>Sanket Bakshi</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/sanket/comments/634041.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sanket/commentrss.aspx?PostID=634041</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sanket/rsscomments.aspx?PostID=634041</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Lot&lt;/SPAN&gt;&lt;/st1:place&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt; of times, we use the Notepad to quickly write down some points. (Well, when OneNote probably isn’t handy).&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Notepad offers a really nice feature for such users.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Imagine &lt;B&gt;&lt;I style="mso-bidi-font-style: normal"&gt;Notepad automatically appending the timestamp every time you open it&lt;/I&gt;&lt;/B&gt; to write some info.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Take a look at this – &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;BR&gt;1. &lt;SPAN style="mso-bidi-font-weight: bold"&gt;Create a blank text file with .LOG as the first line of the file, followed by a carriage return. Save the file with any .txt extension.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;2. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;3. Type your notes and then save and close the file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;Hope this helps some of you!!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;--Sanket Bakshi&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=634041" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sanket/archive/tags/Others/default.aspx">Others</category></item></channel></rss>