Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!po   
   t02.iad01!roadrunner.com!not-for-mail   
   From: David    
   Subject: Re: How can I run a program I wrote?   
   Date: Tue, 27 Feb 2007 00:44:26 -0500   
   User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))   
   Message-Id:    
   Newsgroups: alt.os.linux.ubuntu   
   References: <87bqjg   
   rcf.fsf@geemail.com>   
   MIME-Version: 1.0   
   Content-Type: text/plain; charset=ISO-8859-1   
   Content-Transfer-Encoding: 8bit   
   Lines: 32   
   Organization: Road Runner High Speed Online http://www.rr.com   
   X-Complaints-To: abuse@rr.com   
   Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:11133   
      
   On Tue, 27 Feb 2007 10:39:28 +0100, Hadron wrote:   
      
   > David writes:   
   >    
   >> I wrote a simple hello world program using Gambas but can't run it from my   
   >> home directory. I get this error:   
   >>   
   >> Cannot open /home/dgk/New directory/HelloWorld/HelloWorld: No application   
   >> suitable for automatic installation is available for handling this kind of   
   >> file.   
   >>   
   >> I checked the permissions and I have read/write, and "allow executing   
   >> file as program" is checked.   
   >>   
   >> Thanks. I have managed to get Pan running which is a victory.   
   >    
   > It looks like it is running and the error code comes from it or its   
   > startup libraries. But you would be better off asking in a gambas forum   
   > I would think.   
   >    
   > How did you run it? Command line. The error message is useless without   
   > the other information.   
      
   I just doubleclick on it in the home directory, it's a gui app. I just   
   tried getting there through terminal and found it (just HelloWorld with   
   no file extension using ls -l) and typed HelloWorld at the command prompt   
   but got something like No Such Command. Maybe I have to do something else   
   in Linux to execute a program? In old RMS days we need to type Run or   
   something as I recall. It's been a while. I'll check my Linux for Dummies   
   in 24 Hours or whatever I have when I get to work. We use Linux (RedHat)   
   for some of our servers so I needed to know some basic commands.   
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   
|