Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2015 > Visual Basic 2015 General Discussion
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Basic 2015 General Discussion For any discussions about Visual Basic 2015 topics which aren't related to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2015 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 8th, 2016, 10:38 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBScript in Windows 10

In a VBA add-in to a CAM program, I have the following lines:

Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile(strFilepath, True)

This code works in previous versions of Windows, including Windows 7. (Never tried it in Windows 8). In Windows 10, however, the subroutine just quits when it hits these lines. I have the scrrun.dll referenced in my project.

I've been searching the internet to see what might have changed in Windows 10 that I might have to change the code somehow. Can anyone point me in the right direction to resolve this?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable or Disable Desktop Composition in Windows 10 AjitKhodke VB How-To 0 May 5th, 2016 03:19 AM
Vbscript Code Problem - Click on Activate open windows (web page) yitch VBScript 0 January 30th, 2013 08:20 AM
Chapter 10, listing 10-10-app kiwibrit BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 2 August 18th, 2009 04:21 AM
Windows Media Player 10 gigamars04 VB.NET 1 December 16th, 2007 11:12 PM
Using Windows Media Player 10 in ASP.Net 1.1 pritambaldota ASP.NET 1.0 and 1.1 Professional 3 August 16th, 2006 12:13 AM



All times are GMT -4. The time now is 08:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.