@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> is there any easy way to export registry keys to a file such as a .reg file
<0> in visual basic
<0> without using the shell command
<1> Probably only manually.
<0> because i can list subkeys now
<0> using the standard functions
<0> but id like to somehow export that to a file and be able to reimport it
<0> hmm
<0> too bad i only found one code example and it was vb6
<2> Zorix: RegSaveKey/RegRestoreKey
<2> heh, two plus hours later...
<3> Why am i getting a driver issue?
<3> strCN = "Provider=Microsoft.Jet.OLEDB.4.0; " & "Data Source=" & App.Path & "\PManager.mdb" ';Mode=Read|Write"
<3> rdsCN.CursorLocation = adUseClient
<3> rdsCN.Open rdsCN
<3> [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified



<4> dude
<3> but the data source path is valid
<5> I could be wrong
<3> i copied my same setup from my WORKING ADO progeam
<3> program
<5> but I'd swear that's because the data source name is not found or no default driver is specified
<3> uh
<3> the data source is right
<4> strCN = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\PManager.mdb;Mode=Read|Write"
<4> ur an ***
<4> see if that works
<4> you had too much crap in there
<3> k
<3> same error
<4> also make sure the app.path & "\PManager.mdb" exists
<3> i did a debug print
<3> it shows the path
<4> ado?
<4> try this
<3> weird since my other app works fine... unless i cant use ActiveX Data Objects 2.5
<3> and need 2.6?
<4> strCN="driver={MIcrosoft Access Database(*.mdb)};dbq=" & app.path & "\PManager.mdb
<3> okay
<3> yay
<3> found a user error
<3> rdsCN.Open rdsCN
<3> should of been rdsCN.Open strCN
<3> :)
<4> ur an ***
<3> thanks Senz for making me figure out a dumb thing :/
<3> heh
<4> whats with the naming conventions ur using?
<4> terrible
<3> bleh
<4> whats rdsCN ?
<4> a recordset?
<3> a adodb.connection
<4> hahaha
<4> why rds?
<3> rs = recordset
<3> cuz rds is the company i work for
<4> ***
<4> should be that way at all
<4> cnADO = adodb.connection
<4> rsADO = adodb.recordset
<3> bleh fine
<4> nice and simple to understand
<4> cmADO = adodb.command
<4> know what im saying?
<4> nay tze mm tze dohaa
<3> yes
<3> cleaned up
<3> thank you :)
<3> one last question
<3> how do i specify WHAT table im trying to write data to a field to?
<3> like if i have a field called Name, but its in 5 other tables
<6> sup- is the visual basic included with XP/Vista fully functional? all libraries included?
<3> does Vista/XP come with a copy of VB? no
<3> some runtimes usually yes
<3> Senz: http://www.papernapkin.org/pastebin/view/4493
<3> what can i add to that event to make it put the data in the correct table?



<6> so what exactly is MSVB 6 that is bundled with WIndows, "I'm trying to make a button that triggers FTP action" I need libraries and i don't think they are availible
<3> i dunno
<3> i never saw 'vb6' come with windows lol
<3> unless you mean VBA which is with office
<5> he prolly just means the runtime
<3> oh
<5> but either way
<5> it's a retarded question
<3> http://www.a-softtech.com/Free/VBRuntime/SWVB6Runtime.html
<3> Purple- do you do ado at all?
<5> of course
<3> ok
<3> im adding **** to a field
<3> but how do i tell it what table to toss it in?
<5> databases are better with data than with ****
<3> http://www.papernapkin.org/pastebin/view/4493
<3> well yes :P
<6> vba,
<6> I believe that is it, *yes bundled with office
<5> ***uming that your rsado is a good and valid connection, I don't see anything immediately wrong with that
<5> you have it set to break on all errors?
<5> and nothing retarded like on error resume next?
<5> shys: vba <> vb
<5> but yeah, vba is included with all office products
<6> ok- does that mean I cannot really code
<6> simply trying to make a ftp upload button
<6> on a form
<3> Purple- all is fine but i need to tell it where the Name field is no?
<3> or Location
<3> since i have 5 tables with the same fields
<3> ?
<7> ?
<4> dannyboy oh dannyboy
<3> hey :)
<4> whats ur puzzle?
<3> a simple one
<3> i know how to write data to fields and all that
<3> but whjere do i tell it to put the data in a specific table?
<3> like i have 5 tables: Deliver, Pickup, Repair, etc.
<3> each one has 3 fields, Name, Location, Notes
<4> dude
<4> the recordset is set to a specific table
<4> or a part of a table, whether a snapshot, dynaset or whatever
<3> hmm
<3> where would i alter it?
<3> since i need to choose my table
<4> alter what?
<4> dude
<4> reset the recordset to the table you need
<4> open multiple tables with multiple recordsets if needed
<3> reset the recordset... what do you mean?
<3> I'm not up to all the ADO terminology yet
<4> rsADO.Close
<4> then reopen the recordset to the table you want
<3> that just closes it though
<4> its not ado terminology, its english
<3> hmm
<4> common sense
<3> oh i see
<3> so i can do
<3> rsADO.Open "Deliver"
<3> ?
<3> somethingl kike that?
<3> like*
<4> rsADO.Open "Deliver", cnADO, 1, 3
<4> yea
<4> if deliver is a table name
<3> hehe nice :)
<3> yes :)
<4> or
<4> rsADO1.Open "Deliver", cnADO, 1, 3
<4> rsADO2.Open "Receive", cnADO, 1, 3
<4> see what im saying? if you need to work with multiples at the same time
<4> i do it at times


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #visualbasic
or
Go to some related logs:

robbandam
#eggtcl
#nhl
MOTHERBOARD+DUAL CPU
unisock +outdated
I'm too lazy to read the BitchX doc
bonasara
michael defalco
#feckoff
delmaro



Home  |  disclaimer  |  contact  |  submit quotes