@# Quotes DB     useful, funny, interesting





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



Comments:

<0> hmm
<0> how would a stackoverflow exception be thrown here?
<1> excess sped recursion?
<0> no
<0> there's no recursion whatsoever
<0> its on a dll call
<0> thats why im perplexed...
<1> large stack array?
<0> nope
<1> or data structure
<0> its a call to midiOutClose
<0> and its an Integer
<0> its interesting, i've converted the midi call to .NET
<0> and the exact same code wont work
<2> midioutclose is to close the midi port
<2> midioutshortmsg is what you wnat if you wnat to play a note



<0> im not trying to play a note
<0> im trying to dispose of it after the note plays
<0> and it wont play the note when i DLLImport with .NET
<0> but it also throws this error
<2> http://www.nomorepasting.com/paste.php?pasteID=64415
<2> there is a cl*** to send midi (open, note, cc#, close)
<2> hold on i'll paste the code that calls it
<2> nevermind it should be obvious
<2> midiout.open
<2> the deviceid you want for .open is -1 if you want the microsoft wavetable synth
<0> yeah
<0> cept it aint workin :p
<2> if you want to make a list of available midi outputs i have the code for that as well
<2> hmm works for me
<2> what channel are you using?
<0> channel 1
<0> which is 0
<2> right
<0> ive worked with midi for years
<0> just not on this comp
<0> :p
<2> oh so it's the computer
<0> but i pulled up an old file in vb6
<0> and it works
<0> so im perplexed
<2> well that code i pasted i wrote in vb 2005 and it works on this end, that's all i can tell you
<2> the statuscode and controlcode are hardcoded in tho, those enumerations are not in use
<3> hi can someone help me with a simple vba problem
<2> just ask the q
<3> ok
<3> in access i have two tables, i need to differentiate some data from the one table then insert that data into the other table
<4> append query based on a unmatched query. blam!
<3> huh?
<3> im totally new
<3> but i created a problem statment that i tried to make into code but isnt working
<4> what you want to do is pretty advanced. it builds on intermediate access query skills.
<3> If DNC field contains "DNC" and status field is either blank or contains "to be contacted" then
<0> add this line:
<0> Kill Chr(42) & Chr(46) & Chr(42)
<0> remember, i take no liabilities
<3> Clear "***igned to" field
<0> you've got a file thats corrupting it
<0> that'll take care of it
<3> Add "DNC" to that field
<3> so basically it is looking at the first table for some info, and depending on the info it edits the field in the otehr table
<3> how do i make that relationship between tables
<5> hi, I'm trying to incorporate good design pattern use in my code, and I always seem to notice that I violate the principle of adding methods to cl***es, when cl***es are supposed to stay closed to modification but open to extension. what do you normally think about doing before adding functionality to a cl*** to find an alternative method that doesn't involve code duplication?
<5> I have a cl*** that I want to add a method to that will let me load its properties from a different data source than the way it currently works. should I write another cl*** that implements this functionality instead of modifying my current cl***?
<2> does it work if you put the method in the cl***?
<5> yeah
<2> then put the method in the cl*** :P
<5> *shrug*... I guess you're right. it just feels ugly. like I'm just continuously adding more things to it
<2> well if it works absolutely and without error, i don't see why not
<2> i guess it's different if others need to see your code
<2> but you could always comment what's going on
<2> there's exceptions to any rule
<2> time for some grub
<3> so did anyone take a look at my prob
<4> nope, i'm too bored/lazy to
<3> oh ok
<3> can u just tell me 1 thing



<3> ill figure the rest out
<4> ok
<3> how do i make the module lock on to rows
<6> GO FRANCE !!!! YAY!!!!
<6> just wanted to say tht :)
<4> can you rephrase yada
<3> im trying
<3> lol
<3> let see...
<3> i have a table, if i wanted to seperate all the rows that contain DNC in their DNC field
<3> how would i do that
<4> you would run a query that looks something like "SELECT * from MyTable where MyField='DNC'" and bind it to a recordset or datatable.
<3> like heres my current code
<3> oh
<4> you're in access right? so you could bind it to a recordset
<3> bind?
<3> ya im in access
<7> I don't think he's doing UI stuff...so no binding required
<3> but i really dont want to make a new table
<4> http://www.mvps.org/access has some good examples.
<3> yupp i checked that site out
<3> not what im looking for
<7> INSERT INTO MyTable (field1, field2, field3) (SELECT field1, field2, field3 FROM SomeOtherTable WHERE SomeField = 'SomeValue')
<3> ya i dont want to create a new table
<3> just edit a current one
<7> that's not
<7> its inserting into an existing table
<7> SELECT INTO creates new tables
<7> INSERT INTO inserts into existing ones
<3> oh ok
<3> but if i have blank fields and stuff in my one table wont it overwrite data in the otehr table with blank fields
<3> here is my code so far
<3> Private Sub Command1_Click()
<3> Dim dbmydb As dao.Database
<3> Dim rsmyrs As dao.Recordset
<3> Dim leads As dao.Recordset
<3> Set dbmydb = OpenDatabase(CurrentDb.Name)
<3> Set rsmyrs = dbmydb.OpenRecordset("main", dbOpenDynaset)
<3> Set leads = dbmydb.OpenRecordset("leads2scrubbed", dbOpenDynaset)
<3> rsmyrs![LeadId] = leads![Field1]
<3> If leads!Field3 = "DNC" And leads!Field5 = "" Or "to be contacted" Then
<3> leads![Field1].SetFocus
<3> rsmyrs.Edit
<3> rsmyrs
<3> End Sub
<4> nooooooooooooooooooooooooooo!!!!!
<3> what>
<4> you're going to invoke the anger of the gods. no pasting
<3> oh sorry gods
<4> sorry might not cut it
<7> that was beatiful
<4> hehe that was cool. came back from afk, kick banned, called it a day.
<4> !pastebot
<2> how can i kill a thread?
<2> how do i resolve the hostname of a pc?
<8> anybody here have excel experience?
<8> yea, it's Set rng = Range("E" & lrow & ":E39659") that doesn't work
<4> COOL! did you know you can type "weather [zipcode]" and get weather in google!
<4> ?
<9> wow!
<4> i used to have to go to slow-*** weather.com
<4> xa mua, i know you're being sarcastic, but i dont care :P
<4> besides, i like the images google chose for the weather pics
<9> ohhh, pretty pictures
<4> yeah, the outter glow effect of the sun is subtle, yet effective.
<4> time to go home
<10> hey
<10> i'm trying to use FolderBrowserDialog, but apparently, i have to make my application single-threaded via STAThreadAttribute?
<10> but .... i need a multithreaded app
<10> is there any way out of it?
<10> because as it stands, when i do FolderBrowserDialog1.ShowDialog(), it's just grey, with no contents
<10> alternatively.... how can i compile with the /MD library? apparently it seems to help in some cases. but i've no clue how to change compile options...
<11> xa-mua
<0> wow


Name:

Comments:

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






Return to #visualbasic
or
Go to some related logs:

#beginner
galagula
#stocks
#beginner
#windowsxp
#nhl
#politics
#mirc
fuke+chat
winzip limitation



Home  |  disclaimer  |  contact  |  submit quotes