Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2010, 11:14 PM
p.dash2001 p.dash2001 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2010
Posts: 1 p.dash2001 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 3 sec
Reputation Power: 0
Other Language - Microsoft Cobol 2.00

I have developed a package in Microsoft Cobol 2.00 compiler, which creates
.int executable files and the package comprises of 3 .int files. I have
created an icon on desk top for this package (SB2015). Basically, the package
runs from Command prompt (C:\>) when I left click on SB2015 icon.

My programmes are in the directory c:\newmis\phase4sb>. The Main menu
of the package has the following options :-

1) Select records
2) Create report (which is REPORT.TXT, a flat file)
3) View report
4) Quit

For option 3, through my Cobol program, in one of the paragraphs, I have
created a BAT file (viewing.bat). This BAT file invokes WORDPAD.EXE and
I am able to view the report. However, when I exit Wordpad
(there is no Close option for Wordpad), the program control is not coming
to Main menu. Rather the cotrol is going to Windows Desktop and my program
package is minimised as C:\SB2015 and rests on Windows desk top
touch bar, which is below. When I left click over this icon on touch bar,
the Main menu appears on the screen and I am able to Quit after selecting
option 4. I have attached a screen shot (minimised-icon.doc) to show how
it looks when the package is minmised.

The Viewing.bat file is as under :-

@echo off
wordpad report.txt

To test further, instead of Wordpad, I used ne.com (Norton Editor) in
my BAT file. After opening and viewing Report.txt, when I closed NE,
Main menu came back without getting minimised.

Is it because NE is having a "close" option whereas Wordpad is not having
(probably through "Exit" option, Wordpad is exiting abruptly) ??

When I view through Wordpad, I want Main Menu should come to the
screen instead of getting minimised and resting on Touch bar. What
is the Solution ??

P K Dash
(p.dash2001@gmail.com)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Other Language - Microsoft Cobol 2.00

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap