Automatic Print of output .txt file - Visual Studio Basic 2013

Hi all,
I am wondering if someone knows the code for printing a .txt file automatically.
Thanks in advance for any help.
Konstantina.

Here is one way: from
http://msdn.microsoft.com/en-us/library/cwbe712d.aspx
Imports System
Imports System.Drawing
Imports System.IO
Imports System.Drawing.Printing
Imports System.Windows.Forms
Public Class Form1
Inherits Form
Private printButton As Button
Private printDocument1 As New PrintDocument()
Private stringToPrint As String
Public Sub New()
Me.printButton = New System.Windows.Forms.Button()
Me.printButton.Location = New System.Drawing.Point(12, 51)
Me.printButton.Size = New System.Drawing.Size(75, 23)
Me.printButton.Text = "Print"
Me.ClientSize = New System.Drawing.Size(292, 266)
End Sub
Private Sub ReadFile()
Dim docName As String = "testPage.txt"
Dim docPath As String = "c:\"
printDocument1.DocumentName = docName
Dim stream As New FileStream(docPath + docName, FileMode.Open)
Try
Dim reader As New StreamReader(stream)
Try
stringToPrint = reader.ReadToEnd()
Finally
reader.Dispose()
End Try
Finally
stream.Dispose()
End Try
End Sub
Private Sub printDocument1_PrintPage(ByVal sender As Object, _
ByVal e As PrintPageEventArgs)
Dim charactersOnPage As Integer = 0
Dim linesPerPage As Integer = 0
' Sets the value of charactersOnPage to the number of characters
' of stringToPrint that will fit within the bounds of the page.
e.Graphics.MeasureString(stringToPrint, Me.Font, e.MarginBounds.Size, _
StringFormat.GenericTypographic, charactersOnPage, linesPerPage)
' Draws the string within the bounds of the page
e.Graphics.DrawString(stringToPrint, Me.Font, Brushes.Black, _
e.MarginBounds, StringFormat.GenericTypographic)
' Remove the portion of the string that has been printed.
stringToPrint = stringToPrint.Substring(charactersOnPage)
' Check to see if more pages are to be printed.
e.HasMorePages = stringToPrint.Length > 0
End Sub
Private Sub printButton_Click(ByVal sender As Object, ByVal e As EventArgs)
ReadFile()
printDocument1.Print()
End Sub
<STAThread()> _
Shared Sub Main()
Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
Application.Run(New Form1())
End Sub
End Class

