Search:
Type: Posts; User: Peter Swinkels
Search:
Search took 0.04 seconds.
-
I think I found the issue:
It looks like the original code's author just guessed at how much data would be read from the source file. fread doesn't thrown an error when reading beyond a file's end.
-
@Niya: thank you for your effort, unfortunately your code doesn't work either.
-
@OptionBase1 and @Niya:
No, using UShort instead of Integer doesn't help.
-
@optionbase1: yes I did and I mentioned as much in my op.
-
@niya: thank you for replying. I tried adjusting the array sizes to match the C++ code, but that didn't help.
-
I found this C++ code meant to decompress LZSS compressed data:
void decompressData(FILE* fIn, FILE* fOut, int uncompressedLen) {
uint8_t dictionary[0x1000] = {0};
int dictPos = 0;
uint8_t...
-
-
Said he who forgot it's "won't" and not "wont". LOL
-
@_cerberus_: GoTo was already discouraged when vb6 came out. I learned to avoid it even as far back as Quick Basic. I suggest you browse the keyword listing for vb over at the MSDN, at:...
-
It looks the site is working properly again. For me at least.
-
@dday9: the title for this thread isn't very clear either. It could be more descriptive.
-
"scancount = scancount + 1" can be shortened to "scancount += 1". Also consider using the .ToString() method instead of the CStr function.
-
After glancing at your code, I see it looks pretty clean, however you used a GoTo statement where it looks like an If/EndIf block could be used. I strongly recommend using modern structured...
-
He has been learning for 2.5 years. Some kind of course.
-
The site still lags. Occassionally I get errors about "invalid private messages" when clearing my pms.
-
I have noticed some forum areas work fine while others don't. Very unpredictable. Also I have been getting pms while being unable to open them. (someone else can read and reply though). Could it be...
-
Having been having all the afore mentioned issues. This is getting annoying.
-
He does claim to be Turkish, a language barrier does sound plausible. He also says his english is very good... But then again a learning disability or a troll or a child could also be the case.
-
Lütfen kodunuzu bu forumda yayınlayın.
-
What? My message got through? Good thing I didn't accidentally double post.
-
@Peter Porter:
That could be but it might as well be a language barrier. Or both.
One thing I have learned over the course of many hours online is that you only have someone's posts and profile...
-
1. Would it be more than a few bytes? Still you could explicitly declare a type just to be thorough. I believe vb defaults to Integer.
2. Yeah, I know. It's not always easy to stay up to date and to...
-
You're welcome. Your code looks better than a lot of code I come across.
I have two more suggestions:
1. Enumerations support a data type declaration. ("Enum ... As ...")
2. Some parts of your...
-
Nothing I posted directly relates to your question. My tips apply to anything written in vb.
Perhaps you should check this tutorial:
https://www.w3schools.com/js/js_json_intro.asp
-
A few things I noticed:
1. There's is no need to give every item in an enumeration a number. Just set the first item to "1" and the rest will be handled automatically.
2. Look up on string...
-
Just a quick tip: there's no need to test for " = True"
"If ListBox1.Selected(x) Then" will do.
-
@acturus999:
While this doens't answer your question, here are a few tips:
1. Use code tags (the "#" button above the message you're about to post) to enclose your code.
2. Another way to write...
-
Perhaps you could describe what you're linking to?
-
@bear89: you're welcome! And I see you put code tags in your posts. :-)
I am afraid I don't understand your last question. Sorry.
-
Some tips:
1. You could initialize strings to "Nothing" instead of an empty string.
2. The "Output" variable should be declared as "StringBuilder" (System.Text).
Link:...
-
@dilettante: I remember that.
-
While I can't answer your question I have some tips:
1. Your code depends on several external components. It would make helping you easier if you told us where to find these.
2. Personally I prefer...
-
Here are a few somewhat random recommendations:
-Anyone who is interested in futurism should give Isaac Arthur on YouTube a try.
-Better Call Saul is a surprisingly good Breaking Bad spin-off....
-
@anndm:
I do not understand your question.
-
It's not a single module, try looking at https://github.com/PeterSwinkels/Edge-Finder - feel free to submit issues at github btw.
-
@peterst:
I managed to implement the Newtonsoft.Json serializer into a project of mine: https://github.com/PeterSwinkels/Edge-Finder/blob/main/Edge%20Finder/Core.vb - The program is a little...
-
Are you trying to develop your own programming language for people to learn programming? It's hard to tell with that spelling. And why is this in the vb forum?
-
I am glad you understand. I am afraid your question is about something I can't readily help you with. Sorry.
-
My apologies, I am sometimes a little too direct, but unfortunately there are a lot of posters who ask equally short questions leaving others guessing at the details.
I have no idea what vhgrid is...
-
Where did you get those resources? And what are bolded threads?
|
Click Here to Expand Forum to Full Width
|