473,395 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

If no local file


Two part question for my windows application ...

1) Is there a after-the-fact way to know if the Flash
file did not play because the file does not exist? Maybe
some handle I can check?

Also, if the file is not there...

2) How can I call an FTP file copy function to go get the
missing file from my repository on a FTP server and copy
it to my local drive? I looked in help for Visual
Basic.Net and did not see any FTP support.
++++++++++++++++++
AxShockwaveFlash1.Movie = CurDir() + "\"
+ "MyFlashAnimation.swf" ' play Flash animation
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Loop = True
++++++++++++++++++
Nov 20 '05 #1
4 1630
Bob,

Sorry i don`t know your answer to the first question.

As for you second question, take a look at:

http://www.gotdotnet.com/Community/U...6-64B987947C20

http://www.15seconds.com/issue/981203.htm

http://www.chilkatsoft.com/ChilkatFtp.asp

http://www.freevbcode.com/ShowCode.asp?ID=4655

http://www.aspsimply.com/vbnet/NetFTP.aspx

http://www.codeproject.com/dotnet/do...&select=591722

Theres plenty of examples in those links which should help you.

HTH
MCN

"Bob Achgill" <an*******@discussions.microsoft.com> wrote in message
news:f8****************************@phx.gbl...

Two part question for my windows application ...

1) Is there a after-the-fact way to know if the Flash
file did not play because the file does not exist? Maybe
some handle I can check?

Also, if the file is not there...

2) How can I call an FTP file copy function to go get the
missing file from my repository on a FTP server and copy
it to my local drive? I looked in help for Visual
Basic.Net and did not see any FTP support.
++++++++++++++++++
AxShockwaveFlash1.Movie = CurDir() + "\"
+ "MyFlashAnimation.swf" ' play Flash animation
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Loop = True
++++++++++++++++++

Nov 20 '05 #2
Hi Bob,

The answer on the first question is to look at the DirectoryInfo class on
MSDN
http://msdn.microsoft.com/library/de...classtopic.asp

For the second some additions to Mad

If there are some duplicates, check that for yourself.
Have especialy a look at Indy because that is not only recommended by Kudzu.

VB.NET:

Net Component
http://www.indyproject.org/indy.html

http://www.freevbcode.com/ShowCode.Asp?ID=4655
http://www.allapi.net/downloads/NetFTP.zip
http://www.visualbuilder.com/article...le.asp?id=1234
http://www.abderaware.com/ (commercial FTP component)

Microsoft webrequest
VB
http://support.microsoft.com/?scid=kb;en-us;812404
C#
http://support.microsoft.com/default...b;EN-US;812409
C#:
http://www.csharphelp.com/archives/archive9.html
http://www.codeproject.com/csharp/FTPDriver1.asp

I hope this helps?

Cor
Nov 20 '05 #3
"Bob Achgill" <an*******@discussions.microsoft.com> wrote in
news:f8****************************@phx.gbl:
2) How can I call an FTP file copy function to go get the
missing file from my repository on a FTP server and copy
it to my local drive? I looked in help for Visual


http://www.codeproject.com/dotnet/FTPWinFormClient.asp
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
Nov 20 '05 #4
* "Bob Achgill" <an*******@discussions.microsoft.com> scripsit:
1) Is there a after-the-fact way to know if the Flash
file did not play because the file does not exist? Maybe
some handle I can check?


What Flash file? You can use 'System.IO.File.Exists' to check if a file
exists.

There is an interesting new article about .NET + Flash available online
here:

<URL:http://www.devx.com/dotnet/Article/21033/>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: dB | last post by:
I want to load an applet locally from the client's hard drive from an html/jsp page served by Tomcat on the local machine or a remote server. The motivation is that I need to print to the local...
6
by: Rob | last post by:
Hi, I am working on a project that requires a Windows Service which performs the following file transfer functions. 1. It monitors a specific local directory on a Windows 2003 Server. 2. When...
3
by: Daniel | last post by:
Is it possible to retain local file system read, write, delete access while impersonating for access to a remote drive in a different domain? I need to be able to move files from a local computer...
2
by: Peter White | last post by:
I am trying to transfer a file from a user's local machine (the file is automatically created by a 3rd party tool and stored in the users local settings/temp directory) via a web form to my web...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
2
by: robert d via AccessMonster.com | last post by:
I need to determine for sure if a particular fie is on the user's local PC or on the server. I have the complete path of the file, let's call it FullFilePath How can I unequivocally determine...
1
by: lauralucas | last post by:
Hello I'm using ASP.NET 1.1, Visual Studio 2003, IIS 5.1 and windows XP as development machine. I can work in this machine locally and create web apps that I can access via localhost. No problem...
2
by: TuftyTrue | last post by:
Hi, On my site the user can browse to an image with <input type=file etc>. Althrough I have no problem swapping images with: document.getElementById('PictureToDisplay').src =...
3
by: W C Hull | last post by:
We have a request from Auditing to modify the password an a local workstation administrative account every 90 days. We are developing two programs - a VB6 GUI program that will allow the...
14
by: akuva | last post by:
How to read a file which is in our webspace from localsystem in php. please give me ideas or any code if anybody has it will be helpful
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.