Visual Basic
1
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
2
Name:
Anonymous
2009-06-04 19:16
why do you need this?
3
Name:
Anonymous
2009-06-04 19:16
"GRUNNUR"
4
Name:
Anonymous
2009-06-04 19:18
op here
can someone please help
5
Name:
Anonymous
2009-06-04 19:29
wtf is this
6
Name:
Anonymous
2009-06-04 20:05
>>4
Unfortunately, someone probably can, but rest assured nobody will.
7
Name:
Anonymous
2009-06-04 20:43
someone...
8
Name:
Anonymous
2009-06-04 20:54
People still program in Visual Basic?
9
Name:
Anonymous
2009-06-04 21:42
You can do it by using a language that isn't pig disgusting.
10
Name:
Anonymous
2009-06-04 23:00
in C# you can use System.Reflection.Assembly.GetExecutingAssembly
that should be enough
11
Name:
Anonymous
2009-06-04 23:44
copy .\roc.ttf %windir%\fonts
Fuck you and your Visual Basic.
12
Name:
Anonymous
2009-06-04 23:49
This can't be done in VB. Try Instant.EXE.
13
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.
14
Name:
Anonymous
2009-06-05 7:07
i actually read it as Virtual Basic
15
Name:
Anonymous
2009-06-05 8:03
Visual Ballsack
16
Name:
Anonymous
2009-06-05 11:34
>>13
Because reflection is
slow as fuck in C#, just like
everything else , right?
17
Name:
Anonymous
2010-11-25 9:13