Copying Visual Studio Code into Robohelp

Hi,
I'm using Robohelp HTML 6 and I'm trying to transfer example
code from visual studio into my robohelp project. However, when I
copy/paste the code, all of the formatting is lost (mainly colors).
The project I'm working on was done years ago by another
individual (whom I no longer have contact with) and contains code
examples in the format I'm going for. I can't imagine he went
through each example, and indivdually selected a style for each
word/line. I've tried editing pages in microsft word (which retains
the styles of the copied code) but once I save the file....Robohelp
never lets me edit the file in Robohelp again (complains about the
file being edited by a third party editor and launches it in MS
word). Can anyone tell me how to retain styles when importing the
code? Is it possible to develop macros to search my examples and
reformat them? Any help would be greatly appreciated.

quote:
Originally posted by:
MergeThis
Apply the different colors either by:
- Creating character styles (p.red, p.blue, etc.) for the
different colors
- Creating hyperlink pseudo-classes (a.red:link,
a.red:visited, a.red:hover)
- Inserting image maps on the screenshots as John suggested
Good luck,
Leon
I have style set up for each color/text type already. Is
their a way to search through the text and apply a certain style to
all occurances of a word?
For example: make all "if" instances in this block of text
blue?
Applying the style to unformatted text would be a great
solution as long as I don't have to manually go through, select a
word, and select the style FOR EACH WORD.....I'd be
selecting/formatting for weeks.
Also, the replace function doesn't seem to have an option to
select styles for replacements (or im just not using it
right).

