Support for Windows Products
Support for Windows Products
How To Fix Error 5152 Visual Basic
If you have Error 5152 Visual Basic then we strongly recommend that you download and run this (Error 5152 Visual Basic) repair tool.
Symptoms & Summary
Error 5152 Visual Basic and other critical errors can occur when your Windows operating system becomes corrupted. Opening programs will be slower and response times will lag. When you have multiple applications running, you may experience crashes and freezes. There can be numerous causes of this error including excessive startup entries, registry errors, hardware/RAM decline, fragmented files, unnecessary or redundant program installations and so on.
In order to fix your error, it is recommended that you download the 'Error 5152 Visual Basic Repair Tool'. This is an advanced optimization tool that can repair all the problems that are slowing your computer down. You will also dramatically improve the speed of your machine when you address all the problems just mentioned.
Recommended: In order to repair your system and Error 5152 Visual Basic, download and run Reimage. This repair tool will locate, identify, and fix thousands of Windows errors. Your computer should also run faster and smoother after using this software.
File Size 746 KB
Compatible Windows XP, Vista, 7 (32/64 bit), 8 (32/64 bit), 8.1 (32/64 bit) Windows 10 (32/64 bit)
Word 2010 I have a long bit of code that at one point saves a Word document and then saves it again with a new name and the old (legacy) .doc extension. This all works find when the user is running Office 2007. However, it errors out for anyone using Office 2010. The reference libraries are all correct (as far as I know). Can anyone point me towards a solution. Code:
Dim myDoc As Word.Document
Dim saveAsName as String
http://www.perrla.com/KBArticle.aspx?ID=1851&Source=3 /> saveAsName = "some text here" + ".doc"
myDoc.SaveAs fileName:=(saveAsName), FileFormat:=wdFormatDocument Nov 8th, 2012, 07:32 AM Andrew Poulsom Re: Excel VBA Save AS (word document) not working with Word 2010 What error do you get? Nov 8th, 2012, 09:30 AM jscranton Re: Excel VBA Save AS (word document) not working with Word 2010 http://www.mrexcel.com/forum/excel-questions/668456-excel-visual-basic-applications-save-word-document-not-working-word-2010-a-print.html Run-Time Error 5152: This is not a valid file name. Nov 8th, 2012, 09:45 AM Andrew Poulsom Re: Excel VBA Save AS (word document) not working with Word 2010 Firstly, you should use & for concatenation not +. Secondly, try removing the parentheses around (saveAsName). Nov 8th, 2012, 10:33 AM jscranton Re: Excel VBA Save AS (word document) not working with Word 2010 Sorry, it was an & in the script. I free typed that. Let me see if removing the parenthesis works. Nov 8th, 2012, 10:38 AM Andrew Poulsom Re: Excel VBA Save AS (word document) not working with Word 2010 It's always best to copy and paste the actual code rather than typing pseudo code. Nov 8th, 2012, 11:05 AM jscranton Re: Excel VBA Save AS (word document) not working with Word 2010 Removing the parenthesis didn't help. Here is the full piece of code (the variable in formName are all strings). Just to reiterate, this works fine in Word 2007: Code: formName = "Project " & subject & "_" & feedbackType & "_" & errorDate & "_" & recepient
saveAsName = "Reviewer_Feedback_" & formName & ".doc"
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search https://www.experts-exchange.com/questions/21030345/Macro-Problem-in-Using-MS-WORD-VB.html Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website http://runtime.error.5152.visual.basic.cl-xml.org/ Testing Store Headlines Experts Exchange > Questions > Macro Problem in Using MS WORD - VB Want to Advertise Here? Solved Macro Problem in Using MS WORD - VB Posted on 2004-06-18 Programming 1 Verified Solution 7 Comments 2,379 Views Last Modified: 2008-01-16 The problems faced by us using Macros in MS WORD 2000 (9.0.3821 SR -1) and Visual error 5152 Basic 6.0 1----------------------------------------------------------------------------------------- We are using MS WORD 2000 (9.0.3821 SR -1) for creating forms using MERGEFIELDS And MACROS. When we open the MS WORD file from VB application in a Internet Browser control, we get a Warning message from MS WORD. Is there any way to trap the return value from the warning message dialogue box. 2----------------------------------------------------------------------------------------- We are using MS WORD 2000 (9.0.3821 SR -1) for creating forms using MERGEFIELDS and We are error 5152 visual using macros for the combo boxes to Select the name and putting the respective signature image on the document We are storing images on the same path as document. While we develop, RUN and Test the Application using MS WORD 2000 (9.0.3821 SR -1) We open the MS WORD file from VB application in a Internet Browser control. ThisDocument.Path & "\Officer.jpg" This command gets executed very well on MS WORD 2000 (9.0.3821 SR -1) On selecting the value from the combo box on the word document When we try to run the same application with same code on MS WORD 9.0.2720 OR MS WORD 2002 10.2627.2625 It gives us following error Runtime error 5152 This is not a valid file name", Try one or more of the following Check the path to make sure it was typed correctly. Select a file from the list of files and folder Please guide us on how to go about the problem, As we have no control over the version of the MS WORD on client Machine Is there any resolve available for this one. 3--------------------------------------------------------------------------------------- Using MS WORD 2000 (9.0.3821 SR -1), Once we select the combo and Required image is put on the document, we try to read the combo values from MS WORD. We are not able to read the selected
1: Download (Runtime Error 5152 Visual Basic) Repair Tool Step 2: Click the "Scan" button Step 3: Click 'Fix All' and you're done! Compatibility: Windows 7, 8, Vista, XP Download Size: 6MB Requirements: 300 MHz Processor, 256 MB Ram, 22 MB HDD Limitations: This download is a free evaluation version. To unlock all features and tools, a purchase is required. Runtime Error 5152 Visual Basic Error Codes are caused in one way or another by misconfigured system files in your windows operating system. If you have Runtime Error 5152 Visual Basic errors then we strongly recommend that you Download (Runtime Error 5152 Visual Basic) Repair Tool. This article contains information that shows you how to fix Runtime Error 5152 Visual Basic both (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to Runtime Error 5152 Visual Basic error code that you may receive. Note: This article was updated on 2016-10-04 and previously published under WIKI_Q210794 Contents 1.What is Runtime Error 5152 Visual Basic error? 2.What causes Runtime Error 5152 Visual Basic error? 3.How to easily fix Runtime Error 5152 Visual Basic errors What is Runtime Error 5152 Visual Basic error? The Runtime Error 5152 Visual Basic error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compatible software and driver vendors. This code is used by the vendor to identify the error caused. This Runtime Error 5152 Visual Basic error code has a numeric error number and a technical description. In some cases the error may have more parameters in Runtime Error 5152 Visual Basic format .This additional hexadecimal code are the address of the memory locations where the instruction(s) was loaded at the time of the error. What causes Runtime Error 5152 Visual Basic error? The Runtime Error 5152 Visual Basic error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer. There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer. All the above actives may result in the deletion or corruption of the entries in the windows system files. This corrupted s
error 5152 vb
Error Vbyour first visit be sure to check out the FAQ by clicking the link above You may have to register before you can post click the register link above to proceed To start viewing messages select the forum that you want to visit from the selection below Results to of Thread Runtime error Tweet Thread Tools Show Printable Version Subscribe to this Thread hellip Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Sep rd PM Brian Delphino View Profile View Forum Posts Visit Homepage Thread Starter Member Join Date May Posts Runtime error I have a
Error your first visit be sure to check out the FAQ by clicking the link above You may have to register before Runtime Error Vb you can post click the register link above to proceed To start run time error word viewing messages select the forum that you want to visit from the selection below Results to Error Sybase Replication of Thread Runtime error Tweet Thread Tools Show Printable Version Subscribe to this Thread hellip Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Sep rd runtime error word PM Brian Delphino View Profile View Forum Posts Visit
There are many reasons why Error 5152 Visual Basic happen, including having malware, spyware, or programs not installing properly. You can have all kinds of system conflicts, registry errors, and Active X errors. Reimage specializes in Windows repair. It scans and diagnoses, then repairs, your damaged PC with technology that not only fixes your Windows Operating System, but also reverses the damage already done with a full database of replacement files.
A FREE Scan (approx. 5 minutes) into your PC's Windows Operating System detects problems divided into 3 categories - Hardware, Security and Stability. At the end of the scan, you can review your PC's Hardware, Security and Stability in comparison with a worldwide average. You can review a summary of the problems detected during your scan. Will Reimage fix my Error 5152 Visual Basic problem? There's no way to tell without running the program. The state of people's computers varies wildly, depending on the different specs and software they're running, so even if reimage could fix Error 5152 Visual Basic on one machine doesn't necessarily mean it will fix it on all machines. Thankfully it only takes minutes to run a scan and see what issues Reimage can detect and fix.
A Windows error is an error that happens when an unexpected condition occurs or when a desired operation has failed. When you have an error in Windows, it may be critical and cause your programs to freeze and crash or it may be seemingly harmless yet annoying.
A stop error screen or bug check screen, commonly called a blue screen of death (also known as a BSoD, bluescreen), is caused by a fatal system error and is the error screen displayed by the Microsoft Windows family of operating systems upon encountering a critical error, of a non-recoverable nature, that causes the system to "crash".
One of the biggest causes of DLL's becoming corrupt/damaged is the practice of constantly installing and uninstalling programs. This often means that DLL's will get overwritten by newer versions when a new program is installed, for example. This causes problems for those applications and programs that still need the old version to operate. Thus, the program begins to malfunction and crash.
Computer hanging or freezing occurs when either a program or the whole system ceases to respond to inputs. In the most commonly encountered scenario, a program freezes and all windows belonging to the frozen program become static. Almost always, the only way to recover from a system freeze is to reboot the machine, usually by power cycling with an on/off or reset button.
Once your computer has been infected with a virus, it's no longer the same. After removing it with your anti-virus software, you're often left with lingering side-effects. Technically, your computer might no longer be infected, but that doesn't mean it's error-free. Even simply removing a virus can actually harm your system.
Reimage repairs and replaces all critical Windows system files needed to run and restart correctly, without harming your user data. Reimage also restores compromised system settings and registry values to their default Microsoft settings. You may always return your system to its pre-repair condition.
Reimage patented technology, is the only PC Repair program of its kind that actually reverses the damage done to your operating system. The online database is comprised of over 25,000,000 updated essential components that will replace any damaged or missing file on a Windows operating system with a healthy version of the file so that your PC's performance, stability & security will be restored and even improve. The repair will deactivate then quarantine all Malware found then remove virus damage. All System Files, DLLs, and Registry Keys that have been corrupted or damaged will be replaced with new healthy files from our continuously updated online database.
Downloads in July: 361,927
Download Size: 746KB
To Fix (Error 5152 Visual Basic) you need to follow the steps below:
Download Error 5152 Visual Basic Repair Tool
Click the "Scan" button
Click 'Fix All' and the repair is complete.
Windows Operating Systems:
Compatible with Windows XP, Vista, Windows 7 (32 and 64 bit), Windows 8 & 8.1 (32 and 64 bit), Windows 10 (32/64 bit).