ActiveX Component Can't Create Object - Access 2010
I hadn't used Access in a few months, and when I did, it decided to reinstall itself. All other MicroSoft Office software is running fine. I went to open my file and it gave me the runtime 429 error with the statement shown above. When
I use Debug, it stops at the line: Set con =Application.CurrentProject.Connection. The database runs without error on my other computer which also has Windows 7 and Office 2010.
Any ideas?
Thanks.
Error 429 is Windows specific runtime error. It normally occurs when a user tries to open ActiveX dependent pages. This error may also occur when a users load an application.
Perform these tips to fix it:-
- Properly install Windows Script
- Repair File Information of Windows Script in Registry
- Re-register Concerned File Properly
- Reset Internet Explorer (IE) Settings
- Restore System
- Repair System Files
Source:-
Google
http://www.error429.com/
Similar Messages
-
Urgent:eror:ActiveX component can't create object:fdmFM11xG5C.clsFMAdapter
Hi All,
I get the following error :
Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'
At Line: 45
while trying to map a target FM account
I have used the following adapter fdmFM11xG5C for registering.
I have registered the adapter using the given documentation still things are not working the same.
FDM and HFM are installed on two different machines.
I have also referred to an earlier forum which had the same issue.
Kindly let me know what to do here.
Edited by: user12276446 on Jun 27, 2010 11:52 PMCreate a domain user which has administrator access in both machines. (creating a local user with same name and password in both machines may NOT solve the issue).
Make sure the that the user is added to the Administrators group. The minimum required rights additionally are:
Act as part of the Operating System
LogOn as a batch job
Access this computer from the network
For FDM Task manager: LogOn as a Service
Additionally, check the following two options under Security Options
DCOM: Machine Access Restrictions
DCOM: Launch Restrictions
Mine worked with both these as blank. If you cannot remove them, delete the content of the registry keys (not the keys): MachineAccessRestriction & MachineLaunchRestriction under HKLM\Software\Policies\WindowsNT\DCOM
Configure HFM DCOM (with the EPM config) using this domain account
Configure the FDM adapter with this user
You may have to configure the IIS application pool with this user as well.
Make sure that this user has rights to the file system where things are installed.
+ the users running the IIS web apps must also have access to the file system (better to add them to the group Users)
~
Sayantan -
Error: ActiveX Component Can't Create Object
When I run the ADI on Windows Server 2003R2, it show following error when startup:
Error connecting to Language Object, defaulting to US English.
Error: ActiveX Component Can't Create Object
Anyone know how to fix it?
Many thanks in advance.
Regards,
Chris LeeHi,
You need to enable Trust access to Visual Basic project.
Tools->Macro->Security->Trusted Publisher
Enable Trust access to Visual Basic project there.
Cheers
Dinesh -
Run-time error '429': ActiveX component can't create object
HI,
I am having the following error in my Excel VBA Run-time error '429': ActiveX component can't create object when running the following code:
Dim objDistiller As New ACRODISTXLib.PdfDistiller6
objDistiller.FileToPDF2 filePath & ".PS", filePath & ".PDF", "T:\Templates\PDFSettings\Standard.joboptions", 1
This code has been working for years on all our systems, but due to recent security issues our administrator changed all user accounts to not have local administrator rights and now when we run this code we get the above error message.
I have had a look at DComcnfg.exe to try and get it to work by setting the default property permissions to allow access by Everyone but I am still getting the error.
Any help would be greatly appreciated.
Regards.
Shane Chapman.Hi Shane,
Here is another way to create PDF with Macro using another API than Distiller. This API is faster too.
Probably this post is not of interest anymore but here is how I have done it:
1. Download PDFCreator: http://sourceforge.net/projects/pdfcreator/
2. Use the following Macro:
Option Explicit
Sub printPDFmacro()
'Author : Ken Puls (www.excelguru.ca)
'Macro Purpose: Print to PDF file using PDFCreator
' (Download from http://sourceforge.net/projects/pdfcreator/)
' Designed for early bind, set reference to PDFCreator
Dim pdfjob As PDFCreator.clsPDFCreator
Dim sPDFName As String
Dim sPDFPath As String
'/// Change the output file name here! ///
sPDFName = "Facture-" & nclient2 & " le " & Format(Date, "yyyy-mm-dd") & ".pdf"
sPDFPath = "E:\Partenaire Scolaire\Comptabilite\Factures"
PDFFileName2 = sPDFPath & "\" & sPDFName
Set pdfjob = New PDFCreator.clsPDFCreator
With pdfjob
If .cStart("/NoProcessingAtStartup") = False Then
MsgBox "Can't initialize PDFCreator.", vbCritical + _
vbOKOnly, "PrtPDFCreator"
Exit Sub
End If
.cOption("UseAutosave") = 1
.cOption("UseAutosaveDirectory") = 1
.cOption("AutosaveDirectory") = sPDFPath
.cOption("AutosaveFilename") = sPDFName
.cOption("AutosaveFormat") = 0 ' 0 = PDF
.cClearCache
End With
'Print the document to PDF
ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"
'Wait until the print job has entered the print queue
Do Until pdfjob.cCountOfPrintjobs = 1
DoEvents
Loop
pdfjob.cPrinterStop = False
'Wait until PDF creator is finished then release the objects
Do Until pdfjob.cCountOfPrintjobs = 0
DoEvents
Loop
pdfjob.cClose
Set pdfjob = Nothing
end sub
Have any questions, just have to poke me.
Michael -
Crystal Report Addon Error : ActiveX Component Can't Create Object
Hello Experts,
We are facing an problem when we start the Crystal Report Addon .The error message getting
displayed is "CR_Crypto ActiveX Component Can't Create Object".This issue is happening only on the
server its working fine on the client. We had even unistalled and re-installed the addon in the server but
still it throws the error when we start the addon.
Please help us to resolve this issue
Thanks,
VishwanathDear Friend,
I had described the problem to our technical support team, and they replied as follows u2013
They solved the Script related error by several stages.
They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
Then they tried by installing the following patches from Microsoft u2013
http://support.microsoft.com/kb/949140
Windows Script 5.7 for Windows XP
http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
Windows Script 5.6 for Windows Server 2003
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
Windows Script 5.6 for Windows XP and Windows 2000
The internal matter to this problem was about the following DLL and its version u2013
C:\WINDOWS\system32
vbscript.dll
5.5.0.8820
Desired
5.6.0.8820
Check, if the information helps you. -
ActiveX Component Can't Create Object
Hi Frds,
Getting this error when making a chances in change query global defination Error : Runtime Error '457': This key is Already is already assosiated with an element of this collection..When i was clik on then again i m getting message like Runtime Error ''429': ActiveX Component Can't Create Object.
What is the excat prblem can any one let me know...
Thanks,
ALiHi,
For Runtime Error '457'-Pls Check SAP Note - 517232
ForRuntime Error '429' You can refer SAP Note: 542933
Pls chk this link also;
https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=542933&_NLANG=E
Hope this helps
Regards
CSM Reddy -
SBO2004A: Runtime Error 429 ActiveX Component can't Create Object
Hello,
We have an Addon developed with VB6 that run without problems with SBO 6.5.
We have upgraded to SBO2004A and I have referenced in the source code to the 2004 UI and DI. I debug mode (from IDE) we don't have problems, but when I try to execute the addon from a client, I get this error message:
<b>Runtime Error 429 ActiveX Component can't Create Object</b>
Thanks in advance
BlasI'm using Installshield 10.5 to generate the setup file. It's much more easy and not requiered to install Framework 1.1 in each PC client before to install the Addon.
You have to create and msi project, and write the Installscript to retrieve the install directory from parameter string passed by SAP.
After install you must execute the AddOnInstallAPI.EndInstall to notify SAP:
#include "ifx.h"
prototype LONG AddOnInstallAPI.EndInstall();
prototype LONG AddOnInstallAPI.RestartNeeded();
// OnFirstUIBefore
// First Install UI Sequence - Before Move Data
// The OnFirstUIBefore event is called by OnShowUI when the setup is
// running in first install mode. By default this event displays UI allowing
// the end user to specify installation parameters.
// Note: This event will not be called automatically in a
// program...endprogram style setup.
function OnFirstUIBefore()
number nResult, nLevel, nSize, nSetupType;
string szTitle, szMsg, szOpt1, szOpt2, szLicenseFile;
string szName, szCompany, szTargetPath, szDir, szFeatures, szTargetdir;
BOOL bLicenseAccepted;
LIST listID;
begin
nSetupType = COMPLETE;
szDir = TARGETDIR;
szName = "";
szCompany = "";
bLicenseAccepted = FALSE;
// Beginning of UI Sequence
Dlg_Start:
nResult = 0;
Dlg_SdWelcome:
szTitle = "";
szMsg = "";
//{{IS_SCRIPT_TAG(Dlg_SdWelcome)
nResult = SdWelcome( szTitle, szMsg );
//}}IS_SCRIPT_TAG(Dlg_SdWelcome)
if (nResult = BACK) goto Dlg_Start;
Dlg_SdLicense2:
szTitle = "";
szOpt1 = "";
szOpt2 = "";
//{{IS_SCRIPT_TAG(License_File_Path)
szLicenseFile = SUPPORTDIR ^ "License.rtf";
//}}IS_SCRIPT_TAG(License_File_Path)
//{{IS_SCRIPT_TAG(Dlg_SdLicense2)
// nResult = SdLicense2Rtf( szTitle, szOpt1, szOpt2, szLicenseFile, bLicenseAccepted );
//}}IS_SCRIPT_TAG(Dlg_SdLicense2)
if (nResult = BACK) then
goto Dlg_SdWelcome;
else
bLicenseAccepted = TRUE;
endif;
Dlg_SdRegisterUser:
szMsg = "";
szTitle = "";
//{{IS_SCRIPT_TAG(Dlg_SdRegisterUser)
// nResult = SdRegisterUser( szTitle, szMsg, szName, szCompany );
//}}IS_SCRIPT_TAG(Dlg_SdRegisterUser)
if (nResult = BACK) goto Dlg_SdLicense2;
Dlg_SetupType2:
szTitle = "";
szMsg = "";
//{{IS_SCRIPT_TAG(Dlg_SetupType2)
// nResult = SetupType2( szTitle, szMsg, "", nSetupType, 0 );
//}}IS_SCRIPT_TAG(Dlg_SetupType2)
if (nResult = BACK) then
goto Dlg_SdRegisterUser;
else
nSetupType = nResult;
if (nSetupType != CUSTOM) then
szTargetPath = TARGETDIR;
nSize = 0;
endif;
endif;
Dlg_SdAskDestPath2:
if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SetupType2;
szTitle = "";
szMsg = "";
if (nSetupType = CUSTOM) then
//{{IS_SCRIPT_TAG(Dlg_SdAskDestPath2)
// nResult = SdAskDestPath2( szTitle, szMsg, szDir );
//}}IS_SCRIPT_TAG(Dlg_SdAskDestPath2)
TARGETDIR = szDir;
endif;
if (nResult = BACK) goto Dlg_SetupType2;
Dlg_SdFeatureTree:
if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SdAskDestPath2;
szTitle = "";
szMsg = "";
szTargetdir = TARGETDIR;
szFeatures = "";
nLevel = 2;
if (nSetupType = CUSTOM) then
//{{IS_SCRIPT_TAG(Dlg_SdFeatureTree)
// nResult = SdFeatureTree( szTitle, szMsg, szTargetdir, szFeatures, nLevel );
//}}IS_SCRIPT_TAG(Dlg_SdFeatureTree)
if (nResult = BACK) goto Dlg_SdAskDestPath2;
endif;
Dlg_SQLServer:
nResult = OnSQLServerInitialize( nResult );
if( nResult = BACK ) goto Dlg_SdFeatureTree;
Dlg_ObjDialogs:
nResult = ShowObjWizardPages( nResult );
if (nResult = BACK) goto Dlg_SQLServer;
Dlg_SdStartCopy2:
szTitle = "";
szMsg = "";
//{{IS_SCRIPT_TAG(Dlg_SdStartCopy2)
nResult = SdStartCopy2( szTitle, szMsg );
//}}IS_SCRIPT_TAG(Dlg_SdStartCopy2)
if (nResult = BACK) goto Dlg_ObjDialogs;
return 0;
end;
// OnSetTARGETDIR
// OnSetTARGETDIR is called directly by the framework to initialize
// TARGETDIR to it's default value.
// Note: This event is called for all setups.
function OnSetTARGETDIR()
number nId, nIgnore, nResult;
string szId, szTARGETDIR;
string wCMDLINE;
LIST listID;
begin
// In maintenance mode the value of TARGETDIR is read from the log file.
if( MAINTENANCE ) then
return ISERR_SUCCESS;
endif;
// Set TARGETDIR to script default.
TARGETDIR = "<FOLDER_APPLICATIONS>
<IFX_COMPANY_NAME>
<IFX_PRODUCT_NAME>";
if (CMDLINE != "") then
wCMDLINE = CMDLINE;
StrReplace (wCMDLINE, '"', '', 0);
listID = ListCreate (STRINGLIST);
if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
MessageBox ("Parametros incorrectos.", SEVERE);
else
ListGetFirstString (listID, TARGETDIR);
//MessageBox (TARGETDIR, INFORMATION);
endif;
ListDestroy (listID);
return 0;
endif;
// Read TARGETDIR from the media.
nResult = MediaGetData( MEDIA, MEDIA_FIELD_TARGETDIR, nIgnore, szTARGETDIR );
// Use the TARGETDIR from the media if anything was read.
if( nResult >= ISERR_SUCCESS && StrLengthChars( szTARGETDIR ) ) then
TARGETDIR = szTARGETDIR;
endif;
// Customize the default TARGETDIR for multi-instance application.
// TODO: If you want something different customize the code below.
if( MAINT_OPTION = MAINT_OPTION_MULTI_INSTANCE && MULTI_INSTANCE_COUNT > 0) then
// Start with the current multi-instance count plus one.
nId = MULTI_INSTANCE_COUNT + 1;
// Find a unique TARGETDIR.
while( ExistsDir( TARGETDIR ) = EXISTS )
// Convert to string.
NumToStr( szId, nId );
// Update IFX_MULTI_INSTANCE_SUFFIX
IFX_MULTI_INSTANCE_SUFFIX = "_" + szId;
// Update TARGETDIR
TARGETDIR = TARGETDIR + IFX_MULTI_INSTANCE_SUFFIX;
// Update nId
nId = nId + 1;
endwhile;
endif;
end;
// OnEnd
// The OnEnd event is called at the end of the setup. This event is not
// called if the setup is aborted.
function OnEnd()
string wCMDLINE;
LIST listID;
STRING DLL_FILE;
INT nValue;
LONG nRC;
NUMBER nResult;
begin
if (CMDLINE != "") then
wCMDLINE = CMDLINE;
StrReplace (wCMDLINE, '"', '', 0);
listID = ListCreate (STRINGLIST);
if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
MessageBox ("Parametros incorrectos.", SEVERE);
else
ListGetFirstString (listID, DLL_FILE);
ListGetNextString (listID, DLL_FILE);
// MessageBox (DLL_FILE, INFORMATION);
endif;
ListDestroy (listID);
nResult = UseDLL (DLL_FILE);
if (nResult != 0) then
MessageBox ("No se ha podido cargar\nAddOnInstallAPI.dll", SEVERE);
abort;
endif;
if AddOnInstallAPI.EndInstall() > 0 then
MessageBox ("Error al ejecutar AddOnInstallAPI", SEVERE);
abort;
endif;
endif;
end; -
Vbscript runtime error 429 activex component can't create object
hi i am writing a VB Script where it runs a batch files
but when the batch file is called from the script its giving error as
runtime error 429 activex component can't create object
my script is as follows
strcmd = "utility.bat"
Set wshSystemEnv = wshshell.Environment("USER")
wshshell.Run strcmd
can some one help me with this ?
Thank youSorry, your script makes no sense. You never create the object wshshell
and you never use the object wshSystemEnv. Start the code with
set WshShell = WScript.CreateObject("Wscript.Shell") -
Runtime Error '429': ActiveX component can't create object
Hi,
I am using below code in vb6 application but this is throwing an "Runtime Error '429': ActiveX component can't create object" error.
CreateObject("OracleInProcServer.XoraSession")
is that due to any dll or reference error ?
I have an Oracle client installed on my PC
please share your solution
Thanks in advanceAre either of those 64 bit? If so, your problem is likely related to that.
A 64 bit Oracle client doesn't support OO4O at all, so this code will never work with that client. You need to use a 32 bit one.
If you are using a 32 bit client but on a 64 bit OS, I've found the 11.2.03 installer doesn't properly register the files. Manually registering OraOleDB11.dll may fix it, though we had to do some other registry stuff and it got very ugly. Backing up to a slightly older client should also fix the problem. -
Visual Basic 6 application moved to new server - activex component can't create object
I have to move a VB6 application that was running on a Windows 2003 machine to a new Windows 2008 machine.
This EXE application was using classes defined in a DLL using the Createobject method.
Now, after the class instance has been created by Createobject, when the program calls the methods error 429 "activex component can't create object" is issued.
The DLL has been registered on the new server using the command :
regsvr32 c:\folderx\dllname.dll
Which is the right forum to get help on this ?
Thanks.Hello,
As Dave says, VB 6 is no longer supported by Microsoft.
I’d suggest asking in one of the following third-party forums which support Visual Basic 6.
VB forums
VB City
For further information, see:
Where to post your VB 6 questions
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
FDMEE 11.1.2.3 ActiveX component can't create object
Hello Gurus,
I am testing FDMEE 11.1.2.3 and am running into an issue when trying to export to my target HFM application. (Import/Validate work fine). Below is the error log:
I am loading from a flat file.
E:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\bin\HFM_LOAD.vbs(4, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'erpiHFMAdapter.clsFMAdapter'
2014-01-02 16:11:03,568 FATAL [AIF]: Error in HfmData.loadData
Traceback (most recent call last):
File "<string>", line 106, in loadData
RuntimeError: Load Error
2014-01-02 16:11:03,614 FATAL [AIF]: Error in HFM Load Data
2014-01-02 16:11:03,617 INFO [AIF]: FDMEE Process End, Process ID: 12please follow oracle doc
FDMEE Validate Step Failing with Intersection Check Enabled (Doc ID 1588419.1)
cause : Currently the TNSNAMES.ORA file on the FDMEE Server does not contain a connect descriptor entry named AIF_ORCL pointing to the FDMEE database instance. When the intersection check code is being ran for the adapter it is unable to resolve the connect descriptor because it does not exist in the 32 bit TNSNAMES.ORA file.
Solution : A) Logon to the FDMEE Application Server
B) Browse to the Oracle\Middleware\EPMSystem11R1\DBClient32\Network\Admin directory
C) Open the TNSNAMES.ORA file in notepad
D) Add the following connect descriptor and save:
AIF_ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <DBHOST>)(PORT = <DBPORT>))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <SERVICE>)
regards,
-DM -
Acrobat 9 - AcroExch.PDDoc - ActiveX component can't create object
For opening a PDF file, I used following statement in VB6 :
Set AcroFirstDoc = CreateObject("AcroExch.PDDoc")
but it failed, with error "429- ActiveX component can't create object"
I was searching for solution. I found one link -
http://www.bigresource.com/Tracker/Track-vb-oY6Wgt9R/
Is this true?
What could be the problem? I need urgent help.
ThanksIf you want it
to continue working after you log off you have to change the COM+ properties
of the package to run as a specific user.
I recently installed the Evaluation edition of BizTalk Server, but am
finding
that I need to reinstall the software every time I log off(I am using the
same
logon throughout).
The problem I think is that BizTalk cannot start the XLANG Scheduler COM+
component - If I try to start it manually (in Component Services) I get
"Catalog
Error: Error Code 80080005 - Server Execution Failed"
more info: http://www.programd.com/118_4e0323a255219dd1_1.htm
If I try to run the XLANG Schedule created in the Tutorial, via
ExecuteTutorial.exe, the error message is "...ActiveX Component can't create
object. Error: 429 (0x1AD)"
BizTalk is unable to run any XLANG Schedule, I also have a Schedule setup
which
is activated via a File Receive Function. This fails also.
The System Log reports the following error every minute (at least!):
"The server{bla bla bla}did not register with DCOM within the required
timeout"
The only solution I have found is to reinstall & even this is not successful
every time.
Has anyone else seen this problem? Any suggestions? -
I've looked at all the other threads I could find in Technet that look close to this issue.
In my BDD.log, the last entry is "FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object" right after "RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll""
I have the following:
C:\_SMSTaskSequence folder
C:\MININT folder
LiteTouch.wsf link under the Startup Folder
Deployment share is mapped properly
System logs in automatically as local administrator
Even with this, it does not automatically resume the imaging job. I do not understand why it is not continuing.
If I launch the LiteTouch.wsf from an Admin elevated cmd window, the Task Sequence resumes like nothing was wrong.
Any guidance is appreciated!
EDIT1: I changed my customsetting.ini file to join a workgroup instead of the domain and it appears to be continuing without issue now. Is there something I am missing as to why it does not automatically run when it joins to a domain?Just wanted to provide an update.
So, i took the suggestion of a few other blog posts and moved the object into the Computers Container in AD so it did not have any policies impacting it. After doing this, it properly cycles through the application installs and reboots in the Task Sequence
while joined to the domain.
Is there an sort of comprehensive list of GPO settings that break MDT? The ones I have found (legal prompt, etc.) we do not do so it has to be something else. -
Internetexplorer.application activex component can't create object
I am getting the infamous 429 error with a new image of Windows 2003 Server.
I am sure this is an issue with the Windows 2003 Server image, so I have to figure out a work around to get this to work. No updates to the image are possible. I have been searching for a solution for a couple of days and nothing I have
tried has worked so any assistance you can provide is most welcome.
This script works just fine on my Windows 7 machine and used to work just fine on the previous image of Windows 2003 Server I had which is no longer available:
Err.Number: 429
Err.Description: "ActiveX component can't create object"
Here is the code:
On Error Resume Next
Set fsoObj = CreateObject("Scripting.FileSystemObject")
Dim objIE
Err.Clear
Set objIE = CreateObject( "InternetExplorer.Application" )
If ( Err.Number <> 0 ) Then
WScript.Echo "Number (" & Err.Number & ")" & vbCrLf _
& "Description [" & Err.Description & "]"
WScript.Quit
End If
objIE.Navigate "about:blank"
objIE.Width = 200
objIE.Height = 300
Do Until objIE.ReadyState = 4
WScript.Sleep 200
Loop
Do While objIE.Busy
WScript.Sleep 200
Loop
bodyStr = javaScriptStr & "<table align='center'><tr><td align='center' colspan='2'>Click Run or Cancel</td></tr>" _
& "<tr align='center'>" & vbCrLf _
& "<td colspan='2'>" & vbCrLf _
& "<input type='submit' value=' Run ' " & "OnClick='VBScript:OK.Value=1'>" & vbCrLf _
& " " & vbCrLf _
& "<input type='submit' value=' Cancel ' " & "OnClick='VBScript:CANCEL.Value=1'>" & vbCrLf _
& "</td></tr>" & vbCrLf _
& "</table>" & vbCrLf _
& "<input type='hidden' id='CANCEL' name='CANCEL' value='0'>" & vbCrLf _
& "<input type='hidden' id='OK' name='OK' value='0'>"
objIE.Document.Body.InnerHTML = bodyStr
objIE.Visible = True
Do While ( ( objIE.Document.All.CANCEL.Value = 0 ) AND ( objIE.Document.All.OK.Value = 0 ) )
WScript.Sleep 200
If Err Then ' user clicked red X (or alt-F4) to close IE window
objIE.Quit
Set objIE = Nothing
logFile.WriteLine Now & " - aborting input!"
End if
Loop
objIE.QuitI tested this cleaned up version on WS2003. It works exactly the same way as it does on Windows 8 and Windows 7.
Set objIE = CreateObject( "InternetExplorer.Application" )
objIE.Navigate "about:blank"
objIE.Width = 200
objIE.Height = 300
Do While objIE.Busy
WScript.Sleep 200
Loop
bodyStr = javaScriptStr & "<table align='center'><tr><td align='center' colspan='2'>Click Run or Cancel</td></tr>" _
& "<tr align='center'>" & vbCrLf _
& "<td colspan='2'>" & vbCrLf _
& "<input type='submit' value=' Run ' " & "OnClick='VBScript:OK.Value=1'>" & vbCrLf _
& " " & vbCrLf _
& "<input type='submit' value=' Cancel ' " & "OnClick='VBScript:CANCEL.Value=1'>" & vbCrLf _
& "</td></tr>" & vbCrLf _
& "</table>" & vbCrLf _
& "<input type='hidden' id='CANCEL' name='CANCEL' value='0'>" & vbCrLf _
& "<input type='hidden' id='OK' name='OK' value='0'>"
objIE.Document.Body.InnerHTML = bodyStr
objIE.Visible = True
On Error Resume Next
Do While ( ( objIE.Document.All.CANCEL.Value = 0 ) AND ( objIE.Document.All.OK.Value = 0 ) )
If Err Then ' user clicked red X (or alt-F4) to close IE window
WScript.Echo Now & " - aborting input!"
WScript.Quit
End if
WScript.Sleep 200
Loop
WScript.Echo Now & " - EXITING!"
objIE.Quit
¯\_(ツ)_/¯ -
working with MDT 2013 & ADK 8.1,
Windows 8.1 x64 deployment fails in section "State Restore" (Deployment Type: NEWCOMPUTER).
RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Micrsoft.BDD.Utility.dll"
"FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object"
go to "%programdata%\microsoft\windows\start menu\programs\startup" and perform the "Litetouch.lnk" with elevated rights (right click run as administrator), the ts will continue and apply the OS without any error message.
join to workgroup instead to domain and the installation will perform without any error...
any help is appreciated.
thx a lot.
The error was AD policy related.
I moved the device to an AD Folder (no policy), deployed the windoows 8 again and moved the box back to the correct ou in TS section PostInstall - Custom Tasks using a ps script.
I did not figure out which policy.
Update: moved from W8.1 EVALUATION to offical release solved my problem!Which policies are causing this? Do you have anything that limits/modifies the local administrator account? Or restricts the loading of ActiveX?
Keith Garner - keithga.wordpress.com
Maybe you are looking for
-
How do I make them visible?
I have an external hard drive that is split into one PC section and one Mac section. I have a new MacBookPro and now I want to copy some files from the PC section to the Mac section but can not see any files in the PC section to copy. How do I make t
-
OBIEE / BI Publisher report question
Hi, quick OBIEE / BI Publisher question. We have a requirement to produce a very formatted, complex report. All of the data exists in OBIEE - but there are multiple subject areas needed to answer the questions (thus multiple Answers queries). Assumin
-
Looking for best way to filter status or meter data from differently formatted text.
With the product we design we are able to communicate via RS-232 ports. What I'm trying to do is filter out the data that is given by multiple differnt types of products that will give similar data back, but in a differnt format. Such that in a statu
-
PP-PI: Planning table customising (CM29)
Hi, I have a question with regard to the planning table. The planning table basically exists of two parts, on the left side is the information of the planned orders and process orders, on the right side is the scheduling of the orders. I'd like to cu
-
I purchased my mac Sept 2011 with the latest version of iphoto. Every time I try to do an iphoto update I'm always asked to log in with the name I used to purchase the app. Does this mean that I have to purchase the latest update? I thought the updat