Home > An Unexpected > An Unexpected Setup Error Has Occurred Vb6

An Unexpected Setup Error Has Occurred Vb6

The program is nothing really special. I'd suggest some ON ERROR code to display the exact details of what happened, including exactly where in the program (just in case this is actually not the statement producing the ACTION: CreateDir: "c:\Program Files\My Application" *** ERROR: Type mismatch *** ERROR: An unexpected setup error has occurred! *** ERROR: (User Responded with 'Cancel') When your car breaks down, close all windows The content you requested has been removed. weblink

Why does it start OK on most computers but refuses on one or two? Installation problem. Well! Well!

Am I too green for this? and all the other files already ARE just in AppPath. Win 95, Win 98 and XP so far.. There's the directory where the EXE resides, and the "current" directory where you start it.   I can never remember which of the two is returned by App.Path, though of course

They may be denied permission to install some dlls, or may not have read/write permissions on files located in Program Files. Does anyone have any idea what sort of problems commonly produce such a message? There are 2 posibilities. That causes that the PrivateGroup0 setting gets a value that is only valid on a system that uses the same system locals.

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Visual Basic(Microsoft): Version DAO code "Type Mismatch" error 3. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? https://social.msdn.microsoft.com/Forums/vstudio/en-US/a432eafd-daf0-4a94-b1f2-281d47e41301/vb-package-and-deployment-wizard-pathfile-access-error?forum=vbgeneral You can also take a look at Visual Basic Bug list for the related information on your problems:   Visual Basic Bug list5.

I'd suggest some ON ERROR code to display the exact details of what happened, including exactly where in the program (just in case this is actually not the statement producing the Win 95, Win 98 and XP so far.. If your program tries something very early in startup that is denied, the program might not be perceived by the OS to have even loaded up and started, hence the "unexpected" Are your "pre-written" files present?

D & J G wrote: A VB6 program that I created has been installed on a wide range of computers and networks without any problems. https://groups.google.com/d/topic/microsoft.public.fr.vb/9rXSxYrtzl8 Unexpected Error!! Re-compiling and re-installing doesn't change anything. Is the range of suspects far too great to even guess?

To use Google Groups Discussions, please enable JavaScript in your browser settings, and then refresh this page. . http://crearesiteweb.net/an-unexpected/an-unexpected-error.html Registration on or use of this site constitutes acceptance of our Privacy Policy. I'm somewhat a newbie :O( You can create a sub such as.. Tuesday, October 23, 2007 6:04 PM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.

test out the routine by itself Just create a form with a button: Private Sub Command1_Click() Dim mystr As String mystr = "Cmd 1 Pressed" Call myDebug(mystr) End Sub Sub myDebug(mystr$) NOTE: Beginning of the bootstrapper section CONFIG: Title: "My Application" ACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "SharedDLLs" ACTION: SystemFile: "C:\WINNT\system32\VB6STKIT.DLL" (File currently on disk was already up to date) ACTION: SystemFile: "C:\WINNT\system32\COMCAT.DLL" (File currently This is the message that I've found in St6uns.00x > installation file (at the end you can find the error): > NOTE: Beginning of the bootstrapper section > CONFIG: Title: "GUI_PIM_ACCT_SB" http://crearesiteweb.net/an-unexpected/an-unexpected-error-has-occurred-setup-failed-office-2007.html Are both users running the program on the same PC?

Participate in this one-of-a-kind classroom experience and see why Professor Smiley is renowned for making learning fun and easy. Sub myDebug(mystr$) dim f$ f$ = App.Path & "\debug.txt" Open f$ for append as # 1 print #1, mystr$ Close End Sub And call this routine to write out "markers where Visual Basic Reference Visual Basic Language Reference Error Messages Error Messages An unexpected error has occurred because an operating system resource required for single instance startup cannot be acquired An unexpected

Don Mar 11 '06 #7 P: n/a Raoul Watson "D & J G" wrote in message news:[email protected] u...

Then I would have the limited user try to simply open the JPG file in question, without using your program, just to see what happens. I don't know anything about VB5 or 6 and contacting the developer is not possible at this point. When running, as soon as the code gets to myDebug I get the message Compile Error: "Argument not optional" the routine expect a string to be passed. MyCriteria (database search) "Type Mismatch" Powered by phpBB Forum Software

Does anyone have any idea what sort of problems commonly produce such a message? The log does not provides any other information. This article also discusses some tools that may be useful for troubleshooting application deployment issues.   3. this content If they are different accounts, then perhaps something else is also different.