Skip to main content

Posts

How to align text in InDesign

Many different ways to do it...But one simple way - Step 1: Hit Alt+Ctrl+I - This will show us all the hidden characters Step 2: To align a paragraph into one single justified para - Hit Ctrl + \ (Back Slash) Now whenever you want to add a line in the same para graph hit - Shift + Enter (Soft Return) This will keep the text aligned. Also refer to this link: HowTo Write back if you still have issues aligning the text!

Accessing a windows form controls from another class

Answer is in this page: http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=34453 In case its not accessible If we have two classes like these testclass.cs: using System; using System.Collections.Generic; using System.Text; namespace clTestProg { public class testClass { public void InitControls(System.Windows.Forms.GroupBox gbx) { System.Windows.Forms.Button buttonODelete = new System.Windows.Forms.Button(); System.Windows.Forms.Button buttonOUpdate = new System.Windows.Forms.Button(); System.Windows.Forms.Button buttonOAdd = new System.Windows.Forms.Button(); // // buttonODelete // buttonODelete.Location = new System.Drawing.Point(251, 324); buttonODelete.Name = "buttonODelete"; buttonODelete.Size = new System.Drawing.Size(75, 23); buttonODelete.TabIndex = 0; buttonODelete.Text = "&Delete"; ...

Attempted a bean operation on a null object

We might get this error when we try to use a bean somewhere in our JSP! In such a case you can: You could have such error when using jsp:setProperty or jsp:getProperty on a bean which does not exist. For example, if the "name" attribute does not match the "id" attribute of Thus check the bean name and id you are using in different places...may be you are not using the same name everywhere!

How to connect to an oracle server on your network

I have an oracle server on my network! I have the client installed on my machine! If I want to connect to the server then I will have to do the following: Copy the TNS file from Girish system (He has the server) to your system TNS file is located in the following pathsourcedrive:\oracle\ora92\network\admin Now connect using Oracle SQL*Plus client using the login credentials Now you can also find the hostname to be used using the TNS file: RDBDB = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = PAR1RDBDB)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = RDB) )) If the above pasted code is the content of the TNS file then you can connect to the sever using the hostname RDBDB!