Y
yanivoliver
Hey,
I'm using the CommonDialog object to load a dialog which allows the
user to select the files they want to upload. This solution works
perfectly on computers that have some Visual Studio applications
installed, but on those without any, it won't work since it doesn't
have the required file registered.
The code I'm currently using:
ComDlg = new ActiveXObject("MSComDlg.CommonDialog");
ComDlg.Filter = "All Files(*.*)|*.*";
ComDlg.FilterIndex = 1;
ComDlg.Flags = 0x200 | 0x1000 | 0x80000;
ComDlg.MaxFileSize = 512;
ComDlg.ShowOpen();
Does anyone have a way I can still use the CommonDialog object on
computers that dont have comdlg32.dll registered correctly? I have no
problem putting the comdlg32.dll file on the users computer, but how
can I register it/use it without registering it?
Any help would be greatly appreciated,
Yaniv
I'm using the CommonDialog object to load a dialog which allows the
user to select the files they want to upload. This solution works
perfectly on computers that have some Visual Studio applications
installed, but on those without any, it won't work since it doesn't
have the required file registered.
The code I'm currently using:
ComDlg = new ActiveXObject("MSComDlg.CommonDialog");
ComDlg.Filter = "All Files(*.*)|*.*";
ComDlg.FilterIndex = 1;
ComDlg.Flags = 0x200 | 0x1000 | 0x80000;
ComDlg.MaxFileSize = 512;
ComDlg.ShowOpen();
Does anyone have a way I can still use the CommonDialog object on
computers that dont have comdlg32.dll registered correctly? I have no
problem putting the comdlg32.dll file on the users computer, but how
can I register it/use it without registering it?
Any help would be greatly appreciated,
Yaniv