Skills Being MeasuredThis exam measures your ability to accomplish the technical tasks listed below.The percentages indicate the relative weight of each major topic area on the exam. |
Configuring Microsoft Office SharePoint Server 2007 (15 percent)
percent)
percent)
SharePoint Server 2007 (10 percent)
|
If you plan on using the dos prompt to compile your C# and haven't already done so you will want to add the path to csc.exe to your environment variables. It will allow you to open a dos prompt window and type "csc yourCsFilename.cs" and go without having to navigate each time to the location of csc. A healthy, carpal tunnel free programming life is built on saving key strokes so find and use your shortcuts!! Move your mouse as far away from you as possible and just start looking up and using the shortcuts that appear on your menus! It will greatly increase your efficiency over time.
To do this on Windows 7 and Framework 3.5 right click 'My Computer' and click on 'Properties' then click on 'Advanced System Settings' over on the left. Click on the 'Advanced Tab' and then the button at the bottom that reads 'Environment Variables'. Put your cursor in the second box (System variables) and scroll down until you find the one named 'Path'.
Click 'Edit' then remove your hand from the mouse ( if you are not already using the tab key)!
Hit your 'End' key and paste this whole string in there ;C:\Windows\Microsoft.NET\Framework\v3.5\ using 'ctrl - V'...of course.
'OK' your way out of all the windows, open a dos prompt (using the keyboard and type csc /help ( that's 'csc' a space and then '/help')
you should get a bunch of help scrolling past you in the dos window. If you don't open Windows Explorer and paste the path to csc.exe into it 'C:\Windows\Microsoft.NET\Framework\v3.5\' and if you don't get there then you need to install framework 3.5. Search your Framework directory for 'csc'exe and paste that into the Path environment variable instead.
Live long and prosper!
Creating Military Julian using XPATH in InfoPath 2007
Posted by KansasCoder / Category: InfoPath 2007, XPath
SQL server 2005 UDF for getting the Military Julian Time
Posted by KansasCoder / Category: SQL Serverset QUOTED_IDENTIFIER ON
go
-- Description: Function to return Military Julian in the format of YYDDD
-- RETURNS: varchar data type
-- INPUTS: date or default
-- Example Using Today's Date: select dbo.fnGetMilitaryJulian(default)
-- Example Date: select dbo.fnGetMilitaryJulian('01/08/2008')
-- Example Leap Year: select dbo.fnGetMilitaryJulian('12/31/2012')
-- =============================================
ALTER FUNCTION [dbo].[fnGetMilitaryJulian]
(
-- Add the parameters for the function here
@theDate datetime = null
)
RETURNS varchar(5)
AS
BEGIN
-- Declare the ordinal part of the variable
DECLARE @miljul varchar(3)
--treat an empty string or spaces as a null
if rtrim(ltrim(@theDate)) = ''
set @theDate = NULL
DECLARE @m varchar(2);
DECLARE @y int;
DECLARE @tempjul varchar(5);
set @d = 01;
if @theDate is not null
BEGIN
set @y = year(@theDate);
set @yearpart = RIGHT(convert(varchar(4),year(@theDate)),2);
END
else
BEGIN
-- set year part for today
set @y = year(getdate());
set @yearpart = RIGHT(convert(varchar(4),year(getdate())),2);
END
-- finally determine the first day of the year requested
select @firstofyear = convert(datetime,@m +'-'+ @d +'-'+ convert(varchar,@y))
if @theDate is not null
BEGIN
SELECT @miljul = convert(varchar(3),datediff(day,@firstofyear, @theDate) + 1)
END
else
BEGIN
-- set miljul for today
SELECT @miljul = convert(varchar(3),datediff(day,@firstofyear, getdate()) + 1)
END
set @miljul = right(replicate('0',3) + @miljul,3)