How to edit content in Visual Studio

Hello,
I used Windows App Studio to create an app:
http://www.windowsphone.com/en-ca/store/app/%E5%A6%99%E6%B3%95%E8%93%AE%E8%8F%AF%E7%B6%93%E8%A7%80%E4%B8%96%E9%9F%B3%E8%8F%A9%E8%96%A9%E6%99%AE%E9%96%80%E5%93%81/388838ac-7fb1-4a6c-9583-634d5199e6c7
However, there is a word limitation for each page.  Hence, I download Visual Studio Express 2013 for windows.  
I use Visual Studio to open my Source Code for the app above (the source code is generated when I publish the app), and i try to find my "words" context.  I went through all the folders at Solution Explorer on my right hand side, but i am
unable to find my content.   I click the "box" that should have contained my text at Main Page. Xaml, and that empty box is called Hubsection.
I want to make my 2 pages content in my current app into 1 page.  At Windows app studio, they said I have too many words, and i must break it into 2 pages.  
Please help me if you know what to do.
Thanks!
Mucc

Hi,
Here is a sample code to send email:
public static string SendEmail(
SPWeb spWeb,
string from,
string to,
string cc,
string bcc,
string subject,
string body,
bool isBodyHtml)
LogHelper.LogMethodStart(logger, "SPEmailHelper", "SendEmail");
string emailSummary;
var messageHeaders = new StringDictionary();
ValidationHelper.VerifyStringArgument(to, "to");
ValidationHelper.VerifyStringArgument(from, "from");
ValidationHelper.VerifyStringArgument(subject, "subject");
ValidationHelper.VerifyStringArgument(cc, "cc");
ValidationHelper.VerifyStringArgument(bcc, "bcc");
messageHeaders.Add("to", to);
messageHeaders.Add("from", from);
messageHeaders.Add("subject", subject);
messageHeaders.Add("cc", cc);
messageHeaders.Add("bcc", bcc);
string mimeType = "text/plain";
if (isBodyHtml)
mimeType = "text/html";
messageHeaders.Add("content-type", mimeType);
bool sendMail = SPUtility.SendEmail(
spWeb,
messageHeaders,
body);
if (sendMail)
emailSummary = "<EmailMessage>" +
"<To>" + to + "</To>" +
"<From>" + from + "</From>" +
"<Subject>" +
SPEncode.HtmlEncode(subject) +
"</Subject>" +
"<CC>" + cc + "</CC>" +
"<BCC>" + bcc + "</BCC>" +
"<Body>" +
SPEncode.HtmlEncode(body) +
"</Body>" +
"</EmailMesage>";
else
throw new SafException("Failed to send email.");
LogHelper.LogMethodEnd(logger, "SPEmailHelper", "SendEmail");
return emailSummary;
Source: https://www.collaboris.com/blogs/collaboris-blog/mark-jones/2012/11/06/code-sample-how-to-programmatically-send-an-email-in-sharepoint#.VN3GG9eqqko
Please remember to up-vote or mark the reply as answer if you find it helpful.

