How to make VideoRecorderBrush scollable?

Hi. My root layout is a Grid and I'm using a Rectangle to display the AudioVideoCaptureDevice's viewfinder. I have a option to set the capture resolution to any resolution that is  available by the API. When the capture resolution is
greater that the rectangle  a lot of the information of the recording (video picture) is unseen. I know I can later see it by playing it back with a fill stretch. Can you teach me how to see it while recording i.a.w make some control scrollable like
the video recorder brush? Thanks in advance:-)  

I followed the "how to capture videos in Windows Phone" tutorial and it used VideoCaptureDevice API from Microsoft.Devices namespace. I edited the code and where able to capture videos using AudioVideoCaptureDevice (It took me a long time to get
it right). Here is the relevant code:
XAML:
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot"
Background="Transparent">
<!--Camera viewfinder >-->
<Rectangle x:Name="viewfinderRectangle" Width="auto" Height="auto" Stroke="White" Tap="ToggleZoom_Tap" StrokeThickness="5" HorizontalAlignment="Center" VerticalAlignment="Center">
<Rectangle.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<MediaElement x:Name="VideoPlayer" AutoPlay="True" Width="800" Height="480" RenderTransformOrigin="0.72,0.479" VerticalAlignment="Center" HorizontalAlignment="Center" Stretch="None"/>
Code behind:
// Viewfinder for capturing video.
private VideoBrush videoRecorderBrush;
private AudioVideoCaptureDevice vcDevice;
// File details for storing the recording.
private string isoVideoFileName = "iClips_Video";
private StorageFolder isoStore;
private StorageFile sfVideoFile;
//Reference for vibrate Control
VibrateController testVibrateController = VibrateController.Default;
// For managing button and application state.
private enum ButtonState
Initialized, Stopped, Ready, Recording, Playback, Paused, NoChange, CameraNotSupported
private ButtonState currentAppState;
public MainPage()
InitializeComponent();
//setup recording
// Prepare ApplicationBar and buttons.
PhoneAppBar = (ApplicationBar)ApplicationBar;
PhoneAppBar.IsVisible = true;
StartRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[0]);
StopPlaybackRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[1]);
StartPlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[2]);
PausePlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[3]);
//Life Cycle
protected async override void OnNavigatedTo(NavigationEventArgs e)
try
// Initialize the video recorder.
CameraSensorLocation location = CameraSensorLocation.Back;
captureResolutions =
AudioVideoCaptureDevice.GetAvailableCaptureResolutions(location);
await InitializeVideoRecorder(location, captureResolutions.FirstOrDefault());
RotateUI();
//prepare shutter hot keys
CameraButtons.ShutterKeyHalfPressed += OnButtonHalfPress;
CameraButtons.ShutterKeyPressed += OnButtonFullPress;
CameraButtons.ShutterKeyReleased += OnButtonRelease;
base.OnNavigatedTo(e);
catch (Exception ex)
MessageBox.Show("On Navigated To In Main Error:\n"+ex.Message.ToString());
protected override void OnNavigatedFrom(NavigationEventArgs e)
try
//enable screen locking
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Enabled;
// Dispose of camera and media objects.
DisposeVideoPlayer();
DisposeVideoRecorder();
base.OnNavigatedFrom(e);
CameraButtons.ShutterKeyHalfPressed -= OnButtonHalfPress;
CameraButtons.ShutterKeyPressed -= OnButtonFullPress;
CameraButtons.ShutterKeyReleased -= OnButtonRelease;
catch (Exception ex)
MessageBox.Show("On Navigated From In Main Error:\n" + ex.Message.ToString());
protected override void OnOrientationChanged(OrientationChangedEventArgs e)
RotateUI();
private void RotateUI()
try
this.Dispatcher.BeginInvoke(delegate()
if (vcDevice != null)
RotateTransform rt = new RotateTransform();
//Set a perfect orientation to capture with
if (this.Orientation == PageOrientation.LandscapeLeft)
txtDebug.Text = "LandscapeLeft";
if (vcDevice != null)
//rotate video camera
if (vcDevice.SensorLocation == CameraSensorLocation.Back)
vcDevice.SetProperty(KnownCameraGeneralProperties.EncodeWithOrientation, sensor_angle + 90);
else
vcDevice.SetProperty(KnownCameraGeneralProperties.EncodeWithOrientation, sensor_angle - 90);
if (videoRecorderBrush != null)
if (vcDevice.SensorLocation == CameraSensorLocation.Back)
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
else
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = -90 };
else
txtDebug.Text = "Video Recorder Brush not fully initialized.";
if (videoRecorderBrush != null)
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
//rotate logo
if (logo != null)
rt.Angle = 90;
logo.RenderTransformOrigin = new Point(0.5, 0.5);
logo.RenderTransform = rt;
//rotate record time ellapse
if (txtRecTime != null)
rt.Angle = 90;
txtRecTime.RenderTransformOrigin = new Point(0.2, 0.5);
txtRecTime.RenderTransform = rt;
//rotate sign in link
if (MyGrid != null)
rt.Angle = 90;
MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
MyGrid.RenderTransform = rt;
//rotate CanvasVideoInfo
rt.Angle = 90;
VideoInfoGrid.RenderTransformOrigin = new Point(0.5, 0.5);
VideoInfoGrid.RenderTransform = rt;
if (this.Orientation == PageOrientation.PortraitUp)
txtDebug.Text = "PortraitUp";
if (videoRecorderBrush != null)
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
//rotate logo
if (logo != null)
rt.Angle = 0;
logo.RenderTransformOrigin = new Point(0.5, 0.5);
logo.RenderTransform = rt;
//rotate record time ellapsed
if (txtRecTime != null)
rt.Angle = 0;
txtRecTime.RenderTransformOrigin = new Point(0.5, 0.5);
txtRecTime.RenderTransform = rt;
//rotate sign in link
if (MyGrid != null)
rt.Angle = 0;
MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
MyGrid.RenderTransform = rt;
//rotate CanvasVideoInfo
rt.Angle = 0;
VideoInfoGrid.RenderTransformOrigin = new Point(0.5, 0.5);
VideoInfoGrid.RenderTransform = rt;
if (this.Orientation == PageOrientation.LandscapeRight)
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "LandscapeRight";
// Rotate for LandscapeRight orientation.
if (videoRecorderBrush != null)
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
//rotate logo
if (logo != null)
rt.Angle = -90;
logo.RenderTransformOrigin = new Point(0.5, 0.5);
logo.RenderTransform = rt;
//rotate record time ellapsed
if (txtRecTime != null)
rt.Angle = -90;
txtRecTime.RenderTransformOrigin = new Point(0.2, 0.5);
txtRecTime.RenderTransform = rt;
//rotate MyGrid
if (MyGrid != null)
rt.Angle = -90;
MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
MyGrid.RenderTransform = rt;
//rotate CanvasVideoInfo
rt.Angle = -90;
VideoInfoGrid.RenderTransformOrigin = new Point(0.5, 0.5);
VideoInfoGrid.RenderTransform = rt;
catch (Exception ex)
MessageBox.Show("On Orientation Changed Error:\n" + ex.Message.ToString());
// Update the buttons and text on the UI thread based on app state.
private void UpdateUI(ButtonState currentButtonState, string statusMessage)
try
// Run code on the UI thread.
Dispatcher.BeginInvoke(delegate
switch (currentButtonState)
// When the camera is not supported by the phone.
case ButtonState.CameraNotSupported:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = false;
break;
// First launch of the application, so no video is available.
case ButtonState.Initialized:
StartRecording.IsEnabled = true;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = false;
break;
// Ready to record, so video is available for viewing.
case ButtonState.Ready:
StartRecording.IsEnabled = true;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = true;
PausePlayback.IsEnabled = false;
break;
// Video recording is in progress.
case ButtonState.Recording:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = true;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = false;
break;
// Video Recording Stopped.
case ButtonState.Stopped:
StartRecording.IsEnabled = true;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = true;
PausePlayback.IsEnabled = false;
break;
// Video playback is in progress.
case ButtonState.Playback:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = true;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = true;
break;
// Video playback has been paused.
case ButtonState.Paused:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = true;
StartPlayback.IsEnabled = true;
PausePlayback.IsEnabled = false;
break;
default:
break;
// Display a message.
txtDebug.Text = statusMessage;
// Note the current application state.
currentAppState = currentButtonState;
catch (Exception ex)
MessageBox.Show("UpdateUI Error:\n" + ex.Message.ToString());
private async Task InitializeVideoRecorder(CameraSensorLocation sensorLocation, Windows.Foundation.Size sz)
try
string[] dimensions = sz.ToString().Split(',');
//open video camera device in this resolution
vcDevice = await AudioVideoCaptureDevice.OpenAsync(sensorLocation, sz);
vcDevice.RecordingFailed += OnCaptureFailed;
vcDevice.VideoEncodingFormat = CameraCaptureVideoFormat.H264;
vcDevice.AudioEncodingFormat = CameraCaptureAudioFormat.Aac;
// Initialize the camera if it exists on the phone.
if (vcDevice != null)
//initialize fileSink
await InitializeFileSink();
// Create the VideoBrush for the viewfinder.
videoRecorderBrush = new VideoBrush();
videoRecorderBrush.SetSource(vcDevice);
this.Dispatcher.BeginInvoke(delegate()
// Display the viewfinder image on the rectangle.
viewfinderRectangle.Fill = videoRecorderBrush;
//set the resolution
viewfinderRectangle.Width = Convert.ToDouble(dimensions[1]);
viewfinderRectangle.Height = Convert.ToDouble(dimensions[0]);
VideoPlayer.Width = Convert.ToDouble(dimensions[1]);
VideoPlayer.Height = Convert.ToDouble(dimensions[0]);
resMI.Content = Convert.ToString(dimensions[0]) + "*" + Convert.ToString(dimensions[1]);
resMI_Shadow.Content = Convert.ToString(dimensions[0]) + "*" + Convert.ToString(dimensions[1]);
// Set the button state and the message.
UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
else
// Disable buttons when the camera is not supported by the phone.
UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
/*Create Picture Perfect
//orient preview picture size from the computed anle.
var tmp = new CompositeTransform() { Rotation = ComputeAngle(this.Orientation) };
var previewSizeW = tmp.TransformBounds(new Rect(new Point(), new Size(vcDevice.PreviewResolution.Width, vcDevice.PreviewResolution.Height))).Width;
var previewSizeH = tmp.TransformBounds(new Rect(new Point(), new Size(vcDevice.PreviewResolution.Width, vcDevice.PreviewResolution.Height))).Height;
var previewSize = tmp.TransformBounds (new Rect(new Point(), new Size(m_captureDevice.PreviewResolution.Width, vcDevice.PreviewResolution.Height))).Size;
double s1 = viewfinderRectangle.Width / (double)previewSizeW;
double s2 = viewfinderRectangle.Height / (double)previewSizeH;
if (sensorLocation == CameraSensorLocation.Back)
videoRecorderBrush.Transform = new CompositeTransform()
Rotation = ComputeAngle(this.Orientation),
CenterX = viewfinderRectangle.Width / 2,
CenterY = viewfinderRectangle.Height / 2,
ScaleX = s1,
ScaleY = s2
else
videoRecorderBrush.Transform = new CompositeTransform()
Rotation = ComputeAngle(this.Orientation),
CenterX = viewfinderRectangle.Width / 2,
CenterY = viewfinderRectangle.Height / 2,
ScaleX = s1,
ScaleY = -1 * s2
};//Y mirror
catch (Exception ex)
MessageBox.Show("InitializeVideoRecorder Error:\n" + ex.Message);
double ComputeAngle(PageOrientation orientation)
if ((orientation & PageOrientation.Portrait) == PageOrientation.Portrait)
return vcDevice.SensorRotationInDegrees;
else if ((orientation & PageOrientation.LandscapeLeft) == PageOrientation.LandscapeLeft)
return vcDevice.SensorRotationInDegrees - 90;
else //PageOrientation.LandscapeRight
return vcDevice.SensorRotationInDegrees + 90;
//setup iClips video file creation
private async Task InitializeFileSink()
try
isoStore = await ApplicationData.Current.LocalFolder.GetFolderAsync("Shared");
sfVideoFile = await isoStore.CreateFileAsync(isoVideoFileName + ".mp4",
CreationCollisionOption.ReplaceExisting);
s = await sfVideoFile.OpenAsync(FileAccessMode.ReadWrite);
catch (Exception ex)
MessageBox.Show("Initialize File Sink Error:\n" + ex.Message.ToString());
// Set the recording state: display the video on the viewfinder.
private void StartVideoPreview()
try
// Display the video on the viewfinder.
if (vcDevice != null)
if (videoRecorderBrush == null)
// Create the VideoBrush for the viewfinder.
videoRecorderBrush = new VideoBrush();
videoRecorderBrush.SetSource(vcDevice);
// Display the viewfinder image on the rectangle.
viewfinderRectangle.Fill = videoRecorderBrush;
// Set the button states and the message.
UpdateUI(ButtonState.Ready, "Ready to record.");
txtRecTime.Visibility = Visibility.Collapsed;
// If preview fails, display an error.
catch (Exception e)
MessageBox.Show("Start Video Preview Exception:\n " + e.Message.ToString());
// Set recording state: start recording.
private async void StartVideoRecording()
try
//disable screen locking
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
if (vcDevice != null)
VideoInfoGrid.Visibility = Visibility.Collapsed;
if (s == null)
s = await sfVideoFile.OpenAsync(FileAccessMode.ReadWrite);
await vcDevice.StartRecordingToStreamAsync(s);
rState = 1;
logo.Opacity = 1.0; //brighten logo to indicate that the recording started
signForm_Shadow.Opacity = 1.0;
resMI_Shadow.Opacity = 1.0;
cOrientation.Opacity = 1.0;
ToggleCameraShadow.Opacity = 1.0;
StartTimer(); //show time ellapsed on UI
// Set the button states and the message.
UpdateUI(ButtonState.Recording, "Recording...");
// If recording fails, display an error.
catch (Exception e)
MessageBox.Show("Start Video Recording Error:\n" + e.Message.ToString());
// Set the recording state: stop recording.
private async void StopVideoRecording()
try
//enable screen locking
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Enabled;
await vcDevice.StopRecordingAsync();
rState = 0;
logo.Opacity = 0.1;
signForm_Shadow.Opacity = 0.5;
resMI_Shadow.Opacity = 0.5;
ToggleCameraShadow.Opacity = 0.5;
cOrientation.Opacity = 0.5;
StopTimer();
txtRecTime.Visibility = Visibility.Collapsed;
// Set the button states and the message.
UpdateUI(ButtonState.Stopped, "Recording stopped.");
DisplayVideoInformation();
// If stop fails, display an error.
catch (Exception e)
MessageBox.Show("Stop Video Recording:\n " + e.Message.ToString());
private void DisplayVideoInformation()
try
VideoInfoGrid.Visibility = Visibility.Visible;
txtVideoDate.Text = "Date: " + System.DateTime.Now;
txtVideoDuration.Text = "Duration: " + txtRecTime.Text;
txtVideoName.Text = "Name: " + sfVideoFile.Name;
txtVideoSize.Text = "Size: ";
txtVideoType.Text = "Type: " + "MP4";
catch (Exception ex)
MessageBox.Show("Display Video Information Error:\n" + ex.Message.ToString());
// Start the video recording.
private void StartRecording_Click(object sender, EventArgs e)
// Avoid duplicate taps.
StartRecording.IsEnabled = false;
StartVideoRecording();
private void DisposeVideoRecorder()
try
//enable screen locking
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Enabled;
if (vcDevice != null)
// Remove the event handler for captureSource.
vcDevice.RecordingFailed -= OnCaptureFailed;
if (s != null)
s.Dispose();
if (sfVideoFile != null)
sfVideoFile = null;
if (videoRecorderBrush != null)
videoRecorderBrush = null;
// Remove the video recording objects.
vcDevice.Dispose();
//vcDevice = null;
catch (Exception ex)
MessageBox.Show("Dispose Video Recorder Error:\n" + ex.Message.ToString());
private void OnCaptureFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
try
//enable screen locking
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Enabled;
MessageBox.Show("Recording Failed!");
rState = 0;
logo.Opacity = 0.1;
signForm_Shadow.Opacity = 0.5;
resMI_Shadow.Opacity = 0.5;
ToggleCameraShadow.Opacity = 0.5;
cOrientation.Opacity = 0.5;
catch (Exception ex)
MessageBox.Show("On Capture Failed Error:\n " + ex.Message.ToString());
I added some other methods that are related to the Video Capturing but you can just look in InitializeVideoRecorder to see how I'm binding the AudioVideoCaptureDevice preview to the rectangle...Tell me if you need more info and thanks so long

Similar Messages

  • How to make header scollable in top-of-page parameter in rs_tree_list_displ

    hi frnds,
    I have a requirement.
    I want to make the header section scrollable in the top-of-page parameter of the fm rs_tree_list_display, but i am not able to do it.
    please help me out.
    code snippet is as follows:
    CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
        EXPORTING
          CALLBACK_PROGRAM      = SY-REPID
          CALLBACK_USER_COMMAND = 'USER_COMMAND'
          CALLBACK_TOP_OF_PAGE  = 'TOP_OF_PAGE'
          CALLBACK_GUI_STATUS   = 'MY_STATUS'
          COLOR_OF_NODE         = '4'
          USE_CONTROL           = 'L'.
    FORM TOP_OF_PAGE.
      DATA: V_YEAR TYPE CHAR30.
      DATA: V_PRCTR TYPE CHAR40,
            V_PF_AC TYPE CHAR35.
      CONCATENATE 'Profit Center Group:' P_PRGRP INTO V_PRCTR.
      CONCATENATE 'Profit&Loss A/C Group:' P_PRGRP1 INTO V_PF_AC.
      CONCATENATE 'Fiscal Year:' P_RYEAR INTO V_YEAR.
      SHIFT P_FRPMAX LEFT DELETING LEADING '0'.
      SHIFT P_TRPMAX LEFT DELETING LEADING '0'.
      WRITE:/.
      WRITE:/30 P_TXT.
      WRITE:/.
      WRITE:  /2 V_PRCTR,
              /2 V_PF_AC,
              /2 V_YEAR,
              /2 TEXT-019,18(2) P_RVERS,
              /2 TEXT-020,18(2) P_FRPMAX,
              /2 TEXT-021,18(2) P_TRPMAX.
    endform.
    Thanks in advance for your help.
    Hariom

    Use OO method, instead of FM, using class cl_gui_alv_tree, where you can display a HTML header.....
    Check the wiki for demo program......
    http://wiki.sdn.sap.com/wiki/display/Snippets/ExampleaboutALV+Tree

  • I was able copy the hardrive of my old macbook from "My Passport" onto the desktop on an older iMac. but i dont know how to make my hardrive and user name be the main one since someone had used it in the past and had their info on the comp. please help!

    I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
    I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
    THANK YOU!!

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make downloadable links in Adobe Muse

    I am new to website design and am trying to figure out how to make downloadable links for some PDF flyers, PSD templates I am creating.   Not sure if "downloadable links" is the correct term for what I'm trying to say but in a nutshell I am creating Business Flyer's in PDF form and Photoshop PSD template files that I would like to be able to have my users click a link that allows them to download them right to their desktop.  Any help would really be appreciated!

    Hi caybar10gaming,
    I had the same question as you and was searching online for how to add "downloadable links" as well so your not alone in that lol. Anyways, I found this video that explains how to do this. I hope this helps you, as it did me. Good Luck  
    http://tv.adobe.com/watch/muse-feature-tour/add-and-link-to-any-type-of-file/
    -Caitlin

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • How to make a JPanel selectable

    When extending a JPanel and overriding the paintComponent() method the custom JPanel can not be selected so that it gets for example KeyEvents.
    But if I make the new Class extend a JButton it gets of course selected and able to receive for example KeyEvents.
    My question is therefore; what does the JButton implement that a JPanel doesn&#8217;t so that a JButton gets selectable? Or in other words; how to make a JPanel selectable?
    Aleksander.

    Try this extended code. Only the first panel added can get the Focus.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class Test extends JFrame
      public Test()
        setLocation(400,300);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel panel1 = new JPanel(new BorderLayout());
        JPanel panel2 = new JPanel(new BorderLayout());
        ImagePanel imgPanel = new ImagePanel();
        panel1.setFocusable(true);
        panel2.setFocusable(true);
        panel1.setPreferredSize(new Dimension(0, 50));
        panel2.setPreferredSize(new Dimension(0, 50));
        panel1.setBorder(BorderFactory.createLineBorder(Color.RED,     4));
        panel2.setBorder(BorderFactory.createLineBorder(Color.CYAN,    4));
        imgPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 4));
        panel1.add(new JLabel("Panel 1"), BorderLayout.CENTER);
        panel2.add(new JLabel("Panel 2"), BorderLayout.CENTER);
        getContentPane().add(panel1, BorderLayout.NORTH);
        getContentPane().add(panel2, BorderLayout.SOUTH);
        getContentPane().add(imgPanel, BorderLayout.CENTER);   
        pack();
        panel1.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel1");}});
        panel2.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel2");}});
      public static void main(String[] args){new Test().setVisible(true);}
    class ImagePanel extends JPanel
      Image img;
      public ImagePanel()
        setFocusable(true);
        setPreferredSize(new Dimension(400,300));
        try{img = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("Test.gif"), "Test.gif"));}
        catch(Exception e){/*handled in paintComponent()*/}
        addKeyListener(new KeyAdapter(){
          public void keyPressed(KeyEvent ke){
            System.out.println("ImagePanel");}});
      public void paintComponent(Graphics g)
        if(img != null)
          g.drawImage(img, 0,0,this.getWidth(),this.getHeight(),this);
        else
          g.drawString("This space for rent",50,50);
    }

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How to make an icon image using Photoshop

    I found out how to do this recently so I decided that I wanted to make a tut for those who don't know how to make an icon image. This icon image is for the libraries tab on your computer. Under the libararies tab there is Music, Pictures, Documents, and Photos
    First you will need the ICO (Icon image format) Format extension for photoshop which can be downloaded here:
    http://www.telegraphics.com.au/svn/icoformat/trunk/dist/README.html
    The download link and tutorial on how to install it is all in the link above.
    Once you have that all set you can now launch photoshop to create your icon image. Once you have launched it, create a new document with the size as in the image below.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/256x256_zpsbf3dcf8e.png~original[/IMG]
    Create the image you want. I used a simple one by using the custom shape tool by pressing "U" on your keyboard and with the
    basic blending options.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/IconImage_zpsd788c709.png~original[/IMG]
    The reason why the image is pixelated is because it is an icon image. Since the image is only 256x256 pixels when you zoom in on it that will get you the pixely result. The reason why I zoomed  in is so you can see it. But don't worry this is no the end result. Just continue reading and you will see.
    So once you have created the icon go ahead and press
    file>save as>(under format choose the ICO)>and choose the name that you want to name it. And save it in your C: drive. You will see why to save it in your C: drive in a sec.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/SampleicoPic_zpsd252bfba.png~original[/IMG]
    So now that you have created the icon and saved it now you can create the new library.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/NewLibrary_zps8ca703b2.png~original[/IMG]
    Name the library whatever you want I named it "Sample" for tutorial purposes. Notice how it gives you a default boring icon image for your library.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Sample1_zpsb5472840.png~original[/IMG]
    So now once you have created and named your library now it is time to get the icon image into place.
    Go to computer/c: Drive/users/YOU/ And now once you have reached this area you will need to access a hidden folder named "appdata" to do so press "Alt" then a menu bar will show. Click
    tools>folder options>and view. Find the option to view hidden folders then press apply then ok. Now we shall continue so AppData>Roaming>Microsoft>Windows>Libraries
    Now you should see all the libraries including the one you just created.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/showhiddenfolder_zpsad4a3c94.png~orig inal[/IMG]
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Libraries_zpsf6243bc0.png~original[/IMG]
    Once you have reached your destination then open a new text document with notepad and drag the library you just created in notepad. The result should look like this:
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Notepad_zps251a86f0.png~original[/IMG]
    once you have reached this point click at the end of the second to last line down then press enter and enter in this information
    <iconReference>c:\"NAME OF ICO FILE YOU CREATED IN PS".ico</iconReference>
    Example:
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/iconreference_zps1c1a3eca.png~origina l[/IMG]
    Once you have entered that information go to file>save and the icon image should appear on the library you created.
    [IMG]http://i1297.photobucket.com/albums/ag25/dusty951512/Finished_zps267f893a.png~original[/IMG]
    Now you are officially finished. Go and spread the news and joy. Bye for now
    -Dusty951512

    It is Windows only because all those screen shots are exclusively Windows, the file structure and paths do not resemble those of the Mac in the least.  As a Mac user, there's nothing I could take from your tutorial.  Sorry, 
    No drives named with letters like C: on the Mac, for instance.  No backward slashes either, ever.  No such paths either.  No "Notepad" on the Mac, we use TextEdit; but such a text editor is not remotely needed on the Mac to make and/or edit icons.  Etc.
    Those folders are not even called "Libraries" on the Mac…  Nothing resembling your tutorial at all.
    The icons in the Finder's Sidebar are not customizable at all in recent version of OS X.
    =  =  =
    You can edit any post of yours only until someone replies to it.  At this time your post is not editable by you any longer.

  • How to make text start at the top of a page in livecycle 9

    Hi, How can I get the text in a large text field to start at the top left of the field rather than at the center of the field? In addition, may one know how to make text wrap in the form as well?
    Thanks,
    David

    To set the Text alignment properties use "Paragraph" pallet you can make it visible by selecting Window>>Paragraph or Shift+F5
    And to allow text wrapping you need to select "Allow Multiple Lines" checkbox under "Object" pallet and "Field" tab. You can make Object pallet visible by selecting Window>>Object or Shift+F7.
    Good Luck,

  • How to make arrays or repeat objects in circle?

    Hello,
    1 - How to make arrays without copying and pasting? Fig-1
    2 - how to create objects repeated in circles? Fig-2
    Regards and Thanks

    1) Patterns
    2) One option is Scripting (or Actions).
    http://forums.adobe.com/message/3472806#3472806
    Edit: That was only for text layers, you could give this a try:
    // xonverts to smart object, copies and rotates a layer;
    // for photoshop cs5 on mac;
    // 2011; use it at your own risk;
    #target photoshop
    ////// filter for checking if entry is numeric and positive, thanks to xbytor //////
    posNumberKeystrokeFilter = function() {
              this.text = this.text.replace(",", ".");
              this.text = this.text.replace("-", "");
              if (this.text.match(/[^\-\.\d]/)) {
                        this.text = this.text.replace(/[^\-\.\d]/g, '');
    posNumberKeystrokeFilter2 = function() {
              this.text = this.text.replace(",", "");
              this.text = this.text.replace("-", "");
              this.text = this.text.replace(".", "");
              if (this.text.match(/[^\-\.\d]/)) {
                        this.text = this.text.replace(/[^\-\.\d]/g, '');
              if (this.text == "") {this.text = "2"}
              if (this.text == "1") {this.text = "2"}
    var theCheck = photoshopCheck();
    if (theCheck == true) {
    // do the operations;
    var myDocument = app.activeDocument;
    var myResolution = myDocument.resolution;
    var originalUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var dlg = new Window('dialog', "set circle-radius for arrangement", [500,300,840,450]);
    // field for radius;
    dlg.radius = dlg.add('panel', [15,17,162,67], 'inner radius');
    dlg.radius.number = dlg.radius.add('edittext', [12,12,60,32], "30", {multiline:false});
    dlg.radius.numberText = dlg.radius.add('statictext', [65,14,320,32], "mm radius ", {multiline:false});
    dlg.radius.number.onChange = posNumberKeystrokeFilter;
    dlg.radius.number.active = true;
    // field for number;
    dlg.number = dlg.add('panel', [172,17,325,67], 'number of copies');
    dlg.number.value = dlg.number.add('edittext', [12,12,60,32], "30", {multiline:false});
    dlg.number.value.onChange = posNumberKeystrokeFilter2;
    dlg.number.value.text = "12";
    // buttons for ok, and cancel;
    dlg.buttons = dlg.add('panel', [15,80,325,130], '');
    dlg.buttons.buildBtn = dlg.buttons.add('button', [13,13,145,35], 'OK', {name:'ok'});
    dlg.buttons.cancelBtn = dlg.buttons.add('button', [155,13,290,35], 'Cancel', {name:'cancel'});
    // show the dialog;
    dlg.center();
    var myReturn = dlg.show ();
    if (myReturn == true) {
    // the layer;
              var theLayer = smartify(myDocument.activeLayer);
              app.togglePalettes();
    // get layer;
              var theName = myDocument.activeLayer.name;
              var theBounds = theLayer.bounds;
              var theWidth = theBounds[2] - theBounds[0];
              var theHeight = theBounds[3] - theBounds[1];
              var theOriginal = myDocument.activeLayer;
              var theHorCenter = (theBounds[0] + ((theBounds[2] - theBounds[0])/2));
              var theVerCenter = (theBounds[1] + ((theBounds[3] - theBounds[1])/2));
    // create layerset;
              var myLayerSet = myDocument.layerSets.add();
              theOriginal.visible = false;
              myLayerSet.name = theName + "_rotation";
    // create copies;
              var theNumber = dlg.number.value.text;
              var theLayers = new Array;
              for (var o = 0; o < theNumber; o++) {
                        var theCopy = theLayer.duplicate(myLayerSet, ElementPlacement.PLACEATBEGINNING);
                        theLayers.push(theCopy);
    // calculate the radius in pixels;
              var theRadius = Number(dlg.radius.number.text) / 10 * myResolution / 2.54;
              myDocument.selection.deselect();
    // get the angle;
              theAngle = 360 / theNumber;
    // work through the layers;
              for (var d = 0; d < theNumber; d++) {
                        var thisAngle = theAngle * d ;
                        var theLayer = theLayers[d];
    // determine the offset for outer or inner radius;
                        var theMeasure = theRadius + theHeight/2;
    //                    var theMeasure = theRadius + theWidth/2;
                        var theHorTarget = Math.cos(radiansOf(thisAngle)) * theMeasure;
                        var theVerTarget = Math.sin(radiansOf(thisAngle)) * theMeasure;
    // do the transformations;
                        rotateAndMove(myDocument, theLayer, thisAngle + 90, - theHorCenter + theHorTarget + (myDocument.width / 2), - theVerCenter + theVerTarget + (myDocument.height / 2));
    // reset;
    app.preferences.rulerUnits = originalUnits;
    app.togglePalettes()
    ////// function to determine if open document is eligible for operations //////
    function photoshopCheck () {
    var checksOut = true;
    if (app.documents.length == 0) {
              alert ("no open document");
              checksOut = false
    else {
              if (app.activeDocument.activeLayer.isBackgroundLayer == true) {
                        alert ("please select a non background layer");
                        checksOut = false
              else {}
    return checksOut
    ////// function to smartify if not //////
    function smartify (theLayer) {
    // make layers smart objects if they are not already;
              if (theLayer.kind != LayerKind.SMARTOBJECT) {
                        myDocument.activeLayer = theLayer;
                        var id557 = charIDToTypeID( "slct" );
                        var desc108 = new ActionDescriptor();
                        var id558 = charIDToTypeID( "null" );
                        var ref77 = new ActionReference();
                        var id559 = charIDToTypeID( "Mn  " );
                        var id560 = charIDToTypeID( "MnIt" );
                        var id561 = stringIDToTypeID( "newPlacedLayer" );
                        ref77.putEnumerated( id559, id560, id561 );
                        desc108.putReference( id558, ref77 );
                        executeAction( id557, desc108, DialogModes.NO );
                        return myDocument.activeLayer
              else {return theLayer}
    ////// radians //////
    function radiansOf (theAngle) {
              return theAngle * Math.PI / 180
    ////// rotate and move //////
    function rotateAndMove (myDocument, theLayer, thisAngle, horizontalOffset, verticalOffset) {
    // do the transformations;
    myDocument.activeLayer = theLayer;
    // =======================================================
    var idTrnf = charIDToTypeID( "Trnf" );
        var desc3 = new ActionDescriptor();
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc3.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc4 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc4.putUnitDouble( idHrzn, idPxl, horizontalOffset );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc4.putUnitDouble( idVrtc, idPxl, verticalOffset );
        var idOfst = charIDToTypeID( "Ofst" );
        desc3.putObject( idOfst, idOfst, desc4 );
        var idAngl = charIDToTypeID( "Angl" );
        var idAng = charIDToTypeID( "#Ang" );
        desc3.putUnitDouble( idAngl, idAng, Number(thisAngle) );
    executeAction( idTrnf, desc3, DialogModes.NO );

  • In firefox 4 RC, some addons installed suddenly disappear, but checking the profile, some of the missing addons related files are still here, how to make the addons back?

    I use firefox 4 form beta 9 to RC (zh) now and there are also firefox 3.6 installed in computer. One day when I open Fx 4 RC, some (actually a lot but not all) of the adoons just disappear. When I check on about:addons page, some addons installed do not appear in the list.
    The addons '''REMAINED''' including:
    * addons I already used in Fx 3.6 (like webmail notifie , xmarks)
    * ''addons only can use in Fx 4'' (like Open Web Apps for Firefox).
    The addons '''DISAPPEARED''' including:
    * addons I already used in Fx 3.6 (like yoono)
    * '' addons installed when using Fx 4'' (like updatescanner, Thumbnail Zoom).
    But when I check the profile(by Help > Troubleshooting Information>Open Containing Folder) , some (not sure is it all) of the missing addons related files are still here [lucky], so any one know how to make the missing addons back?
    Some more details:
    * This happened when i use RC for already a few days and keep on even i restart Fx and windows.
    * The bookmarks, history, search engine and even themes and icon setting are still here. [ I only sync bookmarks but not history for both xmarks and firefox sync.]
    * This addons are really '''disappeared''' but not disable only!
    * This number of addons missed, as i remember, at least 30, should be more than that number bacause some of them are installed but in disable mode.
    * I try to install back one of the addons - Stylish, the installed code are still here.
    * It is nearly an impossible mission to install every missing addons again, as it really kill my time.

    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini, extensions.sqlite) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry. New files will be created when required.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar to do a compatibility check.

  • My ipad mini is totally drain and after plug it to regain the power its not working anymore.can somebody knows how to make my ipad work again

    my ipad mini is totally drain and after plug it to regain the power its not working anymore.can somebody knows how to make my ipad work again

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • How to Make my Macbook Pro's internal HDD external, when I get a SSD?

    Hey, I know there are other posts on what enclosure you can use and if it's a possibility, but I haven't seen any that tell me how I get OS X on the SSD without a disc? Can I download the installer on a flash drive somehow? Also, I am wondering if this really is a good idea, using my Macbook Pro's HDD for a backup HDD, instead of buying one? I have no use for it anyway, if and when I get a new SSD. BTW, the HDD is the upgraded factory 500gb 7200rpm. Also, do you think it's smarter to have a bigger backup drive than internal drive? In other words, I would like to get a 1TB Samsung 850 Pro SSD, and my current HDD is only 500GB.... I am a musician and need a lot of storage for musical purposes. I use Final Cut Pro, Logic Pro X, Ableton Live 9, Office, and Photoshop.... My Macbook Pro is a Late 2011 Macbook Pro 15.4' 2.2ghz quad core i7 8gb RAM. Oh yeah and a mother thing is, I think I should get an enclosure that has a thunderbolt port with usb, what are your thoughts?

    How to Make my Macbook Pro's internal HDD external, when I get a SSD?
    Get an externel enclosure at the same time.
    You can order from OWC
    http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Put the SSD in the externel enclosure and use something like Carbon Copy Cloner,  to clone the internal drive and all it content to the SSD.  Then swap them out.
    Always good to have more than one backup.

Maybe you are looking for

  • Business Objects Live Office

    I  have created the crystal reports using Xml/xsd and saved on BO server ,I am trying to connect with Live Office ,I got the following error. "An error Occured while opening the report.te report deos not exists,or you cannot make a connection to the

  • To use SSL or not...

    We have setup a Windows Server 2012 R2 Std running Remote Desktop Services (workgroup server), and allow access only by VPN. During setup of the RDS, as I recall, I was not able to install licensing unless I also installed a security certificate. I p

  • 802.1x/EAP clarification and implementation

    Dear SIr, To setup LEAP authentication using ACS, the client needs a supplicant such as the ACU to run LEAP independent of OS. Cisco AP will be the carrier of the EAP message between the client and the Radius server sitting between the client and the

  • Numbers document not synchronized via iCloud

    I am saving document from Numbers MacMini but it's not visible from iOS devices or via iCloud.com. Instead I see the old version of the same document. When I am opening it in MacMini I see it in iCloud area, but in iCloud.com it shows the old version

  • I have iphone 4 with 4.3.2(8H7). I want to update it, pls suggest in which version it will b good?

    i want to update my iphone 4 having 4.3.2 version in it.. pls  suggest in which version i should update.. thank you.