|
The problem is: There is too much code written in VB6. Nobody has the time and money needed to upgrade all those old apps to .NET (or any other language). So if a bug is found or a small change needed the legacy goes on...
I too have to maintain some legacy VB6 apps and I'm really grateful for any site which is still offering some information about that language.
|
|
|
|
|
I don't have a problem with maintaining VB6, that is part of what we do, even adding minor changes, what really bugs me is where new projects are being started in VB6 , I think that should be discouraged strongly.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: what really bugs me is where new projects are being started in VB6 , I think that should be discouraged strongly.
Then you should speak with the companies doing it. So long the "sh1t" is over there, CP is only trying to minimize the coding-horrors
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
You miss the point, when you see questions asking how to create/start/extend a VB6 project there is a great temptation (for me anyway) to call the OP a pillock. If there was a sticky about what the responder should most certainly point out it may lower the level of angst.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Do you really think that such "enquirers" read sticky posts?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Improving/Correting an accepted solution does set the solution to not accepted.
Ok at least points will not be decremented
modified 7-Dec-13 12:26pm.
|
|
|
|
|
imho, your editing an accepted solution puts you in the position of "second guessing" two people, the OP, and the person who wrote the solution.
I suggest that if you think there's an error in the code, you write a comment on the solution; if you think the whole approach is wrong, write your own solution.
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.
Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett
|
|
|
|
|
Although having edited the text of my article[^], the article content does not update when I re-visit the page.
ie. If I re-edit the page, all the new content is displayed in the editor, but 'Publish' does not update the article. So the page displays 6.8.1 but the editor displays 6.8.2.
Very confused!
|
|
|
|
|
Apologies, we're experiencing some Article Editor weirdness. We're on it!
I ran a few tests and your edits will show up "eventually," but I wouldn't take that to the bank. I recommend waiting until we get it all resolved.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
Can you add Python to the list of languages for the code block formatting?
Thanks
|
|
|
|
|
Funnily enough Sean asked about this today.
It's been done for a while. Just figured it was worth mentioning here.
cheers
Chris Maunder
|
|
|
|
|
I didn't know whether I should reply now, or wait another 7 years
How's everyone at team CP doing?
I have to apologise, I'm not on here as much now and just occasionally pop in past when something catches my interesting on the emails i'm still subscribed to.
I really don't know where the time goes nowadays!
|
|
|
|
|
We're doing OK. Busier than ever, which I guess is a good thing.
What's the latest set of wheels you're driving? I assume you've moved on from the RS4 by this point
cheers
Chris Maunder
|
|
|
|
|
Being busy can be a good thing, as long as it is not busy being fixing other people mess!
RS4....bloody hell, that was a looong time ago she disappeared! It got binned in 2012, I then moved up to a C63 AMG, and then got rid of that in 2015 when I moved to Qatar, where I simply ran around in a company supplied Mitsi Pajero for the 3 years I lived there. Left Qatar (residentially only, still working there) and relocated to Cyprus in 2017. Now running around in a Mitsi Outlander 7 seat 2.2 turbo diesel no less!
Don't see the need for anything low to the ground here, roads can be a bit hit and miss, speed bumps everywhere in the towns, and locals drive like they bought their licenses so anything decent would just get trashed.
Recently moved my eldest daughters school, and the school run is now 60km one way, so tempted to go electric now, but no Tesla dealer on the island, and stories of other Tesla owners having to send their cars to mainland europe for repairs in a bit off putting. Haven't looked at anything!
I did buy a 500cc Quad Bike for running around the mountains and national parks and forests here. There are so many tracks everywhere and it is pretty much a free for all once you head away from the main towns and cities. It's great fun and having the constant sunshine is great.
Also got lots of clear skies at nights, so started astrophotography as well now, so that's keeping me occupied. I thought about doing some articles on Ascom programming, its an open platform for astronomy equipment, but haven't looked into the developer docs yet...maybe one day. I think I have said that about a few other topics, but just don't know where the time goes.
The ultrabook I got from you in 2012 for the Intel App competition, is currently being used as my outside laptop for the astro software. still working well, except the left trackpad button is spaffed, its got a wee bit of life yet, but without usb3 its a bit slow for large imaging/data transfers.
That's about it for now!
|
|
|
|
|
I'm sad to hear you've ditched the RS4 and the AMG for a Mitsubishi. That does indeed bring a tear to my eye.
But the ultrabook is still going? Crazy. Mine gave up the ghost a few years back. It was fun while it lasted.
Astrophotography was a big hobby of mine when I was back in Canberra. Clear skies, perfect conditions, but crappy gear as a student. It's amazing what can be done in software these days so if you've up for an article that would be amazing.
Take care mate.
cheers
Chris Maunder
|
|
|
|
|
I noticed[^] we only have the option of "Spam" or "Abuse". A button to send a thread to the soapbox would be sweet. If that's too much power, how about a "mark as soapbox" button and simply keep count?
There's also the reputation to consider; the thread is simply in the wrong place on the wrong time, it's kinda overkill to mark it as abuse. Can we have a way to report threads without the rep-damage involved? Would make it somewhat easier to rectify these mistakes
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
This has been suggested before, but I upvoted in the vain hope that the power of rodents will take notice.
Politicians are always realistically manoeuvering for the next election. They are obsolete as fundamental problem-solvers.
Buckminster Fuller
|
|
|
|
|
When I want to insert an image (or other file) into my article using the CP article editor I often get errors when uploading the file.
I click on the button 'Browse File' and pick the image I want to add (about 15 kB on average).
I then click the 'Upload Files' button.
The first time I never have problems. The second time sometimes. Maybe if I wait too long before uploading another image.
Anyway I get the error that something went wrong (no specific messages).
This results in the 'Upload Files' button being hidden. I also can't browse to the same file because I get the message that it is already added.
I need to exit the editor, browse to my draft article and open the editor again before I can upload a new image.
I am still working in Chrome.
It's an OO world.
public class Sander : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
I also get this all the time, it is really quite annoying.
|
|
|
|
|
The html editor keeps on being a problem...
Editing code in code blocks is now much better, but sometimes random html is inserted in code blocks or in the article itself.
In the article itself newlines/paragraphs are inserted.
My article suddenly
looked something like
this
for no reason...
In one place only, in other places only a single empty line was inserted.
In code blocks the html is actually inserted, but then shown.
For example:
SELECT DISTINCT</span>
<span style="font-size: 9pt;"> BusinessEntityID,</span>
<span style="font-size: 9pt;"> Title,
</span><span style="font-size: 9pt;"> FirstName,
</span><span style="font-size: 9pt;"> MiddleName,
</span><span style="font-size: 9pt;"> LastName,
</span><span style="font-size: 9pt;"> MIN(s.SubTotal) OVER(PARTITION BY s.CustomerID) AS LeastExpensive,
</span><span style="font-size: 9pt;"> MAX(s.SubTotal) OVER(PARTITION BY s.CustomerID) AS MostExpensive
</span><span style="font-size: 9pt;">FROM Person.Person AS p
</span><span style="font-size: 9pt;"> LEFT JOIN Sales.Customer AS c ON c.PersonID = p.BusinessEntityID
</span><span style="font-size: 9pt;"> LEFT JOIN Sales.SalesOrderHeader AS s ON s.CustomerID = c.CustomerID
</span><span style="font-size: 9pt;">ORDER BY FirstName, MiddleName, LastName</span><span style="font-size: 9pt;"> </span>
I can guarantee I did not insert all those spans...
Edit: I am using Chrome.
It's an OO world.
public class Sander : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
Have you tried to select the checkbox "Expert mode: Don't mess with my HTML formatting"?
|
|
|
|
|
I haven't. I don't consider myself an expert. But if expert means I won't insert a bunch of empty lines in my article then yes, I might actually be an expert after all!
It's an OO world.
public class Sander : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
Report
Unclear or Incomplete
Extremely poor quality
Off-topic
Spam/abusive
Plagiarized
Inaccurate / Misleading
Needs help
Format / layout issues
Wrong section / tags
Wrong type (tip, blog, article)
Missing images/downloads
Images/downloads are offsite
Needs help options should be multi selectable. For example, If I see a short article with poor formatting in moderation queue, I'll select the following options.
Format / layout issues
Wrong type (tip, blog, article)
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|