15,917,610 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by onemorecoke (Top 14 by date)
onemorecoke
31-Aug-13 16:46pm
View
That is perfect! Thank you RedDK. Please put it in the solutions and I will accept.
onemorecoke
26-Aug-13 10:45am
View
The information you gave is more evidence that the timestamps in the original video are set at 5 seconds and the fast ffmpeg method will only be able to break at those positions. The only solution to use the faster ffmpeg command is to have more frequent timestamps in your source video. If you are not able to do that then you will only be able to use the second slower method.
onemorecoke
23-Aug-13 12:36pm
View
You can use the command ffmpeg -i "input.mp4" to get info on the file. It will show the timestamp rate. I am not sure where you are getting your source video, but when the video is rendered from editing you should be able to set the timestamp frequency, which is usually a timestamp per X amount of frames. I would get a new file with a timestamp every 1 second and see if the accuracy of your cropping with that first ffmpeg instruction you specified. Good luck!
onemorecoke
23-Aug-13 12:30pm
View
Ron, have you ever dealt with exposing the response, request, and session objects from classic ASP in the VB.NET environment? I tried using the ASP type library and the COM+ component which work in some ways but seemed like a duct-tape solution. I may have to abandon having those three objects available in the .NET environment, which I am thinking might be the case, and that I would just pass the webpage elements I need in the function calls to the new DLL. It would be more work but it might be what I need to avoid completely rewiring the classic ASP webpages right now.
onemorecoke
23-Aug-13 12:23pm
View
Thanks Ron, good stuff. I was able to convert the VB6 functions to vb.net 2012 at one point, and then make the DLL COM visible. There were two issues though: The problems I ran into was getting at the RESPONSE, REQUEST, and SESSION objects as I did in the VB6 ActiveX DLL. Though it did work it failed sometimes so I was thinking I was trying to use OLD technology in a new environment. The other was that I was not certain if the COM visible vb.net DLL was actually working in 64 bit mode. So at the time I abandoned it but now I have to deal with it hard so that is why I was asking if someone had a good path.
onemorecoke
23-Aug-13 12:18pm
View
If I marked your answer to accept, it would not be a benefit to the community. I always appreciate your input Sergey, but I think in this case there is more to be discovered :)
onemorecoke
23-Aug-13 11:53am
View
Hi Sergey, I am not trying to stay with VB6 and is why I am asking the question to see what path people have taken. I have this project given me that I need to create a solution to it. I have this code in VB6, and the website uses classic ASP, that is the reality I am dealing with. I cannot re-write the webpages, so I have to be able to do a CreateObject in ASP to get at the public functions in the ActiveX or some other object that I am trying to discover being out there.
onemorecoke
7-Aug-13 16:55pm
View
It's a long story,but here it goes. I did not want to use a purchased installer like InstallShield because they are too much money and wont do everything I need. I created a WinRAR self-extracting EXE for my install, but then I needed a small program to do all the configuration involved. Part of the problem with using .NET for the install program is that the .NET Framework may not be on the computer so it would not run. With VB6, it is almost guaranteed that it will run because the runtime has been in the OSs for quite some time. It works great on all machines now, with the only problem being that when I load .Net Framework 4.5 the VB6 form can show "not responding", and i would like to get rid of that. Thanks for looking.
onemorecoke
1-Jun-13 11:33am
View
SA, thank you for your answer, but I must admit I am not advanced enough in my knowledge of threading to understand most of the concepts. My main goal was to cause a thread to shut down normally without using .abort, but rather by setting a flag that would cause the thread loop to exit. I had seen in some examples setting up an overall global variable that that the main program would set when it wanted the threads to shut down (all of them), but in my situation I wanted to just shut down one thread of the 10 that were running. I thought about it more and maybe a more simplier solution for me would be to have a global boolean array with the the index being the thread id I assigned when the thread started. I could have each thread just monitor it's own "stop" flag by looking at the array element that pertains to it. The main program could set the array element of the thread it wants to shut down and then on the next loop the thread would see this bit set and then shut down. What do you think? I know there are probably more eligant solutions, as you have shown, but for someone like me this seems to be something I could understand right now and would seem to be a solution for this specific issue. What do you think? I am going to accept your answer because it may help others in the future.
onemorecoke
31-May-13 14:16pm
View
I added Response.CodePage = 65001 and Response.CharSet = "utf-8" to the asp page but it did not seem to help.
onemorecoke
28-May-13 13:53pm
View
Worked perfect! I am curious about why this fixed it. I could see the usefulness of both ways but wondered what triggered the "current" replacement vs the "later" replacement. Anyway, maybe for another day...thank you again
onemorecoke
10-May-13 16:29pm
View
Very well said! Yes, I understand your explanation and thank you for being so open with your time to answer.
onemorecoke
10-May-13 13:07pm
View
Thank you Pete! I had a feeling that overall it might be better to do, but I was going off an example given to me and before I jump in all the way I wanted to make sure I was going down the right road. Everyone's advice and experience really helps!
onemorecoke
10-May-13 13:04pm
View
Thank you so much SA for your great answer! You are correct in understanding my limit of knowledge on the subject. I did read one term you had that I am not familiar with. When you say "non-static method", does that refer to creating a new thread based on a single SUB as opposed to creating a thread based on a full class?
Show More