Talk about your favorite PC games, Steam and building awesome custom rigs!
Moderator: Moderators
ghosstt
Senior Member
Posts: 1551 Joined: Mon Feb 26, 2007 4:14 pm
Post
by ghosstt » Sat Jan 12, 2008 6:45 pm
Ya, i was thinking something like that. Thanks for all your help! im done for the night too.
ghosstt
Senior Member
Posts: 1551 Joined: Mon Feb 26, 2007 4:14 pm
Post
by ghosstt » Sun Jan 13, 2008 10:40 am
hmmm... Do you know how to read and write to an Excel sheet? or something like that? that would make this much easier.
jeffslot
Portablizer Extraordinaire
Posts: 853 Joined: Wed Jun 01, 2005 6:26 am
Location: PA
Contact:
Post
by jeffslot » Sun Jan 13, 2008 12:23 pm
Well,
Technically I do know how to read an excel sheet. Honestly I find working with excel automation to be a bit of a pain. Also it tends to vary by version of Excel. But if you're still bent on excel I can probably through an excel example up here tomorrow (when I get back to work).
Jeff
Skyone
Moderator
Posts: 6390 Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:
Post
by Skyone » Sun Jan 13, 2008 1:50 pm
Ugh, just take my suggestion! Registry!
ghosstt
Senior Member
Posts: 1551 Joined: Mon Feb 26, 2007 4:14 pm
Post
by ghosstt » Sun Jan 13, 2008 4:33 pm
Skyone wrote: Ugh, just take my suggestion! Registry!
I would if i knew how to use it at all or anything like that.
Skyone
Moderator
Posts: 6390 Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:
Post
by Skyone » Sun Jan 13, 2008 5:18 pm
Code: Select all
Imports Microsoft.Win32
Public Function RegValue(ByVal Hive As RegistryHive, ByVal Key As String, ByVal ValueName As String, OptionalByRef ErrInfo As String = "") As String
Pubilc Function WriteToRegistry(ByVal ParentKeyHive As RegistryHive, ByVal SubKeyName As String, ByVal ValueName As String, ByVal Value As Object) As Boolean
ghosstt
Senior Member
Posts: 1551 Joined: Mon Feb 26, 2007 4:14 pm
Post
by ghosstt » Sun Jan 13, 2008 6:17 pm
ok, now wtf do i do with it?
Skyone
Moderator
Posts: 6390 Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:
Post
by Skyone » Sun Jan 13, 2008 6:40 pm
You use RegValue to query for a registry value, and WriteToRegistry to create/edit keys.
ghosstt
Senior Member
Posts: 1551 Joined: Mon Feb 26, 2007 4:14 pm
Post
by ghosstt » Mon Jan 14, 2008 3:45 pm
w.e, we ended up doing a text document for each variable, it worked well. We also ended up doing a chat room for the whole class.