Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help
Blog
 
# Friday, June 07, 2013

I have install Internet Explorer 10 on my Windows 7 machine, I have found that one eye symbol is coming in each text box of type password. When I click on this Eye icon, I am able to view my password. It is a security breach or loop hole. So I will analysis on the internet and find the solution, how to remove / disable this eye icon coming in password text box.

To disable the "eye" symbol, follow these steps:

1.      Open the Run dialog by clicking on Start button on windows

2.      Enter gpedit.msc and press Enter

3.      Local Group Policy editor window will open, the screen given below:

4. Trace the link unto Credential User Interface.

Go to Computer Configuration → Administrative Templates → Windows Components → Credential User Interface:

 

5. Double-click on text "Do not display the password reveal button" and select the "Enabled" option section:

 

This eye icon facility is disabled, you can enable it with the same method.

Friday, June 07, 2013 2:02:03 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   General  | 
# Monday, December 10, 2012

If you are remote login into Windows 2003 Server. And here you are not find any option for restarting the server.

You only have Logoff/Shutdown option.

To restart the Server Remotely, you need to fire the given below command.


Shutdown /m \\computername /r /c “Remote Restart with Reason” /t 30

The complete explanation/option of all the Shutdown given below


/? Displays the Help listing

/i Displays the graphical user interface (GUI); it must be the first option

/l  Logs off the current user; it cannot be used with the /d or /m options

/s Shuts down the computer

/r Shuts down and restarts the computer

/g Shuts down and restarts the computer and then restarts any registered applications

/a Aborts system Shutdown

/p Turns off the local computer with no timeout or warning

/h Hibernates the local machine

/e Documents the reason for shutting down the computer

/m Specifies the target computer; it is used with \\ computer-name

/t xxx Where xxx is the number of seconds before Shutdown

/c “comment” Where “comment” is the reason for the Shutdown or restart

/f Forces running applications to close without warning users
 
/d [p|u:]xx:yy Provides the reason for the Shutdown action: p = planned; u= unplanned; xx supplies the major reason code; yy = supplies the minor reason code

Monday, December 10, 2012 11:56:44 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   General  | 
# Thursday, December 06, 2012


For doing the mail merge functionality, you need to have Office 2007, Excel 2007 and Word 2007 software in your machine.

Please find the step used for creating the Mail Merge document. Through this, you can send a mail using the mailing list in the excel sheet.

1.     1.  Create New Word Document and enter your Content.

  



1.      2. Select the Mailings Link from the Word Top bar. Inside this section, please select the “Start Mail Merge & E-Email Messages”.



1.      3. Then inside the Mailings Tab. Select “Select Recipientss & Use Existing List “ and then select the path of your Excel File.




1.      4. After this, Select “Finish & Merges à Send E-mail Message” inside the Mailing Tab.






After pressing OK, Then mail automatically sending through your Outlook 2007 on the basis of Attached excel sheet email address.


Thursday, December 06, 2012 12:12:11 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   General  | 
# Saturday, November 10, 2012
In previously, i have Sony Ericsson P1i handset and having more then 1000 contact. But when i purchase HTC One S in year 2012, I need to transfer all my contact to my new mobile set HTC One S.

I tried to transfer using HTC Transfer application, but after trying multiple times, i am not able to transfer my Symbian Contact List.

I also analysis on internet, some suggest, first transfer into Outlook and from there, i need to export into Android mobile. But does not got stick answer.

After lots of try, then i just take the backup of my Sony Ericsson P1i ( Symbian OS ) and its extention is *.vcf file.

And then transfer this *.vcf file into HTC One S mobile using Bluetooth.

In when i click on this contact list *.vcf file, It display me option to export this contact list. I click on export link, Then all my contact list is exported into my HTC One S mobile.

This is just hit and trial and i am successful in transferring all my contact list.

Hip Hip Hurry !!!

Saturday, November 10, 2012 5:09:34 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   General  | 
# Friday, October 19, 2012

 

