Click here to Skip to main content
15,798,592 members

S Sansanwal - Professional Profile


    Blog RSS
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.


Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.


Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.

GeneralWebresource.axd or WebForm_PostBackOptions undefined problem Pin
S Sansanwal17-Oct-06 18:02
S Sansanwal17-Oct-06 18:02 
GeneralRe: connecting MS access database to vb combo box and list box Pin
Tyrone888824-Feb-07 7:14
Tyrone888824-Feb-07 7:14 
GeneralSelectALL in Compact Framework Pin
S Sansanwal2-May-06 12:52
S Sansanwal2-May-06 12:52 
When you want to select all the text in a textbox, you are more likely to use SelectAll function of the textbox in the GotFocus event. Ironically, once this event is fired the text is unselected. The work around is to use a timer and in timer event call SelectAll function.

private void textBox1_GotFocus(object sender, EventArgs e)<br />
{<br />
        //Use a timer to select all<br />
        System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();<br />
        t.Interval = 10;<br />
        t.Tick += new EventHandler(t_Tick);<br />
        t.Enabled = true;<br />
    }<br />
}<br />
/// <summary><br />
/// Event to select full text in textbox<br />
/// </summary><br />
/// <param name="sender"></param><br />
/// <param name="e"></param><br />
private void t_Tick(object sender, EventArgs e)<br />
{<br />
    ((System.Windows.Forms.Timer)sender).Enabled = false; // Stop the timer<br />
    // Select all the text<br />
    textBox1.SelectAll();<br />

Sanjay Sansanwal

-- modified at 17:52 Tuesday 2nd May, 2006
GeneralConverting HTML text to Word Pin
S Sansanwal1-Feb-06 17:23
S Sansanwal1-Feb-06 17:23 
GeneralPostback in WebControl Pin
S Sansanwal18-May-05 13:25
S Sansanwal18-May-05 13:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.