Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: How do I register a VB6 .exe?

9 views
Skip to first unread message

Nobody

unread,
Jun 15, 2009, 7:52:12 AM6/15/09
to
"TonyScarpelli" <TonySc...@discussions.microsoft.com> wrote in message
news:5B80E9D0-50A3-483B...@microsoft.com...
>I created a VB6 executable that I now need to put into the registry.
>
> Is there a way to do this?
>
> Or do I have to create a deployment setup?

If it's an ActiveX EXE, see here:

How To Register and Unregister an Out-of-Process COM Component (ActiveX EXE)
http://support.microsoft.com/kb/297279/en-us


TonyScarpelli

unread,
Jun 15, 2009, 7:48:02 AM6/15/09
to
I created a VB6 executable that I now need to put into the registry.

Is there a way to do this?

Or do I have to create a deployment setup?

Thanks.

TonyScarpelli

unread,
Jun 15, 2009, 8:03:01 AM6/15/09
to
No, it's not an activeX ap., it's a standard executable (.exe).

I need to register it so I can use it in the Explorer, Folder Options, File
Types, Registered file types option.

Thanks

Ralph

unread,
Jun 15, 2009, 10:16:02 AM6/15/09
to

"TonyScarpelli" <TonySc...@discussions.microsoft.com> wrote in message
news:0A433A46-7382-47BC...@microsoft.com...

> No, it's not an activeX ap., it's a standard executable (.exe).
>
> I need to register it so I can use it in the Explorer, Folder Options,
File
> Types, Registered file types option.
>

That is called "File Associations".

You can open "Windows Help" and navigate to "associating files". You can do
it in explorer by selecting Files::Properties. You can do it from the
command line (DOSPrompt) using 'Assoc' or 'Ftype'. And by using 'Folder
Options' in the Control Panel.

Or by manually chewing on the Registry. See if this helps:
http://www.vbaccelerator.com/home/VB/Code/Libraries/Shell_Projects/Registering_File_Associations/article.asp

-ralph


Nobody

unread,
Jun 15, 2009, 1:00:17 PM6/15/09
to
"TonyScarpelli" <TonySc...@discussions.microsoft.com> wrote in message
news:BE04E269-E2BC-478E...@microsoft.com...
> Thanks, Ralph, I managed to associate .vsd files with my application using
> "To associate a file name extension with a file type", but I had to delete
> the old association, which was Internet Explorer. Since we couldn't open
> Visio files with Internet Explorer, I explored other ways, one of which
> was
> writing the program myself.

Do a system restore.


TonyScarpelli

unread,
Jun 15, 2009, 12:47:03 PM6/15/09
to
Thanks, Ralph, I managed to associate .vsd files with my application using
"To associate a file name extension with a file type", but I had to delete
the old association, which was Internet Explorer. Since we couldn't open
Visio files with Internet Explorer, I explored other ways, one of which was
writing the program myself.

I can open a Visio file with my program, which is what I wanted to do, when
I double click the file, so that's working perfectly.

But again it's not working in a web page, which is what I need to do.

I have a web site on our company's network that displays all kinds of
documents, but the only type it can't open are Visio files. Our IS department
can't seem to find the problem and I've been through 5 helpdesk guys. I and
they have tried all the remedies, but nothing works except re-imaging the
workstations which we are trying to avoid at all costs.

When Hyperliinking the file, Internet Explorer still trys to open it, but
it's not displaying it.

I have been working on learning JavaScript to display the files which I
almost have finished. I guess I'll have to go back to this method.

Thanks again for everyones help.

CU

TonyScarpelli

unread,
Jun 16, 2009, 7:14:01 AM6/16/09
to
Sorry, Nobody, and everyone,

but our company has a company Windows XP2 image that's not going to change.
As I said, the only way we got this to work is by re-imaging with a new,
updated image, but the last time they re-imaged my computer it took a week to
get it back to where I could work again.

The director, supervisor, buyers, and every tech in our department shudders
with horror at the thought of a re-imaging of our workstations.

If I can't figure this out some way, then we'll put in a work order to
re-image, but they will all kill me. And I know that that will hurt.

Thanks, everyone.

CU

Nobody

unread,
Jun 16, 2009, 11:48:07 AM6/16/09
to
"TonyScarpelli" <TonySc...@discussions.microsoft.com> wrote in message
news:608F7D55-FA94-4A97...@microsoft.com...

> Sorry, Nobody, and everyone,
>
> but our company has a company Windows XP2 image that's not going to
> change.
> As I said, the only way we got this to work is by re-imaging with a new,
> updated image, but the last time they re-imaged my computer it took a week
> to
> get it back to where I could work again.

I am not sure if you understood me. I didn't mean to reinstall the OS, but
going to Start-->All Programs-->Accessories-->System Tools-->System Restore.

This will return the system and registry to the way it was few days ago,
before you made the file type changes. Windows creates restore points every
day.

http://en.wikipedia.org/wiki/System_Restore

P.S.: System restore will also restore any DLL/OCX/EXE created with VB and
any development tool. It does not touch your documents or source files, so
you may have to recompile to make sure that you have the latest version.


Nobody

unread,
Jun 18, 2009, 8:51:22 AM6/18/09
to
"Nobody" <nob...@nobody.com> wrote in message
news:OHBOZnp7...@TK2MSFTNGP05.phx.gbl...

> It does not touch your documents or source files,

Nor emails as well(You don't lose anything in the last few days).


0 new messages