Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateObject("MSComDlg.CommonDialog") problem

Status
Not open for further replies.

dafi

Programmer
Apr 19, 2001
25
0
0
RO
I have a strange problem:

here is a little code:
set dialogul = Server.CreateObject("MSComDlg.CommonDialog")
dialogul.Dialogtitle = "Atasare fisier"
dialogul.filter = "Toate (*.*)|*.*|Excel (*.xls)|*.xls|Word (*.doc)|*.doc|Text (*.txt)|*.txt"
dialogul.filterindex = 1
dialogul.maxfilesize = 1024

dialogul.ShowOpen

the problem is that when I try to open the page (dialogul.ShowOpen) I get the error
"The common dialog function failed during initialisation. This error often occurs when insufficient memory is available"

I copied it from my pc at home where it works and i have w98 installed and 128MB ram
On an w2000 with 256 MB ram it gives me this error.
?????
I checked the memory available and it's 90 MB !!!!!!!

what is the real problem ???
It has to do with W2000?
the site where it is posted has only 20 users allowed to enter at a time which is not much

This problem is very nasty and I have to handle it very quickly.

I need any sugestions.

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top