I've been using Claude's web interface for a while to "vibe code" a few small web projects. It's fun and cool. But there's a terminal mode that links to Claude Code.
So it hit me... can Claude Code write in VB6? I have a massive legacy application all using DAO and using a pile of 3rd party OCX files. Migrating it to VS is impossible - it needs a complete rewrite. But I'd like to at least migrate it first to ADO then support ADO and SQL depending on the customer's infrastructure. Sadly this ancient app has at least 200 forms and over 250,000 lines of code. It would take months to convert and financially it's not viable. Plus I would go insane.
So I thought.. humm... why not let Claude have a crack at it. The first few runs were a nightmare but we developed a decent conversion guide and stored it in an Convert_Guide_From_DAO_to_ADO.MD file. I opened up VS Code, linked to Claude Code, ask it to read the guide and then tell it the name of the form to convert. It's churning through the files one by one. You should see it convert seeks and bookmarks into SQL. It's simply mind blowing.
The 4 forms it has completed in the past hour are pretty much flawless. I only have the $20 plan so I don't want to toss the entire code base at it all at once or I'd burn through all my tokens. But I could just say "Convert every file in folder C:\Backup". I think I'll have to upgrade to the $100 plan for a month. But wow... just... wow.
So it hit me... can Claude Code write in VB6? I have a massive legacy application all using DAO and using a pile of 3rd party OCX files. Migrating it to VS is impossible - it needs a complete rewrite. But I'd like to at least migrate it first to ADO then support ADO and SQL depending on the customer's infrastructure. Sadly this ancient app has at least 200 forms and over 250,000 lines of code. It would take months to convert and financially it's not viable. Plus I would go insane.
So I thought.. humm... why not let Claude have a crack at it. The first few runs were a nightmare but we developed a decent conversion guide and stored it in an Convert_Guide_From_DAO_to_ADO.MD file. I opened up VS Code, linked to Claude Code, ask it to read the guide and then tell it the name of the form to convert. It's churning through the files one by one. You should see it convert seeks and bookmarks into SQL. It's simply mind blowing.
The 4 forms it has completed in the past hour are pretty much flawless. I only have the $20 plan so I don't want to toss the entire code base at it all at once or I'd burn through all my tokens. But I could just say "Convert every file in folder C:\Backup". I think I'll have to upgrade to the $100 plan for a month. But wow... just... wow.