Similar Messages

  • How to do regstration of Visual studio express 2008

    Hi I have some supporting Development tools, which run on the 2008 platform. I on my new PC installed the visual studio Express 2008, but after month its blocked by missing registration. When I follow the registration link, the site is closed. SO how can
    I get the visual studio Express 2008 back in operation

    Visual C++ 2008 Express is no longer supported. You really should consider a newer version. Bear in mind that Visual Studio 2013 Community Edition is free, and contains way more features than your version.
    However if you need the 2008 version apparently if you download the ISO version of Visual C++ 2008 Express, you don't need to register. Try these links:
    Just VS 2008 Express
    http://download.microsoft.com/download/8/B/5/8B5804AD-4990-40D0-A6AA-CE894CBBB3DC/VS2008ExpressENUX1397868.iso
    VS 2008 Express SP1
    http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso

  • Can't edit reports in Visual Studio

    <p>I can no longer edit reports in Visual Studio 2003. The reports open properly, but I can&#39;t make any changes. Right-clicking pops up the appropriate menus, but no dialog boxes open from the menu selections. Any ideas on what I can check?</p><p> Thanx</p>

    <p>I can think of two possibilities that I was given. </p><p>1. The install of VS has some how gone bad.  You could try a repair install of Visual Studio.</p><p>2. Opening reports outside of your application can cause problems with the designer.  Make sure you are inside your application before you open your reports.  </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • How to create dll in Visual Studio 2008 in Visual C++

    Hello,
    I have insatlled Visual Studio 2008. I have to create DLL in Project
    type Visual C++.
    Which Template i have to select to reate dll, MFC DLL or Class
    Library?.
    I have to call or import this dll in Windows Forms Application. How
    can i do this. Please give details procedure to do this.

    If we look at how  AFX_CLASS_EXPORT and AFX_CLASS_IMPORT  are defined in afxv_dll.h we see the following.
    #define AFX_CLASS_EXPORT __declspec(dllexport)
    #define AFX_CLASS_IMPORT __declspec(dllimport)
    So, when exporting our classes from our DLL we want the class declarations from the DLL to look like this:-
    class __declspec(dllexport) CMyClass : public CObject
    And, when importing our C++ classes into our application we want the class declarations from the DLL to look like this:-
    class __declspec(dllimport) CMyClass : public CObject
    OK, so here's how I do things.
    In the stdafx.h file for the export DLL, include two #defines at the bottom of the file like this:-
    #define _MYLIB_DLLAPI_
    #define _MYLIB_NOAUTOLIB_
    Now, in the main header file for your DLL, say mylib.h (the main 'point of entry' header for your DLL that you will include in you application later), add the following at the top:-
    // The following will ensure that we are exporting our C++ classes when
    // building the DLL and importing the classes when build an application
    // using this DLL.
    #ifdef _MYLIB_DLLAPI_
        #define MYLIB_DLLAPI  __declspec( dllexport )
    #else
        #define MYLIB_DLLAPI  __declspec( dllimport )
    #endif
    // The following will ensure that when building an application (or another
    // DLL) using this DLL, the appropriate .LIB file will automatically be used
    // when linking.
    #ifndef _MYLIB_NOAUTOLIB_
    #ifdef _DEBUG
    #pragma comment(lib, "mylibd.lib")
    #else
    #pragma comment(lib, "mylib.lib")
    #endif
    #endif
    Now, just declare all the C++ classes you want exported from the DLL like this:-
    (Note: Any C++ classes not declared with MYLIB_DLLAPI will not be exported from the DLL)
    class MYLIB_DLLAPI CMyClass : public CObject
    regards,
    Matt John
    complete variety of quilts is availabale here!
     PR: wait...
     I: wait...
     L: wait...
     LD: wait...
     I: wait...
    wait...
     Rank: wait...
     Traffic: wait...
     Price: wait...
     C: wait...

  • Oracle Client 10g Express Edition (ADO, C++, Visual Studio 2008)

    OS: Windows XP SP2
    I made a test programm allowing to work with Oracle 10g Express Edition. Connection with server works, commands are followed, but at the exit from function wmain Visual Studio it buzzez (слышал такое, если нет, то посмотри по другому словарю?) for some time (around 5 minutes) and module mistake crt0dat.arises in __crtExitProcess. function.
    You can have a look at the mistake here: http://img365.imageshack.us/img365/2125/oravssi1.jpg
    Where the mistake can be?
    Connections with MSSQL и MySQL servers work without problems with the stated algorithm.
    #ifndef _WIN32_WINNT
         #define _WIN32_WINNT 0x0501
    #endif
    #include <Windows.h>
    #ifdef _DEBUG
         #define _CRTDBG_MAP_ALLOC
         #include <crtdbg.h>
    #else
         #define _RPTW0
         #define _RPTW1
         #define _CRT_ERROR 1
    #endif
    #import "c:\Program Files\Common Files\system\ado\msado15.dll" no_namespace rename("EOF", "EndOfFile")
    INT wmain(INT iArgC, PWCHAR pwcArgV[])
         // COM init
         if (S_OK != CoInitializeEx(NULL, COINIT_MULTITHREADED))
              _RPTW0(_CRT_ERROR, L"CoInitialize");
              return -1;
         // DB connect
         _ConnectionPtr pCnn;
         while (TRUE)
              if (S_OK != pCnn.CreateInstance(__uuidof(Connection)))
                   _RPTW0(_CRT_ERROR, L"pCnn.CreateInstance");
                   break;
              try
                   _bstr_t strCnn(L"DRIVER={Oracle in XEClient};dbq=PORTAL:1521/XE;uid=zorkey;pwd=******;");
                   pCnn->Open(strCnn, L"", L"", adConnectUnspecified);
              catch (_com_error& e)
                   _RPTW1(_CRT_ERROR, L"pCnn->Open (%s)", e.Description().GetBSTR());
              try
                   //pCnn->Execute(L"INSERT INTO ZORKEY_COMPUTER(COMPUTERID, COMPUTERNAME) VALUES(2, 'TEST')", NULL, adConnectUnspecified);
              catch (_com_error& e)
                   _RPTW1(_CRT_ERROR, L"pCnn->Execute (%s)", e.Description().GetBSTR());
              if (adStateOpen != pCnn->GetState())
                   break;
              break;
         // DB close
         if (NULL != pCnn)
              if (adStateClosed != pCnn->GetState())
                   pCnn->Close();
              pCnn.Release();
         CoUninitialize();
         return 0;
    }Formatted code can be seen at http://rafb.net/p/Rvz1wL74.html

    You are right. You should use OCCI 11g to work with VS2008. Download the compatible libraries from here: http://www.oracle.com/technology/tech/oci/occi/occidownloads.html

  • How to apply customization through visual studio to the SharePoint online

    We have an existing SharePoint online site, now there are some changes in functionality is required, can we do that change through visual studio and send that change to
    SharePoint online site? will it work?
    or we have to do the same only through the JQuery or other client side code directly to the site?

    Short list of what can't be done:
    deploy any compiled code to a server. This includes DLLs, EXEs and full trust SharePoint Solutions.
    deploy any file to a server disk drive. This includes anything usually stored in the 15 hive, site definitions, etc.
    What can be done:
    Anything that could also be done with SharePoint Designer.
    Anything that is a file that can be loaded into a library. You can create and upload pages, as long as there is no server side code (C# etc.). These pages can include JavaScript, jQuery, CSOM, HTML, CSS, etc.
    Create SharePoint 2013 apps. These can run custom code, but only if on an external to SharePoint servers.
    See here for more:
    http://technet.microsoft.com/en-us/library/sharepoint-online-developer-service-description.aspx (Developer Features in SharePoint Online)
    Overview of SharePoint 2013 development:
    http://msdn.microsoft.com/en-us/library/office/jj164084(v=office.15).aspx
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How to edit contents of a cell?

    In Numbers 2013, how does one edit the content of a cell besides typing directly in the cell?
    In all prior versions of Numbers (like Excel), there was an editing area below the toolbar that extended across the screen. That area could be used to edit the contents of the currently selected cell.
    Has this been completely removed from Numbers 2013 or is there a way to make it appear? If not, how does one edit a cell when a lot of text is being entered?

    I may not have the proper terminology, but it always starts out covering the cell, and sometimes other adjacent cells, but can be dragged anywhere on the page.
    Jerry

  • How to edit contents of Form in PE51 in  HR Module

    Dear Experts,
    I need to add some fields in Payslip through PE51 and edit some field also,pls tell me how to do it.
    Thanks n regards
    Anwar
    Edited by: Anwar Jamal on Feb 15, 2008 2:25 PM

    First find out the form name, go to SE71 tcode enter the form name in change mode, check for the field in which window they have populated and modify according to your requirement. Finally activate the form before executing it.
    Reward if useful.
    Thanks,
    Kishore

  • How to edit content in a cell - how can u set a shortcut to do that

    so i have been left clicking to change the content. how do you do that on the keyboard? i found a list of shortcuts under some menu in numbers, but i couldnt set the shortcuts myself
    thanks alot, this will save me soooo much time

    There is a partial solution to this that will allow you to enter the formula editor for any selected cell from the keyboard:
    1. In System Preferences, select the "Keyboard Shortcuts" section of the Keyboard & Mouse" preference.
    2. Click the plus box button below the list to add a shortcut.
    3. In the drop down sheet, from the "Application:" popup that defaults to "All Applications," choose Numbers if it is listed (it probably will not be) or if not, scroll to the end of the list & select "Others..." & navigate to Numbers in the Application folder & choose it. (The basic idea is to create an application-specific keyboard shortcut for Numbers.)
    4. In the "Menu Title:" text box type "Formula Editor" (without the quotes)
    5. Select the "Keyboard Shortcut:" box & press the keys for the desired keyboard shortcut. This can be anything that includes one or more modifier keys (Command, Control, Option, etc.), but to prevent conflicts, choose something not already in use & not something that would be a character you would want to enter in a cell.)
    6. Click the "Add" button, then scroll down in the shortcuts list window to the "Application Keyboard Shortcuts" section, click the triangle to show them, & check that the shortcut is listed, & that not yellow warning triangle appears, signifying a shortcut conflict.
    7. If Numbers is running, quit & relaunch it so that the shortcut will take effect.
    As noted above, this only helps with cells that have, or will have, formulas in them. It works exactly like the menu command Insert>Function>Formula Editor: If the cell does not currently have a formula but some literal value, the formula popup will not include it, & if you then click the "Accept" button, type a return, tab, etc., the literal value will be replaced. If the cell already has a formula, the formula popup will not replace it but instead will move the insertion point to after the last character in the existing formula.
    The same technique will work for adding keyboard shortcuts to any other Numbers menu item.
    Had there been an "Enter cell editor" (or something like that) menu command, presumably this would have allowed a complete solution, but there doesn't even seem to be an official name for doing that -- the documentation refers to it only procedurally, as in 'click again' or the like. Obviously, there is no need for the menu item other than for this, so a complete solution will have to wait for a new version of the app.

  • How to edit content in sample.portal

    Hi everybody,
    I am a newbie at Weblogic Workshop 8.1. I am trying to edit the content (in Portal
    Administration) of the sample.portal. I use the weblogic user (which I suppose
    has all the rights and privileges needed). I cannot see any content to be edited
    at all. Is the sampleportal protected in someway ? I have created my own administrator
    account with the the rights needed, but still no result ...
    regards
    Marcel Hartgers

    Ok, thanks russ will do ...
    "Russell Teabeault" <[email protected]> wrote:
    Marcel,
    It sounds as if you have not created a portal and desktop in the
    administration portal. The .portal file that you create in workshop
    is
    essentially a template. To be able to use the resources defined in this
    template you must create a desktop based on the portal template file
    (.portal). In this case you need to create a desktop based on the
    sample.portal file. I suggest that you read the following:
    http://e-docs.bea.com/wlp/docs81/adminportal/help/PM_OV.html
    http://edocs.bea.com/wlp/docs81/adminportal/help/PM_DesktopCreate.html
    russ
    "Marcel Hartgers" <[email protected]> wrote in message
    news:[email protected]..
    Hi everybody,
    I am a newbie at Weblogic Workshop 8.1. I am trying to edit the content(in Portal
    Administration) of the sample.portal. I use the weblogic user (whichI
    suppose
    has all the rights and privileges needed). I cannot see any contentto be
    edited
    at all. Is the sampleportal protected in someway ? I have created myown
    administrator
    account with the the rights needed, but still no result ...
    regards
    Marcel Hartgers

  • How to edit content on formerly signed document

    We use signed PDF documents to contain customer order characterization information.  The PDF is setup as an interactive form which is modified for the customer.  Some fields are text while others are check boxes, etc.  Sometimes there is a need to remove the signature, make modifications to the document, and re-sign it.
    I have used the Tools/Pages/Extract tool to create an unsigned version of my PDF, but the resulting file refuses to allow its content to be changed.  The extracted file shows all of the document restrictions as allowed and the fields are selectable, but cannot be changed.
    Any thoughts?
    Thanks...

    the content which he is modifying should be effeted on server means when he presses save or upload the content should goes to server for upload

  • How to make use of visual studio effectively

    thank you for giving me this great oppurtunity to be part of this furum i will appriciate and assistance from you as regarding the efffective use of this software sent to my hotmail, thanks

    A warm welcome to you!
    But there's no need for welcoming salutations here.  If everyone posted a general welcoming remark it would generate a lot of off-topic noise.  General discussion doesn't mean completely GENERAL discussion -- you've posted general
    remarks into a discussion forum that's still supposed to pertain to .NET Framework Class Libraries.
    If you have need of specific assistance, then please choose the most appropriate forum and ask a specific question.

  • From Windows Azure `Edit in Visual Studio Online` ; Unclear On Which Login To Use

    I have created a web site in Windows Azure and linked my site to `Visual Studio Online` where I can do automated builds upon checkin and all works.
    Now from Azure's dashboard on the site I am presented with the option to edit it in Visual Studio Online:
    But then I am confronted with a user authentication page.
    Which credentials are to be used?
    How are the provisioned exactly? 
    If they are not a windows live id...why not?
    William Wegerson (www.OmegaCoder.Com)

    Hi,
    From the image you provided, it seems like you need credential to sign in ***.scm.azurewebsites.net, please kindly read the following article.
    #http://blogs.msdn.com/b/windowsazure/archive/2014/03/04/windows-azure-websites-online-tools-you-should-know-about.aspx
    Here is a snippet:
     simply browse using your favorite internet browser to https://{site name}.scm.azurewebsites.net (in other words, add
    .scm in front of the site name). Upon entry, you will be asked for credentials and those will be the same as your deployment credentials. If you have never set up your deployment credentials, you can open your site’s dashboard
    in the Azure Portal and click Set up deployment credentials. If you already have deployment credentials but do not remember them, you can use the dashboard to reset them
    Best Regards
    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 can I execute a existing source code in visual studio 2012?

    My friend sent me a mini project(ASP.Net) through mail in a zipped folder. I extracted it and it contains source code and databases. I don't know how to execute it in visual studio 2012. I read that I can do it by choosing Project from existing code option
    from the file menu.But I don't find the option.Kindly help me how to execute that project which I received through mail in visual studio 2012. 

    In case of ASP Web Sites, which do not require solution and project files, go to FILE
    à Open
    à Web Site, then select the folder from File System.
    If nothing work, then perhaps you do not have the required version of Visual Studio. Then give more details or clarify it with your friend. The database probably requires some preparation steps too.

  • Visual Studio 2005/2008 and Crystal Reports versions/upgrade questions.

    I've tried posting this question on the MSDN forums and gotten no response. 
    I've downloaded and installed VS 2008 Beta 2.   The versions on the Crystal Reports files included are 10.5.0.1806  
    I'm currently using VS 2005, with the included Crystal Reports.  The versions on those files are 10.2.0.xxxx.  I've created an desktop app (in VB) which stores it's data in a database and uses the CR 10 runtime merge modules to generate a report.
    I was considering upgrading the Crystal Reports version to XI.  I would like to allow customers to modify my delivered report with their own licensed copy of CR XI.  I am not providing any functionality within my app to create or modify the delivered .rpt or use it outside my application.
    Questions:
    Do I need to update the runtime files to CR XI to support rpt files modified with CR XI?  Current runtime files are being delivered with the CR 10 merge module.
    I see a Crystal Reports for Visual Studio upgrade to CR XI. 
    Can I update the merge modules to CR XI and still use the CR for VS2005 for development?
    Does it make any sense to update CR for VS 2005?  Or to get the full CR XI Developer edition?  My usage of CR functionality is very limited.
    Would there be any benefit to waiting for the release of VS 2008?   How does that change the scenario?
    How does Crystal Reports for Visual Studio fit in with the Crystal Reports Lifecycle?  It's not mentioned on Business Objects End of Life Dates page . Crystal 10 has a Patch EOL of 31-Dec-07.   Does this apply to CR for VS 2005?  Where does 10.5 fit in?
    My main concern is allowing customers with CR XI to change the format of my delivered .rpt to run with my app.  Adding their company name, logo, etc.   My testing show a CR XI report still works with my current app.  But, going forward, what should I deliver and what do I need to use to continue development?

    To use Reports designed in XI, you need to use XI or higher runtime, running them in older versions may work, but you may encounter unforeseen issues doing so.
    If you are to use VS2005 for development you need to use XI Release 2 (11.5) runtime.
    If you are going to use VS2008 for development you need to use Crystal Reports 2008 with Service Pack 0.
    The support end of life for versions of Crystal Reports bundled with Visual Studio are linked to what Microsoft's lifecycle for the product is.  Generally if there is a workaround for the issue that is simple enough, there will not be a patch created.
    The changes you are expecting the customer to do can be accomplished with our RAS SDK which is available without using enterprise starting with Crystal Reports XIR2 SP2.

