Search:
Type: Posts; User: PlausiblyDamp
Search:
Search took 0.02 seconds.
-
Is that a public property or just a public variable (field?) instead?
Doesn't a property have a specific property definition? If so can they not be declared Friend?
-
So why not show the line with the actual error instead of an unrelated line?
-
So when you say it doesn't work, what actually happens? Does it throw an exception? Does a number get updated incorrectly? The database gets deleted? The more information you give the easier it is to...
-
If the method I asked about exists then I can give you an example, but you didn't say if it did or didn't exist.
-
IIRC Selenium doesn't allow multiple classnames to be used in a single .FindElementByClass - is there a FindElementByCssSelector method?
-
Multicast on IPv4 is required to use a specific range of addresses https://en.wikipedia.org/wiki/Multicast_address, this is not the same as the "normal" ip address associated with a NIC.
...
-
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getdevicecaps
They are documented as returning the size of the physical screen. You could possible use GetClientRect assuming...
-
IIRC it was there in Windows 7,hardly a new thing.
-
Perhaps I tend to be a bit obsessive about these things... I know that no code is likely to be perfect, we all make unintentional mistakes; but I could never just ignore code with blatant mistakes...
-
You have a strange definition of "works" then. I dread to think how many subtle (or not subtle) bugs are lurking in that code.
-
It is the binary one's compliment operator
-
Does that really work as intended? You have still left a lot of the issues in there that were previously pointed out to you...
just a few, I have added comments to the code itself
Option...
-
Out of interest could you post your solution? I am intrigued to see how a single iteration loop would work when no loop at all wouldn't.
-
Just as an aside, what you are doing isn't really "cleaning up" the file names, it is potentially changing the meaning.
Is there a reason the non-English characters need to be removed?
-
And if they were to move why suggest moving to a 12 year old version?
-
-
That isn't what your code does though, at no point do you exit the loop and the goto achieves nothing! Why do you think it will exit the loop?
I don't think the DoEvents command does what you...
-
Why are you just setting m_Marker to itself and not returning anything from a property get? Why is the property a string but m_Marker a Byte? This makes no sense at all.
So if m_Marker is a Byte...
-
Still not sure why you are trying to do this, why not just use a database to store the data as fields in a table. This has already been suggested and is a much more conventional approach.
-
Why are you using a database if you aren't going to store data in rows and columns? In the vast majority of cases it would make more sense to store the individual fields of the UDT as columns in a...
-
But the VB6 error messages are not something that should ever be seen by an end user. That is why you have error handlers - catch the error, log it (or whatever), and fail gracefully.
Bad code...
-
Which still gives us absolutely no idea what on earth WriteInteger is, what parameters it takes, and what the actual error is.
-
One potential issue is that an Exception can carry a lot more information than just an error number, any exception would need to map to an error number (or the code that throws the exception would...
-
Sample code about what though? We have no idea what your code is trying to do or even what the function "WriteInteger" does and what parameters it takes. You need to give more information if you want...
-
It could indicate either the app itself is corrupt or the framework installation is corrupt. Have you checked to see if the PC has a Virus or other form of malware? Might be worth reinstalling the...
-
It is a straight cut and paste from the code window behind the running app. In fact VS is showing the xmlns:local namespace as being unused as well.
-
In fact the entire XAML for this would be
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
...
-
Depending on the situation though sometime you do need to rely on error handling, checking up front isn't always reliable. As an example you could check if a file exists before you try to open it,...
-
How is WriteInteger declared?
-
Have you added any needed references / nuget packages? If so you might need to Import the relevant namespaces.
-
I find that absolutely terrifying, the thought that anyone can just go and buy a gun without checks or training seems like madness.
-
Never going to happen though, any attempt to put checks in place just seem to be be blocked. The gun lobbies seem to hold too much power and the profits made by the weapons companies carries a lot of...
-
Your class is still declared as
Public Class serviceGPR
Public Property service As String
End Class
Yet the property is defines as
-
IIRC the class names need to match up with the JSON, so "serviceGPR" should be "service", although you could also use https://www.newtonsoft.com/json/help/html/SerializationAttributes.htm to override...
-
https://www.vbforums.com/showthread.php?738845-VB6-JsonBag-Another-JSON-Parser-Generator is the first one I found, I don't use VB6 these days so I might not be much use beyond that link :)
-
The file contents look like JSON, so you are probably better treating it as such rather than trying to parse it out manually. If you look in the codebank forum on here I am sure there are one or two...
-
https://visualstudio.microsoft.com/vs/compare/ gives a pretty decent comparison of the various versions.
-
That still makes no sense.
You would need to write code to open the file, read the contents into an appropriate data structure, and then use this data structure to base your drawing code on.
I...
-
Well don't do that. You should write code to read and parse the obj file, not attempt to include the contents directly.
-
What are you pasting into VS? Are you trying to paste the contents of an obj file into a code file?
|
Click Here to Expand Forum to Full Width
|