Jump to content

NewsBot

Members
  • Posts

    10920
  • Joined

  • Last visited

Everything posted by NewsBot

  1. Hi all, I have a problem to get Two nxt up in a single project file.... What I have done is following the LegoMotorSamle: http://channel9.msdn.com/wiki/default.aspx/Channel9.LEGOMotorSample And I success to control the 3 motor... By following the step... I create a new manifest file which consist of 6 motor and 2 bricks 3 motor connect to the COM40 brick and 3 motor connect to the COM41 brick... Then I extend the partner list like this: *********** ************* motor:MotorA40 *********** *********** ************* motor:MotorB40 *********** *********** ************* motor:MotorC40 *********** *************** *********** *********** *********** ************* motor:MotorA41 *********** *********** ************* motor:MotorB41 *********** *********** ************* motor:MotorC41 *********** In the Project side... I link it up like this : *[Partner(motor.Contract.Identifier + ":MotorA40", *********** Contract = legomotor.Contract.Identifier, *********** Optional = false, *********** CreationPolicy = PartnerCreationPolicy.UsePartnerListEntry)] ******* private motor.MotorOperations _motorA40 = new motor.MotorOperations(); ******* [Partner(motor.Contract.Identifier + ":MotorB40", *********** Contract = legomotor.Contract.Identifier, *********** Optional = false, *********** CreationPolicy = PartnerCreationPolicy.UsePartnerListEntry)] ******* private motor.MotorOperations _motorB40 = new motor.MotorOperations(); ******* [Partner(motor.Contract.Identifier + ":MotorC40", *********** Contract = legomotor.Contract.Identifier, *********** Optional = false, *********** CreationPolicy = PartnerCreationPolicy.UsePartnerListEntry)] ******* private motor.MotorOperations _motorC40 = new motor.MotorOperations(); ******* [Partner(motor.Contract.Identifier + ":MotorA41", ********* Contract = legomotor.Contract.Identifier, ********* Optional = false, ********* CreationPolicy = PartnerCreationPolicy.UsePartnerListEntry)] ******* private motor.MotorOperations _motorA41 = new motor.MotorOperations(); ******* [Partner(motor.Contract.Identifier + ":MotorB41", *********** Contract = legomotor.Contract.Identifier, *********** Optional = false, *********** CreationPolicy = PartnerCreationPolicy.UsePartnerListEntry)] ******* private motor.MotorOperations _motorB41 = new motor.MotorOperations(); ******* [Partner(motor.Contract.Identifier + ":MotorC41", *********** Contract = legomotor.Contract.Identifier, *********** Optional = false, *********** CreationPolicy = PartnerCreationPolicy.UsePartnerListEntry)] ******* private motor.MotorOperations _motorC41 = new motor.MotorOperations(); It is just similar to the sample...* But the problem is, when I try something like: *************************** _motorA40.SetMotorPower(new motor.SetMotorPowerRequest(1.0)); *************************** _motorB41.SetMotorPower(new motor.SetMotorPowerRequest(1.0)); so that COM40's MotorA and COM41's MotorB should be at power 1... But the result is only COM40's Motor A and Motor B will rotate... That is... the _motorB41 still pointing to the COM40's motor..... I have due with this problem quite a few day already.... can someone tell me what wrong is it? Thanks~ More... View All Our Microsoft Related Feeds
  2. <img alt="" height="1" width="1"> Microsoft Cuts off Hotmail Access via Outlook Express PC World - Apr 19, 2008 Released last November, Windows Live Mail is a successor to both Outlook Express and the Windows Mail client that shipped with Windows Vista . ... More... View All Our Microsoft Related Feeds
  3. <img alt="" height="1" width="1"> A new way to monitor your Windows systems' performance InfoWorld, CA - Apr 15, 2008 You can learn more about these real-world trends in the Windows Sentinel blog that Kennedy moderates at InfoWorld. You can learn more about the free widgets ... More... View All Our Microsoft Related Feeds
  4. <img alt="" height="1" width="1"> Their Passion Is Windows XP The Associated Press - Apr 13, 2008 They trumpet its superiority to Windows Vista, Microsoft's latest PC operating system, whose consumer launch last January was greeted with lukewarm reviews. ... More... View All Our Microsoft Related Feeds
  5. <img alt="" height="1" width="1"> The pillars of Defensive Computing CNET Blogs, CA - Apr 20, 2008 Windows users are best served by avoiding Vista, if for no other reason than it will suffer from more hardware and software incompatibilities than XP for ... More... View All Our Microsoft Related Feeds
  6. hi there, i got very complex problem. see my base question is to listen "print" command on windows machine. say for example when i do some printing of doc files in windows environment then that print command may be going to some print service or any of the dll should be listening it. now what i want is i want to gether data i.e. in which format data will be printed on which page size, how much number of copy of page will be printed. ? etc.. etc.. so i think i need to develop one sevice which always ON and listens to the print command from any windows or any third paraty software. so any idea ? thanks for any help on the same in advance. Thanks, Nekin :) More... View All Our Microsoft Related Feeds
  7. ... looks like FF is improving a lot, even IE8 doesn't shows this, and page loading also looks like faster as compared to NN9 and IE8. FF3 is getting neat everyday. :) but, one thing I still don't understand what is the meaning of "Block pop-up windows" in the options/Content tab? even where exception list is empty. Pop-ups still appears :( :s :@ http://img518.imageshack.us/img518/9708/mff3b5qf4.jpg More... View All Our Microsoft Related Feeds
  8. Hello Everyone! The table has a field "JobDate" as datetime datatype. This table has more than 1000 records. There is one stored procedure which takes the date & time as IN paramater and retrievs the data which match the criteria. The problem is... in the GUI the selection on the date is made by 3P datetime control which sets the textbox the date depending on the logged in user's location's date time format and we have some 15 formats... :D. So to make SP understand the format, I can't send the custom format as it is from the GUI into the SP and convert/cast the values inside the SP. No matter which format it is selected, I have to send one common format which SP understands irrespective of the logged-in user's location date/time format. My need is... how I can achieve this? How I can make it one common format inside the logic and get the data properly? More... View All Our Microsoft Related Feeds
  9. http://ms-os.com/ E Canada Now <img alt="" height="1" width="1"> Microsoft Says Windows XP SP3 Is Ready For Release E Canada Now, Canada - 25 minutes ago A new feature called Network Access Protection, coming from Windows Vista, will be added, as well as improved black hole router detection. ... More... View All Our Microsoft Related Feeds
  10. Me and my team just completed our 2D WiiMote and/or Keyboard controlled game. We had 16 weeks, as part of a project management course in the B.IT program at carleton university. The project is available on codeplex As time was severely limited (this was only one component of a large course, which was part of a full course load) we didn't get all the features we wanted into it. The game is written in C# targetting .NET 2.0 and using the DirectX managed library. Please download and give it a shot, and give us*some feedback*if you have a WiiMote and bluetooth you can control one player with it. I am proud of what we accomplished, my team (besides myself) *had never even heard of C# before this term, and i'd never written a game or used DirectX in any capacity. you can also learn about some of our basics here* here is a gameplay video http://channel9.msdn.com/Photos/399354.jpg Download the project More... View All Our Microsoft Related Feeds
  11. AJAX & browser scroll positioning Hi, I have a problem with a current project and the scroll position. I have an AJAX enabled website using Visual Studio 2005 and ASP.Net 2.0. The project also uses masterpages. On the page in question, there is a search section in an AJAX update panel, situated on the left hand side.* Upon submitting criteria and pressing a button, the results are displayed on the right hand side of the page. On the right hand side of the page, there is another AJAX Update Panel.* Within this Ajax Update Panel there are 2 standard asp.net panels.* Only 1 of these two standard asp.net panels is ever displayed at any one time.* The first of the standard panels is used to display the list of results. When a user selects an item from the list of results to view in full detail, the first standard asp.net panel is made Invisible, and second standard asp.net panel is then made visible, which displays the details of the selected item. So, the way the two standard asp.net panels (that are contained with the AJAX update panel) work is like a master-detail relationship between the list of results and the details for a particular, selected item. All of this works fine apart from one aspect. If the user has scrolled down to an item near the bottom of the list of results, when they select the item to view and the second asp.net panel is then displayed, the browser is still in the same position.* This means that the user is then looking half-way down the details, which is obviously not acceptable. Note: when I say “scrolled down” I mean using the browser scroller – no DIV scrollers are used etc. What I want to happen is that when the asp.net panel containing the detail is displayed, the browser position should be positioned so that it is at the top of the page. However, the user can also click a “back to results” link when looking at the details.* If this is clicked, then when the panel containing the results is then displayed again, I need the browser to reposition back to where it was originally (i.e., just before the user clicked to view the details of a particular item in the results list). I’ve looked around in some books and on the web, but the solutions I’ve found there don’t work for this scenario.* Of course, we are mainly dealing here with the implications of AJAX and partial page postbacks (for the Update panel). The site needs to work in IE6, IE7 and (ideally) Firefox. I would appreciate any help on this because a lack of a solution might mean going right back to the drawing board. Many thanks, Darren More... View All Our Microsoft Related Feeds
  12. <img alt="" height="1" width="1"> Vista suit: Appeals court denies Microsoft Seattle Post Intelligencer - 14 hours ago Microsoft's attempt to overturn a key ruling in the "Windows Vista Capable" lawsuit has been denied by the 9th US Circuit Court of Appeals, according to a ... More... View All Our Microsoft Related Feeds
  13. Need a proxy/gateway box*that supports: 1) 100+ users 2) Client users must hit configurable legal page first, that must be accepted before going forward in web.* Must optionally support password on this page to go foward. 3) After "OK", goto a default landing page url. 4) 1U box desired but not required. 5) Must support VPN and the poplular security protocols for outgoing clients. 5) Under $1K desired. Not sure the cheapy routers (linksys, netgear) support this kind of thing.* Any thoughts or recommendations?* tia More... View All Our Microsoft Related Feeds
  14. hey all I have a bit of code that looks like this but for some reason it doesn't look right to me. void context_PreRequestHandlerExecute(...) { *** context.Server.Execute(context.Request.CurrentExecutionFilePath, writer, true); *** MakeChangesToResponse(...); *** context.Response.End(); } any comments? More... View All Our Microsoft Related Feeds
  15. <img alt="" height="1" width="1"> Vista suit: Appeals court denies Microsoft Seattle Post Intelligencer - 11 hours ago Microsoft's attempt to overturn a key ruling in the "Windows Vista Capable" lawsuit has been denied by the 9th US Circuit Court of Appeals, according to a ... More... View All Our Microsoft Related Feeds
  16. <img alt="" height="1" width="1"> Fixing Windows Vista, one machine at a time ZDNet - 1 hour ago In May 2007, this 15-year Windows veteran replaced his old, beloved, XP-powered Vaio with a newer Vaio that came with Windows Vista Business installed. ... More... View All Our Microsoft Related Feeds
  17. <img alt="" height="1" width="1"> Vista suit: Appeals court denies Microsoft Seattle Post Intelligencer - 8 hours ago Microsoft's attempt to overturn a key ruling in the "Windows Vista Capable" lawsuit has been denied by the 9th US Circuit Court of Appeals, according to a ... More... View All Our Microsoft Related Feeds
  18. <img alt="" height="1" width="1"> Vista suit: Appeals court denies Microsoft Seattle Post Intelligencer - 7 hours ago Microsoft's attempt to overturn a key ruling in the "Windows Vista Capable" lawsuit has been denied by the 9th US Circuit Court of Appeals, according to a ... More... View All Our Microsoft Related Feeds
  19. Now I know there used to be a lot of threads with "pictures from Windows 7...and well here are some more. http://www.thinknext.net/archives/2199 It even comes complete with a video. I do not know about you, but I am pretty convinced. #1 it still looks like Vista, as it should, #2 the changes made are subtle make sense and are polished. I could be mislead...but w/e. More... View All Our Microsoft Related Feeds
  20. What's the best free email client for Windows Mobile 6? Also, how would one upgrade to Windows Mobile 6.1? More... View All Our Microsoft Related Feeds
  21. Hello to all, I have a problem that has been puzzling me for quite some time now. It seems I am not able to install a .cab file to the storage card! I am using VS2005 to create a CAB project. At the left you have a View that shows the files to be installed. The root dir is named 'File System on Target Device', which I do not know if this is the cause of my troubles. Upon installation, the installer asks where to place the application, I choose 'Storage Card' but alas, it is installed on the device. Does anyone know what possibly might be wrong? If anyone has a test CAB project that can do the trick can he describe the steps involved? Thank you very much! More... View All Our Microsoft Related Feeds
  22. <img alt="" height="1" width="1"> Vista suit: Appeals court denies Microsoft Seattle Post Intelligencer - 5 hours ago Microsoft's attempt to overturn a key ruling in the "Windows Vista Capable" lawsuit has been denied by the 9th US Circuit Court of Appeals, according to a ... More... View All Our Microsoft Related Feeds
  23. <img alt="" height="1" width="1"> News of Windows collapse over-glazed Finance Week, UK - 7 hours ago Lack of customer enthusiasm for the most recent Windows Vista upgrade fuelled the analysts' conclusions. According to Gartner, corporate IT customers are ... More... View All Our Microsoft Related Feeds
  24. <img alt="" height="1" width="1"> Vista suit: Appeals court denies Microsoft Seattle Post Intelligencer - 4 hours ago Microsoft's attempt to overturn a key ruling in the "Windows Vista Capable" lawsuit has been denied by the 9th US Circuit Court of Appeals, according to a ... More... View All Our Microsoft Related Feeds
  25. I turn polar bears white and I will make you cry. I make guys have to pee and girls comb their hair. I make celebrities look stupid and normal people look like celebrities. I turn pancakes brown and make your champane bubble. If you squeeze me, I'll pop. If you look at me, you'll pop. Can you guess the riddle? 97% of Harvard graduates can not figure this riddle out, but 84% of kindergarten students were able to figure this out in 6 minutes or less. Can you guess the correct answer? Just repost this bulletin with the title "The World's Hardest Riddle", and then check your inbox. You'll get a message with the correct answer in it. Good luck! More... View All Our Microsoft Related Feeds
×
×
  • Create New...