|
|
|
| Software : Acess |
| Commands |
Switch between Access app and VBA code: ALT + F11
|
| Connect to SQL |
- Open Access and click the "Tables" tab.
- Right click in the white space.
- Click "Link Tables".
- In the "Files of Type" box click on "ODBC databases" (last item in list).
- Click the "System DSN" or "Machine Data Source" Tab at the top.
- Find your DSN.
- Double click it and Key in the Same Login and password.
|
| Jump to Top |
| Software : Acrobat |
| Distiller - Editing text |
For small text corrections: select Tools > Advanced Editing > Touchup Text Tool. Then select the
text to correct, and type over it. Note that it is for "touch ups" and not for adding whole new
lines of text.
If you receive the error "All or part of the selection has no available system fonts...", you can select the text,
click 'Properties' and change the font on the 'Text' tab.
|
| Jump to Top |
| Software : ArcGIS |
ArcGIS is the name of a group of geographic information system software product lines produced by ESRI.
Prior to the ArcGIS suite, ESRI had focused its software development on the command line Arc/INFO
workstation program and several Graphical User Interface-based products such as the ArcView GIS 3.x
desktop program. Other ESRI products included MapObjects, a programming library for developers, and
ArcSDE as a relational database management system. The various products had branched out into multiple
source trees and did not integrate well with one another. In January 1997, ESRI decided to revamp its
GIS software platform, creating a single integrated software architecture.
|
| Jump to Top |
| Software : DataStream |
|
An Infor product which provides users a powerful enterprise asset management solution with all
of the features needed to manage critical functions such as work requests, purchasing, inventory
and preventive maintenance.
|
| Jump to Top |
| Software : DOS |
| Merge content from several files into one |
type *.asp > test.txt
Paste clipboard contents...
right click on cursor and select paste (can just right click in KornShell)
|
| Jump to Top |
| Software : Elite |
| Law firms use Elite Enterprise for financial management, practice management, business development, and business intelligence. |
|
Screen shots: click here (Word doc)
|
| Jump to Top |
| Software : Exchange |
| Relay |
By default Exchange 2003 doesn't allow relays from unknown machines. You'll need to change the Relay settings on the Exchange
server - adding the IP address of the new server as an allowed relay machine. You can find the dialog by doing the following:
- Click Start, click All Programs, click Microsoft Exchange, and then click System Manager
- Expand Servers, expand Servername, expand Protocols, and then expand SMTP
- Right-click Default SMTP Virtual Server and then click Properties
- Click the Access tab
- Click the Relay button at the bottom
|
| Jump to Top |
| Software : Firebug |
| Website: GetFirebug.com |
|
Firebug integrates with Firefox to put a wealth of web development tools at your fingertips
while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
|
| Jump to Top |
| Software : Java |
| Applet |
import java.applet.*;
import java.awt.*;
/**
* The HelloWorld class implements an applet that
* simply displays "Hello World!".
*/
public class HelloWorld extends Applet {
public void paint(Graphics g) {
String msg = "Hello World!";
g.drawString(msg, 50, 25);
}
}
<applet code="HelloWorld.class" width="150" height="25" VIEWASTEXT>>
|
| Applet with Parameter |
import java.applet.*;
import java.awt.*;
/**
* The MsgBody class implements an applet that
* displays a param value.
*/
public class MsgBody extends Applet {
String msg;
public void init() {
msg = getParameter("msg");
setBackground(Color.white);
}
public void paint(Graphics g) {
g.drawString(msg, 50, 25);
}
}
<applet code="MsgBody.class" width="150" height="25" VIEWASTEXT>
<param name="msg" value="Howdy there!">
</applet>
|
| Jump to Top |
| Software : Mac |
| Querystring format |
receipt.asp/?RefNumber=1234
|
| Jump to Top |
| Software : MapGuide |
|
Autodesk MapGuideĀ® 6.5 software helps you develop, manage, and distribute GIS and design
applications on the Internet or your intranet, broadening your access to mission-critical
geospatial and digital design data.
|
| Jump to Top |
| Software : Maximo |
|
Maximo is a strategic asset and service management system that runs on a number of databases
including Oracle, SQL Server and IBM DB2. It is used by a wide variety of organizations ranging from
municipal and county governments, to corporations to government contractors. MRO, the provider of
Maximo, was acquired by IBM in August 2006.
|
| Jump to Top |
| Software : Office |
| Excel Calc |
MID($A2,1,(SEARCH(" ",A2,1)))
|
| Excel Macro |
Sub one()
Dim original, name, streetnum, street, city, state, zip, phone, address
Dim AddressArray
'Range("a1").Activate
original = ActiveCell.Value
While Len(original) > 0
AddressArray = Split(original, ",")
name = AddressArray(0)
address = AddressArray(1)
city = AddressArray(2)
state = AddressArray(3)
zip = AddressArray(4)
phone = AddressArray(5)
ActiveCell.Value = original
ActiveCell.Offset(0, 1).Value = name
ActiveCell.Offset(0, 2).Value = address
ActiveCell.Offset(0, 3).Value = city
ActiveCell.Offset(0, 4).Value = state
ActiveCell.Offset(0, 5).Value = zip
ActiveCell.Offset(0, 6).Value = phone
ActiveCell.Offset(1, 0).Activate
original = ActiveCell.Value
Wend
End Sub
|
| Word -- Disable Spelling & Grammar Check |
Tools > Options > Spelling & Grammar tab > Uncheck "Check spelling as you type"
and uncheck "Check grammar as you type" > Ok.
|
| Jump to Top |
| Software : Oracle |
| Tables and Stored Procs |
-- View
Database / Schema Browser
-- Edit Proc
-- 1.
right click on proc / Load In Procedure Editor / Load Head Only
-- 2.
right click on proc / Load In Procedure Editor / Load Body Only
|
| IN with Bind Variables |
SELECT employee_id, first_name,
FROM employees
WHERE employee_id IN (:0,:1,:2)
|
| Combine Fields |
SELECT prgm_id ||' - '|| prgm_description AS "Program"
FROM programs
|
| NVL Function |
-- In Oracle/PLSQL, the NVL function lets you substitute a value when a null value is encountered.
NVL( string1, replace_with )
|
| DUAL table |
|
dual is a table which is created by oracle along with the data dictionary. It consists of exactly
one column whose name is dummy and one record. The value of that record is X. As dual contains
exactly one row, it is guaranteed to return exactly one row in select statements. Therefor, dual
is the prefered table to select a pseudo column such as sysdate...
select sysdate from dual
|
| Return Parameter |
-- ORACLE SP
PROCEDURE PO_VOLUMES_GET
(p_BEGIN_PERIOD NUMBER,
p_END_PERIOD NUMBER,
p_BILL_CUST_ID VARCHAR2,
p_RESULT OUT NUMBER)
IS
BEGIN
SELECT ytd_vol INTO p_RESULT
FROM
...;
END PO_VOLUMES_GET;
' VB.Net 2.0 Code
Public Function TIER1_VOLUMES_GET(ByVal BILL_CUST_ID As String, _
ByVal BEGIN_PERIOD As Integer, _
ByVal END_PERIOD As Integer) As String
Dim BEGIN_PERIODVal As Object = OracleClient.OracleNumber.Null
Dim END_PERIODVal As Object = OracleClient.OracleNumber.Null
Dim BILL_CUST_IDVal As Object = OracleClient.OracleString.Null
Dim f_sReturn As String = String.Empty
BEGIN_PERIODVal = BEGIN_PERIOD
END_PERIODVal = END_PERIOD
NEW_RATE_STRUCTURE_BPVal = NEW_RATE_STRUCTURE_BP
If Not BILL_CUST_ID Is Nothing Then
BILL_CUST_IDVal = BILL_CUST_ID
End If
Using TempConnection As New OracleClient.OracleConnection(Me.Connection.ConnectionString)
Dim TempCommand As New OracleClient.OracleCommand("12B_INVOICE.PO_TIER1_VOLUMES_GET", TempConnection)
TempCommand.CommandType = CommandType.StoredProcedure
TempCommand.Parameters.Add(New OracleClient.OracleParameter("p_BEGIN_PERIOD", BEGIN_PERIODVal))
TempCommand.Parameters.Add(New OracleClient.OracleParameter("p_END_PERIOD", END_PERIODVal))
TempCommand.Parameters.Add(New OracleClient.OracleParameter("p_BILL_CUST_ID", BILL_CUST_IDVal))
TempCommand.Parameters.Add(New OracleClient.OracleParameter("p_RESULT", _
OracleClient.OracleType.Number)).Direction = ParameterDirection.Output
TempConnection.Open()
TempCommand.ExecuteNonQuery()
f_sReturn = TempCommand.Parameters("p_RESULT").Value.ToString
End Using
Return f_sReturn
End Function
|
| Dates |
SELECT to_date('20081025','yyyy/mm/dd')
|
| Cursor (place it in the Spec) |
CURSOR c12B_CUST_REL IS SELECT DISTINCT cust_id
FROM 12B_CUST
WHERE cust_id IN
(SELECT cust_id
FROM 12B.12B_cust_accting)
ORDER BY cust_id;
strAgencyID 12B_CUST_REL.BILL_CUST_ID%TYPE;
|
| Cursor: Using it in a Stored Proc |
OPEN c12B_CUST_REL;
LOOP
FETCH c12B_CUST_REL INTO strAgencyID;
EXIT WHEN c12B_CUST_REL%NOTFOUND;
nTestSeqNum := nTestSeqNum + 1;
INSERT into 12B_inv (inv_num, inv_num_ver, bill_cust_id)
VALUES (9, 0, 'A');
END LOOP;
CLOSE c12B_CUST_REL;
|
| Jump to Top |
| Software : Perl |
| Download |
URL: www.activestate.com
- 2 ActivePerl versions: 5.8.7.813 & 5.6.1.638 (Choose 5.8.7.813)
- 2 Windows Installs: AS Package & MSI (choose MSI)
|
| Jump to Top |
| Software : Photoshop |
| Circle |
- Create a cirlce by using the Elliptial Marque Tool (hold shift key)
- edit > stroke
|
| Color Fade |
- CREATE two layers; one containing a person (no colored background), one
conating back color such as orange
- RIGHT CLICK on Layer 1 (photo of person), SELECT Layer Options
- Under Opacity, change it to 50% instead of 100%
|
| Fade |
- Select the layer.
- On left palette select gradient tool.
- On top left you will have Gradient Tool properties. Select
"linear gradient" if it is not default.
- Make sure that your foreground color is set to the color to which
you wish it to fade. In this case it is white.
- Select a point on your image, click, hold and drag your mouse in the
direction OPOSITE to which it should fade.
|
| Inverse |
image > adjust > invert
|
| Jump to Top |
| Software : MS Reporting Services |
|
SQL Server Reporting Services is a comprehensive, server-based solution that enables the
creation, management, and delivery of both traditional, paper-oriented reports and interactive,
Web-based reports. An integrated part of the Microsoft Business Intelligence framework, Reporting
Services combines the data management capabilities of SQL Server and Microsoft Windows Server with
familiar and powerful Microsoft Office System applications to deliver real-time information to support
daily operations and drive decisions.
|
| Jump to Top |
| Software : SharePoint |
|
A browser-based collaboration and document management platform from Microsoft. It can be used
to host web sites that access shared workspaces and documents, as well as specialized applications
like wikis and blogs from a browser.
|
| Jump to Top |
| Software : VB6 |
| Desktop App |
' Standard EXE
Private Sub Command1_Click()
Dim x As Integer
x = 5
MsgBox (x)
End Sub
|
| DLL |
' Active X DLL
Public Function Test() As Boolean
Dim x As Integer
x = 5
Debug.Print (x)
Test = True
End Function
' Run in command window
Set objTest = new Class1
call objTest.Test
' Create dll
- File/Make Project1.dll
- Project/Properties/General Tab - chk Unatended execution
- Project/Properties/General Tab - chk Retained In Memory
- Project/Properties/Make Tab - chk Auto Increment Version Number
- Project/Properties/Compile Tab - clk Advanced Optimizations - chck All
' Add To SourceSafe
- Tools/Source Safe/Add Project To Source Safe
' Run with ASP 3.0
Dim objProject1 : Set objProject1 = Server.CreateObject("Project1.Class1")
f_bRet = objProject1.Test()
Response.Write(f_bRet)
Set objProject1 = Nothing
|
| Hot Keys |
- F5 = run
- CTRL/F9 = jump, skip when run
- SHIFT/F8 = skip function
- SHIFT/F9 = quick watch (see values)
- SHIFT/F2 = set cursor in method call, jump to method
- CTRL/SHIFT/F9 = Remove all breakpoints
- CTRL/SHIFT/F8 = Jump out of function
|
| Register DLL |
c:\windows\system32\regsvr32.exe
When registering the dll's use the following command...
regsvr32 mydll.dll
(make sure you are in the directory where the dll is and needs to be registered)
also
regsvr32.exe /s dll name
|
| Jump to Top |
| Software : Windows |
| IIS - Active Directory |
Start\Administrative Tools\Active Directory Users and Computers
|
| IIS - Application Pool |
- Each pool has own w3wp process
- view all app pools
iisapp
- view running applications by process ID
iisapp /p 2608
|
| IIS - Reset |
iisreset
iisreset /stop
iisreset /start
|
| MMC Snapin |
|
Use this program to determine if a machine on the network has a lock on a file.
In the computer mgmt snapin, under Shared Folders, you can view Open
Files. You'll be able to see which user(s) has a file open and close
the open file with the right-click menu.
|
| Script Host |
C:\WINDOWS\system32\cscript.exe C:\Work\VBScripts\UpdateContacts.vbs
|
| Start Up |
Here are the steps to remove a program from StartUp...
Go to Start > Run and type (without quotes) "msconfig" [enter]. This
brings up the System Configuration Utility. Look on the Startup tab
and find all entries relating to MusciMatch (Music MAtchbox). Uncheck
the boxes next to the names, Apply and OK out. You don't need to
restart immediately, but the next time you do you'll get a dialog
saying you've used the Utility. Just tick the box that says in effect,
"don't bother me about this again".
This should stop everything to do with MusicMatch Jukebox from
starting with Windows and you won't get the ShellIconHiddenWindow any
more.
|
| Jump to Top |
|
|