473,394 Members | 1,751 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,394 software developers and data experts.

Protected network folder


Hi all,

I need to open a video player from vb.net and play on it a movie that
is stored in a network folder. I'm trying with Process class but the
movie file is on a protected folder and I need to specify user and
password for accessing it.

The problem is that Process class provides User and Password
properties, but them applies to the application but not to the file
accessed (the movie).

In other words, I need to specify user and password for the movie
file, not for the movie player...

Some ideas???

Thanks in advance,
Dani

Jun 29 '07 #1
2 2069
Maybe you can shell out quickly to subst out the path / map a network drive
for the split sec you need it with a user that has "view rights"

and once ur clip is done you unmap it ?

- Just a thought

Miro
<da********************@gmail.comwrote in message
news:11**********************@n60g2000hse.googlegr oups.com...
>
Hi all,

I need to open a video player from vb.net and play on it a movie that
is stored in a network folder. I'm trying with Process class but the
movie file is on a protected folder and I need to specify user and
password for accessing it.

The problem is that Process class provides User and Password
properties, but them applies to the application but not to the file
accessed (the movie).

In other words, I need to specify user and password for the movie
file, not for the movie player...

Some ideas???

Thanks in advance,
Dani

Jun 29 '07 #2

Thanks for your reply !

Good thought... Iin fact I reach the same after some hours... but I
was wondering if there is a less tricky way of doing that... I'm worry
about having the folder mapped forever (or during the current session)
if something fails...

On 29 jun, 18:06, "Miro" <miron...@golden.netwrote:
Maybe you can shell out quickly to subst out the path / map a network drive
for the split sec you need it with a user that has "view rights"

and once ur clip is done you unmap it ?

- Just a thought

Miro

<daniel.navarro.muri...@gmail.comwrote in message

news:11**********************@n60g2000hse.googlegr oups.com...


Hi all,
I need to open a video player from vb.net and play on it a movie that
is stored in a network folder. I'm trying with Process class but the
movie file is on a protected folder and I need to specify user and
password for accessing it.
The problem is that Process class provides User and Password
properties, but them applies to the application but not to the file
accessed (the movie).
In other words, I need to specify user and password for the movie
file, not for the movie player...
Some ideas???
Thanks in advance,
Dani- Ocultar texto de la cita -

- Mostrar texto de la cita -

Jun 29 '07 #3

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

Similar topics

1
by: PeterNZ | last post by:
Hi all, I developped an C# app which is using FileSystemWatcher. If a file is created in a specific folder, it opens the file and does some processing. This functionality works without...
1
by: brian.oneil2 | last post by:
Is there a way to install this onto a network file share and allow a team to access it? I would say share a CD from a networked CD drive, but there are multiple CD's that would have to be inserted....
1
by: aikwee | last post by:
hi, i want to do a read and write access to a XML file in a share folder with user name and password protected. I have the username and password provided but i don't know how to do it in VB.NET. ...
5
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a...
4
by: Dixie | last post by:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
0
by: Niyazi | last post by:
Hi, I created application that store the data in SQL SERVER that reside on network. The client also use this application to access the resources provided with application. But is the client want...
0
by: Alan Silver | last post by:
Hello, I have a folder protected by Windows Forms Authentication, and this works fine. However, I want to use a control on the log in page in this folder, and this control is configured as an...
0
by: itshibu | last post by:
I tried to write a program that can open files from the server. But the shared folder in the Win2003 server is password protected. i tried the following code ...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.