Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Visual Basic

Name: Anonymous 2009-06-04 19:14

I need some programming help.

This script is supposed to install a font.

const FONTS = &H14&

Set objShell = CreateObject("Shell.Application")
Set ObjFolder = objShell.Namespace(FONTS)
objFolder.CopyHere "D:\Loader\roc.ttf"

I need this script to copy the font from the location the script is running from. How can get it to do that? (Right now it only copies from D:\Loader\)

thanks in advance

Name: Anonymous 2009-06-04 19:16

why do you need this?

Name: Anonymous 2009-06-04 19:16

"GRUNNUR"

Name: Anonymous 2009-06-04 19:18

op here

can someone please help

Name: Anonymous 2009-06-04 19:29

wtf is this

Name: Anonymous 2009-06-04 20:05

>>4
Unfortunately, someone probably can, but rest assured nobody will.

Name: Anonymous 2009-06-04 20:43

someone...

Name: Anonymous 2009-06-04 20:54

People still program in Visual Basic?

Name: Anonymous 2009-06-04 21:42

You can do it by using a language that isn't pig disgusting.

Name: Anonymous 2009-06-04 23:00

in C# you can use System.Reflection.Assembly.GetExecutingAssembly

that should be enough

Name: Anonymous 2009-06-04 23:44

copy .\roc.ttf %windir%\fonts
Fuck you and your Visual Basic.

Name: Anonymous 2009-06-04 23:49

This can't be done in VB. Try Instant.EXE.

Name: Anonymous 2009-06-05 6:51

>>10
C# isn't Java, you don't use reflection for things that can be done in a simpler way.

Name: Anonymous 2009-06-05 7:07

i actually read it as Virtual Basic

Name: Anonymous 2009-06-05 8:03

Visual Ballsack

Name: Anonymous 2009-06-05 11:34

>>13
Because reflection is slow as fuck in C#, just like everything else, right?

Name: Anonymous 2010-11-25 9:13

Name: Anonymous 2011-02-04 18:40

Don't change these.
Name: Email:
Entire Thread Thread List