Accessing files externally

dotnet framework

    Next

  • 1. Form_Load vs Constructor
    I have some logic that populates UI controls with values from App.config. A couple of checkboxes get checked or unchecked; and items loaded into a checked list box. Two reasonable places to put this code: 1. the form's constructor (or in a method called from within the constructor) 2. the Form_Load event procedure What are the important considerations or tradeoffs entailed by those two choices? Thanks.
  • 2. SmartClient app used by 10000 users
    Hi, We need to decide if we our going for smartclients or webapps. I'm looking for a smartclient application that is distributed to 10000 users. I want to share some information like if there were problems with installing the smartclient app, ... Greetings, Dieter
  • 3. Using Visio InterOp in VB.Net - Loading Visio silently
    Hello, I am having problems loading the visio application silently. When I load word in the background in VB.NET, it remains hidden and the user doesn't know its loaded. However, when I load Visio in the background, the window pops up and then disappears. Is this a fault with the visio interop libraries, or can this be fixed? At the moment, I am using the same code that opens word to open visio. Is there a better way to open visio in VB.NET? Thanks in Advance. Dean
  • 4. Problem with publishing - <filename>.exe.config.deploy file?
    I am trying to deploy a Dot Net 2.0 Winforms app using ClickOnce. (Run only, not install). I am rather new to this technology. When I install a simple test app I have no problem. But when I try to deploy my current application which consists of 2 projects within one solution (and some fairly extensive references) this happens: The app does not work unless I go into the deployment directory on the server and manually copy the file app.config.deploy to <Project Name>.exe.config.deploy. After that, everything works fine. Anyone else have this problem?
  • 5. Setting Tab Size in TextBox
    I need to write a function that will set the width of tabs in a multiline textbox windows control to a specified number of characters. Here is the code I've tried; it is changing the tab size, but not to the size I'm expecting. Am I going about this the wrong way? Thanks. private const int EM_SETTABSTOPS = 0x00CB; [DllImport("User32.dll", CharSet = CharSet.Auto)] public static extern IntPtr SendMessage(IntPtr h, int msg, int wParam, int[] lParam); public static void SetTabWidth(TextBox textbox, int tabWidth) { Graphics graphics = textbox.CreateGraphics(); int characterWidth = (int) graphics.MeasureString("M", textbox.Font).Width; SendMessage(textbox.Handle, EM_SETTABSTOPS, 1, new int[] { tabWidth * characterWidth }); }

Accessing files externally

Postby stephen » Sun, 25 Oct 2009 04:41:17 GMT

Hi,

I have a windows C# application that when run within the intranet is able to 
access files on the shared drive via  http://www.**--****.com/ 
have a new requirement to access the files and then run our windows 
application externally. so when i try to access the same file 
 http://www.**--****.com/ , it kicks me to the global sign on. I 
understand that since i am accessing it externally, i need to 1st 
authenticate.

Whats the best way of authenticating and then accessing the files?Another 
question is will it kick me to the global authentication page if i have to 
access multiple files?

Any help/sample/direction is greatly appreciated,
Stephen 



Similar Threads:

1.Is ASP.NET App Being Accessed Internally/Externally

Hi.

In VB.NET, is it possible to determine whether an ASP.NET is being accessed 
internally (within the same domain hosting the application) or externally 
(across the internet)?  I've looked at using the HttpRequest.ServerVariables 
Property, but it doesn't look like it's NameValueCollection contains any 
items which would identify whether or not a program is being accessed 
internally/externally.

Basically I need to apply certain logic when a program is accessed 
internally (within my company) and different logic when a program is accessed 
externally (across the internet).

Is this possible?

Thanks.

2.Accessing Sites Internally vs. Externally

Here's an odd one, I'm currently developing a site for internal usage, to get 
around their public website, I set the internal server to port 8080 (I 
publish my .net from my office externally).  There is no problem at all 
accessing the site externally, but it is almost impossible to access 
internally.  I checked to make sure I have no references in the site to the 
external publishing address.  This may be a very simple problem, but one I 
have yet to find an answer to.  Thanks in advance!
-- 
John A. Janes
john<removeme><shift-2>naisnet<dot>com

3.Access control externally.

If I have an application with a public button, how can I click that button 
from another application? 


4.Open file in application externally

I'm using VB.net 2005 - -
I have 2 questions, actually - - -
1. I remember, in VB6, there was a way, to set command line parameters or
something, so that, if you use the 'Open With' option, or dragged a file
onto the MDI interface, it would open inside the interface.

2. How can I make it so that, if the application is already open, trying to
do the above will not open a new instance, but open it with the currently
open instance?

Does anyone know how this all is done in VS.Net 2005?


5.How to reload externally modified file using AddIn

Hi all,

After a file has been modified by an external tool,
VS2003 displays something like "File has changed, reload Yes/No/All".
Is there a way to reload the file using the extensibility objects to avoid
this dialog?

I looked in the obvious places:
The Document object does not have a Reload method
and the TextDocument and ItemOperations objects netiher.

I could of course use the TextSelection and EditPoint  objects to
Delete the entire document and then re-insert the text from file,
but I thought there might be an easier way


Thanks in advance,

Gerrit Beuze
ModelMaker Tools


6. Sequential file access and binary file access

7. Problem graphically binding to an externally referenced DataSet in WinForms Designer

8. open page externally when click on hyperlink inside datagrid



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 84 guest