On 10/1/10, IMP Technologies - Tajinder Singh wrote:
>
> I have created a small basic interface for Fedora to change Plymouth theme.
> But as changing theme requires to run some commands as root, I would like to
> ask for root password before starting the application.
> Similarly whenever we r
On Tue, 2010-10-05 at 14:59 +0200, Benoît Minisini wrote:
> > I wander why the property Modal of a Form is not in Properties Toolbox?
> >
>
> Because it is read-only?
>
ok, sorry i saw it in docs...
--
Beautiful is wri
OK.
1. su doesn't work with Ubuntu because root account is disabled by default!
2. "sudo -k" doesn't seem to be able kill timestamp correctly.
So, when I open new terminal and try to get root without password, it
doesn't work.
3 This program actually works IF it is run under gdb or valgrind!!?
J
Ok, thanks :-)
-Mensaje original-
De: Benoît Minisini [mailto:gam...@users.sourceforge.net]
Enviado el: Martes, 05 de Octubre de 2010 01:05 p.m.
Para: mailing list for gambas users
Asunto: Re: [Gambas-user] Gambas3 :: Method signature and documentation
> Ok, I found the e
> Ok, I found the error. I have about 30 class files in my project, and
> some
> of those files were missing the Export keyword.
>
> Well, another question, I compiled my component, created a new project
> and
> used the compiled component in the "Libraries" tab in the project
> prop
I recompiled Gambas2 and it still doesn't work.
So, I run this project with gdb and I find something very worrying.
I edited that project so that line;
*hProcess = SHELL "su -c 'ls /root'" FOR INPUT OUTPUT*
is now:
*hProcess = SHELL "sudo whoami" FOR INPUT OUTPUT*
~/Desktop/su$ gbc2 -agpmt
~/Desk
1. Open your project
2. Add a new module, let's say "Sudo"
3. Paste these lines in:
' Gambas class file
PUBLIC wins AS Form
PUBLIC black AS Button
PUBLIC szoveg1 AS TextBox
PUBLIC hProcess AS Process
PUBLIC SUB ReadPassword()
DIM black AS Button
DIM labi, labi2 AS Label
wins = NEW Form
wins.Width
Ok, I found the error. I have about 30 class files in my project, and
some of those files were missing the Export keyword.
Well, another question, I compiled my component, created a new project
and used the compiled component in the "Libraries" tab in the project
properties and
Now this is a problem I didn't see before... :-)
When you call the standard printer setup dialog with Printer.File = ""
and then click on Search, you get the application's path as starting
directory for the search. Rather roundabout, isn't it?
On the other hand, if you want to say "no printing
> I wander why the property Modal of a Form is not in Properties Toolbox?
>
Because it is read-only?
--
Benoît Minisini
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1
10 matches
Mail list logo