Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Download and Install

Download and Install

Scheduled Pinned Locked Moved Web Development
testingbeta-testing
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Armandt__
    wrote on last edited by
    #1

    I have a aspx vb project, im testing to see if a certain font is installed , if its not it should be downloaded and installed on the client pc, is there some way of doing it in the background without the client user knowing of it being done, or any other suggestions are welcome thanx

    N P A A V 5 Replies Last reply
    0
    • A Armandt__

      I have a aspx vb project, im testing to see if a certain font is installed , if its not it should be downloaded and installed on the client pc, is there some way of doing it in the background without the client user knowing of it being done, or any other suggestions are welcome thanx

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      I'll avoid your site, I don't want anything downloaded and installed automatically without my consent. Doing so is a bad idea and won't be possible with proper security settings. Inform the user they need additional components and let them choose to download and install it.


      only two letters away from being an asset

      A 1 Reply Last reply
      0
      • A Armandt__

        I have a aspx vb project, im testing to see if a certain font is installed , if its not it should be downloaded and installed on the client pc, is there some way of doing it in the background without the client user knowing of it being done, or any other suggestions are welcome thanx

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        If the certain font is just for a title or a small part of your text, you could use an image instead...

        1 Reply Last reply
        0
        • A Armandt__

          I have a aspx vb project, im testing to see if a certain font is installed , if its not it should be downloaded and installed on the client pc, is there some way of doing it in the background without the client user knowing of it being done, or any other suggestions are welcome thanx

          A Offline
          A Offline
          Armandt__
          wrote on last edited by
          #4

          The site is only going to be used inside the company, so no worries about unwanted stuff to be downloaded, The font I need is for a barcode and its nog going to be the same all the time, its for label printing. I know the easiest way of making sure its on the client side is to manually installing the font where the app is going to be used, but its not allways going to be guaranteed the user will be on the same pc, so in that case if the font is not dedected it must be placed in the Windows/fonts directory

          A 1 Reply Last reply
          0
          • A Armandt__

            The site is only going to be used inside the company, so no worries about unwanted stuff to be downloaded, The font I need is for a barcode and its nog going to be the same all the time, its for label printing. I know the easiest way of making sure its on the client side is to manually installing the font where the app is going to be used, but its not allways going to be guaranteed the user will be on the same pc, so in that case if the font is not dedected it must be placed in the Windows/fonts directory

            A Offline
            A Offline
            Armandt__
            wrote on last edited by
            #5

            I found some script to do it but it only works on server side Dim objStream objStream = CreateObject("ADODB.Stream") objStream.Type = 1 ' adTypeBinary objStream.Open("URL=http://10.52.223.67/PPE/Font/FRE3OF9X.ttf") objStream.SaveToFile("C:\Temp\FRE3OF9X.ttf", 2) ' adSaveCreateOverWrite objStream.Close() objStream = Nothing Const FONTS = &H14& Dim objShell Dim objFolder objShell = CreateObject("Shell.Application") objFolder = objShell.Namespace(FONTS) objFolder.CopyHere("C:\Temp\FRE3OF9X.ttf") on the client side I get the following error System.Runtime.InteropServices.COMException: Write to file failed [COMException (0x800a0bbc): Write to file failed.]

            1 Reply Last reply
            0
            • A Armandt__

              I have a aspx vb project, im testing to see if a certain font is installed , if its not it should be downloaded and installed on the client pc, is there some way of doing it in the background without the client user knowing of it being done, or any other suggestions are welcome thanx

              A Offline
              A Offline
              Anshumas
              wrote on last edited by
              #6

              THIS IS THE WRONG WAY WHAT YOU WANT TO DO in this case this link will help you, you need to create EOT file Procedure to prepare Dynamic Fonts ( EOT) - Before creating these files keep following points in your mind - 1.Install the desired font on your local machine first. 2.Keep the file name same as your font name. 3.Do not use multiple hindi fonts while authoring. http://webservices.nic.in/wsmad/ResourceCentre/hindiweb.aspx

              A 1 Reply Last reply
              0
              • N Not Active

                I'll avoid your site, I don't want anything downloaded and installed automatically without my consent. Doing so is a bad idea and won't be possible with proper security settings. Inform the user they need additional components and let them choose to download and install it.


                only two letters away from being an asset

                A Offline
                A Offline
                Anshumas
                wrote on last edited by
                #7

                good answer but not solution :zzz:

                Anshuman Singh

                N 1 Reply Last reply
                0
                • A Anshumas

                  THIS IS THE WRONG WAY WHAT YOU WANT TO DO in this case this link will help you, you need to create EOT file Procedure to prepare Dynamic Fonts ( EOT) - Before creating these files keep following points in your mind - 1.Install the desired font on your local machine first. 2.Keep the file name same as your font name. 3.Do not use multiple hindi fonts while authoring. http://webservices.nic.in/wsmad/ResourceCentre/hindiweb.aspx

                  A Offline
                  A Offline
                  Armandt__
                  wrote on last edited by
                  #8

                  Thank you , I'll look into it, got fed up with all the security restrictions, made a exe to install all the fonts , gave the user only the option of running the app and not downloading it, used this tag to modify the download dialog

                  1 Reply Last reply
                  0
                  • A Anshumas

                    good answer but not solution :zzz:

                    Anshuman Singh

                    N Offline
                    N Offline
                    Not Active
                    wrote on last edited by
                    #9

                    Yes, there is a solution, don't do it or ask the user to download fonts package. :doh:


                    only two letters away from being an asset

                    V 1 Reply Last reply
                    0
                    • N Not Active

                      Yes, there is a solution, don't do it or ask the user to download fonts package. :doh:


                      only two letters away from being an asset

                      V Offline
                      V Offline
                      Vasudevan Deepak Kumar
                      wrote on last edited by
                      #10

                      Even for regional language websites, I refrain visiting websites which require custom fonts. The recommended option is Unicode. I am voting a '5' for your message.

                      Vasudevan Deepak Kumar Personal Homepage
                      Tech Gossips
                      The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                      1 Reply Last reply
                      0
                      • A Armandt__

                        I have a aspx vb project, im testing to see if a certain font is installed , if its not it should be downloaded and installed on the client pc, is there some way of doing it in the background without the client user knowing of it being done, or any other suggestions are welcome thanx

                        V Offline
                        V Offline
                        Vasudevan Deepak Kumar
                        wrote on last edited by
                        #11

                        Armandt__ wrote:

                        without the client user knowing of it being done,

                        Illegal option. Your website should be reported in http://www.stopbadware.org/[^] and http://www.websecurityguard.com/[^] as dangerous website.

                        Vasudevan Deepak Kumar Personal Homepage
                        Tech Gossips
                        The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups