Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
__file__
- Page 1
Streamlining Your Workflow: The Power of Task Management Apps
Digital Media
Digital Marketing
4 Hours Ago
by Abdul Rahim Khu
Streamlining Your Workflow: The Power of Task Management Apps Are you tired of feeling overwhelmed by your to-do list? Do you struggle to keep track of multiple projects and deadlines? If so, you’re not alone. In today’s fast-paced world, effective task management is crucial for success. That’s where task management apps come in — powerful tools…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
12 Hours Ago
by david.tigner
The way I see it is that the email address in question is one inputted by the submitter. What if this question is not asked ? So I'm seeing if in the back end PHP file, the email address in question is not anything entered by submitter but simply one with the correct @site.com ending. That way should slip "under the radar" and submitted …
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
8 Hours Ago
by Dani
Yes, if the page does not contain video content, then remove `itemscope itemtype="http://schema.org/VideoObject"` I'm so sorry for not responding sooner. I just saw your post now.
Re: HTML Image Embedding Issue
Programming
Web Development
1 Day Ago
by Steve_89
It seems like the issue might be with the path to the image. Here are a few things to check: 1. **Relative Path**: Ensure that the path to your image is relative to the location of your HTML file. If your HTML file and the "images" folder are in the same directory, your current path should work. 2. **File Extension**: Make sure the …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
5 Days Ago
by david.tigner
This one is becoming more perplexing. After adding in the PHPMailer coding, page would crash (e.g. blank white screen, HTML file that would display the screen doesn't even start at all, e.g. error in the 1st running PHP file). Adding the semi-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding…
Re: HTML Navigation Menu Alignment Issue
Programming
Web Development
1 Day Ago
by aundigital
It looks like you're experiencing some trouble with your navigation menu. Based on the code you've provided, here are a few things to check: CSS Styling: Ensure that your styles.css file is correctly linked and that there are no errors in the styling code that could be affecting the alignment and appearance of the navigation links. List Item …
Re: how to create a simple elevator simulation?
Programming
Software Development
3 Days Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
6 Days Ago
by Read a Book
But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement. Should i just remove the `itemscope itemtype="http://schema.org/VideoObject"`
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
4 Weeks Ago
by Hanginium65
Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by rproffitt
Regarding "doesn't open the file". I've used so many tools over the years to profile and log what apps access that I can write that Windows does open the file for a peek. And then we have the problem that many files don't have duration. https://www.loc.gov/preservation/digital/formats/fdd/fdd000105.shtml is for MP3 and it's not in …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
Yes, I know, Windows doesn't report details for all video files, sometime it just doesn't and I already guessed that may be because of a file format Windows cannot read correctly. But then for the video files where Windows does report details within the file properties it gets them correct and it does that in near no time which makes me believe …
Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
I want to figure out what Windows does when you right-click a video file and check properties and I would like to write a similar piece of code in C++. I should be able to figure out how to read the file type and size, but I'm lost in how to get details of the video like resolution and runtime. Which API commands does Windows use there?
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by toneewa
The [Windows Media Foundation API](https://learn.microsoft.com/en-us/windows/win32/api/mfmediaengine/nf-mfmediaengine-imfmediaengine-getduration#requirements) is probably what you are thinking of. You also can just use my example, using the ffmpeg library. Just change the filename. extern "C" { #include <libavformat/…
Re: sequential file save read option button
Programming
Software Development
1 Week Ago
by rproffitt
I noted the issues with your post and the problems with what is a dead system. While I do have one last VB6 dev laptop in storage I only pull it out for paid work. And at 250USD a hour the only company that pays is very careful about their requests. You ignored how such problems are presented. ZIP file? Too dangerous today. You could have …
Re: sequential file save read option button
Programming
Software Development
1 Week Ago
by SCBWV
I don't understand a few things. There are option buttons and there are check boxes. So I don't know what you mean by "option button checkbox." I also don't know what you mean by "record." Do you mean print? Read values from a file? I would suggest instead of checking for "1" that you use "If chkExtra(0).Value …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
4 Weeks Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by pritaeas
Here's a good place to start: https://mediaarea.net/en/MediaInfo
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
How would that help me? That's just another program that does more or less the same Windows does, but doesn't mention which API commands one needs to get this output. It's open source, meaning one could look into the code and try to figure out the relevant commands but we all know figuring out what someone elses code does takes far longer than …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by pritaeas
> It's open source, meaning one could look into the code That's the way I learn... There is no real Windows API to read video info, as this info is different for each video format. With the Windows Property System you can read some information, but it is not accessible with all platforms. Personally I'd choose to learn how to read the …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by rproffitt
When you asked for runtime you triggered a memory from long ago where MP3 runtimes were at times wildly inaccurate. Just like the man who was turned into a newt in Monty Python who said "I got better", such are better now but I still read complaints it's not exact. So here's the thing, you may want that runtime but it's not always …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Salem
If you want to know what windows is up to when you do something, then try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
Thanks @toneewa that looks like what I want, at least a basis from where I can try to work it out for my needs.
Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
3 Weeks Ago
by mx_983
Basic background information Mariadb Ver 15.1 District 10.11.6 MariaDB Glarea cluster, one with three nodes: Node1:192.168.18.78 Node2: 192.168.18.79 Node3: 192.168.18.80 Among them, Node1 node was restarted after a power outage of 1 hour, and after executing the system ctl start mariadb, it was stuck for a long time (running for 6 hours) …
Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by Read a Book
Hello everyone, i am not able to fix this issue in the Search Console `Video is not the main content of the page` but actually it is! When you enter in my product page the first thing that appears is the video it self! (hosted on imgur platform) I even added additional Schema video tags but that seems is useless. here is the code i am …
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
1 Week Ago
by Dani
You have the itemtype set to a VideoObject but, as you point out, only sometimes is there actually an .mp4 file. The rest of the time, it's a static image such as a png, jpg, or jpeg. Google probably doesn't trust your meta tags since they are inaccurate half the time.
Slaying Unicorns: How Europe Sabotages Its Own Economic Future
Community Center
4 Weeks Ago
by Johannes C.
**With the decline of industry and post-colonial exploitation, Europe should aim to become a global leader in the tech and service industry. But as the EU increasingly complicates the process for startups to thrive, the economic outlook appears bleak.** If you've missed recent AI news, **[Claude Opus now outperforms GPT-4 in most areas](https://…
How Build Html form ?
Programming
3 Weeks Ago
by Kirubel_2
<!DOCTYPE html> <html style="font-size: 16px;" lang="en"><head> <title>Comment</title> <script src="js/jquery.js"></script> <link rel="stylesheet" href="sign.css"> </head> <body …
HTML Image Embedding Issue
Programming
Web Development
1 Week Ago
by khan zain
"I'm attempting to embed an image in my HTML page, but it's not showing up. I've checked the file path, and it seems correct. Below is the code I'm using. Any insights on why the image isn't displaying as expected?"" <!DOCTYPE html> <html lang=""en""> <head> <meta…
sequential file save read option button
Programming
Software Development
1 Week Ago
by arcon
I think I can record but I can't read with the option button checkbox I don't know if I do the recording procedure correctly
Re: sequential file save read option button
Programming
Software Development
1 Week Ago
by rproffitt
1. With so few having VB6 now, you need to move to a current release. Help will be hard to find. 2. I can't load up your project. Few others can so by not posting the relevant code in the clear with your assessment, you see the issue? 3. VB6, while I coded very large projects long ago, "It's Dead Jim." That is, you're on a deserted …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC