-
working with multipul resource files imported as a group project file.
Dear VBFormers,
I am looking to working with group projects in visual basic. That way i am able to have mulipul resource files in visual basic. for instance i have a resource file, named: "Resource" and i am looking at pulling string data from it, which is a fixed name of "DATA", is the branch of the string and "TEXT", is the string data, which as follows, then so. Then my other resource files are like this: "Mask-Part1.res" and then goes upto the filename of: "Mask-Part8.res". I am looking to use those files with the branch of: "VIDEO" and then an integer will then tag the files of this name: "EP1" to the "EP75" but then the "Mask-Part1.res" only contains about ten different videos in the order of the Playlist, the files in that first resource file, named: "Mask-Part1.res", will be labeled, "EP1" to "EP10" then as the "DATA" "PLAYLIST", resource found in the resource file: "Resource.res" and the branch of "DATA", "PLAYLIST"
!! Thanks in advance !!
-
1 Attachment(s)
Re: working with multipul resource files imported as a group project file.
For instance like this in the figure #1, below this text post of mine, like so then okay...
Attachment 184025
-
Re: working with multipul resource files imported as a group project file.
I don't think you're going to be able to pull data from the res file of another project unless you read the data out of whatever file it's stored in manually.
Why can't you put everything in 1 resource file? You can put as many string tables and custom resources with binary data as you want in a single resource.
-
Re: working with multipul resource files imported as a group project file.
That was what i had tried to do in the very first place. but then with all that binary video data files, it made it really sluggish and also unresponsive, even so. I have been working around this source code, in the code block below this post, of mine.
Code:
4 With MaskPart1.Main.txtData
strBuff = .Text
End With
a = a + 1
PauseTime = 3
Start = Timer
Do While Timer < Start + PauseTime
DoEvents
Loop
Finish = Timer
TotalTime = Finish - Start
If TotalTime = 0 Then GoTo 5
strBuff = StrConv(LoadResData("EP" & a, "VIDEO"), vbUnicode)
Open "C:\Temp\zVideo-1234567890.mkv" For Output As #1
Print #1, strBuff
Close #1
strBuff = ""
-
Re: working with multipul resource files imported as a group project file.
Same problem as Black_Storm, storing a video collection in an executable.
It's pointless
-
Re: working with multipul resource files imported as a group project file.
I know it seems pointless. but then nence i am making progress with it, then also it should then be able to then be used for the good of the industry, then so
-
Re: working with multipul resource files imported as a group project file.
With fixed movies/serie episodes in an executable??
Does not sound flexible at all
There are dozen of media players/organizers in the market already.
https://www.plex.tv/
-
Re: working with multipul resource files imported as a group project file.
Is some company not taking no for an answer about storing large amounts of video data in an exe and hiring every available VB6 programmer to try to do it?
If you're looking at the same requirements as Black_Storm, point them the the specifications for Win32 executables and note exe sizes over 4GB simply will not run on Windows, so you can't store a large video or more than a few small videos in an exe and will eventually have to relent on at least having a single external data file. Whether it's in the exe or not doesn't impact how secure it is, your encryption code (algorithm plus key handling) does that.
-
Re: working with multipul resource files imported as a group project file.
But then my EXE is about 192KB in filesize, then so and is quite a very fast app, at that one
-
Re: working with multipul resource files imported as a group project file.
If your exe is 192kb in size then it does not have a resource file containing an actual movie as even a poor quality movie would be much larger than that. Movies usually range 600mb and up good quality ones are over 1gb.
-
Re: working with multipul resource files imported as a group project file.
i have been able to encode it, to a series epsiode to about 54.11MB and then a 120MB movie file, then so. each MP3 is therefore about 2.4MB in filesize, each of them actually like that one, hey matey
-
Re: working with multipul resource files imported as a group project file.
you said the exe is 192kb. I've got news for you that is a lot smaller than even 2.4mb. It seems that you really do not have a clue what you are doing or saying.
-
Re: working with multipul resource files imported as a group project file.
-- i am pushing the barrier between file compression and file usage to the limits, then so. this is my proto-type version, i am bound to get something that might fit, then so
-
Re: working with multipul resource files imported as a group project file.
Can you explain why you want to include your movies and series in the executable?
What if you have watched the content and want to see new episodes and movies?
-
Re: working with multipul resource files imported as a group project file.
it goes like this:
Series:
Mask Series.exe
...
Techno Man.exe
etc
Movies:
Ninja Turtles Saga.exe
...
Small Soliders.exe
etc
All of the different types of series and types of movies will a separate type of exe file, then so. This means that all of the Star Wars, Star Trek movies, will then be all one exe file, to date so then that is the way i see things, thus far for me. The different types of Seasons will have their own type of exe, eg: Simpsons Season0 - Season30 will have one file, per season, then if you catch what i mean by this type of software design. Also then i have been able to make the final executable file to then be about 128KB by removing the key elements that take up the lead of then when another resource file, will kick into action. then that now only exists in the first resource file, which is then called: Resource.res, so
-
Re: working with multipul resource files imported as a group project file.
Why are you so concerned about extreme DRM to lock up very low quality pirated media?
In any case, it's sluggish because VB's LoadResData will lock up the UI while it reads the resource.
Read it yourself with Resource APIs in blocks that have DoEvents breaks so the UI doesn't freeze. FindResource, LoadResource, LockResource, SizeofResource, then pick a block size and loop reading through it.
Note that those APIs won't be sufficient if any single resource is >2GB. I think you'll also have problems if any resource starts, or ends, past 2GB into the .exe.
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
ThEiMp
it goes like this:
Series:
Mask Series.exe
...
Techno Man.exe
etc
Movies:
Ninja Turtles Saga.exe
...
Small Soliders.exe
etc
All of the different types of series and types of movies will a separate type of exe file, then so. This means that all of the Star Wars, Star Trek movies, will then be all one exe file, to date so then that is the way i see things, thus far for me. The different types of Seasons will have their own type of exe, eg: Simpsons Season0 - Season30 will have one file, per season, then if you catch what i mean by this type of software design. Also then i have been able to make the final executable file to then be about 128KB by removing the key elements that take up the lead of then when another resource file, will kick into action. then that now only exists in the first resource file, which is then called: Resource.res, so
Still not seeing the benefit of the movies being in an exe though. Why not just have a single exe file as a player and each movie as a movie file. Allow the player.exe to play the individual movie files. What does embedding movies inside the exe actually achieve that is better than a more traditional approach?
-
Re: working with multipul resource files imported as a group project file.
i also am making a leeway to an approach to then have the audio and video codecs embedded into the AV File, which is also been given the ablity to have the player, embedded also into the file, that way everything is now internal and also embedded like so, then that is my justiifcation then
-
Re: working with multipul resource files imported as a group project file.
Apparently somebody out there is convinced that's the only way to secure it enough to avoid l33t h4ck3rZ getting the data. Of course that's not accurate and it ultimately makes no difference whether you put your data in your exe or an encrypted data file, because all that matters is how well you secure the password/key to the encrypted payload and the code that encrypts/decrypts it.
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
fafalone
Apparently somebody out there is convinced that's the only way to secure it enough to avoid l33t h4ck3rZ getting the data. Of course that's not accurate and it ultimately makes no difference whether you put your data in your exe or an encrypted data file, because all that matters is how well you secure the password/key to the encrypted payload and the code that encrypts/decrypts it.
I don't follow you, then so matey. please be some more specific, then so???
-
Re: working with multipul resource files imported as a group project file.
Your exe has the keys/code to encrypt/decrypt data; for security purposes, it doesn't matter whether that data is inside the .exe or in a 2nd file; because you can read the 2nd file right into memory just like data inside your exe, you don't have to write a decrypted copy to disk.
-
Re: working with multipul resource files imported as a group project file.
actually with the encription, i haven't use any this time round now, then so. because it took far too long time to work with it, then now here. i am using just the file compression that has been hard wired into the VB6 IDE, with the file control, then so
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
ThEiMp
i also am making a leeway to an approach to then have the audio and video codecs embedded into the AV File, which is also been given the ablity to have the player, embedded also into the file, that way everything is now internal and also embedded like so, then that is my justiifcation then
Again I am failing to see any benefits, so if I have multiple files to watch I am now having multiple copies of yuor player (it is embedded in every movie.exe), multiple copies of every codec (they are embedded in every movie.exe), the only way I can apply security fixes to any codec is hope you rebuild the movie.exe with an updated codec, I might potentially need admin rights to view any movie.exe if it needs to install a codec. At the moment if I want to view an .mp4, I double click an .mp4 and it plays. How is your proposed system any more convenient than my existing system?
-
Re: working with multipul resource files imported as a group project file.
OP is still confused by encryption, hashing and compression.
His magnificent compression routine is actually a hashing algorithm.
-
Re: working with multipul resource files imported as a group project file.
Actually the MP4 file uses an app doorway using the front end loader of player.exe, which is therefore executed when you click on the MP4 file, thus far we can count on that information, thus far as so. The codecs that need updating, well then i am going to work with Adobe Director DCR files, then and have then working through a front end loader using the exe file, that can be used in Director.exe, when is it comes to a updating of a file. Because Director lets end-users recompile their builds using an Xtra.x32 file, to then do that for them. Which then i have to turn all the exe files, then to be ocx files using VBA Director xtra, which is then called: ActiveX.x32, then so i am given the knowledge of that, one
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
ThEiMp
Actually the MP4 file uses an app doorway using the front end loader of player.exe, which is therefore executed when you click on the MP4 file, thus far we can count on that information, thus far as so. The codecs that need updating, well then i am going to work with Adobe Director DCR files, then and have then working through a front end loader using the exe file, that can be used in Director.exe, when is it comes to a updating of a file. Because Director lets end-users recompile their builds using an Xtra.x32 file, to then do that for them. Which then i have to turn all the exe files, then to be ocx files using VBA Director xtra, which is then called: ActiveX.x32, then so i am given the knowledge of that, one
So still more convoluted and complex than just watching an mp4. Still not getting it.
-
Re: working with multipul resource files imported as a group project file.
okay then, how about this way...
MP4 Load with EXE, then show MP4 data in video and audio type to view EXE with holding onto MP4 file. When unload EXE temp data from MP4 in memory and hdd disk space, is erased for the time being. However MP4 file, then becomes to the data filled file, it was before the loading into the EXE file???
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
ThEiMp
okay then, how about this way...
MP4 Load with EXE, then show MP4 data in video and audio type to view EXE with holding onto MP4 file.
I could also just right click on any media file (mp4, avi, mp3, mpg, etc.) and select properties, that will give me some information such as resolution, bit rate etc.
Quote:
Originally Posted by
ThEiMp
When unload EXE temp data from MP4 in memory and hdd disk space, is erased for the time being. However MP4 file, then becomes to the data filled file, it was before the loading into the EXE file???
Any decent video player will stream the content from disk (or wherever) into memory to play it, it will not need to load the entire video file into ram to play it, so the whole idea of temp data in memory isn't really an issue if you are just playing a media file in a normal way. What HDD disk space are we talking about? What is being erased? What is the data filled file for? Why not just play the MP4?
-
Re: working with multipul resource files imported as a group project file.
The language barrier is making it extremely hard to understand what you're talking about.
If you'd rather a pre-made solution there's already programs to do this,
https://f2ko.de/programme/audio-video-to-exe/
and https://muldersoft.com/#instplay which is open source but I couldn't make heads of tails of where the main code might be.
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
fafalone
The language barrier is making it extremely hard to understand what you're talking about.
I believe the OP is from an English speaking country (Australia?). Language isn't the barrier...
-
Re: working with multipul resource files imported as a group project file.
Well if you understand what
Quote:
MP4 Load with EXE, then show MP4 data in video and audio type to view EXE with holding onto MP4 file. When unload EXE temp data from MP4 in memory and hdd disk space, is erased for the time being. However MP4 file, then becomes to the data filled file, it was before the loading into the EXE file???
means, go right ahead and take over... :wave:
But I don't think Australian English has diverged that far from American English. Not everyone from Australia is a native English speaker.
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
fafalone
Well if you understand what
means, go right ahead and take over... :wave:
But I don't think Australian English has diverged that far from American English. Not everyone from Australia is a native English speaker.
Speaks English:
https://www.vbforums.com/showthread....=1#post4187978
https://www.vbforums.com/showthread....=1#post5502883
From Australia:
https://www.vbforums.com/showthread....=1#post5550862
I'm sure there's been more. I also found this gem:
https://www.vbforums.com/showthread....is-ThEiMp-from
-
Re: working with multipul resource files imported as a group project file.
-
Re: working with multipul resource files imported as a group project file.
https://www.vbforums.com/showthread....for-Microsoft-!!
Are you working on this Director project since 2012?
-
Re: working with multipul resource files imported as a group project file.
Actually i have been working on this project for about since 1997, yeah that's right about that one, hey matey. plus it's been many editions of Director Shockwave, at that
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
ThEiMp
Actually i have been working on this project for about since 1997, yeah that's right about that one, hey matey. plus it's been many editions of Director Shockwave, at that
You do realise Director, Shockwave, etc. have been discontinued... https://helpx.adobe.com/shockwave/sh...-life-faq.html
-
Re: working with multipul resource files imported as a group project file.
I sure know it has then been discontinued. But then they are writing a better one, which is good for me, then so
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
OptionBase1
Again, being from a country doesn't prove somebody speaks any particular language as their primary language.
I didn't say he didn't speak English, I suggested English might not be a first language. Do you seriously need me to go over the dozens of examples of improper English that's making it hard to understand him here, that suggests a non-native speaker?
"then becomes to the data filled file"
"please be some more specific, then so???"
"I sure know it has then been discontinued. But then they are writing a better one, which is good for me, then so"
I don't know what your problem is, I'm not insulting anyone, there's nothing wrong with speaking English as a second language, it's just hard to understand and I'm just trying to more clearly understand exactly what he's trying to do and why it must be done that way.
But thanks for dropping by the thread just to argue with me about who's a native English speaker, I'll again suggest perhaps helping since you're having no difficulty understanding.
-
Re: working with multipul resource files imported as a group project file.
Quote:
Originally Posted by
fafalone
Again, being from a country doesn't prove somebody speaks any particular language as their primary language.
I didn't say he didn't speak English, I suggested English might not be a first language. Do you seriously need me to go over the dozens of examples of improper English that's making it hard to understand him here, that suggests a non-native speaker?
"then becomes to the data filled file"
"please be some more specific, then so???"
"I sure know it has then been discontinued. But then they are writing a better one, which is good for me, then so"
I don't know what your problem is, I'm not insulting anyone, there's nothing wrong with speaking English as a second language, it's just hard to understand and I'm just trying to more clearly understand exactly what he's trying to do and why it must be done that way.
But thanks for dropping by the thread just to argue with me about who's a native English speaker, I'll again suggest perhaps helping since you're having no difficulty understanding.
Did you read the links? He says English is his first language. I wasn't suggesting you were insulting him at all, and I'm not arguing with you.
Where on Earth did I ever suggest that I understand what he's saying? Of course I don't. For years no one here has understood what he's doing. Even the mod's have goofed on him about it in the past. I'm a huge fan of his posts, though, because they never fail to entertain on some strange level. He seems to enjoy programming, so that's a good thing.
-
Re: working with multipul resource files imported as a group project file.