Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
connect to a database in c#
- Page 1
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
6 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: 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: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Days Ago
by Biiim
…of 465: $mail->Port = 587; //TCP port to
connect
to; use 587 if you have set `SMTPSecure = PHPMailer::…'(password)'; //SMTP password $mail->Port = 465; //TCP port to
connect
to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
5 Days Ago
by david.tigner
… = '(password)'; //SMTP password $mail->Port = 465; //TCP port to
connect
to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS…
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Days Ago
by aishamushtaq
very helpful
Re: Printing multiple integers EASY SOLUTION
Programming
Software Development
3 Days Ago
by Bunker
A straightforward solution to printing multiple integers is to use a loop. For example, in Python, you could use a "for" loop to iterate through a list of integers and print each one. This method is simple and effective.
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"`
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
…, using the ffmpeg library. Just change the filename. extern "
C
" { #include <libavformat/avformat.h> #include <libavformat…
Re: How to query database using variable and get all results not just one row
Programming
Web Development
2 Weeks Ago
by Mikekelvin
… Assuming $currentUser holds the identifier of the current user // Query
database
to retrieve records associated with the current user $sql = "…This identifier should uniquely identify the current user in your
database
. By binding this value to the :variable_name parameter in … records associated with the current user in your
database
.
Re: How to query database using variable and get all results not just one row
Programming
Web Development
2 Weeks Ago
by Chris_103
…(). Here's how you can modify your code: ```php // Query
database
to retrieve records associated with the user $sql = "SELECT…
Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 Weeks Ago
by Rabiya_1
I'm New In
c
# and want to create a windows service here what I'…
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 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 …
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 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.
Re: How to query database using variable and get all results not just one row
Programming
Web Development
2 Weeks Ago
by Biiim
logically, it would be because `WHERE variable_name = :variable_name` matches 1 row in your table maybe try a `var_dump(str_replace(':variable_name',"'some_value'",$sql));var_dump($records);`? run the sql on whichever way you use to access your DB directly I don't use PDO so i'm not too familiar on how it returns results, either …
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 Weeks Ago
by rproffitt
Since the answer would be many pages long, read https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer and consider the two other pages noted there.
Re: Which programming language is best Ludo game development?
Programming
Game Development
1 Week Ago
by kishanrg
… commonly used languages for game development, including Ludo games, are
C
++,
C
#, Java, JavaScript, and Python. Ultimately, the "best" programming…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
…the Northwind
database
into the corresponding servers. So, let's begin with ado. ## Installing and Importing Required Libraries To
connect
your …response = agent_executor.invoke(query) return response ``` ## Generating Response from PostgreSQL
Database
Generating a response from the LangChain SQL agent is straightforward…
Re: Things I hate about TV shows
Community Center
Geeks' Lounge
4 Weeks Ago
by Reverend Jim
… long approaching each others lips and just before they finally
connect
they are interrupted. The "it's complicated" explanation…
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by Reverend Jim
… through the initial setup. All I had to do to
connect
to wifi was select my connection and enter my password…
Re: Why does Dell hate Linux so much?
Hardware and Software
Linux and Unix
3 Weeks Ago
by mickeydoodle
I've just acquired a Dell laptop, it seems to hate Linux! Touch pad doesn't work properly, Wireless won't
connect
and it's sooo slow! Works fine with Windows!
Re: ASUS Laptops - my experience
Hardware and Software
4 Weeks Ago
by rproffitt
"I allocated a
C
partition and formatted as NTFS then boot back into my … and you find a lot of partitions other than the
C
drive.
Re: ASUS Laptops - my experience
Hardware and Software
3 Weeks Ago
by Reverend Jim
…. Fortunately, I have determined over the years how big my
C
partition should be to allow for extra apps. And there…
Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by Read a Book
… itemprop="uploadDate" content="<?php echo date('
c
', strtotime($upload_date)); ?>"> </div> </div…
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