TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Visual Basic 6 IDE recreated in C#

377 点作者 porterde6 个月前

35 条评论

Jtsummers6 个月前
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42105869">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42105869</a> - from 3 days ago, 224 comments
评论 #42143778 未加载
makmanalp6 个月前
Oh my GOD I have to comment. This is how I learned to program as a kid.<p>I found a copy of &quot;Write Your Own Adventure Programs&quot; (1983 - Usborne: <a href="https:&#x2F;&#x2F;colorcomputerarchive.com&#x2F;repo&#x2F;Documents&#x2F;Books&#x2F;Write%20Your%20Own%20Adventure%20Programs%20%281983%29%28Usborne%29.pdf" rel="nofollow">https:&#x2F;&#x2F;colorcomputerarchive.com&#x2F;repo&#x2F;Documents&#x2F;Books&#x2F;Write%...</a>) as a kid in my primary school&#x27;s bookshelf. I remember the code was written in BASIC and my family didn&#x27;t really own a computer back then.<p>Fast forward a few years later I saw this &quot;Visual Basic&quot; thing and thought it would be similar ... it was, but only sort of. I had no book to learn from at first so I remember clicking through every single menu and button available to see what it did. Then I remember using our dialup to download every possible 3rd party VB form control and throwing them in a Form to see what they did. I don&#x27;t know why I found this entertaining enough to keep doing it.<p>Eventually by copy pasting and changing stuff I was able to write some basic &quot;homework helper&quot; programs: calculate the area of a circle and stuff like that. Soon after I tried to look up tutorials which taught me basic win32 programming to do things like have an icon in the status area next to the clock, and then hiding my window to run in the background and make annoying sounds so I could build a silly little prank program to install on my friend&#x27;s computers which was fun but often would fail because they were missing some .dll file which wouldn&#x27;t fit on the same floppy.<p>It could be frustrating at times but also I feel so blessed to have lucked myself into learning programming this way and my parents pretty much just letting me do whatever I wanted to this expensive device that probably was not a small thing for us to afford at the time.<p>Even tutorials felt more fun at the time, it&#x27;d be &quot;hypnoMan37&#x27;s windows registry tutorial!!! HEyyeyeyy Guuyzs :-)))) gzgzgz to my irc channel #blabla on EFNet! so first you call RegistryCreateNewKey32(....&quot; because god knows I did not have an MSDN CD either.<p>Learning via a code camp feels way more efficient but also so much more dry in comparison. I wonder if there isn&#x27;t a substantial cost to boring the newbies to death.
评论 #42144259 未加载
评论 #42142859 未加载
评论 #42142679 未加载
评论 #42143619 未加载
评论 #42147804 未加载
评论 #42148463 未加载
评论 #42143066 未加载
评论 #42143457 未加载
评论 #42155834 未加载
rkagerer6 个月前
It&#x27;s an awesomely inspirational vision, but within 2 minutes of trying it out I found it&#x27;s lacking a lot of little features (at least on the web build)... e.g:<p>Ampersands in button labels don&#x27;t create an accelerator (e.g. &amp;Go does not underline the G).<p>In true VB6 you could plop down a Label control and just start typing to change it&#x27;s contents. Here you have to focus on the input field first (and you can&#x27;t just click the &quot;Caption&quot; heading, you have to click within the input column). To maintain fidelity, one of the rows in the Properties grid should always be highlighted when a control is selected on the GUI designer (for Labels this defaulted to Caption, and I believe for controls without a specified default it defaulted to Name).<p>When switching to a different control with a property matching the name of the currently selected one, VB6 would maintain the selection on that property. This made it quick and easy to update for example the Tag property a bunch of controls in sequence with minimal clicks.<p>Obviously the menus for Debugging, Save, Help, Add-ins, etc. are missing implementation.<p>A working Build button that spits out an &quot;exectuable&quot; that runs in the browser would be killer!<p>My nitpicks are born out of love ;-).
评论 #42145194 未加载
评论 #42142926 未加载
评论 #42237176 未加载
wiseowise6 个月前
Still don&#x27;t understand how we went from this to modern GUI toolkits.<p>It looks and works so intuitively.
评论 #42142509 未加载
评论 #42142582 未加载
评论 #42143270 未加载
评论 #42142252 未加载
评论 #42143473 未加载
评论 #42145120 未加载
评论 #42146571 未加载
评论 #42142873 未加载
评论 #42148647 未加载
评论 #42145467 未加载
评论 #42147616 未加载
评论 #42155384 未加载
评论 #42142147 未加载
评论 #42147144 未加载
bluedino6 个月前
Man, that 1995-2001 era Windows UI was like, peak Windows.<p>It was so crisp and clean. Visual C++ and Visual Basic of the time were far from perfect, but they let you just get things done(tm)<p>XP was right around the corner and it&#x27;s been downhill from there.
评论 #42143088 未加载
评论 #42144096 未加载
abrookewood6 个月前
Slightly off topic, but this was built using Avalonia, which I have never heard of. Has anyone used it? The promise sounds impressive (beautiful, cross-platform applications from a single .NET codebase), just wondering whether it actually delivers?<p><a href="https:&#x2F;&#x2F;avaloniaui.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;avaloniaui.net&#x2F;</a>
评论 #42144639 未加载
Stratoscope6 个月前
So nice to see this!<p>I was one of the original developers of the &quot;visual&quot; side of Visual Basic.<p>It was called Ruby at the time (no relation to the programming language) and was going to be a customizable shell for Windows 3.0. The idea was that individual Windows users would create their own personal desktop using our visual editor and &quot;gizmos&quot; (later called by the much more boring name &quot;controls&quot;) to make their own personal environment.<p>Microsoft, probably wisely, realized that this was more suited as a developer tool rather than an end user tool. They combined Ruby with Basic to create Visual Basic.<p>If anyone here ever created VBX custom controls, you can blame me for that terrible API!<p>And if anyone wonders where the phrase &quot;fire an event&quot; came from, you can find the answer in Retool&#x27;s article about VB:<p><a href="https:&#x2F;&#x2F;retool.com&#x2F;visual-basic" rel="nofollow">https:&#x2F;&#x2F;retool.com&#x2F;visual-basic</a><p>(Content warning: drug reference)<p>As they say, &quot;AMA&quot;.<p>If I may indulge in a bit of shameless self-promotion, I am looking for work. My team at IBM was hit pretty hard in their recent round of layoffs, as we lost our one exclusive customer, McDonald&#x27;s.<p>I know a lot about a lot of languages and frameworks, but I don&#x27;t know everything. Does anyone?<p>I love working with customers to understand their needs. Like every programmer, I enjoy coding, but it is just a way to make my customers happy.<p>If anyone is curious, you can find me here:<p><a href="http:&#x2F;&#x2F;linkedin.geary.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;linkedin.geary.com&#x2F;</a><p><a href="http:&#x2F;&#x2F;resume.geary.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;resume.geary.com&#x2F;</a>
评论 #42149768 未加载
评论 #42143895 未加载
评论 #42150448 未加载
评论 #42144732 未加载
0xmarcin6 个月前
When you dig into the code you can see that the author did the bare minimum to have a nice demo. For example only 2 functions are supported: MsgBox and InputBox: <a href="https:&#x2F;&#x2F;github.com&#x2F;BAndysc&#x2F;AvaloniaVisualBasic6&#x2F;blob&#x2F;383a00533cb8745165b44bfe02405de60f748b07&#x2F;AvaloniaVisualBasic.Runtime&#x2F;StandaloneStandardLib.cs#L16">https:&#x2F;&#x2F;github.com&#x2F;BAndysc&#x2F;AvaloniaVisualBasic6&#x2F;blob&#x2F;383a005...</a><p>Still it is impressive to create something complex like this in a matter of 4 days (looking at the commit history). And it is a good start to develop a full fledged IDE.<p>The more advanced features like syntax highlighting &amp; autocomplete unfortunately are missing. I did not run it (I am on macOS) but I also expect there is no debugger.<p>Now I also want to share my childhood story: I started my dev journey first by using Turbo Pascal and then by switching to Delphi 7. Delphi was pretty much like VB6, you designed an app by dragging and dropping components on a form. My first app that I have created was a Notepad++ clone, I still keep the code for it but it is so awful that I cringe every time I try to look at it.
评论 #42145207 未加载
jftuga6 个月前
Open the web version in your browser:<p><a href="https:&#x2F;&#x2F;bandysc.github.io&#x2F;AvaloniaVisualBasic6&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bandysc.github.io&#x2F;AvaloniaVisualBasic6&#x2F;</a>
评论 #42142475 未加载
wolpoli6 个月前
How I missed the frame component in modern day applications. They all seem to think that a bold heading and some extra whitespace at the end is sufficient to group things together.
评论 #42142754 未加载
评论 #42142653 未加载
flog6 个月前
As a kid I spent summers working in the schools IT department in order to save up to buy VB6 (with a staff discount). This was not cheap back in the day!
评论 #42142956 未加载
waldrews6 个月前
The Property Grid control was the greatest general purpose UI ever created. Using it (in the .Net, Windows Forms incarnation) for custom types in non-VS application was a tremendous productivity shortcut for LOB apps. Put attributes on your user exposed objects, done.<p>To this day, we don&#x27;t have anything equivalent for web or mobile. Dynamic form generation from JSON schema gets part of the way there, but not quite.
kristianp6 个月前
I appreciate the amount of work that might have gone into this, but a small annoyance:<p>&gt; Antlr4BuildTasks library couldn&#x27;t automatically download Java.<p>It would be nice if more effort was put into avoiding large dependencies, like a java runtime for a .net product. Edit: It&#x27;s not just the size of the dependency, it&#x27;s the complexity this adds to the deployment and development.
评论 #42145219 未加载
评论 #42142969 未加载
sn0n6 个月前
Anyone else use rapidq (<a href="https:&#x2F;&#x2F;rapidq.phatcode.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rapidq.phatcode.net&#x2F;</a>) or what it became, realbasic (now xojo)?<p>Another fun one was gambus ( Linux, <a href="https:&#x2F;&#x2F;gambas.sourceforge.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gambas.sourceforge.net&#x2F;</a> ).
DidYaWipe6 个月前
I worked for a company that was prototyping a ground-up rewrite of their flagship product in VB, while a team of Visual C++ programmers was building the &quot;real&quot; version. It was basically an industry-specific CRUD application.<p>I probably don&#x27;t even need to finish this story, because you know what happened: We knocked out a fully functional application in VB while the C++ programmers struggled to replicate it with a less-rich environment. Back then VC++ lacked numerous controls that were available in VB.<p>The app connected to the database with ODBC and it was easy. Management saw that and said WTF are we building this other thing for, and asked the C++ to join the VB effort and finish the product. They turned their noses up at it, and were all summarily fired. I was put in charge of design and continued working with a team of contractors to finish the app.<p>I was pretty young and learned a couple of obvious lessons there.<p>And oh yeah, I actually started my professional programming career writing complicated macros in Word. If I ever meet the guy who approved WordBasic, I will buy him a drink. A word processor with a freaking GUI builder in it! I wrote a macro that could parse and rewrite thousands of SQL modules when a bunch of table structures changed.<p>I lived in Word. What a great product it was, and what a sorry state it&#x27;s in now.
评论 #42142727 未加载
ChrisArchitect6 个月前
[dupe] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42105869">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42105869</a>
pjmlp6 个月前
VB 6, back when doing COM was still easy, then the macho team took over, and COM development experience has been a mess ever since, even though it is the main API surface since Windows Vista.
jakebasile6 个月前
Warms my heart to see this. VB6 was how I first made serious forays into making software. Really cool recreation to boot.
wkirby6 个月前
That screenshot takes me waaaay back. Wrote my very first code in that IDE sitting in my dad’s living room, copying examples from a letter my mom’s cousin sent us in the mail. Made a choose your own adventure game about a squirrel climbing a tree. Just if statement after if statement after if statement…
peutetre6 个月前
The thing I like about WebAssembly is that it brings all languages to web.<p>Writing Visual Basic on the web in a C# application compiled to WebAssembly is Inception levels of great.
todd38346 个月前
Giving me flashbacks to the AOL punters and proggies scene. &lt;3
teo_zero6 个月前
Contrary to the original one, this editor doesn&#x27;t automatically capitalize keywords. It was a sort of syntax highlighting that I haven&#x27;t seen on contemporary editors and IDEs. Does anybody know of a plugin to do that for common editors?
IYasha6 个月前
I wish someone recreated the fast and reliable VS&#x2F;VC 6.0. It was so blazingly fast and.. just good. I was SO disappointed with slow and bloated MS .NET BS that I ditched VS entirely.
yarone6 个月前
I absolutely loved VB3 thru VB6!
评论 #42142351 未加载
评论 #42142759 未加载
rcshubhadeep6 个月前
I love this. Have so many memories with vb. When I was going through my graduation back in 2003&#x2F;4 I took some classes on developing application using vb6. Some of the most fun things I had ever done.
orphea6 个月前
If I&#x27;m not mistaken, ComboBox is supposed to have a mode in which it allows typing in it, in addition to choosing items from the dropdown.
评论 #42245033 未加载
rcarmo6 个月前
I’m going to say this again: this UX but using Lua (or Python) instead would be a killer app.
评论 #42145088 未加载
larodi6 个月前
Interestingly it also downloads Java for the antlr grammar support.
评论 #42145226 未加载
rivetsec6 个月前
My first programming environment as well. Love it.<p>I once used multiple iomega zip drives to smuggle a copy of this out from my school so I could make things at home.
评论 #42142492 未加载
moribvndvs6 个月前
This is giving me a lot of nostalgia but also a lot of PTSD.
psawaya6 个月前
My first programming environment. Pure nostalgia. Love it!!
firebot6 个月前
Not really though. ScaleWidth and ScaleHeight and innumerable other properties and functions don&#x27;t exist. I can&#x27;t even get a for next loop working to paint the canvas.
CaesarA6 个月前
This absolutely amazing.
thr0waway18126 个月前
fdaf
ranger_danger6 个月前
How is this legal?
评论 #42145794 未加载
评论 #42143826 未加载
评论 #42144799 未加载
评论 #42142948 未加载
评论 #42143090 未加载