topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday January 16, 2021, 7:01 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KodeZwerg [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 21next
1
Reduced prices.
Where ?
In our country the taxes are reduced from 19% down to 16% for most things. (Tobacco and alcohol not I think)

2
Interaction with others on a more sensitive manner. (not virtual, real talkings)
Reduced prices.

3
General Software Discussion / Re: Manage the display in the laptop
« on: October 20, 2020, 03:31 AM »
If needed, I could program a Screen-Off-Overrider.
In past I already successful did the counterpart for my own Movie-Player, Screen/Drives/Everything (3 different options from windows) stay endless On however energy is configured.
It would react on mouse/keyboard input and how long to wait after last mouse/key-event...

Problem would be, if another program do the same backwards....  :huh:

4
Post New Requests Here / Re: Show IP Address from domain name
« on: October 20, 2020, 03:25 AM »
Cool @vic, i just saw first preview image where ip was missing (reason of this topic) thats why i posted code.
Since it changed now I do not interfere with my own resolver-project anymore (works for IPv4/IPv6/DNStoIP/IPtoDNS)  :Thmbsup:

5
Post New Requests Here / Re: Show IP Address from domain name
« on: October 19, 2020, 03:38 AM »
i do not have delphi at hand, so here is code that does what you want, convert domain-name (example: google.com) into ip-adress.
unicode, ip4 & ip6 supported
uses
  Winapi.Winsock2;

type
  PAddrInfo = ^TAddrInfo;
  TAddrInfo = packed record
    ai_flags: integer;
    ai_family: integer;
    ai_socktype: integer;
    ai_protocol: integer;
    ai_addrlen: NativeInt;
    ai_canonname: PCHAR;
    ai_addr: PSOCKADDR;
    ai_next: PAddrInfo;
  end;

function GetAddrInfo(const nodeName: PCHAR; const serviceName : PChar; const hints: PAddrInfo; var result: PAddrInfo): integer; stdcall; external 'ws2_32.dll' name 'GetAddrInfoW';
procedure FreeAddrInfo(const addrInfo: PAddrInfo); stdcall; external 'ws2_32.dll' name 'FreeAddrInfoW';

function ResolveIpAddress(const hostName: string; const ipv6: boolean): string;
const
  BUFFER_SIZE = 32768;
var
  data: TWSAData;
  error: integer;
  requestError: integer;
  r: PAddrInfo;
  s: string;
  hints: TAddrInfo;
  buffer: TArray<byte>;
  length: DWORD;
begin
  error:= WSAStartup(MAKEWORD(2, 2), data);
  try
    if (error = 0)  then
    begin
      r:= nil;
      try
        ZeroMemory(@hints, sizeof(TAddrInfo));
        if (ipv6) then
          hints.ai_family:= AF_INET6
        else
          hints.ai_family:= AF_INET;

        requestError:= GetAddrInfo(PCHAR(hostName), nil, @hints, r);
        if (requestError = 0) then
        begin
          length:= BUFFER_SIZE;
          SetLength(buffer, BUFFER_SIZE);
          if (WSAAddressToString(r.ai_addr^, r.ai_addrlen, nil, @buffer[0], length) = 0) then
          begin
            setLength(buffer, length * 2);
            s:= TUnicodeEncoding.Unicode.GetString(@buffer[0]);
            exit(s);
          end
          else
            exit('0.0.0.0');
        end
        else
          exit('0.0.0.0');

      finally
        FreeAddrInfo(r);
      end;
    end
  finally
    if (error = 0) then
      WSACleanup();
  end;
end;

if 0.0.0.0 is returned, there was an error

6
Post New Requests Here / Re: Show IP Address from domain name
« on: October 16, 2020, 02:08 AM »
Or by browser using any domain property listers like https://intodns.com/

7
Post New Requests Here / Re: IDEA: HardDrive-BUS-O-Meter
« on: September 29, 2020, 07:45 AM »
I do appreciate your Link, but I am kinda too dumb to make any effort from it.

DiskMon, ProcMon and similar tools I already tested, they do same thing that my try-to-code version does.
They tell me how much traffic at the moment is done. (or what causes that traffic)

What I wanted to have is:

1. (Mainboard-BUS has limitations) read-out how high that limitation is
2. visualize how much BUS-load is currently used (all traffic together, not a single process/connected device)
3. nothing more

If it is still unclear, please ask where I should give more informations!

9
updated version is working great, finally an icon  :Thmbsup:

my approach would be minimal different. i'd apply icon as applications "MainIcon" and use that also for notify.
(not urgently needed, but looks better than windows standard icon for applications)

Thank you für Updating Windows version!

10
I'm looking for recommendations on good resources for learning how to use WPF to make GUI applications. Free is preferred. And I think I'd prefer the information in written/image format (e.g., a book or website) rather than video format.

Since it comes from Microsoft I would recommend to start there   :D
Introduction to WPF from Microsoft Docs.
Hope it help you.

11
Post New Requests Here / IDEA: HardDrive-BUS-O-Meter
« on: September 28, 2020, 03:36 AM »
Hi there,

it would be nice to have some kind of notify icon that tells me how much capacity is currently used over Mainboard BUS for HardDrives to answer "Why does Windows hang/load slowly/etc".

My tries to code such lead to no satisfaction. I am able to visualize current Transfer speeds (besides WindowsCache) but I have no clue how to deal with Mainboard BUS...

It would be cool to have some percentage Display as a Notify Icon or with Graphic pretty similar to TaskManagers CPU-load Icon. (Or both ^^)


Target OS: Windows 10 x64

12
The notify icon should be in icon format (.ico), at least 16x16 pixel.
Official Microsoft Help for that subject with Code example can be found here.
Just skip the ".net" stuff, basics are the same.

How to do in GO x64 = no idea.

How to do in Delphi = here  :-*
(Delphi accept .png or other image formats native and convert to .ico internal)

And yes, CrossPlatform development can be very time consuming.
Thats why I just create WinApi applications. (easy to do and easy to care)


Have a great Weekend,

regards!

13
How’s this?

It works! (just missing notify icon, but atleast i can run it on my workstation, thanks!)

14
It would be nice if you embed it into your .exe. (no modifications needed, just be sure you save it correct encoded, utf-8)
And if able, please include any icon for the notify area, however it look. anything is better than a complete transparent "thing"  :Thmbsup:

15
How could I do that?  :-\
Microsoft offers help to every Microsoft feature. Here you find official instructions.
Here you find examples for Delphi and C++.
(i know that you do not use any of these, GO x64 is your language)

Now follows an example that used things I mentioned (Windows compatiblity and AsInvoker switches, also your XP look is included)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
  <asmv3:application>
    <asmv3:windowsSettings>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
      <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
    </asmv3:windowsSettings>
  </asmv3:application>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity
        type="win32"
        name="Microsoft.Windows.Common-Controls"
        version="6.0.0.0"
        publicKeyToken="6595b64144ccf1df"
        language="*"
        processorArchitecture="*"/>
    </dependentAssembly>
  </dependency>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel
          level="asInvoker"
          uiAccess="false"
        />
      </requestedPrivileges>
    </security>
  </trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
   <application>
      <!--The ID below indicates app support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates app support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <!--The ID below indicates app support for Windows 8 -->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
      <!--The ID below indicates app support for Windows 8.1 -->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <!--The ID below indicates app support for Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>       
   </application>
</compatibility>
</assembly>

16
Does it work for you? If so, I might embed it.

(I wonder why my Windows 10 has not complained then.)

Yesterdays research result:
I was not able to add/modify resource section of the .exe since it has none.
On my home pc all works fine!
My workstations Windows Defender is configured/fixed/static/unchangable to block "strange" files.

Testing as external manifest file isnt able aswell since I cannot modify system-registry.
If someone is interested, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide  needs a sub-key PreferExternalManifest with DWORD value of 1.
Afterwards you can do things like "clipurlcleaner.exe.manifest" with content that Tuxman showed to have at least Windows XP look activated what is kinda pointless in that application.
I would suggest to add to that manifest Windows compatiblity and Access-Level "as Invoker".

Best wishes!

17
I do not have things that I need on this sytem to check.
Does your .exe file has a windows manifest integrated? <- that would be my first step
When I am at home I do examine your .exe more deeply, maby patch & upload it so you might be able to reproduce.

Tell a User to disable Windows built-in Software can't be a solution.

18
How do I "fix" Windows Defender would be my next question... this is the first application where such thing happened.

19
Trying to start the Windows Version does open my WebBrowser with this content.

I do not know exactly what causes that...
Single file scan with Window Defender say: nothing bad found.

For now I am unable to run it.

20
Hi Vic, I just wanted to inform you that
New releases: www.PublicDomainDaily.com
link lead to:
403 - Forbidden
You don't have permission to access this resource.

Apache/2.4.29 (Ubuntu) Server at publicdomaindaily.com Port 443

21
Skwire Empire / Re: Release: sWeather (tray-based weather app)
« on: September 23, 2020, 07:59 AM »
I've just tested this beauty, Europe/Germany/Berlin, works perfect with Yahoo Data.

22
General Software Discussion / Re: JSON Editor with Treeview needed
« on: September 23, 2020, 01:55 AM »
Test-Results for MassJsonEditor:
It needs ages to load my file, for about 1.5mb continued data [1 block/node] I have to wait over 10 minutes.
Okay, after it loaded my data, I can't Edit because it say "Json Error" as a red line.
In other Json Tools I can load without errors.
Maby not Unicode compatible? Or memory problems for bigger files?
Anyway, when it works, it do good! (I've tried with much smaller files too)
But for my current need I have to skip this piece.

VSC I wanted to avoid because it's online dependency while installing needed plugins.

23
General Software Discussion / Re: JSON Editor with Treeview needed
« on: September 22, 2020, 07:47 AM »
Exactly like yours! Thanks for that piece, didnt know that it exists.... sorry me

24
General Software Discussion / JSON Editor with Treeview needed
« on: September 22, 2020, 04:10 AM »
Good day fellas!

I am in need for a qualified JSON Viewer and Editor that offers a Treeview.

On my research I did found UltraEdit, Visual Studio Code with Plugin, Notepad++ with Plugin, JSON Viewer from Mitec.
All of those looking good, but I did not tested any of them yet.

Thats why I started this topic to learn from your experience for/with such fileformat.

My main aspect is to have a functional Treeview where I simply can doubleclick to open Edit (doesnt have to be exactly like I wrote, but in a manner like that)


Please share your wisdom with me!
Screenshots that demonstrate Treeview/Edit for your suggestion are very welcome to ease decission.


@moderator: Sorry if I posted in wrong sub-forum. Feel free to move!

25
N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: SendKeys32 by KodeZwerg
« on: September 22, 2020, 01:54 AM »
Recently i have a broken tooth and have to wait.

I do work on my Keyboard by using fingers not teeth... sorry to hear that, anyway, good luck @dentist!

Pages: [1] 2 3 4 5 6 ... 21next