Search:
Type: Posts; User: Inferrd
Search:
Search took 0.04 seconds.
-
There's a few things wrong that I can see:
There's an error in the HashString Function in Post #1. It should be using a HMACSHA256 algorithm, not HMACSHA1.
Your TotalParam query string has...
-
(looking at the Cursors Class source code) it appears the hand cursor and half a dozen other cursors are not mapped to the system cursors. They are hard coded as resources in the...
-
Yes. If I select the 4th row and click the button 4 times, then I see the following message box messages (2 messages per click):
5, 3
6, 4
7, 5
8, 6
-
It works perfectly for me when using a button to do the moving. Here's the code I'm using, which is your code from post#3 with the last two lines altered to use the + 1.
Private Sub...
-
You make a copy of the row at index currow. You insert this row at index currow+2, so the new current row is at currow+2.
You then delete the original row at index currow. This moves all the...
-
If you want to store and retrieve a chunk of data based on a keyword, then a Dictionary is a good choice. You had one set up in Post #12.
However, to retrieve values you do not iterate through...
-
Do you realise that it's your code that is adding the arrow?
m_SortingColumn = new_sorting_column
If sort_order = SortOrder.Ascending Then
m_SortingColumn.Text = ChrW(&H25B2) & " " &...
-
Never done this before. Don't understand JavaScript. May not be (probably isn't) the best approach. No idea what errors could be raised (eg: what if the element does not exist?). But it seems to work...
-
Too many versions!! ;-)
I normally create projects from a template I made years ago and haven't updated in a while. It still targets 4.5.2, so I got the same errors as db. Tbh, I didn't even know...
-
.NET Framework 4.7.1 or later. Or any of the .NET Cores/.NETs.
-
You probably want to start by rewriting your code library so it can properly handle 64 bit processes and their use of a 47 bit address space.
-
Looks like your memory addresses are 8 Byte, not 4 Byte.
In your first image you have 1C6B64B7050 + A4 = 1C6B64B70F4
and in your last image where you have 'Type' set to '4 Bytes', you have...
-
Not sure what you're doing - the attachment isn't showing.
Do you have the TreeView.CheckBoxes property set to True or False?
If it is set to True and you also have a TreeView.StateImageList...
-
You would use the same code that performs the node unchecking, except you would call it from a Button.Click event handler rather than from the TreeView.AfterCheck event handler.
-
How have you created the ar array?
Given that you have created the ars array like this:
Dim ars(arraylength, 5) As Object to hold data from rows of 5 columns, I'd guess that you have used the...
-
Ah. I see how what I wrote is confusing. I meant that the package available via Nuget is System.IO.Ports.
My mention of .NET Platform Extensions 5.0 was in reference to what currently appears in...
-
In the .NET Framework, the SerialPort Class is part of the System.dll assembly which is referenced by default.
The OP's project is using some flavour of .NET Core/.NET 5 and it's those versions of...
-
No, the Listview doesn't support images in any column other than the first column (details view). However, if you were in a masochistic mood you could set the ListView.OwnerDraw Property to True and...
-
It looks like you need the Axis.MajorUnit property.
So building on ChrisE's code above, you could use something like:
Dim ax = DirectCast(chartPage.Axes(XlAxisType.xlValue), Excel.Axis)...
-
You repeatedly add the MyPath object to the YearsList list without ever creating a new MyPath object. So you are storing the same object every time through the loop, so every item in the list will be...
-
Try
Dim hOOters As New RaptorDB.Hoot(SearchFolder, "documents", True)
-
If you have a number of objects you need to loop over you would add them to some sort collection object. You can then access each item from the collection in turn using a For Each loop, or by index...
-
After a little more thought, I remembered there's an overload of the StreamReader constructor that accepts a buffer size, and sure enough, specifying a larger buffer size allows more characters to be...
-
Sorry for the delay in replying. Just back from mandatory cultural sensitivity training :p
According to the documentation for the Console.ReadLine Method, there's a 256 character limit to the size...
-
Yeah, several of the single byte encodings have the '∞' character, but many don't.
The 'en-US' culture defaults to Encoding IBM437 for the console, and that has a mapping for '∞'. However 'en-GB'...
-
Looks like an issue with the text Encoding. '8' is typically the fallback character used by encodings that don't support the '∞' character, but do support fallback.
Try setting the...
-
Please bear in mind what jmc said here:
Regarding your original question: jmc has overlooked the fact that the Controls.Find method returns an array of the controls that match the name you...
-
You are getting the wrong CRC value because you have a typo in this block of code:
frame(3) = CByte(&H14)
frame(4) = CByte(COBID1 Mod 100)
frame(5) = CByte(COBID1 \ 100)
frame(6) = 0
frame(7) =...
-
Nice. My cat died 2 years ago and I still miss her deeply, so I thank you :)
-
Glad it worked for you. I'm happy to help when I'm able to, just as others have helped me. Always been an advocate for "Pay it Forward" :thumb:
-
The problem lies in the overridden Attach method.
As it stands, it returns True if text is about to be rendered using the Calibri Font, and False for all other circumstances.
Returning True...
-
I've tested it and it does work. If it's returning Nothing, then the path you are looking for doesn't exist in the node collection. You're using .Equals(filename) in your code. Make sure you are...
-
Try something like:
Dim lastChangeTime As Date? = nodes.FirstOrDefault(Function(n) n.FullName.Equals(mypath))?.LastChangeTime
Note the 2 question marks. lastChangeTime is a Nullable Date, and...
-
Sounds like you've got it sussed :thumb:
-
Looks good, even with the evil this forum does to images (resizes them to max 600px wide).
You must be recursing through all the folders on the drive to get the sizes? Is that what takes the time?
-
Do you mean that you are fetching the dirs and files lists for many search paths? If so how many?
I notice that the Path.Combine approach does not scale well. For 100 search paths, I'm seeing...
-
Yeah, it will be slower as that method is called for every node in the list, whereas adding the \ to the end of the search path is only done the one time. That said, I wouldn't have expected an extra...
-
Yeah, I was a bit puzzled there. :)
With a little refactoring, you can use the Path.Combine Method from the Path Class to build your paths and sort that out for you automatically inside the LINQ:...
-
Aye, you can't beat a good forum ;)
-
OK. Thanks for the links. Will check them out later.
You're actually using the OrderBy in your GetFileNodes method to order the IEnumerable(Of INode) returned by the NtfsReader:...
|
Click Here to Expand Forum to Full Width
|