|
But if you post a question in every forum, you'll get it right once.
BDF
A learned fool is more a fool than an ignorant fool.
-- Moliere
|
|
|
|
|
That's 3% right. Not much of a track record...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Dear All,
I want to pass datatable as parameter into method that's written in webservice. It was compiled without escalating any bugs but when I tried to access .asmx files from web location, its return some error which I could understand. So, if you anyone know, how to do this with webservice. kindly leave some sample codes
Regards
Balaji.K.Jeyaram
|
|
|
|
|
This is wrong on so many levels.
1. What error did you get? Why don't you tell us that?
2. Did you try googling with the error message?
Take a look at the very first result here[^] for the answer and please read this[^] as well.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
Even I have the same problem. If anyone knows the solution please help me.
The error I am getting is "There was an error generating the XML document".
|
|
|
|
|
I have created a folder called test by:
Directory.CreateDirectory("C:\test") on FormLoad Event.
Is it possible to write the code for that 'test' folder?
Actually I need to show the form while we click on that folder.And on this form I want to set the password.
Thank you.
|
|
|
|
|
Prabhat003 wrote: Is it possible to write the code for that 'test' folder?
What do you mean ?
Prabhat003 wrote: Actually I need to show the form while we click on that folder.And on this form I want to set the password.
No. At least, not without creating a process that hijacks the file system. And, even then, you'll be creating code that people can just stop, to unprotect it. Why not use the built in windows stuff to encrypt a folder instead ?
You can buy C++ programs to do this, so I assume it could be done with C# and p/invoke. But, it's not trivial, not by a long shot.
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 )
|
|
|
|
|
Prabhat003 wrote: Is it possible to write the code for that 'test' folder?
This line is not clear for me. what you are trying to do?
if i am right , then i thing you want to set password corersponding to folder. when you create the folder, you can use one tree view like folder strcture in you form with a folder image which
D:\.....
.. Test
and when you click on that tree node do the required opertion .
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
No, you're lost. He wants the file system to show his password dialog when he tries to open the folder. I think the way to do this, is to create encrypted files that appear as folders within the file system, but actually are opened by his app. So, if his app is not running, the folder cannot be opened, as it's not a folder in the first place, it's a file which is associated with his app and contains encrypted data.
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 )
|
|
|
|
|
As I have already told, I just want to set the password for the folder created.Can there be any method like, Click Event for that folder?
I ll appreciate ur help.
Thank u.
|
|
|
|
|
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 . . .
|
|
|
|