|
|
|
coreyw2000
Corey Welsh |
Posted:
Sat Nov 06, 2004 5:00 am |
|
|
|
PRO VETERAN
Joined: 05 Oct 2004
Posts: 9265
Location: Saskatchewan, Canada
|
|
How do I open a file in VB6? I want to click on a button and it opens an .exe or a .zip file. It would be on a cd so it would be "[cdrom target]/folder/file.exe (example) and how do I make it open in a cd. It could be E:/ or F:/ or G:/ etc
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
poisonbl
Joshua M. Murphy |
Posted:
Wed Nov 17, 2004 5:52 pm |
|
|
|
PRO Level 15
Joined: 15 Nov 2004
Posts: 1040
Location: WVU -- Morgantown, WV. -- USA (TZ: -5 hrs GMT, -4 DST)
|
i haven't looked at much VB, but MSDN has tons of walkthroughs, tips, and other info.
i'm not sure how to execute a file / open a a file via shell extensions, but as for the drive problem:
the page linked below shows use of the CurDir() function, .. you could probably parse the output of that function early to get the drive letter your working with -- given that the program runs with it's working directory as the same path that it exists in. (also, .. no risk of this being used from a drive/partition mounted as an NTFS subfolder is there?)
if you store that into a variable early, you can use it for dynamically fixing to correct paths for the rest of execution. (all of my logic is actually running from use of C but the general idea should work w/ about anything)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vbconProcessingFiles.asp
i'd test the ideas here ... but umm .. i'm in linux and don't wanna fight with windows today 
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
marathonman
|
Posted:
Sat Jan 15, 2005 1:46 pm |
|
|
|
PRO Level 15
Joined: 28 Jun 2004
Posts: 1212
|
|
Does anyone know how to get hold of the BIOS ID string using plain C, or failing that C++? I'd like to compile a small .dll with just one function, called say, 'grabBiosId'.. that I could call easily from say VB, ideally without requiring too much in the way of calling parameters. Or does anyone know of an existing, native windows API call that would do this (or an existing third-party, public domain .dll)
I have a vague idea how to use LCC-Win32 if that would be any use in compiling some C code.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
ch00k
|
Posted:
Sun Mar 06, 2005 10:01 pm |
|
|
|
PRO Level 3
Joined: 21 Jul 2004
Posts: 64
Location: Sydney, Australia
|
rjordan wrote way back...
| Quote: |
| You can make your background not move by using css |
I was wondering if there is a way that you can make the background of a table opaque. example would be you have a page background image that is fixed. background colour is white. You have a table with a blue background. You want to be able to see the background image through the table background.
I haven't been able to find anything about this, and it doesn't look like it can be done. Wondering if anyone else has tried this and if so, have you succeeded
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
dotcompals
|
Posted:
Fri Jul 08, 2005 11:30 am |
|
|
|
PRO Level 3
Joined: 21 Dec 2004
Posts: 77
Location: Kerala(m)- India / Bharat(am)
|
| imnuts wrote: |
| maybe you can help with this. i have seen many sites where the background is a static image and when you scroll down, the text moves and the background doesn't. how do they do that cause i want my site to be like that. |
You can achieve that using simple HTML code as give below:
| Code: |
<body background="picture.jpg" bgproperties="fixed"> |
as simple as that..no need of css or anythingelse.
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
dotcompals
|
Posted:
Fri Jul 08, 2005 11:42 am |
|
|
|
PRO Level 3
Joined: 21 Dec 2004
Posts: 77
Location: Kerala(m)- India / Bharat(am)
|
| ch00k wrote: |
rjordan wrote way back...
| Quote: |
| You can make your background not move by using css |
I was wondering if there is a way that you can make the background of a table opaque. example would be you have a page background image that is fixed. background colour is white. You have a table with a blue background. You want to be able to see the background image through the table background.
I haven't been able to find anything about this, and it doesn't look like it can be done. Wondering if anyone else has tried this and if so, have you succeeded |
Try the below one
| Code: |
| <table style="filter:alpha(opacity=65);" border="1"> |
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
DEVILSAN
|
Posted:
Mon Jul 25, 2005 8:44 am |
|
|
|
PRO Level 15
Joined: 18 Oct 2003
Posts: 1234
Location: Canada
|
|
need code to download particular css depending on the resol;ution of the client . & that CSS will contain the height width,etc specifications.......
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
poisonbl
Joshua M. Murphy |
Posted:
Mon Jul 25, 2005 3:29 pm |
|
|
|
PRO Level 15
Joined: 15 Nov 2004
Posts: 1040
Location: WVU -- Morgantown, WV. -- USA (TZ: -5 hrs GMT, -4 DST)
|
|
hmm, javascript is your best bet here i think, just dump values into the string used as the filename, i'll look for something ...
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
DEVILSAN
|
Posted:
Tue Jul 26, 2005 4:00 am |
|
|
|
PRO Level 15
Joined: 18 Oct 2003
Posts: 1234
Location: Canada
|
| poisonbl wrote: |
| hmm, javascript is your best bet here i think, just dump values into the string used as the filename, i'll look for something ... |
Now i have written the whole code myself 
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
adnanmadi
Adnan Madi |
Posted:
Tue Jul 26, 2005 4:37 am |
|
|
|
PRO Level 15
Joined: 14 Mar 2005
Posts: 1071
Location: Ramallah, Palestine
|
|
I can help in c++/perl/oracle/VB/c/Java
don't hesitate to ask me anything
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
|
Back to top |
|
|
|
|
|