topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday June 27, 2025, 7:28 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 343 344 345 346 347 [348] 349 350 351 352 353 ... 403next
8676
General Software Discussion / Re: Simple Commandline to send Keystrokes
« Last post by wraith808 on January 24, 2011, 09:29 PM »
Ath, I think we're not upx'ing them anymore because they're more likely to show up AV-positive if they are, so you might want to re-upload non-upx'd version.

See notification here.
8677
Okay, scratch that last part, apparently I'm F'ing retarded ... I missed the use GUID for your NIC part.

GUID is in HKLM\SOFTWARE\Microsoft\CurrentVersion\NetworkCards\

Under that is numbered Keys containing the entry ServiceName; its value is the GUID needed.

Let me see what I can do...

Thanks for picking that up SJ... I would, if I wasn't swamped with 2 projects, because it looks interesting! :)
8678
Living Room / Re: Do universities have a claim on students' IP?
« Last post by wraith808 on January 24, 2011, 09:22 PM »
Wraith, you are of course correct when talking about 1st and 2nd level education.

But 3rd level, university education was always held in a different light. And given the attitudes I see from students, any change to how university's operate, to bring them more in line with the earlier levels, would destroy the educational standards and make degrees worthless as a means for employers to judge merit.

Indeed that has already begun to happen. Many employers now only see postgraduate research qualifications as some which distinguishes an applicant.

I don't know if I completely understand 1st/2nd/3rd... do you mean undergraduate, master's, doctorate level?  Or is it something else (for the international education level ignorant :))
8679
N.A.N.Y. 2011 / Re: Major feature instead of new up for NANY?
« Last post by wraith808 on January 24, 2011, 09:20 PM »
Would it really change any of the end-of-the-year NANY stuff?  People would still participate in the final push for NANY apps, etc.

I think it would.  I think that NANY should be left alone, and maybe something else created- DoCo's anniversary seems like a good one, IMO.
8680
Yeah  ;D that doesn't help.  Thanks, though!  I wish I were a programmer...

Not for you. LOL.  For someone that wants to program it for you. :)
8681
Living Room / Re: Do universities have a claim on students' IP?
« Last post by wraith808 on January 24, 2011, 06:04 PM »
If not, and the professor had no obligation to the student other than to present the coursework in the best manner that he thought, then there would be no student evaluations at the end of the semester/quarter, etc., and that evaluation would have no effect on professors (well, non-tenured, anyway).  And if so, then those opinions would have more weight than they do... even with tenured professors.

Well carrying out an evaluation would probably be considered part of the courses content. And of course the final exam to obtain the qualification is a matter between the student and the university, though the professor would likely be obligated to provide the exam, and correct them.

But should a professor be fired if all his class fail? Not at all. The college should probably investigate to ensure the professor did indeed teach the material, But if the students didn't learn it then tough on them.

Being a teacher is more than giving rote quotations of subject matter.  Teaching is a skill, and not all have it.  Should student failure be blamed on the teacher?  If the student was 'taught' then no.  But it is very much the teacher's case if the teacher does not teach.  My wife had a class recently, and the teacher taught her very little; in fact, she was late in everything, from class to grading.  My wife succeeded only because of what she learned outside of the class, spurred by her want of knowledge and her need to do well.  Was this success a product of the teacher's teaching techniques?  I think the obvious answer is no.  If she had failed using the teacher's teaching material, whose fault would it have been?  I would say the teacher's.
8682
Living Room / Re: Do universities have a claim on students' IP?
« Last post by wraith808 on January 24, 2011, 05:31 PM »
...they are paying for the privilege...

In the same way that customers pay for the privilege to use products/services from businesses... Like Apple... Or Sony...

We're never going to agree on this one.

I think it's somewhere in the middle.  If not, and the professor had no obligation to the student other than to present the coursework in the best manner that he thought, then there would be no student evaluations at the end of the semester/quarter, etc., and that evaluation would have no effect on professors (well, non-tenured, anyway).  And if so, then those opinions would have more weight than they do... even with tenured professors.
8683
Not sure if this helps...

