Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Creating File Stream
Venu Gopal Ragu
Posts: 11
 
Creating File StreamYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jun 06 4:24 AM

azor

azor open
fiogf49gjkf0d
How do I create a file in a temporary folder and log some details using VB script. If any have a code example it would be great.
[Reply][Quote]
Venu Gopal Ragu
Posts: 11
 
Re: Creating File StreamYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jun 06 7:28 AM

remeron

remeron click here
fiogf49gjkf0d
Farley, i have found this code from your website and it dose work... thanks

Set fileObj = CreateObject("Scripting.FileSystemObject")
Set File = fileObj.CreateTextFile("c:\Test.txt", True)
File.Write("asdasd")
File.Close()
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Creating File StreamYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 06 12:49 AM

tadalafil sandoz

cialis generico online italia consegna veloce redirect
fiogf49gjkf0d
Glad you found what you needed!

BTW, an easy way to get a "writeable" path that doesn't require any elevated rights is to use the built in "Application.BasicFunctions.GetPersonalDatapath". This will return a string path to the user’s local data folder (Under Documents and Settings). If this path is unavailable, the application install path will be returned. Using this path to write to a file will ensure that the user doesn't need any elevated rights at all.

-Ryan
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 3:31:51 AM