VDI 3.1 EA Vbox desktops with multiple cpus

Hello.
We are running Solaris 10 update 7 (x86) with VDI 3.1 EA.
The virtual box desktop provider is running the provided 3.0.5 version of virtualbox.
We have created an ubuntu 8.10 VM with 2 processors. The XML file that get's imported along with the VDI image have the 2 cpu specification in it. When we then access the image through the VDI solution it only has 1 cpu. Does anyone know if desktop VM's with multiple CPU's are supported?
Thanks. Deet.

Hi Deet,
I've done some further investigation into this and it appears there is a bug when importing from VDI Hosts. The feature works as expected when importing directly from VirtualBox hosts. This will be fixed in VDI 3.1 final.
VDI 3.1 EA allows you to import virtual machines directly from VirtualBox 3.0.5. Under Pool -> Desktops|Templates, simply select Import. This will present you with a list of virtual machines in your VirtualBox Desktop Provider that aren't currently managed by VDI.
Please note that for virtual machines to be imported in this way they must have been created by the same user the VirtualBox web service uses and be powered-off.
Thanks for reporting the issue. Feedback is greatly appreciated!

Similar Messages

  • Desktop with multiple cores

    Has anyone else ran into issues giving a desktop more than a single core?
    I've yet to be able to do this with both my Windows and Ubuntu guests... The OS simply doesnt see it (even after a shutdown/start).

    Hi,
    Try this procedure:
    Unplug the PC and open it up. Clean out all the dust. Carefully remove and replace all the cables going to the motherboard one at a time. Do the same for the memory dimms and the video and sound cards if you have any.  You might want to buy a can of compressed air to blow the dust out of the CPU heat sink.  Plug your PC back in and give it a go.
    If the above doesn't help then if your are using a discrete video card then remove it and use the on board video.
    Some  hard drives can also cause similar issues. Look here for a firmware update.
    Lastly, consider replacing the power supply.  Weak power supplies can cause weird issues.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • NAC OOB & Desktops with redundant/failover NICs

    Can anyone tell me if NAC is capable of handling desktops that have multiple NICs configured for failover or even just set up as a team (i.e. a single ip address). Can it handle placing all of the correct switch ports in to the right vlan once the user is authenticated or are we just asking a little too much of the NAC devices?
    Thanks for any help.

    NAc will not be able to handle desktop with multiple NIC's.
    Change VLAN according to global device filter list (device must be in list). When set, the VLAN of the port will be assigned by global device filter settings (ALLOW=Default Access VLAN, DENY=Auth VLAN, ROLE/CHECK=User Role VLAN, IGNORE=ignore SNMP traps from managed switches (IP Phones)).
    If above option is enabled, thenl look at the filter table to decide what role user is and then move user to the vlan assigned for
    that User Role:

  • Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • ITunes setup on a NAS with multiple windows users - how?

    iTunes setup on a NAS with multiple windows users?
    I am very confused on what is the best way to handle this setup for my friends family.  Any help would be appreciated.  Sorry in advance as I know this is a long winded post - I have a feeling this will help others faced with the same issues or questions.
    CURRENT SETUP
    I have three new Windows 7 machines networked (two desktops and one laptop) that have four users on each - as busy family with children who need the computers for homework, projects, games, etc...  The goal of this setup is that any user can log onto any computer and have there documents available to them no matter computer was free to use.  I set this up using the library function in Windows 7 and seems to work pretty well.
    I have put a Buffalo Linkstation NAS on the system as well.  This was going to serve two purposes 1)  run some backup software to protect the computers and 2) consolidate the iTunes content in one place for all users.  There is also an iPad in the home that I should would be better served by accessing the content on the NAS without requiring any of the computers being on.  Dave is thinking about getting some other playback devices like Apple TV so thought a NAS would be a good way to go.
    CURRENT ITUNES SETUP - I have created a new iTunes library on the NAS by holding the SHIFT button down while starting iTunes and pointed to that folder on a Share on the NAS.  There was no music on the system at the time as we are planning to copy this over from an OLD machine that is now not being used.  I have also authorized all the computers and turned on the home sharing feature (although I am not sure what good that does).
    This “shift” button trick seesm to also point the default directory there without point to it in the advanced setup tab of iTunes.
    I then synced one of the iPods with purchased content on it and synced that to the library after asking me to do so before an update.  All the content showed up in the library and was playable - awesome.
    I then logged into each user on each machine (yikes) and installed iTunes  and used the “shift” trick to connect each users iTunes to the database on the NAS.  Everything seems to work - but I have not tested it thoroughly.
    SUMMARY
    3 new Windwos 7 networked machines
    4 identical users on each machine
    1 TB Buffalo linkstation
    iTunes setup with the folder on a SHARE
    all user’s itunes connected to the iTunes folder on the NAS
    all computers authorized with home sharing turned on.
    one iTunes user account signed in on each machine
    multiple iPods and one iPad in the system
    QUESTIONS/CONCERNS
    Is there a better way to do this on a NAS?
    Would home sharing be better in some way?
    I understand the NAS should show up under the shared section in iTunes - I assume that would mean that would mean each user has an iTunes library on their documents?
    I have read that there may be corruption issues if users on the different machines try to access iTunes at the same time.
    Will there be any issues syncing that various iPods with?
    Ugh - sorry for the long post and all the questions.  I am just trying to find the best way to do this.  I wish Apple would put out a best practices document for setups like this.  Thanks in advance.

    This is a user to user support forum. Your fellow users can offer solutions or workarounds based on their experience with the application. If you think it should work differently drop a line to iTunes Feedback.
    For reasons unknown Apple haven't chosen to allow iTunes to be suspended in one profile and active in another. My recollection is that this applies even if each profile has a different library, although it is some time since I've committed a personal test.
    I'm not sure why my suggestion make less sense that your current approach?. As I understand it currently everybody is either signed into their own account when they can do something other than work with iTunes, or they sign into the special iTunes account where they can't access any of their other stuff. You don't have to disable fast user switching. Follow exactly the same steps, but make sure everyone closes iTunes before turning the computer over to another user. Disabling fast user switching helps to enforce that action.
    tt2

  • How to set up a desktop with numerous users

    New to the Mac...replacing windows desktop
    Home desktop: 2 adults 2 kids
    the adults each have (multiple separate) email accounts...the kids have email but not as important...
    mostly browsing; email; social networks...
    shared apps would be MS Office...
    not overly privacy concerned...any user can see the computers files...i suppose everyone should get some email account privacy...
    1. I supposes creating 4 users is the most rational...
         i assume each user could have a separate email setup...that would only be visible when they are logged in to their account...
         I assume each user could have a separate documents folder...that would be the default when they are logged in (but when logged in to to other accounts it      is probably visible)
         I assume everyone could share the MS office apps...
         This seems rational...a sandbox for everyone...
    2. are there alternatives?
    the problem with multiple users is that 3/4 users are not computer oriented...they dont have the mentality to log in and log out...they tend to just sit down and start surfing...writing a document...
    can you have multiple separate email "silos" in one user logon? a different icon to go to different users emails...
    I want something rationale but simple...
    p.s. just an observation..as one with some gray hairs...
    despite a pretty expensive mac desktop on order...for home use...desktops are kind of dying...
    its all the phone and the tablet...I (and my family) simply do not sit in front of the family desktop anymore...for example, i used to pore over quicken...now most of the finanial stuff is on the financial institutions website etc...any i can look at my finances (for example) better on their website than i could with my home software...and i do not want to sit on my couch or kitchen table and not at the desk in the "office"...
    but we still need it for school projects...somethings where we need a big screen...
    but i want to set it up simple...
    thx

    I'd still set up four user accounts. You don't have to set a password for them, if you don't want to, which eases login. Everyone gets their own space to "decorate" as they wish.
    It is not simple, or pleasant, to keep everyone's email in one account and try to deal with it. Mail doesn't have a "profile" system as that is taken care of by the user account. There is no way to switch between email accounts if they are all in one user account. You'd end up removing those gray hairs, violently.
    Everybody has access to all the programs on the Mac. However, you could install one inside a user account, then only that user would be able to use it. Not common, but possible.
    With Fast User Switching, they can select their name from the menu bar to go to their account, if it is not sitting on the Login screen.
    There is also a Shared folder inside the /Users folder where you can put documents that everyone needs access to, if you need it.

  • Find and replace with multiple files and with a watch folder

    I am trying to create a watch folder that uses red_menace script to:
    1. Have a folder that receives multiple xml files that run the script one by one.
    2. then move the files to an output folder.
    I tried modifying the set TheFIle to choose file -- the original text file to:
    with multiple selections allowed
    But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
    Thanks!
    The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
    Here's what i got so far:
    on open
    set TheFIle to choose file -- the original text file
    set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
    set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
    set TheText to read TheFIle -- get the text to edit
    set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
    Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
    set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
    ", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>—", " —", "
    Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end open
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is missing value then set TheExtension to ""
    set TheName to text 1 thru -((count TheExtension) + 2) of TheName
    set NewName to TheName & "." & TheExtension
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & "." & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
    for each of the items in SomeItems, a line containing it's text is placed in the edit box
    the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to replaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    return SomeText
    end replaceText
    Message was edited by: gamebreakers

    When you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
    I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- search and replace multiple items applet/droplet/folder action
    -- the terms to replace - edit as needed
    property EditableItems : {¬
    "one", ¬
    "two", ¬
    "three", ¬
    "four", ¬
    "five", ¬
    "six", ¬
    "seven", ¬
    "eight", ¬
    "nine", ¬
    "ten", ¬
    "eleven", ¬
    "twelve", ¬
    "thirteen", ¬
    "fourteen", ¬
    "fifteen", ¬
    "sixteen", ¬
    "seventeen", ¬
    "eighteen", ¬
    "nineteen", ¬
    "twenty"}
    -- the folder for the output file(s) - change as needed
    property TheFolder : (path to desktop)
    property LastEditItems : EditableItems
    on run
    the applet/droplet was double-clicked
    open (choose file with multiple selections allowed)
    end run
    on open TheItems
    items were dropped onto the applet/droplet
    parameters - TheItems [list]: a list of the items (aliases) dropped
    returns nothing
    repeat with AnItem in TheItems
    ReplaceMultipleItems from AnItem
    end repeat
    end open
    on adding folder items to this_folder after receiving these_items
    folder action - items were added to a folder
    parameters - this_folder [alias]: the folder added to
    these_items [list]: a list if items (aliases) added
    returns nothing
    repeat with AnItem in these_items
    ReplaceMultipleItems from AnItem
    end repeat
    end adding folder items to
    to ReplaceMultipleItems from SomeFile
    replace multiple text items in SomeFile
    parameters - SomeFile [alias]: the file to replace items in
    returns nothing
    set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
    set TheText to read SomeFile -- get the text to edit
    set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
    set LastEditItems to Originals
    set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end ReplaceMultipleItems
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is in {missing value, ""} then
    set TheExtension to ""
    else
    set TheExtension to "." & TheExtension
    end if
    set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
    set TheName to text 1 thru -((count TheExtension) + 1) of TheName
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
      for each of the items in SomeItems, a line containing it's text is placed in the edit box
        the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to ReplaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as text
    if SomeText contains OldItem then
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    try
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    on error ErrorMessage number ErrorNumber -- oops
    set AppleScript's text item delimiters to TempTID
    error ErrorMessage number ErrorNumber
    end try
    end if
    return SomeText
    end ReplaceText
    to ChangeCase of SomeText to CaseType
    changes the case or capitalization of SomeText to the specified CaseType using Python
    parameters - SomeText [text]: the text to change
    CaseType [text]: the type of case desired:
    "upper" = all uppercase text
    "lower" = all lowercase text
    "title" = uppercase character at start of each word, otherwise lowercase
    "capitalize" = capitalize the first character of the text, otherwise lowercase
    returns [text]: the changed text 
    set SomeText to SomeText as text
    if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
    return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
    end ChangeCase
    </pre>
    Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
    Message was edited by: red_menace

  • C# Script to open and read an Excel spreadsheet with multiple worksheets

    Can someone provide me the C# syntax and Edit Script to open an Excel spreadsheet with multiple worksheets and then using the data to create and output a .csv file? The multiple worksheets contain different data elements that I'll need to parse out and then
    store as a .csv file that will then be read to pump data into our SQL Server Database.
    Thanks for your review and am hopeful for a reply.
    PSULionRP

    I think this code originally came from Joel, who comes here quite a bit.  I'm not a C# expert, like Joe is, but I think this is pretty close to what you want.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Excel = Microsoft.Office.Interop.Excel;
    using Microsoft.Office.Interop.Excel;
    using System.IO;
    namespace WindowsFormsApplication2
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Main();
    public void Main()
    string filePath = "C:\\Users\\Ryan\\Desktop\\MainExcel.xlsx";
    Microsoft.Office.Interop.Excel.Application xlobj = new Microsoft.Office.Interop.Excel.Application();
    Workbook w = default(Workbook);
    Workbook w1 = default(Workbook);
    Worksheet s = default(Worksheet);
    Worksheet s1 = default(Worksheet);
    Worksheet xlsht = default(Worksheet);
    xlobj.Visible = true;
    int intItem = 1;
    DirectoryInfo dirSrc = new DirectoryInfo(@"C:\Users\Ryan\Desktop\Test_Folder\");
    foreach (FileInfo ChildFile in dirSrc.GetFiles())
    try
    // Renaming the excel sheet
    w = xlobj.Workbooks._Open(ChildFile.FullName,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    w1 = xlobj.Workbooks._Open(filePath,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    //this doesn't make any sense
    //w1 = xlobj.Workbooks.Open(filePath);
    //if (intItem > 3)
    Excel.Worksheet lastSht =
    (Excel.Worksheet)w1.Worksheets[w1.Worksheets.Count];
    xlsht = (Excel.Worksheet)w1.Worksheets.Add(Type.Missing,
    lastSht,
    Type.Missing, Type.Missing);
    s = (Excel.Worksheet)w.Worksheets[1];
    s1 = (Excel.Worksheet)w1.Worksheets[intItem];
    s1.Name = ChildFile.Name;
    // it will copy and paste sheet from one to another with formula
    s.UsedRange.Copy(Type.Missing);
    Excel.Range r = s1.get_Range("A1", Type.Missing);
    r.PasteSpecial(Excel.XlPasteType.xlPasteValues,
    Excel.XlPasteSpecialOperation.xlPasteSpecialOperationNone,
    Type.Missing, Type.Missing);
    s1.UsedRange.Formula = s.UsedRange.Formula;
    // Renaming the excel sheet
    //w.Save();
    w.Close(false, Type.Missing, Type.Missing);
    w1.Close(false, Type.Missing, Type.Missing);
    catch (Exception ex)
    //w.Save();
    w1.Save();
    w.Close(false, Type.Missing, Type.Missing);
    w1.Close(false, Type.Missing, Type.Missing);
    intItem = intItem + 1;
    //Dts.TaskResult = ScriptResults.Success
    Do you need help getting everything into a CSV, or can you take it from here???
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • When I go into full screen mode in Safari 5.1 on LION it switches to a new Space, making my other displays useless. Anyone else annoyed that Apple has completely left out those with multiple displays?

    I had a fear that this was going to be the case, but you can't have two full screen apps open in two different displays. At least that's how Safari fullscreen works. When switching over to full screen mode in safari, it automatically creats a new space, turns on four finger gesture to swipe through full screen apps which I had turned off in place of App Switcher.
    I don't use spaces because of the lack of support for using spaces with multiple displays. I would use spaces and mission control if I had control of each display's mission control separately.
    The fix would be to unlink the displays so they can scroll through full screen apps by themselves. I want this feature so I can mix and match the full screen apps on my three different displays. I see this beneficial for more people with multiple displays. in the future when thunderbolt display links, people will want better support too.
    I know I would use spaces and mission control more if I could have this ability. I'd be interested to know people's opinion.

    No no, if you read what I said, it would be that each individual display would be customizable to the user. The way you have it, it sounds like your second display will be dedicated to scrolling through fullscreen apps not allowing you to do it on the home screen. This is silly because with my concept, you could do that, by dragging apps to fullscreen in your second display, but if you want you could tell another display to scroll through fullscreen apps (independently) if you wanted. Each display will have it's own mission control with it's own set of desktops. I also can see how some people would still want them linked together, so this could just be a little check box made in mission control prefs to "link" or "unlink" desktops with link checked by default.
    With your solution you're limited to your setup. but what if the person has three or four displays? Well then your solution would limit them to one dedicated display that scrolls through fullscreen apps where mine lets a person customize their desktops depending on their preference and setup.
    further example: if you have safari, address book and mail in one display, you could still have ichat, PS and Illustrator in your second, and a text editor, FTP Client and iTunes in your third. Then you would mix and match these apps but it would promote the use of mulitple displays as well as benefit people with three or more, which thunderbolt, Cinema Display and Pro computers support.

  • When I replaced my PC desktop with a Mac Mini and hooked up my HP printer to it, I discovered my other computers on the Wi-Fi network could no longer access the printer.  The manual says Maverick OS will not allow PC's to access the printer. Any thoughts?

    When I replaced my PC desktop with a Mac Mini and hooked up my HP printer to it, I discovered that my other computers on the Wi-Fi network could no longer access the printer.  The manual says Maverick OS will not allow PC's to share the printer. Does anyone else have this problem?  My printer does not have on-board Wi-Fi but, otherwise, works fine.  I shouldn't have to buy a new one.  Is there a OS patch out there that would open the printer port for my PC computers?

    I'm assuming that on the Mac, the System Preferences -> Sharing -> Printer Sharing -> [X] HP printer -> Everyone can print is selected?  That is to say, the Mac will allow anyone to print using the printer, and that you did not try to restrict who can print.
    How is your network configured?  Bonjour as a protocol will NOT cross a router boundary.  If you have 2 or more subnets active with the PCs on one subnet and the Mac on another, that would block the PCs from seeing the Mac.
    You could have multiple subnets if you have more than one router, such as an ISP provided broadband modem/router and another WiFi Router.  If the PCs are talking to one router and the Mac is talking to another, that could be a 2 subnet situation.  The additional routers must be put into bridge mode, which is done differently depending on the router.  But the basics are to diable DHCP and NAT services on the secondary router(s) having just one active router on the network.
    Also, using Bonjour Browser on my Mac, it is showing me that the printer is being advertised as using Internet Printing Protocol, so if that is something selectable on Windows, maybe you can bypass Bonjour on Windows.

  • WIn 7 PRO to Win 7 PRO Remote Desktop with matching 1920x1080 Dual Monitors

    I have done quite a bit of looking and still do not know if  WIn 7 PRO can connect to a to Win 7 PRO  with Remote Desktop with matching  1920x1080 Dual Monitors. It seems like it cannot use dual monitors by the HELP file.  But
    then why does it have  "Use all of my monitors for the remote session" as a selection in the Connection settings ? Just what is the real answer ? Both systems are 64 bit.   If the answer is YES.   Please tell me how !

    Hello i-wonder-why,
    To use this Remote Desktop Multimon feature, you must:
    1.Connect using the Remote Desktop Client 7.0 (mstsc.exe) available initially on Windows 7/Windows Server 2008 R2.
    2.Enable Multimon using one of the three methods described below:
    a. Click “Use all monitors for the remote session” in the client (mstsc.exe) window.
    b. Use the “/multimon” switch on the mstsc.exe command line.
    c. Add “Use Multimon:i:1” to the RDP file.
    image 
    3.Connect to a computer running Windows 7 or Windows Server 2008 R2.
    For more information, please refer to the following article.
    http://blogs.msdn.com/b/rds/archive/2009/07/01/using-multiple-monitors-in-remote-desktop-session.aspx
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • With multiple tabs open, and selecting a new (blank) tab, RoboForm open new web page in far left tab, not the new (blank) one. How to correct this?

    Problem: Firefox Browser Tabs when using RoboForm
    When using Tabs in the Firefox browser (with multiple Tabs already open), I (1) click to open a new (blank) tab and then, (2) click on RoboForm to go to a new website. Instead of the new website opening in the newly opened (blank) tab it opens in the first (far left) tab. This only began happening when I installed Firefox 5.0 and RoboForm Desktop v7.3.2 at the same time.
    My system: HP Pavilion Media center, Windows Vista Ultimate 64-bit, 8GB RAM, Firefox v5.0, Roboform Desktop v7.3.2

    Thanks a lot. The culprit turned out to be Webmail Notifier. Unfortunately, there seems to be some problems on their end that the developer has not yet responded to, but something about the extension is screwing up tab functionality.
    Thanks!

  • Can you control Lion on your desktop with an iPhone?

    Can you control Lion on your desktop with an iPhone?  I do not want to buy a wireless trackpad.  Who needs all those batteries?  Hoepfully the iPhone can control it in the meantime, and then they need to make wired trackpads. 

    fliplip1 wrote:
    hhmmm. possibility, buT why? It's there in black and white, it just takes a few more mins to read it.
    I guess there are multiple ways in which people interpret the same sentence. Not everything is obvious to everyone.
    If confused, people generally ask in the forums.

  • How do I switch remote desktops with lion server screen sharing?

    When I sometimes use the Lion Server screen sharing feature to take over my iMac using my Macbook, I find that I'm not able to switch desktops on the remote computer, i.e. using the three finger swipe.
    Both are running the latest versions of Lion Server.
    Now there MUST be some way to do that right?
    Who knows?

    Hi John, perhaps I did not express myself clearly.
    My desktop iMac is set up with multiple desktops (desktop 1 for system stuff, desktop 2 for mail, messages, skype etc, desktop 3 for Safari and desktop 4 for text proessing, VM-Ware and other work).
    When I work on that machine I'm logged in as one user and use the three finger swipe left and right or the Cmd-1 thru Cmd-4 keys to switch between those desktops.
    I haven't founf how to do that from my a remotely connected MacBook Pro.
    Both of which are running Mountain Lion in the mean time. The iMac runs Mountain Lion Server and the MBP has ML Server installed as well, but nut implemented. Just to be able to use the remote screen...
    Hope this makes my question a bit mre clear...
    Gerard

  • Lion - Can it cope with multiple screens yet?

    I have two screens attached to my iMac.  It's terrific how MacOS Expose deals with them up 10.6.8 as compared with my PC at work.  At home, amongst other things, iMovie immediately knows whether or not my second monitor is attached and plays footage back on my second display leaving my main monitor for iMovie editing.  It does this of it own accord with no intervention from me. 
    At work on the PC I can't even pursuade the machine to keep its windows displayed together on the correct screen without having to constantly mouse them around.
    I have head that 10.7 (Lion) can't cope with multiple displays any more so for this reason, and one or two others that I won't go into here, I have resisted the urge to upgrade.
    Can anyone confirm that this is true and, now that some time has passed,whether or not Lion has now been updated to recover this functionality?
    Much obliged.

    Seems I was incorrect.  One can use a second monitor as an extended desktop on an iMac with Lion installed.
    Watch this video and see the guy do it.
    http://www.youtube.com/watch?v=l5nTGlyWpTM

Maybe you are looking for

  • Settings for SKTO and SKTV

    Dear SAP Gurus, What setting we have to done to apply condition type SKTV (cash discount before Tax) and  SKTO ( cash Discount after tax) in a single sales order. Gaurav

  • Get the word document

    Hello Some contract templates(MS Word-2010) are storing in DOCUMENTAM (This MS-Word 2010's location name looks like, [http://emdn.dct.jppharma.com/includes/site_selector/index.html?FM?#includes/FM/dirview,asp] For some reason, i need to fetch them in

  • Help needed when dynamically creating new stage sprites

    Morning folks, I'm feeling very rusty when asking this question! It feels like I should know the answer but simply unable to comprehend where I'm going wrong at the moment!! I'm in the process of creating a Director piece that involves the user havin

  • How can I trim shapes that overlap the page?

    I am working on a 270 page holiday brochure. I usually work with Photoshop, but I know this isn't ideal for brochures, so have been working along side another designer with InDesign. I've picked up nearly everything to get me going which is great. Ho

  • Business Scenario - Crowd thinking question

    Hello Experts, Following is the business requirement Customer gives order for a product A. Product A is essentially made up of following bom Item B – Assembly product that consists of Item C – motherboard and Item D – software Item B is supplied by o