|
Hi,
I got an entity called Proveedor on my Data Context. A property called Proveedors is generated for the Data Context to represent a collection of Proveedor. I rename it to Proveedores which is the correct spelling in spanish. But as soon as i do anything...
Started by Luis on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Where are you renaming it? If you change the generated C# code, it will be overwritten just.
|
|
Is it possible to restrict renaming a exported file in vb.net?
Started by meenakshi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I think you mean setting the filter for the filedialog then this will help. .
That will help, but is not foolproof.
You can give it a readonly attribute when the file is created .
|
|
Is there a way to keep a file open, while not blocking its renaming by another application?
Keeping the file open does not block its renaming in Unix. Can I achieve the same behavior in Windows?
Started by Viliam on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Maybe with a new filesystem its possible (try the ext3 filesystem driver for windows for example... .
Windows handles open files very different from unix (under *ux you can even move or delete a file without interfering with an open handle) .
I am afraid not.
|
Ask your Facebook Friends
|
I'm trying to programmatically rename a file in the working directory from a = 'temp.txt' to b = 'hello.txt' . How would you suggest doing so? Is there an easy file renaming function in MATLAB?
Started by stanigator on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For example (on Windows):
system('rename temp.txt hello.txt....
Use the SYSTEM function to execute an operating system command .
Here's a list of a few solutions:
Use the MOVEFILE function (as suggested by mtrw ) .
I think you're looking for MOVEFILE.
|
|
Hi,
Is there any way in java by which we can disable renaming a specific file( for eg. MS-Excel file)just as we can hide it.
Started by Supereme on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Disabling renaming of files would be something that the operating system/file system would have.
|
|
Will renaming a cron file in /var/spool/cron/ mean that the contents of the cron file will not be executed anymore? Or will all files in /var/spool/cron/ be executed, no matter the name of the file.
Started by Tom_13 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
Same effect as renaming the file, but safer):
Save the old user's crontab to a file: crontab -u.
|
|
Hello.
I used dotfuscator to protect my source code and I disabled renaming(to keep public methods and class names correct) but I noticed when I used reflector to see the assemblies after encryption that they didn't changed a lot. I still can see the ...
Started by wafa on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you disable renaming accessible methods instead of disabling renaming turn on library mode for each of the assemblies whose public methods you want to exclude....
The logic? You should use that; it will make your logic harder to understand .
|
|
Say I have this table:
Person table PersonId Address table AddressId PersonAddressId
where PersonAddressId is PersonId and the foreign key. Is there any type of database violation in renaming the foreign key? It can become very confusing to work with ...
Started by 4thSpace on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It's generally helpful....
Where can I find documentation that on the rule? I'd like something to support it other than tribal knowledge (or passed down best practice) .
Thanks.
Agreed and that's why the convention is to name PersonAddressId as PersonId .
|
|
I need to get rid of an XLA (excel add-in) from a spreadsheet, but everything on the web seems to point to renaming/deleting the xla file.
This is not an option as the xla file is used by many other spreadsheets and is on a shared drive.
Are there any...
Started by adolf garlic on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
|
|
I would like to write a windows batch file for the purpose of renaming a file every 25 seconds. I would also like the batch file to terminate after 300 seconds have passed. How would I go about doing this? Here is what I have thusfar.
START RENAME test...
Started by transmogrify on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Then you can do something like this:
echo this is a test > test.txt SET x= :START CALL SET /a x = %x% +1 rename test.* test.%x% CALL SET /a y = %x% * 25 IF '%x%' == '300' GOTO END CALL....
You will need the sleep command, you can download it here .
|