HELP: Cannot rename file in Solution Explorer

VB.NET

    Next

  • 1. How do you set the value between tags in code
    For instance I have <h1>my header</h1> in a web page, how would I set this value using the VB.net code behind file for that web page in VS2005? Thanks for any help. Bob
  • 2. Converted app to a Windows Service
    I have an application that was converted from a VB application to a windows service. I pass in parameters in a file that tells the application where to pull a file from & read it and put it into a web page. The application works fine when the input & output locations are local on the server the app is on. However, the location for one of the files is going to change to be on another server, that'll have to be set up like \\Server2\folder I can copy that out & put it in windows explorer, and it goes to the folder it's supposed to. However, when I put it in the application, it won't read it in. The application is started as a Windows service, is enabled, and starts & ends fine. I set the Log On account to be one that has local administrator rights on the application server (Server1), and also has local administrator rights on the data source (Server2). How do you give a Windows Service (ie \\Server1\Myservice) read/write/delete permissions in a folder on another server (i.e. \\Server2\Mydata)? If I copy the file over to the local app server (Server1), into a local folder, the application will run fine. However, that's an extra step I don't really want to add to running this job each day. Any help appreciated BC
  • 3. Vb.net application - progress update screen
    I have simple vb application that loops through a list of filename and perform a System.IO.File.Copy from one server to another. I have a readonly textbox where I append messages showing what's going on. ie. Processing .. Copy \\Server1\file1 to \\Server2\file1 ... Done Copy \\Server1\file2 to \\Server2\file2 ... The copy process is slow for each file copy and the TextBox doesn't show the messages until the whole program finished running. Is there a way to make the TextBox render the partial result for each copying?
  • 4. using the quote mark in a string
    > Is there a way to include the quote mark/character when using the > MessageBox.Show? > In other words is there an alternative/secondary delimiter for strings > in > VB2005? No secondary delimiter but it can escape itself. thus... ------------------------------------------------------------- Dim Quote as String = """" ' < 4 * " ------------------------------------------------------------- ...should yield a Double Quote character in a string Hope this helps Rory

HELP: Cannot rename file in Solution Explorer

Postby Bruce Russell » Sat, 18 Oct 2003 00:45:04 GMT

This may sound stupid but I can't rename the WebForm1.aspx in the
solution explorer.

The file is located in my local web server at
C:\Inetpub\wwwroot\Lab3-VB-Starter\WebForm1.aspx

Is there some configuration problem in my IIS setup?

Thanks,

BJR



RE: HELP: Cannot rename file in Solution Explorer

Postby v-phuang » Sat, 18 Oct 2003 14:54:54 GMT

Hi Bruce,

Did you get any error message when you rename the file in the solution 
explorer?
If so, what is it?

You may try to check if the WebForm1.aspx is set ReadOnly or if the file is 
in use when you rename it.
C:\Inetpub\wwwroot\Lab3-VB-Starter\WebForm1.aspx
You may need to rename the file in the windows explorer, i.e. navigate to 
the C:\Inetpub\wwwroot\Lab3-VB-Starter\ and rename the WebForm1.aspx file.

Please have the test and let me know the result.

Regards,
Peter Huang 
Microsoft Online Partner Support 
Get Secure! www.microsoft.com/security 
This posting is provided "as is" with no warranties and confers no rights. 

--------------------
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP11.phx.gbl


RE: HELP: Cannot rename file in Solution Explorer

Postby v-phuang » Wed, 22 Oct 2003 21:18:42 GMT

Hi Bruce,

Did the problem resolved?
If you have any related question, please feel free to let me know.

Regards,
Peter Huang 
Microsoft Online Partner Support 
Get Secure! www.microsoft.com/security 
This posting is provided "as is" with no warranties and confers no rights. 
--------------------
is 
0


Similar Threads:

1.File Explorer prevents renaming of file

Hi,

I'm using  System.IO.File.Move(OLDname, NEWname)  to rename a file (I'm not
moving it to a new folder).  If the folder containing the file is open in
the file explorer, the Move fails with an exception  "The process cannot
access the file "NEWname" because it is being used by another process"  .
Any ideas how I can prevent this?  (except not having the folder open in
File Explorer.... :-)

Thanks
Jan


2.why can I open .CS file in WINDOWS explorer, but not in SOLUTION explorer

3."Form Files" not grouped in my solution explorer?

I've got a project where, in the solution explore, nothing is "grouped" any 
more.  For example, the files for my "forms" such as:
form1.frm.designer.vb, form1.frm.resX and form1.frm.vb

are all just listed as seperate files.  This isn't causing any real problems 
but I'm very curious about why it's behaving this way.

ANy ideas?


4.How to - Rename a solution (project) and all associated files/folders

Hi,

I was wondering how someone could rename a solution (project) and all
associated files/folders? When we create a new project it seems to be
the only chance to give a proper name to a project... If we find a
better name later, it seems impossible to rename the whole shebang!

Any ideas?

neilsanner

5.I'm unable to use intellisense and rename files in solution ex

6. I'm unable to use intellisense and rename files in solution explor

7. HIDE: Database Explorer / Solution Explorer / Properties

8. showing the ghost (deleted) files on the solution explorer window



Return to VB.NET

 

Who is online

Users browsing this forum: No registered users and 54 guest