Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Sunday, July 6, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
7/6/2025 6:28:52 AM
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: read and display text file
David Ogles
Posts: 51
read and display text file
Posted: 31 Aug 10 4:36 PM
I have text files that I want to display the contents of in a field on the account main screen. In the account table, I have a field that references the specific text file. How would I go about adding that to the account form. I've tried a browser windows but just get the path to show up.
thank,
dave
[
Reply
][
Quote
]
Raul A. Chavez
Posts: 1300
Re: read and display text file
Posted: 31 Aug 10 4:51 PM
Use a Memo Control, and Load the File via Script.
[
Reply
][
Quote
]
David Ogles
Posts: 51
Re: read and display text file
Posted: 31 Aug 10 4:57 PM
It is not giving an error, but just shows blank. here is what I have
Const conForReading = 1
Dim objFSO, objReadFile, contents
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objReadFile = objFSO.OpenTextFile("\\Slxdemo\Documents\PicsText\TEXT\New\36104.txt", 1, False)
contents = objReadFile.ReadAll
objReadFile.close
memo1.Text = contents
Set objFSO = Nothing
Set objReadFile = Nothing
[
Reply
][
Quote
]
David Ogles
Posts: 51
Re: read and display text file
Posted: 31 Aug 10 5:08 PM
Thanks. too late in the day. memo2 instead of memo1. duh.
[
Reply
][
Quote
]
RJ Samp
Posts: 973
Re: read and display text file
Posted: 01 Sep 10 9:33 AM
yea, it's a good thing I've NEVER done that......
[
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 © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 7/6/2025 7:03:05 AM