Spoiler
from http://bit.ly/f7xeF0 (very long link to a google groups topic)
Stephan, et al,

The attached sample code uses the Shell APIs and will pop up the network
adapter Wireless Networks properties or Wireless Connections diaplog
depending on the value of ci.lpVerb (szShowWirelessProperties
"wzcproperties" or szShowWirelessConnect 0x0018), see code fragment below.  
These values may change at any time and this sample is provided "as is".  
ConnectionGUID will have to be changed to the GUID for your adapter.  This
is the same GUID as the NetCfgInstanceId for the adapter.

Bryan S. Burgin
[email protected]

This posting is provided "AS IS" with no warranties, and confers no rights.

Code: C++ [Select]
  1. // ShellExecuteSample.cpp : Defines the entry point for the console
  2. application.
  3. //
  4.  
  5. #include "stdafx.h"
  6. #include <windows.h>
  7. #include <tchar.h>
  8. #include <shellapi.h>
  9. #include <iostream.h>
  10. #include <objbase.h>
  11. #include <shlobj.h>
  12. #include <wtypes.h>
  13.  
  14. // {7007ACC7-3202-11D1-AAD2-00805FC1270E}
  15. const GUID CLSID_NetworkConnections = { 0x7007ACC7, 0x3202, 0x11D1, { 0xAA,
  16. 0xD2, 0x00, 0x80, 0x5F, 0xC1, 0x27, 0x0E } };
  17.  
  18. // Change this connection GUID to the GUID of the Wireless Network Device.
  19. LPWSTR ConnectionGUID = L"::{C07F7206-6DF1-4537-9890-D71C981BF952}";
  20.  
  21. // The '18' below may appear like a magic number, but it's really not. If
  22. you were to
  23. // call IContextMenu->QueryContextMenu, and look for the Cmd ID of 'Show
  24. Available Wireless Networks'
  25. // you'll see it to be 18. The value is constant.
  26. LPCSTR szShowWirelessConnect    = (LPCSTR)0x0018;
  27. LPCSTR szShowWirelessProperties = "wzcproperties";
  28.  
  29. int main(int argc, char* argv[])
  30. {
  31.     CoInitialize(NULL);
  32.  
  33.     IShellFolder *pShellFolder;
  34.     HRESULT hr = CoCreateInstance(CLSID_NetworkConnections, NULL,
  35. CLSCTX_INPROC_SERVER,
  36.                                   IID_IShellFolder, reinterpret_cast<LPVOID
  37. *>(&pShellFolder) );
  38.  
  39.     if (SUCCEEDED(hr))
  40.     {
  41.         LPITEMIDLIST pidl;
  42.         hr = pShellFolder->ParseDisplayName(NULL, NULL, ConnectionGUID,
  43. NULL, &pidl, NULL);
  44.         if (SUCCEEDED(hr))
  45.         {
  46.             LPCITEMIDLIST apidl[] = { pidl };
  47.             IContextMenu* pContextMenu;
  48.             hr = pShellFolder->GetUIObjectOf(NULL, 1, apidl,
  49. IID_IContextMenu, NULL, reinterpret_cast<LPVOID *>(&pContextMenu));
  50.             if (SUCCEEDED(hr))
  51.             {
  52.                 CMINVOKECOMMANDINFO ci;
  53.                 ZeroMemory(&ci, sizeof(CMINVOKECOMMANDINFO));
  54.  
  55.                 // Change this line to show either szShowWirelessProperties
  56. or szShowWirelessConnect
  57.                 // ci.lpVerb = szShowWirelessProperties;
  58.                 ci.lpVerb = szShowWirelessConnect;
  59.  
  60.                 hr = pContextMenu->InvokeCommand(&ci);
  61.                 if (SUCCEEDED(hr))
  62.                 {
  63.                     cout << "Done - spinning message loop\n";
  64.  
  65.                     // Spin a windows message loop in order to give the
  66. dialog chance to process commands.
  67.                     // Of course to do it here is totally wrong - this
  68. should be as part of a parent window's windowproc
  69.                    // otherwise this app will never terminate. However,
  70. this is just for illustration.
  71.                    BOOL bRet;
  72.                    MSG msg;
  73.                    while( (bRet = GetMessage( &msg, NULL, 0, 0 )) != 0)
  74.                    {
  75.                        if (bRet == -1)
  76.                        {
  77.                            // handle the error and possibly exit
  78.                        }
  79.                        else
  80.                        {
  81.                            TranslateMessage(&msg);
  82.                            DispatchMessage(&msg);
  83.                        }
  84.                    }
  85.                }
  86.                pContextMenu->Release();
  87.            }
  88.        }
  89.        pShellFolder->Release();
  90.  
  91.        // Free the PIDL using the shell's allocator
  92.         IMalloc* pShellMalloc;
  93.         hr = SHGetMalloc(&pShellMalloc);
  94.         if (SUCCEEDED(hr))
  95.         {
  96.             pShellMalloc->Free(pidl);
  97.         }
  98.     }
  99.  
  100.     if (FAILED(hr))
  101.     {
  102.         cout << "Could not open wireless dialog due to error " << hr;
  103.     }
  104.     else
  105.     {
  106.         cout << "Success";
  107.     }
  108.     CoUninitialize();
  109.  
  110.         return 0;


Note: there were some hard breaks in the C&P, so the highlighting is wrong in places :(

8684
Living Room / Re: Do universities have a claim on students' IP?
« Last post by wraith808 on January 24, 2011, 05:09 PM »


Reminds me of Real Genius...
8685
Living Room / Re: why is it so difficult to pick out a new computer?
« Last post by wraith808 on January 24, 2011, 11:05 AM »
^ Watch that markup trap, though.   If at a later time he gets more tech-savvy, and sees the difference, he might not understand the value of the mark-up, and it might degrade the relationship.

... ask me how I know  :-\ ...
8686
Living Room / Re: why is it so difficult to pick out a new computer?
« Last post by wraith808 on January 24, 2011, 09:59 AM »
@techidave - I used to do this for clients, and got out of it, because the price of standard PCs is now quite a bit less.  I've even contemplated not building my family's computers other than mine, because unless you're concerned with performance, it's just not worth it.  There's also the added bit of getting support with your computer- helpful when I'm supplying my mom, since she can go to them first :)
8687
N.A.N.Y. 2011 / Re: NANY 2011 Release: NetLaunch
« Last post by wraith808 on January 22, 2011, 03:11 PM »
^ You might want to edit those to take out your computer name... I usually do when I post things on a board.
8688
N.A.N.Y. 2011 / Re: Itching to code apps
« Last post by wraith808 on January 22, 2011, 12:43 PM »
Maybe not even make it specific to NANY, but to borrow your term, make it an 'Idea Bank'.
8689
Developer's Corner / Re: C# GDI+ Problem with byte[] and Bitmap - Memory Issues
« Last post by wraith808 on January 21, 2011, 10:50 AM »
Random and not very (but still somewhat) relevant: don't use .NET if you are developing an application with XP as a supported OS. You'll regret it and regret it and regret it even more.

There's so many bugs in the .NET implementation for XP (or whatever system components it uses) that you spend crappy oodles of time figuring out why the hell you get random-as-hell crashes with totally useless stacktraces and shit.

I bet that at some point, Vista and the likes will head into the same general direction after W8 comes out. :(

I haven't had that experience... my primary job is developing in .NET for XP... unless you mean .NET4/WPF... I'm doing WinForms for all of my projects (currently developing custom MVVM architecture for WinForms using parts of Prism/Unity)
8690
Developer's Corner / Re: GarageGames: $99 Game Engines (with Source!)
« Last post by wraith808 on January 21, 2011, 07:16 AM »
I might get it in any case... especially given the blurb on the bottom of the page, and the fact that they're re-evaluating direction, which might mean good things, and the fact that they didn't use the same language as they did with iTorque3D...  especially as they give the source!

torquex.png
8691
Same here! :)
8692
Developer's Corner / Re: GarageGames: $99 Game Engines (with Source!)
« Last post by wraith808 on January 20, 2011, 10:46 PM »
You got a reply... something about building your own script bridge, whatever that is.  And you're not the only one on the fence...
8693
Developer's Corner / Re: GarageGames: $99 Game Engines (with Source!)
« Last post by wraith808 on January 20, 2011, 08:54 PM »
Wow. Very interesting. And dirt cheap! I'm very tempted just to buy a license to play with~! :P

All the money I make from the gaming industry is from other people's games. Never done any game stuff for myself before.

I'm thinking about it too :)  If I didn't already have a hobby project, I probably would now... but I'll wait until I have time to play with it.  But it's very interesting- especially looking at the games made with it.  Thanks!  :Thmbsup:

It should be noted that the $99 price point is only temporary, but how long the "sale" lasts and what the price will be afterward are still unknown.

@Everyone, the "limited time" language is sort of up to you. We want to see how the community reacts to such a low price. We would like it to stay around for a while since we think that the price ( or some number near it) is really beneficial for our community. We're in this together ;)

Thanks for posting this clarification.  So now I *really* have to think about it.
8694
Did she try to go to the site to check?  That would be the most straightforward way of finding out... they keep track of your purchases.
8695
I'd do it, as long as the hard drive is quite large, and the hardware is better than my PC.

Then I'd make the mac partition as small as possible, install bootcamp, then install Windows, and make the OSX into OSX'd.  ;D
8696
I went to the site, and it shows that the order is pending.  It did say that the codes would take two days to process when ordering, so I wasn't really expecting anything until tomorrow.
8697
I think the term used is incorrect- easy is a function of the user, IMO.  Accessibility is where good UI's shine.  It's more accessible to look at a glyph and click a key.  Easier is a matter of the person.  If I can remember key combinations easily, and remember tags easily, then why would it be easier to click a button?  But if I can't, then I can see why that would be easier.
8698
Living Room / Re: XBox racing; mad at Microsoft
« Last post by wraith808 on January 20, 2011, 10:16 AM »
My faves are Blur, Split/Second, Forza, NFS, Dirt2, Midnight Club, Burnout Paradise, and Grid :)
8699
Living Room / Re: XBox racing; mad at Microsoft
« Last post by wraith808 on January 19, 2011, 11:06 PM »
Guess it depends on what kind of racing games you like... :)

