Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Installing Text:
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: Sun Apr 11, 2010 7:27 pm   Post subject: Installing Text:

Can anyone make an application the installs the text font I have included. It doesn't need to check if its installed or anything. I just need a program that installs it. It would be very helpful if someone could do this for me and post source code for me too.


Hotel Coral Essex.zip
 Description:

Download
 Filename:  Hotel Coral Essex.zip
 Filesize:  276.87 KB
 Downloaded:  110 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
TerranceN




PostPosted: Sun Apr 11, 2010 8:07 pm   Post subject: RE:Installing Text:

You can install it from the command line (or anything that uses the command line such as a batch file or std::system in C++). Here is an explaination.
copthesaint




PostPosted: Mon Apr 12, 2010 6:51 am   Post subject: RE:Installing Text:

Can you explain further what I must do? That explanation inst very good :/.
copthesaint




PostPosted: Mon Apr 12, 2010 2:33 pm   Post subject: RE:Installing Text:

Couple of things about batch files:
how do you install text with the batch file?
how do you restart the computer with a batch file?
how do you run music from a batch file?
Zren




PostPosted: Mon Apr 12, 2010 4:18 pm   Post subject: Re: Installing Text:

For shutting down:
http://ss64.com/nt/shutdown.html
code:
shutdown /s


For launching a music file you just need to type the path to the file. If the path contains spaces then surround the path in "". You can also specify which program to launch it (instead of windows default found in registry) with:

code:
<program> <parameters>
"%programfiles%\Windows Media Player\wmplayer.exe" "D:\Music\Owl City - Fireflies DJ Strobe Remix.mp3"


Might I suggest opening up Command Prompt and typing "help" or "<command> /?".
copthesaint




PostPosted: Mon Apr 12, 2010 7:21 pm   Post subject: Re: Installing Text:

Thanks, the shutdown is helpful is definitely helpful.

Zren @ Mon Apr 12, 2010 wrote:


code:
<program> <parameters>
"%programfiles%\Windows Media Player\wmplayer.exe" "D:\Music\Owl City - Fireflies DJ Strobe Remix.mp3"



Use this instead:
code:
start D:\Music\Owl City - Fireflies DJ Strobe Remix.mp3

if your going to do that, because it apparently opens the file from your default media player.

I'm still looking how to install Fonts to the system so plz if anyone knows tell me.
chrisbrown




PostPosted: Mon Apr 12, 2010 7:36 pm   Post subject: Re: Installing Text:

copthesaint @ Mon Apr 12, 2010 7:21 pm wrote:
I'm still looking how to install Fonts to the system so plz if anyone knows tell me.


Try this
copthesaint




PostPosted: Mon Apr 12, 2010 8:06 pm   Post subject: RE:Installing Text:

So, what C++ compliers are there that I can use for this? and how would I generate an executable C++ with it?
What would be a good compiler for me that is free basically
Sponsor
Sponsor
Sponsor
sponsor
chrisbrown




PostPosted: Mon Apr 12, 2010 8:50 pm   Post subject: RE:Installing Text:

You don't need to use C++, you can use any command that lets you execute files. For example, if you're writing an installer in Turing:
Turing:
(blah blah copying files, etc...)
Sys.Exec("fontinst.exe /F MyFontName.inf")
(Font now installed, carry on with copying, etc...)


You would just need to include the program with your installation files.

To answer your question though, g++ is one of the most popular. There are plenty of tutorials on setting it up.
copthesaint




PostPosted: Mon Apr 12, 2010 10:31 pm   Post subject: RE:Installing Text:

cool thanks.
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: