Search found 74 matches

by boyoss
Wed Jan 11, 2017 2:18 pm
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 141
Views: 95037

Re: Services, Stuff, and Shellhook

i'm sorry i didn't understand
you mean you have a function NetStop(service.s)?
i don't see it??
by boyoss
Wed Jan 11, 2017 1:42 am
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 141
Views: 95037

Re: Services, Stuff, and Shellhook

Yes, i need help to run the net command ftom purebasic.
Thank you very much
by boyoss
Tue Jan 10, 2017 10:34 pm
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 141
Views: 95037

Re: Services, Stuff, and Shellhook

Thank you very much it's wonderfull!!

i'm using a batch script for starting and stopping services:

Code: Select all

stop
sc config dhcp start= disabled
net stop dhcp /y
start
sc config dhcp start= auto
net start dhcp /y
it seems your code is only doing the first line, sc, how can i do also the second line, net?
by boyoss
Tue Jan 10, 2017 8:23 am
Forum: Coding Questions
Topic: Execute a service command
Replies: 3
Views: 1147

Execute a service command

Hello
I want to do a change on services, like "sc config", but directly from my program, and not via bat file.
Is it possible? Is there a api windows that doing this?

Thank you very much.
by boyoss
Tue Nov 29, 2016 9:17 pm
Forum: Coding Questions
Topic: unique id of computer
Replies: 1
Views: 1092

unique id of computer

hello
i'm building a software with registration, and need a unique id of the computer, from what i can generate a code and ask my client to register

maybe someone did it already, and can share me his code?

thanks
by boyoss
Mon Apr 04, 2016 10:59 am
Forum: Coding Questions
Topic: what's the running antivirus on the computer
Replies: 4
Views: 842

what's the running antivirus on the computer

Is there an option to get the current antivirus running on the computer?
in the software speecy it's displayed, so i'm triying to find out how to do it in purebasic.

thanks
by boyoss
Thu Feb 11, 2016 4:04 pm
Forum: Coding Questions
Topic: hide network icon from systray
Replies: 4
Views: 978

Re: hide network icon from systray

i wrote this code (using a "writeRegister" function), but i have 3 problems. 1. the key is Not correct, i open it in the registery and its wrong. 2. i have 64 bit windows and it seems it's not the same key but i'm Not sure 3. i don't know how to restart the explorer to apply the change. i ...
by boyoss
Wed Feb 10, 2016 8:25 pm
Forum: Coding Questions
Topic: hide network icon from systray
Replies: 4
Views: 978

Re: hide network icon from systray

thanks
by boyoss
Wed Feb 10, 2016 6:04 pm
Forum: Coding Questions
Topic: hide network icon from systray
Replies: 4
Views: 978

hide network icon from systray

is it possible to hide the network icon from the system by using registery?
i found how to hide all icons (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer) but not only one

thanks
by boyoss
Mon Feb 08, 2016 3:45 pm
Forum: Coding Questions
Topic: encrypt sqlite
Replies: 10
Views: 2529

Re: encrypt sqlite

much thanks
by boyoss
Sun Feb 07, 2016 6:24 pm
Forum: Coding Questions
Topic: encrypt sqlite
Replies: 10
Views: 2529

Re: encrypt sqlite

thanks
maybe there is another solution, i don't want anybody can open my db, and i also don't want to use a server...
:?: :?: :?:
by boyoss
Sun Feb 07, 2016 5:20 pm
Forum: Coding Questions
Topic: encrypt sqlite
Replies: 10
Views: 2529

encrypt sqlite

hello
is it possible to encrypt a database sqlite, and to connect to it with

Code: Select all

OpenDatabase(0, "db.sqlite", "name", "pass")
by boyoss
Fri Feb 05, 2016 10:36 am
Forum: Coding Questions
Topic: miror image
Replies: 2
Views: 809

Re: miror image

big thanks
by boyoss
Fri Feb 05, 2016 10:13 am
Forum: Coding Questions
Topic: miror image
Replies: 2
Views: 809

miror image

hello
i need a small piece of code of a function to miror an image.
i'm loading an image withe loadimage, and i want to display it in my window but mirored.
can someone help me?

thank you very much