Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by subhadeep123

  1. subhadeep123

    Seeking for the way to make our .aspx pages that no body can copy

    Hi Jason, I am still figuring out the feasibility and make take some go around technique as you suggested. Nothing is decided till now. Anyway thank you very much. The next problem I am facing to figure out how to migrate a database from SQL Server 2008 -> 2000. YES... From 2008 -> 2000 I am...
  2. subhadeep123

    Seeking for the way to make our .aspx pages that no body can copy

    Hi Guys, I have a problem. I require to create some .aspx pages that no body can copy by selection or save to their hard disk through their browser. This is a requirement because those pages will contain copyright information. Can anyone help me out of it. Pls reply
  3. subhadeep123

    File and Folder Renaming

    I forgot to include, I tried that sql in my office and it is working: EXEC sp_configure 'show advanced options', 1 GO RECONFIGURE EXEC sp_configure 'xp_cmdshell', 1 GO RECONFIGURE go EXEC master..xp_cmdshell 'RENAME D:\ABC1 ABC'
  4. subhadeep123

    File and Folder Renaming

    Hi Jason, Thanks for your nice and thorow clarification. :) But I though about there is some stored procedure in sql server that can do certain file related operations, I saw something and searching is there anything for renaming. Then I will not need all those catch blocks and inter-...
  5. subhadeep123

    File and Folder Renaming

    Thanks for your suggestion. Actually I have certain cases in my current project where we need to rename a folder as well as update a table row for a column that stores that folder path. So we need to do 2 operations in atomic manner: 1. Update that field 2. Rename that folder. I also used...
  6. subhadeep123

    File and Folder Renaming

    Hi Jason, I didn't mean that it is only for C#. I only stated my observation only for that built-in function. I also didn't mean to say that it silently fails. It throws exception when I am trying to rename a folder/file that doesn't exist, but it successfully rename file/folder if I open the...
  7. subhadeep123

    Can't figure out error in code

    I think you are using static indexer property named 'JobSchedule' to access a particular schedule and that property is trying to access a non static field. Check which fields that 'JobSchedule' property is using and ensure those are static only. Best of luck! :-)
  8. subhadeep123

    File and Folder Renaming

    In C# it is also possible. The FileSystem class is in the namespace 'Microsoft.VisualBasic' and 'Microsoft.VisualBasic.FileIO'. Those namespaces are in Microsoft.VisualBasic.dll library. In your C# project, you need to add the reference to that .dll by from the .NET section of the Add...

Part and Inventory Search

Back
Top