Search found 88 matches

by cvirus
Thu Sep 20, 2012 10:19 am
Forum: General category
Topic: WinApi get Get Program Files directory
Replies: 4
Views: 8129

WinApi get Get Program Files directory

Thanks for the reg example i got it working now.

Only need a Font example :D
by cvirus
Wed Sep 19, 2012 9:16 pm
Forum: General category
Topic: WinApi get Get Program Files directory
Replies: 4
Views: 8129

WinApi get Get Program Files directory

And can i pass that key to the comand run so that my app could invoque other program?

And can you give an font example so that i can change the font type and color?

Thanks
by cvirus
Wed Sep 19, 2012 11:12 am
Forum: General category
Topic: WinApi get Get Program Files directory
Replies: 4
Views: 8129

WinApi get Get Program Files directory

Hello admn, i want to get the program files folder but i do not know how, i could use the fullpath in a string but i`m coding in a seven machine and when i trie in a xp machine the path isn?t the same and doesn?t work.So i search from api stuff for a solution but i do not know if it works.The functi...
by cvirus
Mon Sep 17, 2012 3:37 pm
Forum: General category
Topic: Close the form
Replies: 2
Views: 5713

Close the form

Great, thanks, i cant belive that was so easy :-[
by cvirus
Mon Sep 17, 2012 2:43 pm
Forum: General category
Topic: Close the form
Replies: 2
Views: 5713

Close the form

Hello Admin and thanks for the reply in the mp3 app.I want to close a form from a main menu but i tried in a sub the function exit and closeform but with no success.I navigate to all threads in the forum but no luck either, so? my question is: How can i close a form from a menu or button onclick? ;D...
by cvirus
Wed Sep 12, 2012 3:49 pm
Forum: General category
Topic: MP3 Player
Replies: 17
Views: 25027

MP3 Player

Hello Admin, i?m back again to the mp3 app and i have a question.

Would it be possible to get the amout of time that the file have to play?

example:

time -> 2 minutes  the duration of the music
by cvirus
Thu Aug 30, 2012 1:55 pm
Forum: examples
Topic: System Info
Replies: 2
Views: 5173

System Info

Thank you. ;)
by cvirus
Thu Aug 30, 2012 1:54 pm
Forum: General category
Topic: setFocus
Replies: 2
Views: 5333

setFocus

Thanks Admin, it works but i got to make more tests. :D
by cvirus
Mon Aug 20, 2012 4:57 pm
Forum: discbugs
Topic: Do not open notepad if notepad is already open
Replies: 6
Views: 9968

Do not open notepad if notepad is already open

[quote author=6461686C6B050 link=1343917838/4#4 date=1345475067]busy with that because you need a window handle for that and whe have a process handle.

best regards[/quote]


Sorry Admin i didn?t understood, isn`t possible at the moment?
by cvirus
Mon Aug 20, 2012 2:42 pm
Forum: discbugs
Topic: Do not open notepad if notepad is already open
Replies: 6
Views: 9968

Do not open notepad if notepad is already open

If you can do this you also can put focus on the notepad or whatever prgram you run right?
;D

this is the API, i think this is the one

declare focus as "SetFocus"  of "User32"
  hhandle as integer byadress
  result as integer
end declare