Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB Tools

Lost Password?

Reply
 
Thread Tools Display Modes
  #11  
Old 09-25-2011, 08:07 PM
Legomus Legomus is offline
Junior Member
 
Join Date: Sep 2011
Posts: 9
Default

Thank you George ..

Is there a way to change the column width in a DBGrid ??
Reply With Quote
  #12  
Old 09-25-2011, 08:59 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 832
Default

Try

DBGrid.Columns[1].Width := 30;

George
Reply With Quote
  #13  
Old 09-27-2011, 01:28 PM
Legomus Legomus is offline
Junior Member
 
Join Date: Sep 2011
Posts: 9
Default

Oky .. Thanx got it right.. Where can I get some codeing of the dialogs??
I want to open a .exe file

Last edited by Legomus; 09-27-2011 at 11:34 PM.
Reply With Quote
  #14  
Old 09-28-2011, 01:56 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 832
Default

I don't know what you mean by "codeing of the dialogs". Could you elaborate, please.

George
Reply With Quote
  #15  
Old 09-28-2011, 02:03 PM
Legomus Legomus is offline
Junior Member
 
Join Date: Sep 2011
Posts: 9
Question

Hi .. I want to open a '.exe' file but don't know the code .. and with what component will be the easiest..

If the user click a button then the '.exe' has to open

Reply With Quote
  #16  
Old 09-28-2011, 02:26 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 832
Default

Look into ShellExecute...

ShellExecute(Handle, nil, PChar(PROG), nil, nil, SW_SHOWNORMAL);

Where PROG would be the location of the EXE. Check Help.

George
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.