I like good ones :P

Then you want an xbox :P
8700
You can have your buttons, just don't take away my syntax!  It's easier for me to keep typing inline rather than have to highlight a phrase and click a button.
I don't think that's a true statement.  You are more COMFORTABLE typing inline, or you PREFER to type like that.  But it's not easier by any means for you, him, or any other person.  There's no argument you can make to convince me that it's easier to type a word with brackets or whatever vs. clicking a single button.

At the risk of sounding rude, I've heard from programmers that they use all this text editing stuff because it's easier for them.  This is not true.  you can't say that because the alternative (buttons) doesn't even exist!  You can't say one way is easier or better when the other way is not even available!  So, in my opinion, the programmers sort of lie to themselves by saying it's better this way, but it's not.  What they are really saying is that it's not worth the trouble to create a button, which is true in a lot of ways.  It is easier to write code (if you know it) than it is to create a button, which is essentially writing a LOT of code and going through the whole troubleshooting of it, etc.  So yes, text-editing is easier compared to writing the code for a button.

But text-editing is definitely NOT easier than clicking a button.  Two different things.

*You* can say what's easier for *you*.  If I'm in a text box typing, it's much easier for me to put the tags inline than to go to the bar.  I say easier, and I mean easier.  When I code, it's easier for me to click a - sign on my number pad than to highlight the line and press a button to cut the line.  And I do say easier, because what is easier?  Clicking one key?  Or moving my hands from the keyboard, highlighting a line, then pressing a button in a totally different place.  You might say that you have to learn the syntax.  True.  But once learned, which way will be easier for you?  I'm not sure, but for me, it's the keyboard.
Pages: prev1 ... 343 344 345 346 347 [348] 349 350 351 352 353 ... 403next