| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> later freaks <1> ok then so someone told me before that making my calendar app run a sound wasnt the right way to do it <1> using the at command for windows scheduler <1> and the shell command to run the app <2> "run a sound"? <2> Play one? <1> yep <2> Sound meaning WAV? <1> i dunno havent chosen the wav/ mp3 yegt <1> yet <1> doent matter as long as its clear <2> Call PlaySound API, if it's a WAV <2> And it does matter <1> ah, so what if its an mp3? <2> Then you'd need mciSendString <1> ooo
<2> PCM wav is a better choice, usually <1> pcm wav? <1> whats pcm ? <2> Default Coded <1> oh right <2> Codec <1> so from vb,net in vs 2005 <2> They've got the API wrapped <1> k <1> i got it open in my other window <1> i need and references on top of whats standard? <2> no <2> brb, phone <1> k <2> System.Media <1> so wots the syntax to run a wav and wot to run a mp3? <2> Look it up <1> k <1> theyre both under system.media? <3> http://www.pastebin.ca/318118 i should be able to just GetWindowText(hwnd, lpstring, 255) right? <3> because im returning error <4> as long as you initialize your string with a buffer like lpstring = String$(vbNullChar) <4> I mean String$(vbNullChar, 255) <4> if I remember correctly <4> I haven't done vb in quite a while :P <4> actually cch should be a long, not an integer <4> I'm ***uming vb 6 here :D <5> anyone here know vba? <5> hey tic <6> so visualbasic huh? is this just a room full of aol "proggie" developers? <6> i remember the good ol' days <5> I'm here for vba, but probably <5> hah <7> aol still exists? <7> dreamache ur about to get punted <6> lolxzx;;;s;x <5> anyone here know the paramater, in VBA, to hide what is going on while the macro is running? <2> #VBA <5> yeah <5> no one was there <5> got a hold of someone now though <5> thanks <3> AAA- .net i was going to use getprocesses but its not returning all of my processes <3> or am i missing something? <8> hello, id like to insert the amount of free magebytes (on drive G:) in the e-mail textbody.. how do i do that? :) <1> how dpo i run an mp3 at a given time pls people? <1> i know the system.media syntax, but that only seems to play wavs <1> and i want to make it happen at a given time <1> ok i have solved the mp3/wav problem, using a wmp control..... still working on the time problem tho..... how do you make something run at a given time, even waking PC from hibernation where necessary? <1> summat to do with wake events i think <1> but how u get ure program to run from a wake event? <1> but how u get ure program to run from a wake event..... or even get ure program to DETECT wake events and run a subroutine? <1> (given the program should still be running when PC awakes from hibernation) <1> :p <9> gm <8> anyone alive? <1> me <1> best way to make something happen at a pecific time? <8> can u give me a script that lists drives, sizes and free space? <8> i **** at vbs.. can't find any script ;( <10> look up "fso" or "file scripting object"
<8> ok, ill google, thx <10> steve: example? <8> undath: can't find ****.. ;) <10> check out http://msdn2.microsoft.com/en-us/library/ms630283.aspx <10> http://www.aivosto.com/visdev/fso.html <10> so what youre looking for is something along the lines of "for each drive in fso.Drives || debug.print drive.DriveLetter & " (" & drive.FileSystem & "): " & drive.FreeSpace & " / " & drive.TotalSize <10> Next <10> or something <11> why use fso <12> because ms says its faster than anything native vb6 has to offer ;p <11> bull**** <11> ms don't say that <12> its on a KB <12> google it <11> bah <11> who cares anyway <11> System.IO <11> vb6 is obsolete <11> so are you gonna buy atalasoft? <12> maybe, trying to get the jpeg document size down <12> i dunno if its the engine they use to make the jpegs or what, but 1 grayscale document is 350k, thats too big <12> should be around 100k or under <10> fso because he's doing vbs <12> so im trying to figure out how to lower it <11> then why is he asking here <12> I might give them a call today or post on their forums <11> this ain't #vbs <12> reboot do you have your scanner still hooked up? <12> I'm curious to see how small of a jpeg you can make <10> seemed like a fair enough question =) <11> I don't have a scanner here <12> pbrush even makes a smaller jpeg with the same dpi and paper <12> its gotta be the way the jpeg is being saved, something im not setting correctly <13> hm, hi. i was here yesterday enquiring about sendkeys() and so forth. i want to send keystrokes to an application <13> but sendkeys() wont cut it because i believe it only sends full keystrokes - i need to simulate a key being held down. am i reading sendkeys() wrong or is that truth? <14> yes, that is how it works <13> ok <13> well then is there an alternative that would let me simulate pressing a key down as a seperate event to releasing the key? <14> simulate a key being held down.. interesting.. is the key a ctrl key or a letter/number key? <13> niether <13> up/down/left/right <14> wondering if the program actually notes the repeating key and treats it as a held down key then <15> Trying to h4x0r a game, eh? <13> nope <13> i have a custom microcontroller project that sends data over rs232 and i wish to use it as an input device for some software. <16> you should be using SendInput <16> sendkeys is vb voodoo crap <16> whether SendInput can do it, I don't know <13> what about keybd_event? <13> "The keybd_event function synthesizes a keystroke. The system can use such a synthesized keystroke to generate a WM_KEYUP or WM_KEYDOWN message. The keyboard driver's interrupt handler calls the keybd_event function. <14> sendmessage with a WM_KEYDOWN is how I did it years ago I think.. it's been a really long time <14> with sendmessage you can simulate just about anything <16> even ***! <14> ahhh... yea.. sure.. :-) <13> hm <13> i wish i could find a sample/source app using sendmessage with keyboard stuff in it so i could see how it's done. i'll keep googling. thanks <14> I'll google too.. see if I can find one <14> http://groups.google.com/group/microsoft.public.dotnet.general/browse_thread/thread/664b11153922dee7/33cb0ca5a1f22757%2333cb0ca5a1f22757 <14> short and simple <14> it also touches on an important topic and that is using spy++ to sample messages so that you know what to send to simulate the same actions <13> hm <13> that little block of code shows up totally red in vb <13> he has a cl***/api caller thingy which he doesn't list there <14> note the author said: I have a set of cl***es that make it easy to call the Win32 API and <14> that is what I am using in this code. If you're interested in those <14> cl***es, I can send them. <14> <14> <13> yeah <13> hm i wonder what keyboard spec is. <13> i might even just be able to make it into an actual 'keyboard' <14> never called a win32 call from vb.net, but did it in vb6 and lots in C. Still looking for some sample code fo rya <13> well
Return to
#visualbasic or Go to some related
logs:
#nhl #politics #windowsxp #beginner #worldcup #beginner #computers #sql #unixhelp #nhl
|
|