I was meaning the Nbasic over Vb6, that NBasic isnt free either ..Quote:
Originally Posted by RobDog888
the rest i agree with .. ;)
Printable View
I was meaning the Nbasic over Vb6, that NBasic isnt free either ..Quote:
Originally Posted by RobDog888
the rest i agree with .. ;)
Thanks.Quote:
Originally Posted by penagate
Well i didnt test it for any length of time, its a free demo so I suggest you try it before taking my word for it .. however I did notice it seems to be able to convert VBscripts without any manual conversion .. which is good for scripters just looking to throw existing scripts into an exe ..Quote:
Originally Posted by esposito
Otherwise the Interface was too slow for me.
Plus I can easily convert Vbscript to VB6 myself anyway, but I would be going the VB6 route over a VBscript for a reason. :)
We talking about two different things.Quote:
Originally Posted by RobDog888
Thanks, but I'd still never willingly go back to VB6. While .NET is not yet settled, and is still changing, it is still much easier to work with than VB6 ever was. The future can only get better.Quote:
Originally Posted by esposito
My point was simply that VB6 will remain around for a long time because there will always be legacy code.
I'm not so sure VB.NET is much easier than VB6. Just think of the two issues pointed out by RhinoBull: the lack of the Printer object and a native method to interface API32.Quote:
Originally Posted by Shaggy Hiker
I'm not sure what the native method is that you are talking about. The way I called API routines in VB6 is unchanged in .NET2003. As for the printer object, printing sucked rocks in VB6, and I haven't tried it in .NET. Yeah you could do it, but it was one of the worst features. Two of the compiler bugs I reported to MS had to do with the printer object. Considering how little I used that horrid object, that was a REALLY high rate of bogosity.
The major ease of use of .NET is the IDE, which has nothing at all to do with the language itself. They could easily have added the advantages of .NET to the VB6 IDE. In fact, there was a 6.5 version that was under consideration, until it was killed off in the interest of focusing all their efforts on .NET.
Exactly as I was saying.Quote:
Originally Posted by RhinoBull
i still love Vbscript .. best thing MS ever came out with ..Quote:
Originally Posted by RobDog888
well other than windows .. :p
It has its restrictions .. but still its a great little tool .. :)
.NET has so many more simplifications and optimizations that the two you mention could not possibly outweight the benefits of .NET.Quote:
Originally Posted by esposito
As I previously posted on the Printer object, it can easily and improved with the use of Crystal Reports with comes with .NET. Its allot easier and faster to create a page for printing this way then by using the old VB 6 printer object manually writting out each and every print action. CR gives you the GUI interface to design a much better and dynamic page for printing and also a built in button for exporting the page under several formats. Try doing that in VB 6 will be a killer.
API calls from .NET are the same with the exception of adding attributes to the API definition with the use of dllimport. Not required but is preferred. Other then that I have not seen a difference.
Quote:
Originally Posted by RobDog888
One thing I have been noticing is with searching for Vb6 code ..
The majority of the time it comes up with VB.Net results on google now.
Also, for example when looking for setting permissions on a reg key last night, I could for the life of me not find anything in VB6 to do this .. but there were many examples in VB.net ..
However It seems C++ and C# has Vb beat in the google searches as y ou can always find something in those languages to do almost anything you want .. :p
Yoda quick question, can you still use external ActiveX Controls in Vb.net if you wanted to for some reason .. just wondering ..
thanks
Sure, import the control via the "Tools menu > Choose Toolbox Items submenu > COM Components tab.
cool thanks . .. i dont actually have it in front of me but was just wondering ..
when i get Vista up and running (soon i promise) i will definately be installing at the least the free version to try .. i have the 2005 version here, the original and all .. but I imagine it is outdated now as its a year old .. any ideas on that? I have the full Retail box full of CDs .. just never used or activated.
You will want to download and install the VS 2005 SP-1 and there is an SP-1 Update for Vista Beta but its for Vista Beta. I havent found any info on when or if a VS 2005 SP-1 Update for Vista RTM is coming out.
ok thanks
Do you think its best to just get VS 2006 or whatever the latest is one time?
I could probably talk the contractors into it if need be.
Main thing is to have something that easily works with Vista ...
They haven't asked about Vista but they may do.
And since it seems VB.Net is easier to find info on right now,
it makes sense to use that for Vista.
Ill still do Vb6 for my regular stuff ..
VB 6 installs and runs on Vista. I have a thread in General PC on that.
Go with 2005 still as the next VS will still be about a year away and then you want to wait for service packs etc for it before using it in a production environment.
ok thanks ..
We personally don't use Crystal in our shop - too limiting...Quote:
Originally Posted by RobDog888
But the concept of developing report writer engines is something we've even done on mainframes since the 80's.
Developing reports with PRINT statements - each and every time - is simply a waste of time. All reports do exactly the same thing. Loop through records - format output - paginate - do some totals. Nothing fancy - actually all old hat.
Our current report writer engine has a GUI (in development) and stores all the "printing control info" in tables in SQL - whenever we need to enhance it to do something new it's all ours - not relying on a product like CR that won't do things like multi-column reports (at least it didn't 3 years ago).
At any rate my whole point is don't complain about a feature - overcome it. If you don't have the old PRINTER object around - then figure out how to do it better with the new tools. They certainly didn't remove a so-called simpler feature without putting some serious consideration in to it.
maybe someone was drunk at MS at the time .. :bigyello:Quote:
Originally Posted by szlamany
I dont think ive ever used the printer object myself actually.. (MS Printer Dialog .. is it the same?)
but then I dont deal with CR or any type of reports ..
besides simple notepad reports for hardware when i need to,
then thats only ever in VBS really ..
I often don't understand what you're trying to say though.Quote:
Originally Posted by RobDog888
You replied to what I posted but afraid you read between the lines. :)
Please Steve, don't even try to go that path - they should learn from mistakes (very serious btw) made in .Net 1 and 1.1 instead of carrying them over to the new releases.Quote:
Originally Posted by szlamany
Also, if you developed some in-house tool doesn't mean that something plain-and-simple shouldn't be there. :rolleyes:
Something plain and simple might have been too hard to support for MS - who knows that the reasons were (I'm sure we both could google around and find lots of opinions).
This link: http://msdn.microsoft.com/library/de...ualbasic70.asp
indicates that PrintDocument does most of what Printer in VB6 did - I've not done any production printing in .Net yet so I can't evaluate the strengths or weaknesses or differences...
But back in the old days we had PRINT # and TAB() statements to make reports - doing anything remotely like fontsize changes or bold required that your learned "printer specific" escape sequences so you could talk to the printer in PCL.
But writing reusable code to accomplish a task is what it's all about anyway - in my opinion.
I've like what GDI has given me so far in .Net - it's very different than VB6 - but seems like some good "general purpose" graphical tools.
Again - I'm not in .Net enough for production code yet - so don't attack my ignorance ;)
You're kidding? printing in .NET is exponentially easier and more powerful than it was in VB6.Quote:
Originally Posted by esposito
No, it's not. I studied it and tried it myself. It takes much longer to get what the Printer.Print statement allowed you to get in a few lines of code.Quote:
Originally Posted by Merrion
I would say that it is nigh on impossible to do something like this grid printing example or this form print component and doing a print preview with VB6's printer .print is a chore requiring extensive API work or a third party control.
After reading all messages, and deciding which direction to move to...is MS Access affected by any of this?
For my projects, Access is looking better and better.
And will second this opinion.Quote:
Originally Posted by esposito
The Printer object is still available as usual in Access, even in Access 2007 so no need to worry, yet.Quote:
Originally Posted by sessi4ml
RobDog888: Regarding compatibility issues, maybe you can give an answer to a question I posted in one of my previous threads:Quote:
Originally Posted by RobDog888
http://vbforums.com/showthread.php?t=450883
Shortly speaking, is VB6 compatible with Office 2007?
Thanks in advance.
Yes, not much has changed at all, at least that I have come across.
Replied.
Thanks. This is very good news. Since I heard that all the Office documents changed their extensions, I thought there could be compatibility issues.Quote:
Originally Posted by RobDog888
It's a shame they dropped the idea. They could have carried out both projects at the same time. That way they would certainly have made more money.Quote:
Originally Posted by Shaggy Hiker
Only compatibility in your automation code looking for doc when docx is the new 2007 type.Quote:
Originally Posted by esposito
Replied again in other thread with extended info.
Quote:
Originally Posted by Shaggy Hiker
There was a [VB] 6.5 version that was under consideration, until it was killed off in the interest of focusing all their efforts on .NET.
They could've kept VB6 as unmanaged language (just like VC++)... That was the reason when many pros signed a petition to MS but it was denied.Quote:
Originally Posted by esposito
Yes, I know it. I myself subscribed to that petition. Nevertheless, I was aware MS would not listen to us. It was a hell of a letdown. The idea that all the code I set aside over the last ten years would become useless has scared me ever since.Quote:
Originally Posted by RhinoBull
One thing people sometimes overlook is that MS is still nimble enough that when they decide to go in a new direction, they simply do so. They recognized the challenge that the internet and Java were posing (though those challenges are more theoretical than real at this point), and they pretty much decided to go all "net" centric. The whole .NET paradigm was part of the result of that. In theory, they would get to the same "write once, run anywhere" capability that has always been the unfulfilled promise of JAVA. MS wants to be in the game if web apps come into being. As dumb as I still think that idea is, they want to be ready if it happens....or not.Quote:
Originally Posted by esposito
Because of this, I think the whole abrupt .NET switch makes a certain amount of sense to them. They see the future going in a radically different direction, and are trying to get out ahead of it. Yesterdays program is yesterdays news. Microsoft to Esposito: Change or die.
Like it or not (and I know which one you would choose), that is pretty much their business strategy, and it makes a certain amount of sense to me from that perspective.
Yes, but if they try to impose the wrong change on their customers, MS may die as well. I am not alone. There is an entire community that does not feel like making such a change. Byte code is not the best solution to adopt if you develop commercial software.Quote:
Originally Posted by Shaggy Hiker
Besides, I don't see this "write once, run anywhere" capability that much in .NET. Mono is the only attempt at porting the Framework to another platform but so far it does not look like a winning marketing strategy (I haven't read any anthusiastic articles about Mono yet).
VB6 could have been integrated with the Web in a more advanced way if MS had wanted to. ASP could have been improved without the .NET Framework.
What made MS unique was its OS which dictated the standards to the technological world. If MS opens its doors to alternative (non-Windows) platforms, people may take those alternatives into serious consideration and may just switch to them abandoning the expensive solutions proposed by MS.
In my opinion, the real threat to MS does not come from Java but from the open source world in general. Just think of Linux, as far as operating systems are concerned, or Open Office in the field of applications.
The 'web' mentality is that server-side applications are the future. No-one cares what they compile to as you'll never see the code from the client anyway.
It's all about choosing the right architecture and the right technology.
I think that server-side applications can be integrated with, and even embedded in, client-side applications. For instance, VB6 can embed a WebBrowser control and interact with the Web.Quote:
Originally Posted by penagate
If all the application resides on the server, you could have to face problems of speed, connection etc. So, it is often a good idea to process the data on the client side and, when the job is complete, transfer it to the server. Now, VB6 was perfectly able to do that without relying on the .NET Framework.
The Framework makes a lot of sense if you want to produce Web based software only (ASP.NET is just great) but, as far as desktop applications are concerned, I have my doubts that it is convenient to develop them in .NET.