Search found 176 matches

by registrymechanic22
Tue Apr 05, 2016 9:55 pm
Forum: Coding Questions
Topic: Creating an IDE
Replies: 11
Views: 5490

Re: Creating an IDE

falsam wrote:....
Wonderful and simple example!
Thank you so much!
Best regards.
by registrymechanic22
Mon Apr 04, 2016 2:34 pm
Forum: Coding Questions
Topic: Creating an IDE
Replies: 11
Views: 5490

Re: Creating an IDE

Hi

Please show an example of how to highlight the syntax?

For example:
for, goto - green
next, add - red

I do not understand how to use this code.
Thank you!

Best regards.
by registrymechanic22
Fri Apr 01, 2016 10:51 am
Forum: Coding Questions
Topic: PdhAddCounter_() - get rid of language of system?
Replies: 11
Views: 2344

Re: PdhAddCounter_() - get rid of language of system?

fryquez wrote:The last parameter is not just a long, it's the address of a long.
infratec wrote: Hi
Thank you very much!

Best regards.
by registrymechanic22
Fri Apr 01, 2016 9:09 am
Forum: Coding Questions
Topic: PdhAddCounter_() - get rid of language of system?
Replies: 11
Views: 2344

Re: PdhAddCounter_() - get rid of language of system?

Help please, what am I doing wrong? Prototype PdhLookupPerfNameByIndex(a.s, b.l, c.s, d.l) Global PdhLookupPerfNameByIndex.PdhLookupPerfNameByIndex Global hQuery.l If OpenLibrary(88, "Pdh.dll") PdhLookupPerfNameByIndex = GetFunction(88,"PdhLookupPerfNameByIndexA") Debug PdhLookup...
by registrymechanic22
Thu Mar 31, 2016 11:31 am
Forum: Coding Questions
Topic: PdhAddCounter_() - get rid of language of system?
Replies: 11
Views: 2344

Re: PdhAddCounter_() - get rid of language of system?

They have an index and PdhLookupPerfNameByIndex should give you the localized name. Yes, thank you, already seen ... ;PdhLookupPerfIndexByName() PdhLookupPerfNameByIndex() Sorry, but I can not know how to translate description MSDN on PB :( :oops: (I can only similar, following the example.) Thanks...
by registrymechanic22
Thu Mar 31, 2016 8:00 am
Forum: Coding Questions
Topic: PdhAddCounter_() - get rid of language of system?
Replies: 11
Views: 2344

PdhAddCounter_() - get rid of language of system?

Hi all! for Windows with the English language: PdhAddCounter_ (hQuery, "\Process(_Total)\% Processor Time", 0, @Counter()\hCounter) for Windows with the Russian language: PdhAddCounter_ (hQuery, "\Процессор(_Total)\% загруженности процессора", 0, @Counter()\hCounter) for Windows ...
by registrymechanic22
Fri Mar 18, 2016 9:31 am
Forum: Coding Questions
Topic: Dns lookup without 'RunProgram("nslookup.exe", ...' ?
Replies: 5
Views: 1893

Re: Dns lookup without 'RunProgram("nslookup.exe", ...' ?

Hi, Repeat Debug IPString(*Record\A\IpAddress) *Record = *Record\pNext Until *Record = #Null Bernd Very big Thank! you are the best ! :D EnableExplicit Structure DNS_A_DATA IpAddress.l EndStructure Structure DNS_PTR_DATAA *pNameHost EndStructure Structure DNS_RECORD *pNext.DNS_RECORD; pName.s wType...
by registrymechanic22
Fri Mar 18, 2016 6:24 am
Forum: Coding Questions
Topic: Dns lookup without 'RunProgram("nslookup.exe", ...' ?
Replies: 5
Views: 1893

Dns lookup without 'RunProgram("nslookup.exe", ...' ?

Hi. Help please. nslookup in cmd.exe - several IP addresses nslookup google.com Addresses: 2a00:1450:4010:c0f::65 213.158.11.241 213.158.11.245 213.158.11.226 213.158.11.215 213.158.11.249 213.158.11.221 213.158.11.222 213.158.11.251 213.158.11.219 213.158.11.230 213.158.11.236 213.158.11.207 213.15...
by registrymechanic22
Fri Jan 22, 2016 7:11 pm
Forum: Coding Questions
Topic: how to get the code of the page with JavaScript?
Replies: 4
Views: 1940

Re: how to get the code of the page with JavaScript?

Get full HTML code: http://www.rsbasic.de/aktualisierung/winapi_library_2011/Codes/WebGadget/HTML-Quelltext%20ermitteln.pb Hello! Thank you for example but, not work :( ;Autor: freak EnableExplicit Procedure WebGadget_Document(Gadget, *IID) Protected Document = 0 Protected Browser.IWebBrowser2 Prot...
by registrymechanic22
Fri Jan 22, 2016 7:10 pm
Forum: Coding Questions
Topic: how to get the code of the page with JavaScript?
Replies: 4
Views: 1940

Re: how to get the code of the page with JavaScript?

Hello! Thank you for your interest in my question. I want to get it: http://bgp.he.net/dns/facebook.com <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang=&quo...
by registrymechanic22
Fri Jan 15, 2016 1:53 pm
Forum: Coding Questions
Topic: how to get the code of the page with JavaScript?
Replies: 4
Views: 1940

how to get the code of the page with JavaScript?

Hi This code does not show the complete code of the page (without JavaScript): parserSite.s="http://bgp.he.net" suffixSearch.s="/dns/" suffixIpinfo.s="#_ipinfo" search.s="facebook.com" queryString.s = parserSite + suffixSearch + search + suffixIpinfo Procedure...
by registrymechanic22
Tue Oct 27, 2015 2:20 pm
Forum: Coding Questions
Topic: full (get/set) permissions AND add/delete user - ?
Replies: 0
Views: 882

full (get/set) permissions AND add/delete user - ?

Hello.
Help me please.

Show an example (code :oops: ) please use:
1) get a list of users
Image
2) get permission for each user
Image

and
3) add / remove user
4) to set permissions for user

best regards.
by registrymechanic22
Fri Sep 25, 2015 1:01 pm
Forum: Coding Questions
Topic: IcmpSendEcho + unicod = not work
Replies: 4
Views: 922

Re: IcmpSendEcho + unicod = not work

infratec wrote:Found a bug:
one addition of SizeOf(ICMP_ECHO_REPLY) was to much.
Changed the listing above.
Bernd
OK
thank!
by registrymechanic22
Fri Sep 25, 2015 12:10 pm
Forum: Coding Questions
Topic: IcmpSendEcho + unicod = not work
Replies: 4
Views: 922

Re: IcmpSendEcho + unicod = not work

infratec wrote:Hi
...
Should work.
Now also with the correct close of the handle :wink:
Bernd
Hi
Very big thank you :D !!
Best regards.
by registrymechanic22
Fri Sep 25, 2015 11:17 am
Forum: Coding Questions
Topic: IcmpSendEcho + unicod = not work
Replies: 4
Views: 922

IcmpSendEcho + unicod = not work

This code: Procedure TestInetConnection() SendData$ = "Test" ReplyBuffer$ = Space(SizeOf(ICMP_ECHO_REPLY) + Len(SendData$) + SizeOf(character)) hIcmpFile = IcmpCreateFile_() dwRetVal = IcmpSendEcho_(hIcmpFile, inet_addr_("209.85.225.105"), @SendData$, Len(SendData$), #Null, @Repl...