The NATO phonetic alphabet, more accurately known as the International Radiotelephony Spelling Alphabet, that is used by airline industry in taking the PNR details on phone.

In these NATA alphabet, there is some changes, that are used in Indian travel industry for taking/giving details on phone.

 

   

Letter

NATO & International Aviation

A

Alfa

B

Bravo

C

Charlie

D

Delta

E

Echo  or Easy

F

Foxtrot  or Father

G

Golf   or Gold

H

Hotel  or Herry

I

India

J

Juliet or Jack

K

Kilo

L

Lima

M

Mike

N

November  or Nency

O

Oscar  or Orange

P

Papa  or Peter

Q

Quebec  or Queen

R

Romeo  or Rojer

S

Sierra  or Sugar

T

Tango

U

Uniform   or Uncle

V

Victor or Victory

W

Whisky  or Water

X

X-ray

Y

Yankee

Z

Zulu

 

Friday, October 19, 2012 1:41:23 PM (GMT Daylight Time, UTC+01:00)  #    Comments [2]   Travel Domain  | 
# Sunday, September 02, 2012

Namespace Naming Guidelines

The general rule for naming namespaces is to use the company name followed by the technology name and optionally the feature and design as follows.

 

  • Try to use Pascal Case.
  • Try to partially match Project/Assembly Name.

 

CompanyName.TechnologyName[.Feature][.Design]

 

For example:

                namespace Blog.Web

namespace Microsoft.Media

namespace Microsoft.Media.Design

 

Prefixing namespace names with a company name or other well-established brand avoids the possibility of two published namespaces having the same name. For example, Microsoft.Office is an appropriate prefix for the Office Automation Classes provided by Microsoft. Use a stable, recognized technology name at the second level of a hierarchical name. Use organizational hierarchies as the basis for namespace hierarchies. Name a namespace that contains types that provide design-time functionality for a base namespace with the .Design suffix For example, the System.Windows.Forms.Design Namespace contains designers and related classes used to design System.Windows.Forms based applications.

Class Naming Guidelines

 

The following rules outline the guidelines for naming classes:

 

  • Use a noun or noun phrase to name a class.
  • Use Pascal case.
  • Use abbreviations sparingly.
  • Do not use a type prefix, such as C for class, on a class name. For example, use the class name FileStream rather than CFileStream.
  • Do not use the underscore character (_).
  • Add an appropriate class-suffix when sub-classing another type when possible.
  • Occasionally, it is necessary to provide a class name that begins with the letter I, even though the class is not an interface. This is appropriate as long as I is the first letter of an entire word that is a part of the class name. For example, the class name IdentityStore is appropriate.
  • Where appropriate, use a compound word to name a derived class. The second part of the derived class's name should be the name of the base class. For example, ApplicationException is an appropriate name for a class derived from a class named Exception, because ApplicationException is a kind of Exception. Use reasonable judgment in applying this rule. For example, Button is an appropriate name for a class derived from Control. Although a button is a kind of control, making Control a part of the class name would lengthen the name unnecessarily.

Interface Naming Guidelines

 

The following rules outline the naming guidelines for interfaces:

 

  • Name interfaces with nouns or noun phrases, or adjectives that describe behavior. For example, the interface name IComponent uses a descriptive noun. The interface name ICustomAttributeProvider uses a noun phrase. The name IPersistable uses an adjective.
  • Use Pascal case.
  • Use abbreviations sparingly.
  • Prefix interface names with the letter I, to indicate that the type is an interface.
  • Use similar names when you define a class/interface pair where the class is a standard implementation of the interface. The names should differ only by the letter I prefix on the interface name.
  • Do not use the underscore character (_).
Sunday, September 02, 2012 2:45:38 PM (GMT Daylight Time, UTC+01:00)  #    Comments [3]   General  | 
# Tuesday, August 21, 2012