Maybe you are looking for

  • Hard Drive Issues (Both new and old)

    I'm trapped in a HDD nightmare with my MacBook Pro mid-2012. I updated to Yosemite 10.10.3 (with the Photos app). A couple of days after the update, I was watching a movie on my TV screen via HDMI. In the middle of the movie I removed the HDMI cable

  • Module pool domain text display info req?

    hi i had an req to show a filed MATNR on a screen in module pool pgm,there shd be a i/p filed for material,user can select the material from the list of available materials,along with the test to be displayed for the filed next to material nos. the l

  • Swapping out G5 tower parts with another G5 tower?

    I have a 2.0 Ghz Dual PowerPC G5 (3.0), 512 KB (L2), 4GB Ram with a 1Ghz bus (June 2004 model). Serial # G8438CKYQPR Is it possible to swap out the ram, video card and hard drive and put it into a 2.0/2.5Ghz Quad PowerPC G5 (Early - Late 2005 Models)

  • I have currently suspended my jetpack for a 90 day period.  How do I continue to suspend this for another 90 days?

    I have currently suspended my jetpack for a 90 day period.  How do I continue to suspend this for another 90 days?

  • Delivery cost in asset PO

    Hi all, i am not able to post delivery cost of Asset PO in MIRO. Generally in posting the GR, the Freight acct. get debit and is nullified while posting Invoice with Freight clearing account.  However in Asset PO at the time of GR no acct. doc. gets