View previous topic :: View next topic |
Author |
Message |
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Sep 29, 2003 2:42 pm Post subject: Screen capture DSU |
|
|
This a DSU interfaced with a freeware OCX(activeX control) via
an activexdll. It gives you the ability to capture the screen.
You can capture entire screen or an active window or a window
of your choice or even a region of the screen and save it as a
bitmap to a specified location. All the functions are wrapped
into dsu for easy use with english like VDS commands.
Download Here:
http://codescript.vdsworld.com/VDS5src/capscreen.zip
Requirements:
=============
1.VB 6 runtimes (MSVBVM60.DLL). This comes along with
Win XP and most likely it is already there in your system(32)
directory but if you don't have you can download from the link below.
2.The Dll/OCX needs to be "Registered" using using regsvr32.exe
but you need not worry as the dsu does this automatically for you when
you run it first time. If you move the folder etc please delete the
Capturesettings.ini before running for a fresh registration.
You can get MSVBVM60.DLL from here:
-----------------------------------
http://codescript.vdsworld.com/VDS5src/msvbvm60.zip
You have to place in system32 directory in win NT/2k/XP.
and in system directory for win 9x.
I don't know where ActiveX controls fit in but since it is a DSU interface I posted it here. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Sep 29, 2003 2:59 pm Post subject: |
|
|
Hi LiquidCode
I just saw that you posted a question about doing it without a dll.
http://forum.vdsworld.com/viewtopic.php?t=1987
I added even more than plain dlls - activeX.
But it does have cool features.
Is there a screen capture dll already ?
Does the VDSdll have it ? _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Mon Sep 29, 2003 3:00 pm Post subject: |
|
|
Yes, it's VDSCap.dll. It doesn't work with VDS5. That is why I asked. _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
PGWARE Web Host
Joined: 29 Dec 2001 Posts: 1562
|
Posted: Mon Sep 29, 2003 4:50 pm Post subject: |
|
|
The vdssave screensaver dll has the ability to do a windows screencapture as well and save the file to disc as a bitmap. |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Mon Sep 29, 2003 5:51 pm Post subject: |
|
|
I cannot get the dll to work. I tried your script and EXE file, but, not BMP was created. I also deleted the ini file like it said, still nothing. _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Sep 30, 2003 4:33 am Post subject: |
|
|
Have you unpacked the zip contents into a single directory ?
Do you have MSVBVM60.DLL in your
system directory- win 9x or
system(32) directory- NT/2k/XP ?
What OS you are on ? what is the screen resolution ?
EDIT: Tested to work fine on Win98SE
Anyone else tried ?? _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Sep 30, 2003 10:30 am Post subject: |
|
|
Doesn't work for me either. Also the appbar doesn't work for me.
Win XP Pro, 1.80 GHz Intel Pentium 4 Processor, 256 MB RAM. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Sep 30, 2003 11:54 am Post subject: |
|
|
I really donot understand what is going wrong ?? It is working very fine here and also with Garett (appbar) ?
May be related to service pack versions of the MSVBVM60.DLL (unlikely)??
Did U try the above dll. Sorry I know it is ~600 kb. If you can afford downlaoding it may be worth a try.
I am surprised about appbar as that dll is very properly coded unlike this one which I thought could be improved upon.
One thing I can think is NT restrictions but LiquidCode is on Win 9x i think?
BTW I think I should have added the error mesages. I thought they would be irritating
Let me know if it's working with anyone. If not I will remove it from the mainsite. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Sep 30, 2003 6:49 pm Post subject: |
|
|
Yup, works fine here.. I'm currently running it under WinME.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Sep 30, 2003 7:09 pm Post subject: |
|
|
I tried putting the other runtime in the app's directory. The one in
my %systemroot%\system32 directory was newer than the other
one so I decided not to replace it. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Oct 01, 2003 1:53 am Post subject: |
|
|
FF
I think the runtime in system32 directory is looked at first in case of VB ??
You could have considered moving your runtime from system directory to a different place. Place this one in sys dir and test. You can always replace back your original one.
Also if U didn't know the VB runtime needs to be registered using regsvr32.exe before you can get the full functionality. This was done automatically during windows setup but just in case it got unregistered.
RUN:
regsvr32.exe %systemroot%\system32\MSVBVM60.DLL
I don't know of the %systemroot% varaible is valid or you need to enter actual path. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
|