experchange > vb.* > vb.general.discussion

Mayayana (12-06-18, 01:04 AM)
"Apd" <not> wrote

| > | It's named NTP in your table of services
| >
| > Not in mine. Maybe that's a recent change?
|
| I mean the table on your web page:
|
| Service - Host - Description
| ssdp - svchost - Service Discovery Protocol, for sharing hardware on
network
| ntp - svchost - Microsoft time check. Useless.
| ...etc.
|

Ah. Sorry. I'd forgotten all about that and didn't
recognize "NTP". Apparently I was listing communication
protocols. I don't remember why I did it that way.
It seems confusing, implying that those are the
service names. I guess I should re-look at that page.

| This has reminded me to check the time on my W2k machine.
| It was 2 minutes slow.
|
:) Mine occasionally goes off by a bit. I'm surprised.
But in a way I like having to adjust it. That's usually
the first warning when the battery starts to die: The
time goes batty.
Mayayana (12-06-18, 05:20 AM)
"John K.Eason" <john> wrote

| > > explorer.exe /root,"x:\some\path"
| > >

That works for me. And it's detailed in MSDN, at least the
98/VS6 version that I normally use. But it doesn't change
the view style and I don't see anything about that. It's
only for opening a folder window. You can pick the top
level of the treeviw if you want to restrict it, and you can
pick the selected item, but neither of those options has
much value.
Arne Saknussemm (12-06-18, 03:55 PM)
:: On Wed, 5 Dec 2018 12:13:46 -0800
:: (microsoft.public.vb.general.discussion)
:: <pu9bhu$1rlv$1>
:: RobertJ <RobertJ> wrote:

> explorer.exe /root,"x:\"


I get an explorer window with the tree pane on the left and the right
pane showing the root of the "x:" drive (on windows 10)
Arne Saknussemm (12-06-18, 04:07 PM)
:: On Wed, 5 Dec 2018 18:04:34 -0500
:: (microsoft.public.vb.general.discussion)
:: <pu9lk1$nnr$1>
:: "Mayayana" <mayayana> wrote:

> Ah. Sorry. I'd forgotten all about that and didn't
> recognize "NTP". Apparently I was listing communication
> protocols. I don't remember why I did it that way.
> It seems confusing, implying that those are the
> service names. I guess I should re-look at that page.


The w32time service (and w32tm tool) are the NTP (Network Time
Protocol) client components, they allow to keep a given windows
computer synced to either an external, reliable, time source or to the
domain time source (in case the computer is joined to a domain); this
service, which may seem secondary is, very important; and the very same
type of service is also implemented on other OS platforms; this because
time sync is important for a wide number of purposes, ranging from SSL
checks, to Windows domain authentication and then some more.

As for the "call out", the service will just need to be able to
contact, on port 123/UDP the configured time source, so I don't see it
as a "security issue"; sure, there may be some malware trying to use
the same port to contact its C&C, but then, having some malware running
on the box means that you've bigger issues that the NTP service :)
MikeD (12-07-18, 11:54 PM)
On 12/04/2018 4:42 PM, RobertJ wrote:
> Is there a way to open Windows Explorer from VB6 such as:
> Views = Details
> Col Sort = Date


On 12/05/2018 3:15 PM, RobertJ wrote:
> I was hoping to use a native Explorer.
> I will take a peek at your offerings.


John, are you still looking for a solution to this? If so, I have
something that may suit your needs.

Many years ago (about 2007), I started writing a control in VB for a
File Explorer-like UI (I named it DriveExplorer). I haven't done
anything with it since 2009 but your post caused me to take a look at it
again. Still works in Win10. :) It's not 100% complete and I'm sure
there are bugs in it. It's probably not something I will ever use myself
now since I do very, very little with VB6 anymore. So I don't mind
"releasing it to the wild".

It will do the 2 things you say you want. In fact, it's ONLY got a
Detail view and you can programmatically specify a column to sort by.

Obviously, it doesn't have ALL the functionality that File Explorer (or
Windows Explorer or just Explorer if you prefer either of those terms).
But it does have some very nice features if I do say so myself. For one,
it uses Windows' SystemImageList for all icons so it's going to display
the proper icons for the version of Windows it's used under.
Unfortunately, this can impact performance so displaying file icons is
optional. It also fully supports the use of a manifest file for enabling
of visual styles, which in particular make the Treeview and Listview
look and behave a lot better.

I do know one bug is that it won't display the correct file size of any
file over ~2GB. That's due to VB6's Long data type but I'm sure someone
has come up with a solution to that. An incomplete feature is receiving
shell notifications for when something within the file system changes.
It'll receive the notification, but I've written nothing as yet for it
to actually do anything. I think that was one of the last things I was
working on in 2009 and just never finished this functionality.

It DOES use subclassing for a few things (primarily for receiving the
shell notifications and sorting of listview columns to correctly sort by
file size and dates, IOW, it doesn't sort these as if they were
strings). For testing and debugging purposes, I use a subclassing
control. However, it does contain the code to utilize "native"
subclassing as well. There are just a few lines of code to either
comment or uncomment. For anyone that's ever done subclassing, you'll
understand why there's a control to use for debugging purposes.

Unfortunately, I don't have the means to host or upload it to anything
other than my OneDrive, and I'm not exactly comfortable posting a link
in a newsgroup post for that.

Mike

Similar Threads