Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Deployment / June 2009



Tip: Looking for answers? Try searching our database.

How do I register a VB6 .exe?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TonyScarpelli - 15 Jun 2009 12:48 GMT
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.
Nobody - 15 Jun 2009 12:52 GMT
>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 - 15 Jun 2009 13:03 GMT
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

> >I created a VB6 executable that I now need to put into the registry.
> >
[quoted text clipped - 6 lines]
> How To Register and Unregister an Out-of-Process COM Component (ActiveX EXE)
> http://support.microsoft.com/kb/297279/en-us
Ralph - 15 Jun 2009 15:16 GMT
> 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_F
ile_Associations/article.asp


-ralph
TonyScarpelli - 15 Jun 2009 17:47 GMT
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

> > No, it's not an activeX ap., it's a standard executable (.exe).
> >
[quoted text clipped - 13 lines]
>
> -ralph
Nobody - 15 Jun 2009 18:00 GMT
> 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 - 16 Jun 2009 12:14 GMT
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

> > 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
[quoted text clipped - 4 lines]
>
> Do a system restore.
Nobody - 16 Jun 2009 16:48 GMT
> Sorry, Nobody, and everyone,
>
[quoted text clipped - 4 lines]
> 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 - 18 Jun 2009 13:51 GMT
> It does not touch your documents or source files,

Nor emails as well(You don't lose anything in the last few days).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.