Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    18
    Views
    533

    Re: code conversion from vb.net to vb6.0

    In that case you would have probably used the built in XMLSerialization support, that would use the existing class and property names to generate the XML. I have very rarely ever used the XMLWriter...
  2. Replies
    18
    Views
    533

    Re: code conversion from vb.net to vb6.0

    Not sure how much free time I will have this week but if you could upload the file I will try to find time to attempt it.
  3. Replies
    18
    Views
    533

    Re: code conversion from vb.net to vb6.0

    Or actual VB.Net code, complete with intellisense while typing the XML in the IDE...


    Dim doc = <Continent>
    <Europe Country="UK"/>
    <Asia...
  4. Replies
    11
    Views
    387

    Re: Default properties for forms.

    https://docs.microsoft.com/en-us/visualstudio/ide/how-to-create-item-templates?view=vs-2022 might worth a read, it gives you a way of creating your own template items. That way you could have your...
  5. Replies
    2
    Views
    130

    Re: How to resize the mouse pointer

    Out of interest why do you need to do this? Are you wanting to do this for Windows entirely or just your own application?
  6. Re: Has anyone ever cloned an HHD to a SSD?

    I have done it a couple of times without any problems, some SSD drives even come with software to clone disks, if not then Clonezilla is a pretty decent free tool. If you are cloning a disk to a new...
  7. Re: Is somebody backing up the MSDN reference documentation?

    If you are using visual studio it is included as part of the installer https://docs.microsoft.com/en-us/visualstudio/help-viewer/overview?view=vs-2022 shows how to install the help viewer, once it is...
  8. Replies
    3,749
    Views
    365,763

    Re: Corona virus, China major city lockdowns, etc.

    The problem with the UK Brexit referendum was that it was run as a non-binding referendum and then the result was written into law anyway. If it had been run as a binding referendum the result...
  9. VS 2010 Re: Function does not return value in all code paths error

    Could you post the function in question?

    It doesn't always have to be an If statement that causes this, any time there is more than one possible way to exit a function (other than throwing an...
  10. Re: VB6 vs .Net......Ending the debate once and for all.

    If you were a hobbyist and already had experience with vb6 I could understand a reluctance to learn dotnet, although if you were just getting into programming as a hobby the fact that dotnet is free,...
  11. Replies
    5
    Views
    260

    Re: geolocation question

    Never done that either, realistically the only way to ensure this works properly is to host it on a valid https connection. What are you using for the web server?
  12. Replies
    5
    Views
    260

    Re: geolocation question

    https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API
  13. Replies
    5
    Views
    260

    Re: geolocation question

    Which browser are you using? Some browsers will not support geolocation over an http connection, they require https for security reasons.
  14. Re: Errors with Imports, .Net 2019 (Just getting started)

    Have you also added a reference to the System.Data.SqlClient libraries?
  15. Replies
    3,749
    Views
    365,763

    Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    If you can't even have the decency to refer to a virus that has killed millions and left millions more with long term health issues by the correct name then I am going to disregard your opinions on...
  16. Replies
    3,749
    Views
    365,763

    Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    The virus that causes Covid is actually SARS-CoV-2 and is definitely a SARS virus, like bird flu etc. What we typically call flu however is not a SARS virus and is completely unrelated, apart from...
  17. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    One reason it is better.... https://devblogs.microsoft.com/visualstudio/visual-studio-2022-now-available/ a new version is available :D
  18. Replies
    3,749
    Views
    365,763

    Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Just a friendly reminder, Covid is not another type of flu - it is completely different. I know you love to spread this kind of misinformation but it simply isn't true.
  19. Re: Just to be sure, get remote IP address

    Dns.GetHostName will return whatever IPAddresses are assigned to the local machine, these addresses are normally local to the network and not directly reachable over the internet. Your code will...
  20. Replies
    5
    Views
    587

    Re: Find string in string[]

    If you are dealing with small amounts of data then it probably doesn't matter. If you have large amounts of data then it is possibly worth trying the different approaches and benchmarking them to see...
  21. Replies
    99
    Views
    2,871

    Re: Windows 11 is available to some now

    Windows 11 and WSL is pretty good, Windows as your desktop but you can run Linux apps as well. Just open a terminal session and you have your Ubuntu box. Explorer can drag and drop between Windows...
  22. Replies
    64
    Views
    2,385

    Re: Can anyone write an array module?

    That might be true if productivity was only about writing code. Maintaining and fixing old code can be a substantial amount of time, Linq can make code a lot more readable compared to loops as it...
  23. Replies
    64
    Views
    2,385

    Re: Can anyone write an array module?

    In which case use the correct tool for the job...


    Dim sw As New Stopwatch
    Dim bytes = File.ReadAllBytes("....")
    sw.Start()
    Dim res = Convert.ToBase64String(bytes)
    sw.Stop()...
  24. Replies
    519
    Views
    188,484

    Re: TwinBasic

    You also have to contend with code that might need to work either way - if a library exists it might need to accept an "old" data type or a "new" data type that conceptually are the same. Making sure...
  25. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I would have still expected a language that has arrays to have a built in way of detecting if they are empty or not, just seems such a basic bit of functionality to be missing.



    Apart from the...
  26. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Certainly surprising and potentially ridiculous :) Testing for errors is certainly something you do in code, I just wouldn't have expected to do something like that for something as basic as checking...
  27. Replies
    64
    Views
    2,385

    Re: Can anyone write an array module?

    If you are going to get into petty arguments about how you can do exactly the same thing in VB6 in one line of code and even compare the line lengths then at least have the decency to make the VB6...
  28. Replies
    64
    Views
    2,385

    Re: Can anyone write an array module?

    Except the VB6 version isn't doing the same thing, the VB6 version is doing the Join as part of the Debug.Print, the VB.Net is doing the join as part of the one line.
  29. Replies
    64
    Views
    2,385

    Re: Can anyone write an array module?

    If they aren't free by the definition of "somebody" had to write them then absolutely no code is free. All code is written by someone. If functionality is built into the framework however then it is...
  30. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I used to use VB6 a lot, in fact first used VB3 and then also suffered VB4 before using 5 and then 6. I have barely touched VB6 in about 20 years and probably not used it at all in the past 15 years;...
  31. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Just saw this crop up in the VB6 side of things... https://www.vbforums.com/showthread.php?231663-VB-Snippet-Determine-if-Array-is-Empty is that honestly how you check if an array is empty in VB6?
    ...
  32. Re: C, C++, C#, VB6 Programmer analogy with regard to building

    Originally it was intended more as a teaching language, the indentation being part of the syntax was designed to encourage good practices.

    Once you get used to it though it starts to feel pretty...
  33. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    If anything VB6 makes it even harder to understand API as you now have to contend with differences in data types (Integer in VB6 is not an int in the API), harder to handle windows messages directly...
  34. Replies
    3,749
    Views
    365,763

    Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    https://www.imperial.ac.uk/news/227713/coronavirus-infections-three-times-lower-double/
    https://www.cdc.gov/coronavirus/2019-ncov/science/science-briefs/fully-vaccinated-people.html...
  35. Replies
    3,749
    Views
    365,763

    Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Of course you think that/


    I have found it tends to be exactly the opposite, the anti-vaxers are also the anti-maskers, anti-social distancing, anti-covid is real, covid is just the flu, type of...
  36. Replies
    99
    Views
    2,871

    Re: Windows 11 is available to some now

    https://github.com/rcmaehl/WhyNotWin11 is probably the best way to check compatibility at the moment.
  37. Replies
    99
    Views
    2,871

    Re: Windows 11 is available to some now

    Or you could happily run Windows 11 and have Ubuntu with WSL and use both windows and linux together...
  38. Replies
    3
    Views
    2,496

    Re: Visual Studio 2022 moving to 64 bit

    I have been running the previous couple of previews and it has certainly felt a lot faster than VS 2019, plus some nice new features in Net 6 / C# 10.
  39. Re: Removing Facebook tags from querystring

    What error is your application throwing?
  40. Replies
    3,749
    Views
    365,763

    Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    Recent research seems to indicate exactly the opposite, vaccines give better immunity compared to natural infections -...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width