|
Yeah, there's an event for 'set a password for this folder in the file system'. I told you there wasn't, just to confuse you.
OR you could read my first answer. No, you can't do that. You CAN define a file format that encrypts data and looks as if it's in the file system, and you can create a file that represents that folder, and which is associated with your exe. You can probably do other funky stuff as well, but not in C#, not without using p/invoke to essentially use C++ APIs.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian, if he couldn't understand your original response, there's no way he's going to understand sarcasm.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
True...
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sorry but I just want to know is there any click event for the folder created.
thank u.
|
|
|
|
|
As you seem to be convinced there is, despite being told that the answer is NO , try google
Bob
Ashfield Consultants Ltd
|
|
|
|
|
WHEN WE SET FTPWEBREQUEST.SSLENABLE=TRUE FROM CLIENT THEN SERVER RECEIVE
"AUTH TLS" THEN SERVER SEND 234 ,AFTER THIS SERVER RECEIVES SOME DATA
MY QUSTIONS IS WHAT IS THAT DATA WHAT COMMAND IS REPLY FOR THAT FROM SERVER? WHAT IS THE NEXT PROCESS
|
|
|
|
|
DON'T SHOUT !!!
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I want to set power scheme's brightness value.
How can I do that?
I try to serch MSDN but cant find the answer.
Thank you!!
|
|
|
|
|
I think the power scheme is a function of your specific notebook, I'm not sure if there's a standard way to set it. I doubt very much if there is, you could do it without p/invoke in C#.
A qucik google implies if it is possible, it's because it's stored in the registry.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I suppose there should be a standard way - after all, you can do it from the Control panel applet.
The trend of trying to do everything with C# is somewhat worrying, though.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
Hi,
I have a Listbox in a Panel of SplitContainer.
I want to anchor it so the listbox grows/shrinks vertically with the resizing the splitcontainer.
This is my code
What happens is it sizes the listbox horizontally about nearly the same size as the split container width.
_TableList = new MdsListBox();
_TableList.Name = "TableList";
_TableList.Left = 10;
_TableList.Top = 40;
_TableList.Width = 150;
_TableList.Height = 100;
_TableList.Anchor = (AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top);
I want the size of the listbox set here retained.
rotsey
|
|
|
|
|
I'm unsure if this is what you mean, but try setting the IntegralHeight property on the ListBox to False.
|
|
|
|
|
No has no effect
But I have discoverd that I have to set the Left and not the right anchor
as well top and bottom
But now part of the listrbox is not visible under the bottom panel.
|
|
|
|
|
I have SQL Server 2005 installed on my local computer. I have found code on how to find all the sql servers on the network which I will need. but I also need to be able to fine the local copy and what they named it to create the database. Any help would be appreciated.
|
|
|
|
|
I ran into the same problem and found the easiest answer was to search the registry for the installed Instances. There's a list of them somewhere under the key [ HKLM -> Software -> Microsoft -> Microsoft SQL Server ] or somewhere around there . . .
|
|
|
|
|
Hi,
I have to find all available servers in the network. i have used SQLDMO.But it's a componenet. so can anyone tell me the solution other than that.
Thanks in advance
sri
|
|
|
|
|
What do you mean 'it's a component' ???
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If i use SQLDMO I have to add reference.Is there anyother way to get all available servers and databases?
|
|
|
|
|
Without adding a reference to a component that does it ? I doubt it, not easily. What's wrong with adding a reference to a component ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
My product's requirement is like this. i shouldnt refer any com componenents.
|
|
|
|
|
OK, then I guess you are screwed, if someone feels that your spec has to include denying you the tools for the job.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
This is kind of akin to asking a carpenter to build you a table without using a hammer. Why would you deny the tools necessary to do a job?
|
|
|
|
|
System.Data.Sql.SqlDataSourceEnumerator not working for you?
|
|
|
|
|
Check this[^]
it requires .net 2.0, but no COM.
|
|
|
|
|
Hi
You can use one of the following options:
1. use the GetDataSources method that belong to the SqlDataSourceEnumerator class
like the following:
DataTable datatable1 = SqlDataSourceEnumerator.Instance.GetDataSources();
2.use the EnumRegisteredServers method tht belong to the SmoApplication.SqlServerRegistrations class
for furture instruction serch for smo objects in google
|
|
|
|