Delphi Programming
 
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 - MoreDelphi Programming

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 April 7th, 2012, 06:49 PM
cobyr cobyr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 3 cobyr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 38 sec
Reputation Power: 0
Error 105 help

these are my two procedures
can you help me find out what my problem is that is causing error 105
thanks for any help

procedure TForm2.BtnExitClick(Sender: TObject);
begin
close;
end;

procedure TForm2.BtnLoginClick(Sender: TObject);
begin
if (Username.Text='User1') and (Password.Text='guest') then writeln ('Access granted')
else writeln('failed entry')

end;

Begin

Writeln('Welcome please attempt to login but if you fail a virus will pass through your machine' , 'good luck');
readln;

end.

Reply With Quote
  #2  
Old April 8th, 2012, 04:31 PM
Dimixx Dimixx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Posts: 68 Dimixx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 53 m 47 sec
Reputation Power: 4
Hi
could you try to explain what are you trying to do. What kind of application you're are building? I'm pretty sure that this Writeln don't have to be there..

Dimiter

Reply With Quote
  #3  
Old April 10th, 2012, 08:53 PM
cobyr cobyr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 3 cobyr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 38 sec
Reputation Power: 0
it was a basic login form , with those messages popping up on log-in. the messages are jokes by the way .

Reply With Quote
  #4  
Old April 11th, 2012, 02:36 AM
Dimixx Dimixx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Posts: 68 Dimixx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 53 m 47 sec
Reputation Power: 4
Hi,
Are building a form application or console application? As far as I know WriteLn is used in console applications. Seenig the other methods in your code I'm assuming that you are building a form app. Is that true? If it is you can try
Code:
ShowMessage
method ot some other message PopUp

Dimiter.

Last edited by Dimixx : April 11th, 2012 at 02:41 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Error 105 help

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