PROnetworks »

Post new topic    Reply to topic
Login to print this topic
Author Message
coreyw2000
Corey Welsh
PostPosted: Sat Nov 06, 2004 5:00 am Reply with quote

PRO VETERAN
 
 


Joined: 05 Oct 2004
Posts: 9256
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
PostPosted: Wed Nov 17, 2004 5:52 pm Reply with quote

PRO Level 15
 
 


Joined: 15 Nov 2004
Posts: 1039
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)

:moreat: 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 embarrassed
 
Back to top
marathonman
PostPosted: Sat Jan 15, 2005 1:46 pm Reply with quote

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
PostPosted: Sun Mar 06, 2005 10:01 pm Reply with quote

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
PostPosted: Fri Jul 08, 2005 11:30 am Reply with quote

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
PostPosted: Fri Jul 08, 2005 11:42 am Reply with quote

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
PostPosted: Mon Jul 25, 2005 8:44 am Reply with quote

PRO Level 15
 
 


Joined: 18 Oct 2003
Posts: 1232
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
PostPosted: Mon Jul 25, 2005 3:29 pm Reply with quote

PRO Level 15
 
 


Joined: 15 Nov 2004
Posts: 1039
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
PostPosted: Tue Jul 26, 2005 4:00 am Reply with quote

PRO Level 15
 
 


Joined: 18 Oct 2003
Posts: 1232
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 ...


thumbsup
Now i have written the whole code myself whistle
 
Back to top
adnanmadi
Adnan Madi
PostPosted: Tue Jul 26, 2005 4:37 am Reply with quote

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
Index >> Webmaster Domain & Code Room >> Code request Thread

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next

Page 5 of 7

Post new topic   Reply to topic


Tired of the Ads? Registered users have 80% less adverts.