OriginalGriff is right. You might think that you have a legitimate reason for wanting to do this (although I remain to be convinced about this) but you wouldn't be the only one able to read the answer and, if we provide you with code to do this, we are also providing the code for people who want to do damage with this technique. This is why you will get no code for this here - we don't know who will end up reading it.
I already suggested you just need to use the web interface to try and login. If your password is not valid it will not let you. But if you want to know how to hack a system then you have come to the wrong place.
No, i don't want connect the setup interface router! just i want for example: i have a textBox and into it is "1234" pass & i have a button . i want when click the button the "1234" in the textBox send to the my SSID for example "USER" & return "correct" or "incorrect" the pass ! It is very complicated ? please help me...
I have 10 textboxes in a form, the thing is I want make the visibility of all these textboxes to hide and visible based on button click.is their any way to group all these 10 textboxes into single component to make hide /visible based on button click.
ex.: Now for each text box I am doing like this.
something can I do like this,
To "group" them, you could create a UserControl with contains them all. Making that visible and invisible would affect all the controls it contains.
That does mean that you need to provide properties to access the textBox values (which is a good idea), but you could place them all on a Panel and change the visibility of that to the same display effect, but keeping all the TextBoxes directly accessible to the whole form class.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
In addition to the strategies that OriginalGriff told you about, you could use a ContainerControl like a SplitterPanel to create an easy pop-out - pop-back userinterface. Let's say your Buttons were all in Panel1 of the SplitContainer; then you can show/hide it by:
0. set appropriate MinimumSize and MaximumSize values.
1. set the 'SplitterDistance property to the width of the left Panel.
2. set IsSplitterFixed property to 'true if you are not going to allow the user to re-size the Panels
for the Panels
1. set the Panel1MinSize and Panel2MinSize (int) properties to appropriate values
If the 'Orientation property of the SplitterPanel is 'Vertical, then the two min size properties are going to set the width of the Panels.
Keep in mind that when the collapsed Panel1 is expanded, the Controls placed in Panel2 are going to move depending on how you set their Anchor/Dock properties.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
I am designing one web based application to add user primary information. My objective is in one Submit button action , the entered information need to save to 35 databases at one time.
I am using IBM DB2 databases.
Every database having 2 tables those are going to affect for this insert , update and delete event from UI.
I am planning to iterate through database list and planning to insert record at one time to one database and then next database inline. Will it be good approach as per performance?
can anyone please have any suggestion on my approach?
can anyone please have any suggestion on my approach?
..do you know the decorator-pattern?
Act as if you are programming against a single connection (program against the IDb-interface); inherit your own connection-object and IDbCommand, and implement the distribution there against the list of actual connections.
Should work, and could be executing the commands async for all sources, and report back any exceptions
If you can do it once, you can do it in a loop. No need for fancy stuff.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
the entered information need to save to 35 databases at one time
WTF sort of design is that. You are working with one weird data design if user details are replicated/scattered across 35 databases. I would seriously look into a redesign of your data structure.
You still need to make a connection to each database from your DAL unless you do some fancy work with linked databases and replication at the database level. Or possibly a single stored proc that updates the 35 (unbelievable) databases.
Never underestimate the power of human stupidity
I would like your enlightened advice on this matter:
For my next application I have to setup an interface in 3D.
The interface will be an office with a desktop and some usual items like pens, papers, telephone, lamp, etc...
There won't be complex animation, just slight rotation around the desktop BUT...the scene has to be rendered in a very realistic way, offering a 'global illumination' (like?) quality display! (realistic light effects and shadows)
How should I realize this? Will I have to use a 3D game engine? If so, which one would you advice me to use?
My question is not on the content of the scene (a 3D graphic artist will manage this) but on how to achieve a realtime high quality render of the scene!