For handling apostrophe problem inside the string, you can use String.Replace function in ASP.NET for replacing the "'" with "\'" for saving the data into database.

string strString = "How to Handle's apostrophe within Asp.net"; 
string strReplace= strString.Replace("'", "\'") 

And when re-display this value on your HTML string.

You can again replace "\'" with "'" for displaying value on screen.

For any query, please update the Comment.

Tuesday, August 21, 2012 6:34:20 AM (GMT Daylight Time, UTC+01:00)  #    Comments [3]   asp.net  | 
# Sunday, August 19, 2012

We have facing the problem, when we scroll down the page and then click on link.

<a href="#" onclick="window.open..."> Link </a>

When any user click on this link, A popup will be open but the page position will be change to top.

This type of problem you are facing when page having vertical scrolling by using GridView, ListView or by displying with HTML.


We can fix the page position using given below solution :

After analysis, We have found that this problem is due to using # inside the href.

So we can resolve this problem by creating one Javascript function and use this function in href and remove onclick inside the <a> tag.

//Javascript Function

function fnPopupClick(linkDetails, popupPosition)
{
    
    popupwindow = window.open(linkDetails,"_blank",popupPosition);
    popwindow.moveTo(0, 0);     
    
}

//Link used in your HTML

<a  href='javascript: fnPopupClick("subscriber/PageName.php","toolbar=no,scrollbars=yes,
width=710,height=825,top=25,left=105,resizable=no"
)' title="Title Details" >Link Name</a>

My problem will be resolved using this way, Hope this will be helpful in resolving your issue.

For any query, you can apply comment on this.

Sunday, August 19, 2012 1:41:50 PM (GMT Daylight Time, UTC+01:00)  #    Comments [2]   HTML  | 
# Saturday, August 11, 2012

We have received the Error "control with [ID] link button could not be found for the trigger in UpdatePanel" when we using the given below code for handling the UpdatePanel for displaying the prodcut on ASP.NET page.

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
        //This is the section used for displaying the list box
        <asp:UpdatePanel ID="ProductListPanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
               <asp:ListView ID="lstProductList" runat="server" ItemPlaceholderID="plcProductList">
               ......
               <asp:LinkButton ID="LnkButtonProductEdit" runat="server" OnClick="LnkButtonProductEdit_Click" 
CommandName="EditProduct" CommandArgument='23'>Edit</asp:LinkButton> </asp:ListView> </ContentTemplate> </asp:UpdatePanel> //This is the section used for displaying the Data in tabular format for updating and viewing. <asp:UpdatePanel ID="ProductUpdatePanel" runat="server" UpdateMode="Conditional"> <ContentTemplate> //Displaying Code Here in Ajax </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnJobCardSearch" EventName="Click" /> </Triggers> </asp:UpdatePanel> </asp:Content>

After analysis on the internet, we have found that this error is coming due our link button control is inside the ListView. So we have remove the <Triggers> control

<Triggers>
   <asp:AsyncPostBackTrigger ControlID="btnJobCardSearch" EventName="Click" />
</Triggers>

 and put below update into the link button click event (LnkButtonProductEdit_Click)

this.ProductUpdatePanel.Update();

After using this, My problem for error "control with [ID] link button could not be found for the trigger in UpdatePanel" is resolve.

Hope resolving this problem using this also help to other one to resolve their problem.

Saturday, August 11, 2012 11:22:17 AM (GMT Daylight Time, UTC+01:00)  #    Comments [2]   asp.net  | 

The syntax for setting the passed value as selected in dropdownlist is given below

this.[DropDownListName].SelectedIndex = this.[DropDownListName].Items.IndexOf(this.[DropDownListName].Items.FindByText([String Value]);

Saturday, August 11, 2012 9:00:45 AM (GMT Daylight Time, UTC+01:00)  #    Comments [3]   Interview Question ASP.NET  | 
Copyright © 2014 SoftwareCodeHelp.Com. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: