| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> Possibly, and we need to identify when that is the appropriate step. <1> considering how much hours you spent <0> Well, most of the time was spent waiting. Probably actually spent about 3 hours. <1> and it probably costed you guys what $300 an hour or more for you to devote all your time to that? <1> i mean, its not like you didnt have anything else to work on <0> I know. <1> we recently paid some lady to come out here from LA $1k per day to help with some software in accounting <1> some sort of tax software made in vb4 i think <1> has the old win 3.1 style buttons <1> ugly interface, i think it used .dbx files <1> 1k per day... i was thinking im in the wrong business <2> How do I determine if my program has focus? <3> ask it <3> but nicely <2> That was a nice question.
<3> no, ask you program if it has the focue <2> I have tried using Screen.Activeform.name, but that seems to work only with MDI stuff. Right now it always returns Form1 <3> maybe this whole programming thing was a mistake? <2> I highly doubt it <3> it's pretty obvious <3> how were you planning to help other people in your channel when you can't even help yourself <2> You see, I have been searching google all over. It just happens that I am not getting any good results as "focus" is a common word. <3> so not only your programming skills are suspect, so are your google skills <2> what would you search for? "on top" ? "has focus" ? <1> dis is da way i live, lil boy STILL pushin big wheels <3> I wouldn't <2> reboot, can you find how to do it? <3> I've never had any reason to care <3> why would you need to know <4> sebsz, a form is nothing more than a cl*** right? <2> alright <4> that inherits from ? <3> be sure to phrase your answer in the form of a question <2> System.Windows.Forms.Form <2> except this is VB6 <4> ah <3> it's still a cl*** <3> just a braindead cl*** <2> would you know undath? <3> yes, I know him <3> but not very well <2> same here <2> I think he wants to be my friend <3> you're gay also? <2> nope, sorry <3> oh <4> sebsz, i havent touched vb6 in like 5 years =) taking a peek <2> friends don't have to be gay. <2> alright undath, thanks, no problem <5> so waht,like "you're not gay if you do it with the lights off"? <4> hahaha <3> do you want to knwo if it's active in your app, or system wide? <2> I think you are gay even if you do it with the lights off <2> reboot, system wide <5> damn :( <3> why? <3> chuckie; does this mean we can start leaving the lights on? <2> because my program is capturing a keypress, and then performing an action. Unfortunately, for this action to work, the program needs to have focus (it uses directx, that's why). Now I want to be able to press the hotkey, it checks if it has focus, if not it sets focus but waits. If it has focus, it does the action. <5> yes!! <2> hmm I have another solution <2> I can simply mute the sound <5> you always know how to look at the bright side! <2> I'll do that, fantastic, thanks for your help <3> dumb*** <3> RegisterHotKey api <2> dumb***? <3> I didn't stutter <4> sebsz you bastard <4> http://download.microsoft.com/download/C/3/8/C3888A3E-52F8-4FE9-8E41-89150AB0302F/APICalls.zip.exe <4> so, trying to find vb6 crap these days, ****s <6> VB.NET 2.0: Got a DataGridView bound to BindingSource bound to DataTable. I'm using dt.newRow and dt.add to insert new rows to the datatable, but getting a NullReference Exception when I call DataTable.Rows.Add(someNewRow). In the immediate window I check "DataTable is nothing" and "someNewRow is nothing". Both are false. Why would I get a NullReferenceException? Code here: http://pastebin.ca/321896 <4> error thrown on 24? <6> yes <7> Does anyone know where I can get any info about DX10? I'm wondering if it's going to be Vista-only or if they'll also make it available for XP. The DirectX news page was last updated in 2003. :-P <6> undath: Perhaps I'm oversimplifying things, but NullReferenceException is literally an uninitialized object right? In this case, either the table, or the row.
<6> cubert: I expect MSDN has full reference already. No? <4> yes <5> yes it's something <5> ininstantiated usually <4> and if the table, and the row exist, check the values youre adding perhaps <6> "The DirectX December 2006 SDK contains the first official release of Direct3D 10, the latest graphics platform from Microsoft. Developers can now publish and distribute Direct3D 10 applications and games that leverage all of the software and hardware features of Direct3D 10 in Windows Vista." <4> does it work when you always add a -(n+1) ? <7> ah thanks, hadn't gotten there yet <7> so it looks like it's Vista only <7> crap <5> yeah I'd check the row in quickwatch and see if anything,like one of the columns, is null <6> cubert: http://msdn.microsoft.com/directx/sdk/ <6> quickwatch is the popup/drowndown info I get when I put the mouse over the object reference in code right? <5> no you can right click on the variable and select quickwatch <5> although it's essentially the same info <5> easier to look through though <5> imho <6> undath: I'm not sure what you meant refering to -(n+1). Would you explain more? <6> chuckie: k <6> Yes, much easier to navigate :) <5> nod <7> hmm... if you can install the SDK on XP, does that mean DX10 is supported on XP? They don't make it very clear. <6> cubert: The SDK is for devloping software. I don't think that immediatly implies you could run it (just compile), but then again I've never heard of such a situation so I would have to wonder. Given that Vista requires new Video Drivers, I wouldn't think DX10 is going to work on XP, since DX talks to the video drivers. <5> if you scrioll down that page it says Starting with the December 2006 SDK, DirectX no longer supports the targeting of applications for Windows 95, Windows 98, Windows 98 SE, or Windows ME. <7> chuckie^: yeah, I saw that <5> I'm sure if other OS's were unsupported it would mention them no? <7> well... it *is* MS... and I've been bitten by that ***umption before <5> http://www.microsoft.com/downloads/details.aspx?FamilyId=05DA7623-F2F9-4F57-91AA-6DB27FB8305F&displaylang=en <5> on that page it clearly states that xp is supported *shrug* <7> yeah, for the SDK... but does that mean it will also run the resulting applications? :) <7> screw it, I'll install the SDK on XP and see what happens <6> cubert: You don't mean your development workstation right? <6> :) <7> yeah <6> cubert: VMWare is free now. Do yourself a favor and go create a dummy install, make a copy, and test there. DX is no fun when it goes wrong. <7> I need to rebuild it anyway, so I might as well trash it <7> I have VMWare, thankyouverymuch. <6> Better still, rebuild, use Acronis TrueImage Universal Restore to restore you WS to a virtual machine, keep a safe copy of that clean install :) You will find this VERY useful. <6> IMHO <7> thanks for the suggestion <3> I think that means, I don't need help from a sped <3> in case you need a translation <3> cuuuuuuuuberrrrrrrrrrrrrrt <6> reboot: Always nice to hear from you :) <3> I had a feeling you were missing me <6> chuckie^: The plot thickens. I put a trace.writeline before my .rows.add() and a break on the .rows.add() to watch each as it's added. If I do this through ALL the rows, I get now exception. It's like the problem doesn't occur when I slow things down. That make any sense? <6> reboot: It has been quite. Not the party i'm used to when you're around. <6> quiet <5> Sabba: wow <5> no it doesn't make sense to me <5> and w/o the stepping it happens every time? <6> Now it's not. Time to step away. I've got to be missing something. Behavior like this always makes me wonder if I've found a bug and it always turns out that I've lost perspective and missed something. Walk away, take a break, come back, and it will reveal itself. <6> :) <5> ok well then what about where you're getting hte data from? <3> he went to wank <5> if you're not changing the code that would be the one obvious potential "variable" in the mix <5> heh <5> good idea <5> maybe I'll join him <3> hell.. it IS a good idea isn't it <5> yah mon <3> maybe I'll join both of you <5> circle jerk!! <3> ! <5> you need at least 3 to call it a circle <3> you can call it anything you like, just so long as I'm jerking <5> *quiver* <3> heh <5> wow Sabba must have some real staying power <5> I could've wanked 3 tiems already <5> facial!!
Return to
#visualbasic or Go to some related
logs:
#microsoft #computers #freebsd #goal #politics seatools metadata hisminal spydgirl ufo card trick #visualbasic
|
|