Similar Messages

  • Intellisense with third party JavaScript libraries in Visual Studio Code

    With the release of Visual Studio Code today, I thought I would give it a look. Prior to this I had done most of my web development in Aptana and had recently started using Sublime Text 3, using the SublimeCodeIntel package to help with navigating unfamiliar
    code, as it provides Intellisense like functionality, but I found it a little limited. Anyway, because I saw JavaScript was supported by Code, I wanted to see how well it worked.
    I opened a
    project I had been going over, trying to understand some aspects of a JavaScript library I am interested in,
    PlaygroundJS. I wanted to add intellisense to the library, and had seen how easy it was to do this with Angular on this webiste:
    http://www.johnpapa.net/intellisense-witha-visual-studio-code/ which talks about this issue. In this they bring up the quick action menu in angular, and select the option "Add /// reference to angularjs/angular.d.ts". However, when I look at the
    PlaygroundJS library I simply get option to mark the variable as local. So I was wondering, is there a way to add intellisense to this library, and even better, ensure that the entire project is indexed, so I can more easily find the definitions of functions
    that are declared in other files, and use the code completion features?
    EDIT: I did find out that I can add references manually, to each file, so that it can resolve the definitions for the code in other files, but this requires adding a lot of extra directives manually, eg:
    /// <reference path="Global.js" />
    /// <reference path="engine/Score.js"/>
    /// <reference path="engine/Camera.js"/>
    etc etc
    Is there no way of automating this process?

    Hi MrProsser,
    For third aprty library, actually we didn't support it.
    But for the Intellisense issue, I think we would know the real way how we use the
    Intellisense.
    Tools->Options->Text Editor->the specific language you use, and then enable the Auto list members or others.
    Reference:
    https://msdn.microsoft.com/en-us/library/hcw1s69b.aspx?f=255&MSPPError=-2147217396
    So we would enable it for the specific development language, so please make sure that you have enabled it for your current development language, if it still no help, we would make sure that it doesn't support it in VS IDE for this third party library. 
    Best Regards,
    Jack
    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.

  • Copy Standard T.code into Z T.code

    Hi,
    I want to Copy Standard T.code into Z T.code....with all includes and Function Group......
    Plz tell me step-by-step....
    Prince

    Hi,
    When I do like u say....it shows ABAP RUNTIME ERRORS...
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X)....
    Now can I do....
    Prince

  • Visual Studio Compiler problem

    Hi guys,
    I'm trying to run the compiler for Microsoft Visual Studio 2005 as part of OPNET but receive this error when I try to run a simulation:
    "comp_msvc: Unable to execute compiler (Win32 error code: 2). Check that Visual C++ has been installed correctly, and that its BIN directory is included in the Path environment variable."
    My PATH environment variable has all the required directories, including BIN.
    Has anybody seen this before? Anybody know how I fix this?
    Any help would be appreciated. Cheers.

    I also experienced this, and the solution is in the environment settings are done.
    example
    C: \ Visual8 \ SDK \ v2.0;
    Initially I enter it in the environment, apparently because of the visual layout of my studio is in program files, so I changed my envorionment seleuruh related to visual studio installation into
    C: \ Program Files \ Microsoft Visual Studio 8 \ VC;
    Hope it helps

  • Visual Studio not working with OneDrive

    I'm having a problem with Visual Studio 2013. I am working entirely out of my 'OneDrive for Business' directory on my computer. When I work with a project that is located in that directory, I constantly receive the error: "This project has been modified
    outside of Visual Studio and needs to be reloaded."
    I will be typing away in the code editor, or doing other things inside Visual Studio and that error message pops up. Sometimes every few seconds and there is nothing I can do to stop it from appearing. I am unable to accomplish anything because I constantly
    have to stop and click the button to reload the project.
    I am the only person using my OneDrive as this is a personal business. No one is accessing my files from another computer. I've also changed my password for OneDrive to ensure I was the only person accessing the files.
    I'm trying to figure out why I keep receiving this error message from Visual Studio and how I can get it to stop, so I can get back to working on my projects.
    I have all of the Microsoft Office programs, and work with Word 2013, Excel 2013, PowerPoint 2013, and Access 2013 on a daily basis. All of which are located in my 'OneDrive for Business' directory. None of these applications give me an error. It only happens
    with Visual Studio 2013.

    Hi Kensino,
    It seems that I said  too early. Currently I got the same issue with you at random times even though I just clicked on Visual Studio Code Editor. This is an issue which needs to be researched. I did not find any ways to resolve this issue,
    would you please create a connect report for it to get the issue confirmed and diagnose by Microsoft product team?http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx.
    If you submit it, you will get email notification for update. After submitting it, you could share us the link here, so we could know the latest information from the Product team expert.
    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.

  • Side by side installation Crystal Reports for Visual Studio 2010 - CRXIR2 ?

    we are integrating Crystal Reports for Visual Studio 2010 into our C++ application.
    We used to work with CRXIR2.
    A customer of ours has upgraded to the VS2010 runtime version for 64-bit,
    and seems to be having random crashes.
    We haven't been able to pinpoint the problem...
    They are running several of our applications simultaniously on terminal servers.
    What we noticed is that they did not uninstall CRXIR2 from there system.
    Is this side-by-side installation supported?
    So XIR2 next to Crystal Reports for Visual Studio 2010  ?
    And even: can you have a Crystal Reports for Visual Studio 2010  64bit next to a 32bit? Probably yes?
    Next to that: is there any limit of concurrent users (applications) that use the .NET component?
    I would think not...
    Bart

    Hi Bart,
    Side by side installation shouldn't be a problem, unless you had Beta version of CRVS2010 installed on the same machine.
    For better results try upgrading to use SP1 of CRVS2010. For CRVS2010 resources, you can go through this
    Crystal Reports for Visual Studio 2010 - Deployment
    I haven't seen any problem with 64bit next to a 32bit til date.
    You can go through this for CR support on x64
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e
    To answer your last question, go through following:
    Crystal Reports Maximum Report Processing Jobs Limit
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023
    Thanks,
    Saurabh

  • Vote for ActionScript support in Microsoft Visual Studio

    Please vote for ActionScript 3 support in Microsoft Visual Studio. It already made it to the first page
    Visual Studio Code: Top (479 ideas) – Visual Studio

    Hi everyone . I've worked it out. At the moment I'm using an online tutorial about classes. The tutorials, mouse was just resting on assembly information file. I thought you had to select it.
    I've selected class and its working fine now
    Thanks for you help
    Sorry for being such a noob

  • How do I put a project using nmake (or other make util) into a visual studio 2013 project?

    I'm not asking how to convert it over to visual studio's internal setup.  I want to use the custom build feature to build the code prior to building the current project so that the library generated will be available to the project.
    Steps I've used I got from
    here:
    Create a win32 dll project.
    Copy the files into a subdirectory under the project.
    In the Solution Explorer, I create a Filter that I then add all of the source, headers and Makefile to.
    I select all of the items in that filter group and right click and select properties.
    In Configuration Properties->General, I change Item Type to Custom Build Tool and click Apply. (In the Visual Studio 2013 community, this sometimes comes up with:
    An error has occured while saving the edited properties listed below:
    One or more values are invalid. Object reference not set to an instance of and object.
    Yeah, that's not cryptic. 9.9.  When that happens, I just click Ok and then click on the parent window, and it will ask me
    Do you want to save the changes you've made to the property page?
    To which I click Yes and it seems to apply it to all the files and I then reopen the property page again.
    I then go to Configuration Properties->Custom Build Tool->General and set
    Command Line to:
    cd subfolder
    nmake
    For Outputs, I set it to subfolder\bin\output-file.lib.
    For Link Objects, I leave it as Yes.
    Clicking on ok and then building gets me the following error:
    LINK : fatal error LNK1104: cannot open file 'subfolder\bin\output-file.lib'.
    Yeah, no kidding, it hasn't been made yet.
    What am I doing wrong? Thanks for your help.
    A
    Adrian

    I was trying to get it to be part of another project, and the information from Specifying Custom Build Tools stated:
    If the Custom
    Build Tool folder does not appear, the file extension of the file you selected is associated with a default tool. For example,
    the default tool for .c and .cpp files is the compiler. To override a default tool setting, in the Configuration
    Properties node, in the General folder,
    in the Item Type property,
    click Custom Build Tool.
    Click Apply and
    the Custom Build Tool node
    is displayed.
    Indicating that what I was trying to accomplish could be done.  However, since this is 3rd party code, this seems to be a cleaner way of doing it.
    Thanks,
    A
    Adrian

  • Visual Studio 2013 does not rebuild all code resulting in old code deployed through wsp

    I recently converted my SharePoint 2010 project from Visual Studio 2010 to Visual Studio 2013. I have the Premium version with Update 1.
    I quickly noticed that 2013 has bugs. For instance I could get a build error out of nowhere while developing, stating that a method recently added to Class
    A used by Class B, does not exist. The only way to resolve is to restart Visual Studio. Sometimes a rebuild would do the trick too.
    I can live with such quirks as a developer. The big problem is that it does not build the latest version if you are using the "Publish to File System"
    to get a wsp for deployment on another server.
    I've had problems with incomplete builds since my first deploy with wsp built by Visual Studio 2013, but I was not able to pinpoint it with certainty until
    last night.
    I have two classes used by a timer job. In a new version they back up some files after using them. After upgrading with the new wsp, I restarted the timer
    job service on all servers and ran the job, but the files did not back up. So I went and added a log statement to the backup code of one class and did another clean/rebuild/publish to file system from Visual Studio. I upgraded using the new wsp and then restarted
    the timer job service on all servers. When I ran the timer job service, the class where I added the log statement backed up the files it should. The other class still did not. So I added a log statement to this class as well and deployed that. Then this class
    started to backup files too.
    So I conclude that Visual Studio 2013 is failing at its core in a very dangerous way leaving assemblies built in an unknown, incomplete limbo state.
    I am downgrading all projects to Visual Studio 2012.
    This post is mainly to share my experience with the community, but if someone at Microsoft wants to investigate the issue, here is a suggestion on how to reproduce:
    Have Visual Studio in Debug build.
    Make a change to a class in a SharePoint project.
    Deploy the change to a local SharePoint installation.
    Change to Release build.
    Use Publish to file system to get a wsp. Open this wsp, copy the assembly, reflect and investigate to see that code change is actually there.
    Tore Olav Kristiansen

    Hi,
    As this is a Visual Studio question, I suggest you post it to Visual Studio Forum, you will get more help and confirm answers from there.
    http://social.msdn.microsoft.com/Forums/en-US/home?category=visualstudio
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How can I display a letter grade in my gridview after calculating percentage into a hidden field in Visual Studio?

    For school I am working on an app using C# in visual studio that allows a student to enter their name, the number of points they earned and the points possible. When they click a submit button, the grade percentage is calculated in a hidden field and then
    the percentage and letter grade should spit out into the gridview. THe issue I am having is trying to figure out how to translate within the if statements regarding the percentage amount equalling whatever letter grade, and then spit that letter grade out
    into the gridview. Here is the code I have so far:
            protected void btnSubmit_Click(object sender, EventArgs e)
                SqlStudent.Insert();
                hdnGradePercent.Value = (((int.Parse("txtPointsEarned.Text")) / (int.Parse("txt.PointsPoss.Text")) * 100)).ToString();
                if ((int.Parse(hdnGradePercent.Value) >= 0) & ((int.Parse(hdnGradePercent.Value) <= 59)))
    (this is where I am having trouble. I can't figure out how to get the letter grade and percent to spit out into the   gridview.)
                else if ((int.Parse(hdnGradePercent.Value) >= 60) & ((int.Parse(hdnGradePercent.Value) <= 69)))
                else if ((int.Parse(hdnGradePercent.Value) >= 70) & ((int.Parse(hdnGradePercent.Value) <= 79)))
                else if ((int.Parse(hdnGradePercent.Value) >= 80) & ((int.Parse(hdnGradePercent.Value) <= 89)))
                else if ((int.Parse(hdnGradePercent.Value) >= 90) & ((int.Parse(hdnGradePercent.Value) <= 100)))
    Any help would be greatly appreciated! I've been stuck on this for hours and I"m losing my mind!!

    Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).

  • System.Security.VerificationException: Operation could destabilize the runtime during code coverage run in visual studio

    I have a unit test that basically does the following:
    Creates an app domain using minimum priviledges.  The MarshalByRefObject that is living in the app domain, loads another assembly to execute.  This new assembly basically takes in a data object defined in a separate assembly, and returns a
    new data object of that type.
    All this works fine in debug mode, or when running w/out code coverage.  The Sandbox assembly is signed.
    The exception that gets thrown is this:
    Test method TestProject1.UnitTest1.TestMethod1 threw exception:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.VerificationException: Operation could destabilize the runtime.
    ClassLibrary3.Bar..ctor()
    ClassLibrary2.Foo.TestMethod(Bar testBar)
    System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
    ClassLibrary1.RemoteSandBox.Execute(String assemblyPath, String scriptType, String method, Object[] parameters)
    ClassLibrary1.RemoteSandBox.Execute(String assemblyPath, String scriptType, String method, Object[] parameters)
    ClassLibrary1.SandBox.Execute(String assemblyPath, String scriptType, String method, Object[] parameters) in c:\users\la22426\documents\visual studio 2010\Projects\TestProject1\ClassLibrary1\Sandbox.cs: line 43
    TestProject1.UnitTest1.TestMethod1() in c:\users\la22426\documents\visual studio 2010\Projects\TestProject1\TestProject1\UnitTest1.cs: line 21
    Unit Test code:
    [TestClass]
    public class UnitTest1
    [TestMethod]
    public void TestMethod1()
    using (SandBox sandbox = new SandBox())
    string assemblyLocation = Path.Combine(Environment.CurrentDirectory, @"..\..\..\ClassLibrary2\bin\Debug\ClassLibrary2.dll");
    object result = sandbox.Execute(assemblyLocation, "ClassLibrary2.Foo", "TestMethod", new Bar() { X = "test" });
    Assert.IsNotNull(result);
    Data Object code:
    namespace ClassLibrary3
    [Serializable]
    public class Bar
    public Bar() { }
    public string X { get; set; }
    Assembly to execute code:
    namespace ClassLibrary2
    public class Foo
    public Bar TestMethod(Bar testBar)
    return new Bar() { X = testBar.X };
    Sandbox code:
    namespace ClassLibrary1
    public class SandBox : IDisposable
    AppDomain Domain { get; set; }
    RemoteSandBox RemoteSandBox { get; set; }
    public SandBox()
    var setup = new AppDomainSetup()
    ApplicationBase = AppDomain.CurrentDomain.BaseDirectory,
    ApplicationName = Guid.NewGuid().ToString(),
    DisallowBindingRedirects = true,
    DisallowCodeDownload = true,
    DisallowPublisherPolicy = true,
    //DisallowApplicationBaseProbing = true,
    var permissions = new PermissionSet(PermissionState.None);
    permissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
    permissions.AddPermission(new ReflectionPermission(PermissionState.Unrestricted));
    this.Domain = AppDomain.CreateDomain(setup.ApplicationName, null, setup, permissions,
    typeof(RemoteSandBox).Assembly.Evidence.GetHostEvidence<StrongName>());
    this.RemoteSandBox = (RemoteSandBox)Activator.CreateInstanceFrom(this.Domain, typeof(RemoteSandBox).Assembly.ManifestModule.FullyQualifiedName, typeof(RemoteSandBox).FullName).Unwrap();
    public object Execute(string assemblyPath, string scriptType, string method, params object[] parameters)
    return this.RemoteSandBox.Execute(assemblyPath, scriptType, method, parameters);
    public void Dispose()
    if (this.Domain != null)
    AppDomain.Unload(this.Domain);
    class RemoteSandBox : MarshalByRefObject
    public RemoteSandBox()
    public object Execute(string assemblyPath, string scriptType, string method, params object[] parameters)
    //we need some file io permissions to load the assembly
    new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, assemblyPath).Assert();
    Assembly assembly;
    try
    assembly = Assembly.LoadFile(assemblyPath);
    finally
    CodeAccessPermission.RevertAssert();
    Type type = assembly.GetType(scriptType, true);
    MethodInfo methodInfo = type.GetMethod(method);
    object instance = (methodInfo.IsStatic) ? null : Activator.CreateInstance(type);
    object returnVal = null;
    returnVal = methodInfo.Invoke(instance, parameters);
    return returnVal;

    I marked the shared data library with the attributes:
    [assembly: AllowPartiallyTrustedCallers]
    [assembly: SecurityRules(SecurityRuleSet.Level2, SkipVerificationInFullTrust = true)]
    And then marked  the data class Bar with the attribute:
    [SecuritySafeCritical]
    And got a little more insight into what's going on:
    Test method TestProject1.UnitTest1.TestMethod1 threw exception:
    System.MethodAccessException: Attempt by security transparent method 'Microsoft.VisualStudio.Coverage.Init_d2f466df4c65e2a7bb5d7592c49efef0.Register()' to call native code through method 'Microsoft.VisualStudio.Coverage.Init_d2f466df4c65e2a7bb5d7592c49efef0.VSCoverRegisterAssembly(UInt32[],
    System.String)' failed.  Methods must be security critical or security safe-critical to call native code.
    Microsoft.VisualStudio.Coverage.Init_d2f466df4c65e2a7bb5d7592c49efef0.Register()
    ClassLibrary3.Bar..ctor() in c:\users\xxx\documents\visual studio 2010\Projects\TestProject1\ClassLibrary3\Bar.cs: line 13
    TestProject1.UnitTest1.TestMethod1() in c:\users\xxx\documents\visual studio 2010\Projects\TestProject1\TestProject1\UnitTest1.cs: line 21
    Since the injected code coverage il is doing some native stuff, it's throwing.  Any ideas on how to allow this?

  • Error when integrating the generated SUP code in Visual Studio

    Hi,
    I am working on SUP2.1 and trying to create a Windows Mobile Application. I have created MBOs and generated the code successfully. Now, when I am trying to integrate the generated code with the client application in Visual Studio, I am getting an error:  "File or assembly name 'sup-client, Version=1.5.2.0, Culture=neutral, PublicKeyToken=F7584B9EEA15C033', or one of its dependencies, was not found"
    Does anybody has any idea on this? Any help is appreciated!

    If I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
    For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Copy HTML Code into DW?

    In CS6 I create a simple rectangle and increase the roundness of the rectangle. I then select the shape and choose edit > copy HTML code and I open Dreamweaver CS6 and paste the code into the code window. I thought it was supposed to write code to replicate the shape I created in FW, though instead it is just referencing a graphic of the shape I made in FW that was exported. What did I do wrong?
    Thanks.

    Use the CSS Properties panel, not Edit > Copy HTML Code.
    Create the rectangle
    Make sure it's selected
    Open the CSS propreties panel
    Click the Copy All button
    Go to Dreamweaver
    Create a Div and apply a class to the div
    Create a CSS class and within the rule, press Ctrl or Command + V to paste the CSS properties from Fireworks.
    Refresh the page (and switch to Live View) and you should see the rectangle, with all the supported visual properties, displayed using CSS.
    HTH

  • Visual Studio Online Build Failure - Unable to copy file, access to directory is denied

    Hi,
    I have an ASP.Net Web Site that compiles and builds with no errors on my local machine.
    However when I attempt to build the site using default build definitions/configurations within Visual Studio Online and deploy to an Azure Website / App Service I receive the following errors:
    C:\a\src\House of Canine\HouseOfCanine_1_.metaproj: Unable to copy file "C:\a\src\House of Canine\HouseOfCanine\Bin\AjaxControlToolkit.dll" to "HouseOfCanine\\Bin\AjaxControlToolkit.dll". Access to the path 'HouseOfCanine\\Bin\AjaxControlToolkit.dll' is denied.
    Where, I assume, the directory "C:\a\src\House of Canine..." refers to the Visual Studio Online Directory and the directory "HouseOfCanine\\Bin\Ajax..." refers to the Azure Website directory. 
    This error is repeated for a number of other .dll files in the Bin folder and if I look at the diagnostics tab for the failed build on VSO, I can see that it is where it attempts to copy the binaries to the "drop" where the error fails.
    Any advice much appreciated,
    Ross
    Update
    MSBuild Error Code: MSB3021
    It seems the permissions are not set correctly for the DLLs in the Bin folder however I cannot change the permissions of the files on Visual Studio Online. Any ideas?

    Hi Ross,
    Since this thread is more related to Visual Studio Online, I will move it to the right forum for a better response. Thanks for your understanding.
    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. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Disabling copy feature in Crystal Reports for Visual Studio 2010 SP2

    Hi ,
    When I tried Crystal Reports for Visual Studio 2010 SP2 , I saw a new feature which allows user to copy content of the report after selecting it. I am using .net 4.0 winform application. I want to suppress this feature. I want the selection of objects in report to work as earlier version.  I could hide the copy icon in toolbar . But that doesn't change the way selections happens in the report . Please tell me how to suppress the copy feature completely when we use SP2 ?

    Hi Jijo Paul,
    We found a hidden method to disable the copy as it used to be. It is hidden meaning it's not supported so if you run into any problems using it or if it gets removed there is nothing we can do for you but give this a try:
    // this hides the button and disables the CTRL C command
    crystalReportViewer1.ShowCopyButton = false;
    crystalReportViewer1.SelectionMode = CrystalDecisions.Windows.Forms.SelectionMode.None;
    Thanks again
    Don

Maybe you are looking for