Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, November 30, 2024
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)
11/30/2024 10:21:51 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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to Controls
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: DirDlg.ocx - SLX 7.2
Phil Parkin
Posts: 819
DirDlg.ocx - SLX 7.2
Posted: 16 Jan 08 5:39 PM
I am trying to implement a customisation on a 7.2 system that works in earlier versions (even up to 7.0.1). It relies on a custom control, DirDlg, which can be viewed in Architect by right-clicking in the Controls section, selecting customise and scrolling down to the 'Directory Dialog' item. This references a file DirDlg.ocx somewhere in C:\WINDOWS.
On a 7.2 system, this custom control is no longer available. So my customisation fails big time with 'cannot find reference' errors.
Does anyone know anything about this? Why was it removed and suggestions for what I can do to make my customisation work again?
Thanks very much
Phil
[
Reply
][
Quote
]
Rohan Verghese
Posts: 40
Re: DirDlg.ocx - SLX 7.2
Posted: 16 Jan 08 5:57 PM
You might be able to redownload the control from here:
http://www.martin2k.co.uk/vb6/tips/vb_34.php
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: DirDlg.ocx - SLX 7.2
Posted: 16 Jan 08 6:02 PM
Thanks Rohan
I found that site and even downloaded the control. But then I wasn't sure exactly what was required - would I need to distribute the control separately (somehow) to all of the 7.2 clients to make it work? Would it also need to be registered on these machines? If so, I'd rather investigate using an alternative control that does the same job and does not require me to distribute it.
P
[
Reply
][
Quote
]
Rohan Verghese
Posts: 40
Re: DirDlg.ocx - SLX 7.2
Posted: 16 Jan 08 6:24 PM
It looks like a wrapper for the
SHBrowseForFolder
function, which is a Windows Shell function.
You could probably call that function directly in your code, or write a common function to do so, as in this MS Knowledgebase article:
How To Select a Directory Without the Common Dialog Control
. I'm not really sure how components get redistributed, but I don't think there's a default wrapper in Windows or SLX.
As an alternative, you could probably adapt the regular Open File dialog to select directories.
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: DirDlg.ocx - SLX 7.2
Posted: 16 Jan 08 9:41 PM
Quote:
Originally posted by Phil Parkin
I'd rather investigate using an alternative control that does the same job and does not require me to distribute it.
Hi Phil.
If it is just a browse for folder dialog you're after I have what you need written up on SalesLogixBlog.com (and no distribution of anything is required)
Using the Browse for Folder Dialog in SalesLogix
http://saleslogixblog.com/rfarley/archive/2007/08/08/37945.aspx
-Ryan
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: DirDlg.ocx - SLX 7.2
Posted: 16 Jan 08 9:51 PM
Fantastic! - that is what I want
Thanks 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
|
page cache (param): 11/30/2024 10:23:00 AM