Advertisement

Results for "Author: el mariachi"

2002ASP #2139
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

2002ASP #2140
XP Style Control Help

I wanted to share what i have learned about supporting XP themes in your existing apps. Note that the themes will only be visible if you are running Windows XP. Any other OS and they will look as they did before. First, make a manifest file for your app. This is fairly simple and samples can be searched for at PSC (go to http://www.planet-source-code.com/xq/ASP/txtCodeId.27928/lngWId.1/qx/vb/scripts/ShowCode.htm and that code will generate one for you). The second thing i learned is that certain controls, especially the option button, will not show up correctly in a frame(ie ugly black box around the option control). This can be resolved by putting your control in a picture box inside the frame. Second, a command button that is set to graphical style will not show up themed. The button has to be a standard style. Note that this property cannot be set through code, it has to de done via the properties in the IDE. Hope this helps.

2002ASP #2141
Copy files in directory - Extremely simple!!

With this code you can copy all files within a directory with a particular extension to another directory. Actually it will give you a progressive listing of a file with a wildcard and then you can do whatever you want with the file. Extremely simple and straightforward. I dont understand why the other codes are so huge. If you find an error or if you would like to comment please leave a messge.

2002ASP #2606
Label HyperLink uses existing browser -OR- opens new browser window!

After searching the net for some time I couldnt find a function that would give me a choice to open a Label hyperlink in an existing browser window OR open a brand new browser window. I coded this function with the help of some snippets i found. Included is some error trapping as well. I also added functionality to the hyperlink so that it acts like an internet hyperlink.

2002C #10743
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

2002C #10744
XP Style Control Help

I wanted to share what i have learned about supporting XP themes in your existing apps. Note that the themes will only be visible if you are running Windows XP. Any other OS and they will look as they did before. First, make a manifest file for your app. This is fairly simple and samples can be searched for at PSC (go to http://www.planet-source-code.com/xq/ASP/txtCodeId.27928/lngWId.1/qx/vb/scripts/ShowCode.htm and that code will generate one for you). The second thing i learned is that certain controls, especially the option button, will not show up correctly in a frame(ie ugly black box around the option control). This can be resolved by putting your control in a picture box inside the frame. Second, a command button that is set to graphical style will not show up themed. The button has to be a standard style. Note that this property cannot be set through code, it has to de done via the properties in the IDE. Hope this helps.

2002C #10745
Copy files in directory - Extremely simple!!

With this code you can copy all files within a directory with a particular extension to another directory. Actually it will give you a progressive listing of a file with a wildcard and then you can do whatever you want with the file. Extremely simple and straightforward. I dont understand why the other codes are so huge. If you find an error or if you would like to comment please leave a messge.

2002C #11210
Label HyperLink uses existing browser -OR- opens new browser window!

After searching the net for some time I couldnt find a function that would give me a choice to open a Label hyperlink in an existing browser window OR open a brand new browser window. I coded this function with the help of some snippets i found. Included is some error trapping as well. I also added functionality to the hyperlink so that it acts like an internet hyperlink.

2002VB #19347
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

2002VB #19348
XP Style Control Help

I wanted to share what i have learned about supporting XP themes in your existing apps. Note that the themes will only be visible if you are running Windows XP. Any other OS and they will look as they did before. First, make a manifest file for your app. This is fairly simple and samples can be searched for at PSC (go to http://www.planet-source-code.com/xq/ASP/txtCodeId.27928/lngWId.1/qx/vb/scripts/ShowCode.htm and that code will generate one for you). The second thing i learned is that certain controls, especially the option button, will not show up correctly in a frame(ie ugly black box around the option control). This can be resolved by putting your control in a picture box inside the frame. Second, a command button that is set to graphical style will not show up themed. The button has to be a standard style. Note that this property cannot be set through code, it has to de done via the properties in the IDE. Hope this helps.

2002VB #19349
Copy files in directory - Extremely simple!!

With this code you can copy all files within a directory with a particular extension to another directory. Actually it will give you a progressive listing of a file with a wildcard and then you can do whatever you want with the file. Extremely simple and straightforward. I dont understand why the other codes are so huge. If you find an error or if you would like to comment please leave a messge.

2002VB #19814
Label HyperLink uses existing browser -OR- opens new browser window!

After searching the net for some time I couldnt find a function that would give me a choice to open a Label hyperlink in an existing browser window OR open a brand new browser window. I coded this function with the help of some snippets i found. Included is some error trapping as well. I also added functionality to the hyperlink so that it acts like an internet hyperlink.

ASP_Volume2 #28063
Get File Sizes of Large Files

Gets the correct value for file sizes when the file is large (> ~2.1GB). Basically the file size function included in VB will give a wrong value when used on large files. The traditional way of getting the file size via API will also not work as detailed in the MS article http://support.microsoft.com/default.aspx?scid=kb;en-us;185476. After a bit of research I ended up tweaking the API function to calculate the proper file size. To see the differences, browse to a large file. Let me know if there are any bugs or suggestions to improve performance.

ASP_Volume2 #29685
Label HyperLink uses existing browser -OR- opens new browser window!

After searching the net for some time I couldnt find a function that would give me a choice to open a Label hyperlink in an existing browser window OR open a brand new browser window. I coded this function with the help of some snippets i found. Included is some error trapping as well. I also added functionality to the hyperlink so that it acts like an internet hyperlink.

ASP_Volume2 #32075
Copy files in directory - Extremely simple!!

With this code you can copy all files within a directory with a particular extension to another directory. Actually it will give you a progressive listing of a file with a wildcard and then you can do whatever you want with the file. Extremely simple and straightforward. I dont understand why the other codes are so huge. If you find an error or if you would like to comment please leave a messge.

ASP_Volume2 #34377
XP Style Control Help

I wanted to share what i have learned about supporting XP themes in your existing apps. Note that the themes will only be visible if you are running Windows XP. Any other OS and they will look as they did before. First, make a manifest file for your app. This is fairly simple and samples can be searched for at PSC (go to http://www.planet-source-code.com/xq/ASP/txtCodeId.27928/lngWId.1/qx/vb/scripts/ShowCode.htm and that code will generate one for you). The second thing i learned is that certain controls, especially the option button, will not show up correctly in a frame(ie ugly black box around the option control). This can be resolved by putting your control in a picture box inside the frame. Second, a command button that is set to graphical style will not show up themed. The button has to be a standard style. Note that this property cannot be set through code, it has to de done via the properties in the IDE. Hope this helps.

ASP_Volume2 #34826
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

ASP_Volume3 #48168
Label HyperLink uses existing browser -OR- opens new browser window!

After searching the net for some time I couldnt find a function that would give me a choice to open a Label hyperlink in an existing browser window OR open a brand new browser window. I coded this function with the help of some snippets i found. Included is some error trapping as well. I also added functionality to the hyperlink so that it acts like an internet hyperlink.

ASP_Volume3 #48169
Copy files in directory - Extremely simple!!

With this code you can copy all files within a directory with a particular extension to another directory. Actually it will give you a progressive listing of a file with a wildcard and then you can do whatever you want with the file. Extremely simple and straightforward. I dont understand why the other codes are so huge. If you find an error or if you would like to comment please leave a messge.

ASP_Volume3 #48173
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

Languages
Top Categories
Global Discovery