Similar Messages

  • Want to display a space after last field in the output txt file

    hi
    I want to display a space after last field in the output txt file which is generaed by my program on utility server the last field lengyt we have defined is four and in database it is of three characters and requirement is to disppaly the last fourth field as space in the output file w hich is not shown as the txt file automatically gets closed at the third place as it is the last field in the record and ind atabase records are of therss char only but user wants to display this fourth position in the notepad output file as space ( which is last field in the output file)
    eg
    name house  street country
    record output coming in file
    ram   h3      street3  thn      now this thn which is last field the notepad get closed at thn only
    i want to display one space in last field for the whole of output file
    ie ram      h3   street3  thn(space)
        sham   h4  street4   sgp(space)  so on......
    we need to show this space in the output file as blank
    regards
    Arora

    hi Atish
    i am using
    loop at gt_sagadr_outtab into wa_sagadr_outtab
    move wa_sagadr_outtab-country to wa_sagadr_text+223(226).
    endloop
    in this last field ie country i need to display the last 226 as blank as only country key is two char in database so the last space is not shown
    i am not unsing the fM as tolb by  you
    and afterwards
    i am usning
    Concatenate 'Sagadr_' sy-datum sy-uzeit '.dat' into gv_filename_sagadr.
    CALL FUNCTION 'FILE_GET_NAME'
      EXPORTING
      CLIENT                        = SY-MANDT
        LOGICAL_FILENAME              = gc_lfile
        OPERATING_SYSTEM              = SY-OPSYS
        PARAMETER_1                   = gc_param1
        PARAMETER_2                   = gc_send
        PARAMETER_3                   = gv_filename_sagadr
      USE_PRESENTATION_SERVER       = ' '
      WITH_FILE_EXTENSION           = ' '
      USE_BUFFER                    = ' '
      ELEMINATE_BLANKS              = 'X'
      IMPORTING
      EMERGENCY_FLAG                =
      FILE_FORMAT                   =
        FILE_NAME                     =  gv_filepath_sagadr
    EXCEPTIONS
      FILE_NOT_FOUND                = 1
      OTHERS                        = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    and lastly
    open dataset gv_filepath_sagadr for output in text mode encoding default.
        if sy-subrc eq 0.
         loop at gt_sagadr_text into wa_sagadr_text.
         transfer wa_sagadr_text to gv_filepath_sagadr.
         endloop.
        endif.
       close dataset gv_filepath_sagadr.
        if sy-subrc = 0.
        message S002 with gv_filepath_sagadr. "Files & created on Application server
        endif.
    SO NOT SURE WHERE TO USE THE CODE AND HOW

  • Why when I open the output.txt file, is strange code there, not 3.1

    i almost copy the example from "think in java book" chapter 11
    however, the result "output.txt file" when opened by notepad of windows xp, always only very strange code inside, not what i want
    do i need open the file, before i want to write?
    or i use a wrong api again?
    or the java code norm is very difference from ms windows?
    thanks
    import java.util.Random;
    import java.io.*;
    class CreatRandomFile
         public static void main(String args[])throws IOException
              File fileOutput=new File("output.txt");
              DataOutputStream out2=
                   new DataOutputStream(
                        new BufferedOutputStream(
                             new FileOutputStream(fileOutput)));
              out2.writeDouble(3.1);
              out2.close();
         }//end main
    }//end class

    There are basically two ways of IO:
    a) human readable format;
    b) machine readable format;
    What you've just done is writing a double value in machine readable
    format to a file. Some folks call it 'binary format'. I bet your file is eight
    byes long. A DataOutputStream writes data in machine readable
    format. You need a PrintStream instead if you (a being human I suppose)
    want to be able to read the contents of that file.
    kind regards,
    Jos

  • How to prevent "Sign in" dialog on first launch of Visual Studio Express 2013?

    I am installing Visual Studio Express 2013. When I launch application shortcut for first time, It shows "sign in" window, which I want to hide for the users. This window also overrides all my settings (e.g. disabled "automatic check for
    updates"). Is there any way to prevent this dialog from appearing?

    Hi,
    >>I was looking for file or registry settings to suppress this dialog
    As far as I know, there is no way to realize this. It is by design. Since the users will sign in later, why need to suppress the dialog. What's more, this is an express edition, so you can't find any third-party add-in to help hide the dialog because Visual
    Studio Express doesn't support third-party add-ins. The only way you want the dialog not showing is to click "cancel" button the first time the dialog pop up. After that, you still can sign in if you want to. Click "Help", choose "register product", then
    you can sign in the appearing dialog.
    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.

  • Installation Problem Visual Studio Express 2013 for Web on Windows 8.1

    Hi,
    I am new to Microsoft developing tools and I have spent the last two days trying to install VS Express 2013 for Web on my laptop that's running windows 8.1 (X64,Intel
    Core i5 3337U (1.80GHz)).
     I run it as an administrator and have enough space on the disk. However, I keep on getting the same error. 
    Microsoft Visual Studio Express 2013 for Web - ENU Fatal error during installation.
    After uninstalling and deleting the temp files, I get an additional error.
    Entity Framework 6.1.1 Tools for Visual Studio 2013
    User cancelled installation.
    In my log files here are some of the problems that I saw:
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VisualStudio12'; variable = 'AspNetWebFxTools_VS2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VWDExpress12'; variable = 'AspNetWebFxTools_VWD2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.Bliss_Core,v12'; variable = 'bliss_core_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'bliss_core_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot'; variable = 'DisableRootAutoUpdate'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft Corporation\DataFxTools\12.0.0.0'; variable = 'EFTools_2013_VersionKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Help\v2.1\Setup'; variable = 'help3vs_49_DetectKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Help\v2.1\Setup'; variable = 'help3vs_49_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'help3vs_49_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'IEsvcVersionExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'IEsvcVersion' to value '11.0.9600.17631'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\3B1EFD3A66EA28B16697394703A72CA340A05BD5'; variable = 'MicrosoftRootCertificateAuthority2010AuthRootExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010AuthRootExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010RootExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\8F43288AD272F3103B6FB1428485EA3014C0BCFE'; variable = 'MicrosoftRootCertificateAuthority2011AuthRootExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011AuthRootExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011RootExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'netfxfullredist_43_CBSValue' to value '1'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'netfxfullredist_43_DetectKey' to value '4.5.51641'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'NetFxFullRedist_InstalledRelease' to value '378675'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'NetFxFullRedist_InstalledReleaseExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'OS_BuildNumber' to value '9600'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'ssceruntime_x64_msi_DetectKey' to value '4.0.8876.1'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'ssceruntime_x64_msi_DetectKeyExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'ssceruntime_x86_msi_DetectKey' to value '4.0.8876.1'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'ssceruntime_x86_msi_DetectKeyExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SSDT\12.0\1033'; variable = 'ssdt_lang_detect_enu'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\teamExplorerCore'; variable = 'teamExplorercore_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'teamExplorercore_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'VSComponentPathVariable' to value ''
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Updates\Microsoft Visual Studio 2013\vsupdate_kb2829760'; variable = 'vsupdate_DetectKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Updates\Microsoft Visual Studio 2013\vsupdate_kb2829760'; variable = 'vsupdate_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'vsupdate_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'webdeploy_x64_en_usmsi_902_DetectKey' to value '9.0.1764.0'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'webdeploy_x86_en_usmsi_901_DetectKey' to value '9.0.1764.0'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio 12'; variable = 'WebTools_VS2013_VersionKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio 2013'; variable = 'WebTools_VS2013_VersionKey_2'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio Express 12 for Web'; variable = 'WebTools_VWD2013_VersionKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio Express 2013 for Web'; variable = 'WebTools_VWD2013_VersionKey_2'
    The last line of my log file contained this:
    [0354:1418][2015-02-23T14:02:26]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
    I really need to have this up and running as soon as possible. Any help would be greatly appreciated. 
    Thanks!

    Hi,
    By the errors:
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VisualStudio12'; variable = 'AspNetWebFxTools_VS2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VWDExpress12'; variable = 'AspNetWebFxTools_VWD2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.Bliss_Core,v12'; variable = 'bliss_core_DetectKeyExists'
    It maybe a registry or administrator issue.
    Please install VS with administrator.
    What's more, it maybe a corrupt registry issue. And you can't install any version of Visual Studio, I think you can use the tool to fix problems that programs cannot be installed or uninstalled. It also can fix the corrupted registry keys.
    http://support.microsoft.com/mats/program_install_and_uninstall/en-us
    Best Wishes!
    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.

  • Add-in for Access 2010/2013 with Visual Studio 2012 (2013 Preview)

    Hello!
    Am i right: Microsoft wants to kill Access in favor of Azure/SQL stuff?
    I was unable to find any Projects in Visual Studio 2012/2013 to create an Addon for Access 2010 or 2013 (only Word, Excel, Outlook).
    There is even no Microsoft.Office.Tools.Access.ApplicationFactory
    to install add-in to Access App.
    Any solutions for VS 2012?
    Or i should use outdated Shared Add-in with VS 2010?
    Thank you!

    Sorry Donald M from Microsoft,
    You need to rethink that response.  IDTExtensibility2 is an outdated Office 2003 technology. 
    Everything EXCEPT the ThisAddIn.designer.cs reference to ApplicationFactory _factory compiles when you switch references in another Office application's VSTO project template to msaccess and dao libraries.  Even the Access icon shows up in Visual
    Studio 2013.  The only reason a Ribbon.xml project will not load into Access is that Microsoft hasn't provided the Microsoft.Office.Tools.Access DLL for it.  If you leave the Factory reference pointing to global::Microsoft.Office.Tools.Factory,
    the add-in compiles but will not load.
    MICROSOFT: Please provide us the missing Factories for MSAccess and OneNote.
    Could not create an instance of startup object AccessRibbonAddin.ThisAddIn in assembly AccessRibbonAddin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=664b6483efff25e6.
    ************** Exception Text **************
    Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateStartupObjectException: Could not create an instance of startup object AccessRibbonAddin.ThisAddIn in assembly AccessRibbonAddin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=664b6483efff25e6.
    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.LoadEntryPoints(IntPtr serviceProvider)
    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Microsoft.VisualStudio.Tools.Office.Runtime
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18055 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    Microsoft.VisualStudio.Tools.Applications.Hosting
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll
    Microsoft.VisualStudio.Tools.Applications.Runtime
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll
    System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    Microsoft.VisualStudio.Tools.Applications.ServerDocument
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18036 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    Microsoft.Office.Tools
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll
    Microsoft.Office.Tools.Common.Implementation
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll
    Microsoft.Office.Tools.Common
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll
    AccessRibbonAddin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Source/Home/Access/bin/Debug/AccessRibbonAddin.DLL
    Microsoft.Office.Tools.Common.v4.0.Utilities
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1
    CodeBase: file:///C:/Source/Home/Access/bin/Debug/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL

  • How do I create a view in SQL Server in Visual Studio Express 2013 for Desktop?

    Hi
    I've got a SQL Server database set up using the internal SQL Server in Visual Studio Express 2013 for Desktop. I want to create a view (using tables with one to many relationships) but I don't
    know how to do it.
    Where can I find a good tutorial on creating views in SQL Server in Visual Studio Express 2013 for Desktop? I think Visual Studio Express 2013 for Desktop doesn't have some view designer that
    exists in the non-express version of Visual Studio (if I'm not mistaken). So I think I'd need a tutorial on how to do the actual SQL, unless there is some tool I don't know about.
    Thanks

    Hi ,
    According to your description, if you install SQL Server SQL Server 2014 Express and SQL Server Manager Studio tools (SSMS), if you want to create a view, you can use SSMS. Then if you want to connect to and Diagram your SQL Express Database in Visual Studio
    2013, you can attach the database file by using the .NET Framework Data Provider for SQL Server in Visual Studio, and create a database diagram via expanding the “Database Diagrams” node.
     For more information, there is similar issue about how to connect to and Diagram your SQL Express Database in Visual Studio 2012 , you can review the following article,
    http://blogs.msdn.com/b/bethmassi/archive/2011/10/27/how-to-connect-to-and-diagram-your-sql-express-database-in-visual-studio-lightswitch.aspx.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Error while installing Visual Studio Express 2013 with Update 4 for Windows Desktop.

    When I try to install Visual Studio Express 2013 with Update 4 for Windows Desktop, I
    get the error :
    Microsoft Visual Studio Express 2013 for Windows Desktop.The form specified for the subject is not one supported or known by the specified trust provider.
    Here is what I get when I use the File Checksum Integrity Verifier (NOTE: I couldn't find the SHA Hash for the .iso I downloaded)
    // File Checksum Integrity Verifier version 2.05.
    8ab9b5ff10da1c33bb3f088331a7c8d8 vs2013.4_dskexp_enu.iso
    Here is some Extra Information:
    MY OS: Windows Technical Preview x86ANOTHER OS I TRIED INSTALLING VB ON: Windows 7 Ultimate x86
    DOWNLOADED ISO FROM: http://www.visualstudio.com/en-us/downloadsLINK: http://download.microsoft.com/download/9/6/4/96442E58-C65C-4122-A956-CCA83EECCD03/vs2013.4_dskexp_ENU.iso
    LOG FILE: http://m.uploadedit.com/b044/1421425243589.txtSHA HASH OF THE RECEIVED ISO: 8ab9b5ff10da1c33bb3f088331a7c8d8
    ====================================================NOTES:
    #I ran the setup as an administrator.
    #I do not know the SHA Hash for the ISO so please check if it matches the SHA Hash of the actual file.#Please don't recommend to use the Web Installer.#I tried both extracting the ISO and Mounting the ISO to run the Setup.
    Thanks. :D

    Solved.   The ISO is corrupt.
    The SHA 1 Hash of the ISO was 57CF28106EA096758AD6AB909F226A3468D95A49
    and the downloaded one returned 8ab9b5ff10da1c33bb3f088331a7c8d8.

  • Please wait while windows configures microsoft visual studio professional 2013

    After installing visual community 2013 and rebooting visual studio works fine but all other microsoft office programs display "please wait while windows configures microsoft visual studio professional 2013" and continues the installation for
    about 1 minute before the program starts. I tried deleting mso.dll and reinstalling but it is still the same. Any help would be appreciated?

    Hi iwallhead,
    Then can your VS work fine? Anyway, please upload the installation log.
    Use a tool named collect.exe to collect the log file. Download
    collect.exeand
    run it directly. The utility creates a compressed cabinet of all the VS and .NET logs to
    %TEMP%\vslogs.cab. Please upload the
    vslogs.cab file on onedrive.
    I will help check if any install error exists.
    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.

  • AxAcroPDFLib.AxAcroPDF fails with MS Visual Studio Pro 2013

    Hello.
    I'm using MS Visual Studio Professional 2013 (Version 12.0.30501.00 Update 2) and MS .NET Framework Version 4.5.50938. I also have installed in my system (Windows 7 Home Premium - Service Pack 1) the Adobe Reader XI Version 11.0.07.
    Before 3 months I have created a Windows Form Application with VS2013 and I've used the ActiveX tool "AxAcroPDFLib.AxAcroPDF". Everything was working normally.
    I left this app for some time because of other obligations.
    Now I've started using again my application and I get an error from VS2013 regarding the ActiveX control of AdobePDF in my app. The error I get is "Error HRESULT E_FAIL has been returned from a call to a COM component". I have re-installed three times Adobe Reader XI and I still get the same error.
    Why VS cannot detect the COM component of Adobe reader?
    I have the respective reference (Adobe Acrobat 7.0 Browser Control Type Library 1.0) added to my project and the tool (Adobe PDF Reader @C:\Program Files (x86)\Common Files\Adobe\Acrobat\ActiveX\AcroPDF.dll) added to my toolbox and when i try to add the tool again to my form I get the following error: "Failed to create component 'AxHost'. The error message follows: 'System.Runtime.InteropServices.COMException (0x80004005): A wrapper assembly is not registered for this type library....". This is just a part of the error.
    AcroPDF.dll was last modified on 08/05/2014. So i suppose its a new version.
    Can you please give me a solution?
    Thank you in advance.
    Message was edited by: John Lolas

    It's probably related to this KB that got posted after 11.0.07 shipped.
    PDF applications built with VB6 don't work with Acrobat 11.0.07
    Note the designation of the CPU building and the web application piece about calling the ActiveX control directly.

  • Can't install Visual Studio Professional 2013

    Just got a new PC with a fresh install of Windows 8.1. I went to Dreamspark to download VS for my uni work, I got for Visual Studio Professional 2013 Update 4 web installer.
    Only problem is every time I try to install I get an error message:
    Set Up Failed!
    Visual Studio prerequisites Fatal error during installation
    KB2829760LP User Cancelled installation
    I've tried to install on the Administrator account, re-downloaded the installer, got the ISO... I also tried to uninstall DirectX SDK and the distro's that came with it as I remember having problems installing it together with VS last time, but that didn't
    work here. Thought I should mention the SDK here as it was the only thing I had installed before Visual Studio.
    Thanks in advance for any help, I have saved an installing log if anyone needs to see it. 

    Hi,
    I see your log file and found main error in it:
    Error 0x800b0003: Failed authenticode verification of payload: C:\ProgramData\Package Cache\.unverified\kb2829760v2_enu
    Error 0x800b0003: Failed to verify signature of payload: kb2829760v2_enu
    Failed to verify payload: kb2829760v2_enu at path: C:\ProgramData\Package Cache\.unverified\kb2829760v2_enu, error: 0x800b0003. Deleting file.
    Error 0x800b0003: Failed to cache payload: kb2829760v2_enu
    ailed to cache payload: kb2829760v2_enu from working path: C:\Users\Ricky\AppData\Local\Temp\{c96467b4-e480-4218-8fde-db83bf9d47d1}\kb2829760v2_enu, error: 0x800b0003.
    Application requested retry of payload: kb2829760v2_enu, encountered error: 0x800b0003. Retrying...
    Error 0x80070643: Failed to install MSI package.
    Error 0x80070643: Failed to execute MSI package.
    Error 0x80070643: Failed to configure per-machine MSI package.
    Error 0x80070642: UX aborted on download progress.
    Error 0x80070642: Failed to send progress from BITS job.
    Error 0x80070642: Failure while sending progress during BITS job modification.
    Error 0x80070642: Failed attempt to download URL: 'bits://go.microsoft.com/fwlink/?LinkId=428537&clcid=0x409' to: 'C:\Users\Ricky\AppData\Local\Temp\{c96467b4-e480-4218-8fde-db83bf9d47d1}\kb2829760v2_enu'
    Error 0x80070642: Failed to acquire payload from: 'bits://go.microsoft.com/fwlink/?LinkId=428537&clcid=0x409' to working path: 'C:\Users\Ricky\AppData\Local\Temp\{c96467b4-e480-4218-8fde-db83bf9d47d1}\kb2829760v2_enu'
     For error code 0x800b0003:
    The same error was always checked in Windows Updates so please read this page:
    http://support.microsoft.com/kb/822798?wa=wsignin1.0
    The error 0x800b0003 is also listed on that page so could you please try that Fix it to fix first?
    Also do you have all latest Windows Udpates installed?  You may try this thread:
    http://answers.microsoft.com/en-us/protect/forum/mse-protect_start/error-code-0x800b0003/10eb40e5-99d2-443d-8e56-697a33ab86ed
    If you cannot also solve the problem please pay attention to the Error 0x80070642 code:
    According to these errors, It seems the issue was due to you are using a web installer and your installation source may be corrupted.
    You can download the latest Visual Studio Professional 2013 package now:
    http://www.microsoft.com/en-us/download/details.aspx?id=44916
    I recommend you can install the VS by ISO installer.
    •Choose this download link, and then choose the Save button.
    •After downloading the ISO file, you should use the
    File Checksum Integrity Verifier tool to calculate and verify that the SHA-1 value for this file matches the value listed on the
    Visual Studio 2013 ISO Files SHA-1 Values page.
    And after down load you should follow up these
    Installation Tips in the link to install your VS.
    Best Wishes!
    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.

  • Can't see table data from Visual Studio Express 2013 for Web

    Hello!
    I have a problem and I can't see neither the table data nor the table definition for my database inside Visual Studio Express 2013 for Web, Server Explorer. When I right click it just says refresh, copy or properies.
    Does anyone know what's wrong?
    Thanks a lot!

    Hi J1m,
    According to your description, I make a test on my computer and I am able to reproduce your issue. Firstly, I install the Visual Studio 2013 express for web successfully, create a project and connect to SQL Server database. Then I right click one table,
    and I can see all the options including ‘Show Table Data ’, ‘Open Table Definition ’, ‘Copy’, ‘Refresh’, and ‘Properties’. Next, I uninstall the SQL Server data tools, and restart the Visual Studio, right click on table, and only find  the three options
    ‘Copy’, ‘Refresh’, ‘Properties’ as the following screenshot, which is the same scenario with yours.
    Based on my test, the issue could be due to the missing or corrupt SQL Server Data Tools. To work around the issue, you should install the latest SQL Server data tools for Visual Studio 2013. You could  download the
    ISO file for SQL Server data tools and extract the ISO files to your hard drive following the methods in this
    article, and install the data tools. Please restart your computer after you complete the installation.
    Regards,
    Michelle Li

  • Just installed Visual Studio express 2013. Start menu folder empty.

    I just installed Visual Studio express 2013 For desktop.  On to my windows 7, 64 bit laptop.
    After it installs it asks you if you would like to launch the program.  So I clicked launch.  And it never launched.
    Furthermore when I go Into my start menu.  I find why the Visual Studio 2013 folder.
    And it's empty.
    So I went ahead and tried to reinstall Visual Studio express 2013.
    After I reinstalled it I had to restart my computer.  I have done that.  And my start menu folder is still empty.
    I have no way of finding the executable file for Visual Studio express 2013.
    And if I could I'm not confident that it would launch.
    I decided maybe I should uninstalled completely and reinstall it.
    I went to control panel>uninstall a program.
    I selected Microsoft Visual Studio express 2013.
    And then I selected uninstall.
    a window pops up that says.  " Microsoft Visual Studio express 2013 for windows desktop has stopped working.   A problem caused the program to stop working correctly .  Windows will close the program and notify you if a solution is available.".
    so I can't fully uninstall the program.  And reinstalling the program doesn't help.
    why is this happening. What do I do. How do I fix this?

    Hi HAL9090,
    >>I find why the Visual Studio 2013 folder. And it's empty. And my start menu folder is still empty.
    Do you mean that you can't find VS2013 in the start menu? Please click "All Programs" in the start menu to see if you can find it.
    If you still can't find it, could you please tell us how you install it? From the web installer or by the downloaded setup file? If you have the ISO image, I suggest you verify its checksum. Perhaps you need to re-download one. If you have no one, please
    download it from
    Microsoft Visual Studio Express 2013 with Update 4 for Windows Desktop - English
    DVD5 ISO image
    The correct checksum is
    4AE40D10B303C034F6D6230CE21F0295E5CD708C
    You can download the
    fciv.exe tool to verify the checksum.
    Once it matches the correct one, please make sure that your windows is patched up and disable the anti-virus software. At last, install VS.
    What's more, it seems that you can't uninstall VS2013. If you want to uninstall it, you can use the setup file to uninstall it. Please double click it to open it, then you can choose to uninstall it in the pop up dialog.
    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.

  • Trouble to download visual studio professional 2013

    Hi!
              I have just recently download the visual studio professional 2013. When I was trying to run that folder in Windows 8.1 laptop. Visual studio running process just come up on my screen for 2 second and disappear after that
    process. I have tried manyy times with different types of visual studio. Can u help me to fix this problem? I really need  help.

    Hi,
    It seems you install your VS by web installer. When you open the exe file, the installation process crashed.
    You should follow up these steps to install Visual Studio again:
    1. Re-download the Visual studio from Microsoft official site here:
    http://www.visualstudio.com/downloads/download-visual-studio-vs
    2. Disable your Anti-Virus or Anti-Spyware software and be sure that your OS has been "patched" up - Update your computer (Windows) before install the VS.
    3. Clean your %temp% folder and run the installer with Administrator permission.
    Look the links to get more information:
    http://blogs.msdn.com/b/msdnforum/archive/2010/03/06/visual-studio-and-net-framework-installation-tips.aspx
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/60f71a54-506e-4c70-be98-e993ce6d1ddf/visual-studio-installation-tips?forum=vssetup
    Or you can install by ISO:
    Please try download the content online or copy the content from your DVD to some folders from your disk, then try the installation again. And try to use the tool in below link to check your ISO checksum.
    http://support.microsoft.com/kb/841290
    If the error also occurs, please use http://aka.ms/vscollect  to gather the installation logs. You will find vslogs.cab from %temp% folder. Please upload the file to 
    https://onedrive.live.com/   and share the link here.
    Best Wishes!
    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.

  • Help, I can't sign in to Visual Studio Community 2013 "Something went wrong and we can't sign you in right now. Please try again later."

    Hi, can anyone help me further diagnose?
    On Windows 7 64-bit, whenever I try to sign into Visual Studio Community 2013 I get a bunch of clicking sounds, and then  "Something went wrong and we can't sign you in right now. Please try again later."
    I installed the 2013 update 4 just recently (3/23)
    I was getting this error back in February

    Hi HuggyPaul,
    Thank you for posting in MSND forum.
    >>whenever I try to sign into Visual Studio Community 2013 I get a bunch of clicking sounds, and then  "Something went wrong and we can't sign you in right now. Please try again later."
    Based on your issue, I suggest you could try to use an another microsoft live-in user account to sign in the Visual Studio Community 2013 to check if you can sign in the VS2013 Community with update 4.
    Or you could try to use same user account to sing same version of VS2013 Communty with Update 4 on other machien and the check if you can sign in this VS 2013 Community with update 4.
    (1)If you could sign in the VS2013 Community update4 by the another user account on your machien, I think that the issue maybe related to your user account.
    (2)If you still could not sign in VS 2013 Community update 4, maybe you will need to repair or re-install this VS2013 Community with update 4.
    In addition, please tell me what browser you use on your machine.
    If your machien just insatall other browser such as chrome, please try to install the IE and then check this issue again.
    From this error message, i find a similar thread about your issue, maybe it can help you.
    Referenece:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/49a611c6-cf70-4756-932c-1e26edddd9a1/something-went-wrong-and-we-cant-sign-you-in-right-now?forum=reportabug
    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.

Maybe you are looking for

  • IPhone no longer works with car audio

    I'm running a 16 GB 3G-S and it worked wonderfully for my internet music such as Pandora or listening to iHeart radio. The unit would sync up easily to both my new car audio systems and everything detected and played beautifully! However, once I upgr

  • Macbook (Late 2007) External Display Not Working

    I have an acer x243hq 1920x1080 external monitor which works with my Xbox 360 (vga cable) and my friends macbook (early 2008) but not my macbook when plugging the external monitor into my macbook using the minidvi to dvi adapter the macbook screen go

  • How do I change the genre of the album of my band on iTunes?

    Hi! My album has been on iTunes for a few weeks, but It's defenitly not in the right genre. Anybody know how I could change it? Thanks!

  • Cover Flow in iWeb sites!

    I just noticed there's a +Cover Flow+ theme in the new +BannerZest Pro+ ~ to try it out, click on this image and scroll to the bottom of the page: ...Uploading your iWeb site via FTP or to your .Mac account is fully supported from within BannerZest.

  • Need help. i can't even install 2000

    hi i just bought a MSI 865PE Neo2 motherboard and installed it in my computer. i go to reinstall my OS, which is windows 2000 by the way, and it won't install. when it gets to the press enter to install windows 2000 it just stops working and the scre