|
by: bj daniels |
last post by:
I am trying to get the number of .jpg files in a given folder (to pick a
random one). The folder is referenced by a url - how can I do this. I have
tried the code below - but get an error that URLs are not accepted.
Dim files As String() = System.IO.Directory.GetFiles(dir, "*.jpg")
result = files.Length
thanks
|
by: Valerian John |
last post by:
Hello:
In ASP.NET, how can one get the properties (length of audio clip, length of
video clip, dimensions of gif or jpg, etc.) for any given file?
I am primarily interested in media files. One can see these properties in
Windows Explorer's File properties (Summary tab).
TIA,
Val
|
by: Paul Fi |
last post by:
I have this code which tries to obtain the number of items in the
current playlist of windows media player:
private void MainForm_Load(object sender, System.EventArgs e)
{
// get Window handle
wnd = Win32.FindWindow("WMPlayerApp","Windows Media Player");
wnd = Win32.FindWindowEx(wnd, 0, "WMPAppHost", null);
wnd = Win32.FindWindowEx(wnd, 0, "WMP Skin Host", null);
wnd = Win32.FindWindowEx(wnd, 0, "CWmpControlCntr", null);
|
by: Paul Fi |
last post by:
im writing a C# program that tries to get the currently playing song in
a
seperate windows media player instance (external app)
i found out that there might be a way to do that using the windows
messaging
system.
some how i was able to use the win32 funtion findwindow() to get the
handle
|
by: stever412 |
last post by:
Hi
I have installed Vista Ultimate on a new XP box, without setting up the Windows Media Player, I use the msdxm.ocx component in my VB 6.0 application. After installing Vista and then running Windows Media Player 11.0, the msdxm.ocx is only 4k in size and normally it is 484k, so my app doesn't player any .avi files in it. And I can't copy the old msdxm.ocx into c:\windows\system32 folder, does WiMP or Vista not handle this component anymore,...
|
|
by: =?Utf-8?B?Q2hyaXNzaWUgUg==?= |
last post by:
Help! Would you believe have just bought my first MP3 player (mind you I am
in my fifties). Although not a computer whizz - I manage to do most things
on my PC.
Loaded CDs onto Windows Media Centre - when i push 'sync' box comes up
saying 'windows media centre has to shut down'. Also icon at bottom of
screen representing windows media connect has a cross through it and if i
click on it it says 'folder sharing has been stopped. A...
|
by: Robert Dunlop |
last post by:
I am using Microsoft Visual Studio 2005 for development of an ASP.NET site,
and I have a problem that greatly effects my workflow at times. It seems
that after I upload new files anywhere within the directory structure of the
site that is visible to VS, the next time I perform a build VS takes extra
time, apparently downloading the new files (though the time required seems
much longer than a one-time download should take). During this...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|