Welcome Guest.   Make a donation to an author on the site April 23, 2014, 05:59:28 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 ... 120 121 122 123 124 [125] 126 127 128 129 130 ... 182 Next
3101  Main Area and Open Discussion / Living Room / Re: The Coolest Macintosh I've Ever Seen! on: January 27, 2011, 05:58:09 AM
...Never was much of an Indian fan, but if you go up 1 year I've got a soft spot for Knuckelheads. Wink
3102  Main Area and Open Discussion / Living Room / Re: The Coolest Macintosh I've Ever Seen! on: January 26, 2011, 01:36:11 PM
Here's one for division 3:
[attachthumb=1]
3103  Other Software / Developer's Corner / Re: Safe programs for File Recovery on: January 26, 2011, 11:13:38 AM
The one i always hear recommended is: http://www.runtime.org/

That's my favorite!
3104  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 26, 2011, 07:00:44 AM
Well Stoic, if you are planning on making a full fledged program out of this, here are my ideas.  I don't know how feasible any of this is programmatically, they're just end user ideas.

Is there a way for you to have a dialog on just the first startup or somewhere in the option settings where the window detects all the adapters currently installed in Windows? Then the user clicks on the adapter desired, and the program runs from there without anymore dialog on startup.  Now, if the user wants to change adapters, he can do so from the menu or something.

Yes, I just replace the (GUID missing) error message with the Pick your NIC dialog. Whichever NIC the user picks then gets saved to the .ini/registry (depends), and is automatically used to display the WiFi networks available for it.

command line, ini is ok, but it would be better if it could programmed in the interface.  So if you need options for autostart, suppressing the startup dialog, exit/minimize on close, system tray, etc., it would be better to have those all as checkboxes or something in a options dialog.  But if that's too much work, text file or command line works also.

Also keep in mind having profiles to be used as a portable application?  Yeah?  Then you can run it on other computers and store the settings when you are done.  That would be really cool.

Command line option is already there so (no sense in pulling it out) it can be used as a fall-back suppress everything and just run option. I'm still on the fence as to what to do for settings storage and a UI. If I go systemtray then the registry makes more sense. If I go straight portable then the .ini (with save optional) makes more sense. Command line only, with multiple shortcuts, would be a Quick-N-Dirty "profiles" solution (albeit rather cluttered)...But if the user has to stop at a "Pick Network A, B, or C" dialog then we're back to multi clicking things.

Ironically the "simplest" thing might just be to do all-the-above and let the user decide how they want to fire-it-up.


Well SJ, looks like you're going to earn your Superboy badge tongue

Hahahaha...damn right he is.   cheesy  Welcome to the club...   tongue

I'm a little sketchy on this part, should I be flattered, frightened, or both... smiley
3105  Main Area and Open Discussion / General Software Discussion / Re: How to remove 6741afb79c635b436c393169e8c1a754 folder from my Ext HDD ! on: January 25, 2011, 07:43:05 PM
...And for those with the Home version of the OS, that aren't entirely comfortable at the command line. You can access the NTFS permissions GUI/Tab in safe mode.
3106  DonationCoder.com Software / DC Member Programs and Projects / Re: GetSerious0.1 - (don't expect much) on: January 25, 2011, 07:37:06 PM
A movable window (on a rubber-band) that snaps back into the corner strikes me as a bit counter intuitive.

I like the progress bars for an at-a-glance overview, but they are a bit too active (draws the eye badly). Perhaps they could update from their current position, instead of zero each time to cut down on the blinking effect.

The show/hide systray icon idea would definitely help in the user friendly department.
3107  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 25, 2011, 07:07:40 PM
@worstje - I do appreciate the input, but I found another way around the issue using existing code. If you drill into IShellFolder just a tad deeper, it will tell you what the window/display name of the requested GUID is. So even if some clown decided to name their adapter "Barney's Desert WiFi Emporium" I can still test for a window by that name on-the-fly. So the non-cooperative message loop has been replaced with:
Formatted for C++ with the GeSHI Syntax Highlighter [copy or print]
  1. if (SUCCEEDED(hr)) {
  2.            STRRET pStrRet;
  3.    ZeroMemory(&pStrRet, sizeof(STRRET));
  4.    hr = pShellFolder->GetDisplayNameOf(pidl, NULL, &pStrRet);
  5.    if (SUCCEEDED(hr)) {
  6.        hr = StrRetToBuf(&pStrRet, pidl, szTarget, GEN_BUFF);
  7.        if (SUCCEEDED(hr)) {
  8.            bGood = TRUE;
  9.        }
  10.    }
  11.  
  12.    Sleep(2000);
  13.    while(bGood && FindWindow(NULL, szTarget/*L"Wireless Network Connection"*/)) {
  14.                 // Nothing to Do Really, Just Hang-Out and Watch the Window.
  15.    }
  16. }

...Ya never know where this project could end up going.
Hey!  If you do actually do this, I can offer a lot of suggestions (as usual), and I think it would be VERY handy for people with laptops.  I don't care what anyone says, wifi is a hairy beast once you get involved with all the settings for security and all.  And all the interfaces suck for them.  But I kind of understand why now if Windows doesn't even have a way to access that one window.
It's not so much that Windows can't access that window, it's that the window needs an adapter target specified for it to be opened with. That little detail has been bugging the shit out of me for next to forever ... Which is why I jumped at taking a crack at this after wraith808 dropped an entry point into our laps.

I started a thread asking for this a while back:
http://www.donationcoder....m/index.php?topic=23791.0
See if you get any ideas from there, and I'll be more than happy to offer suggestions, solutions, etc.  I'm only limited with programming, that i can't do.

Yes, I remember that one. For now I just want to turn this into a viable loader widget (so I can get back to the other 9 projects that are hanging over my head). To that end I'm going to add a NIC picking dialog as the (first run) default action if the GUID is not specified in the command line (instead of the error message). Then the the selected GUID can be stored in either the registry, or an .ini file (I'm leaning toward the .ini option). So if you got a preference there let me know.
3108  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 25, 2011, 03:39:52 PM
It's the spirit of the thing that counts, it doesn't have to be practicle...as long as it's fun. Wink

I've gotten this far with it (and want to try worstje's idea), so I'll just keep playing with it until I (win) can figure out what to do with it. Let me know if you to do anything with it and I'll work that in too.

Wifi connections are always a hassle and I keep looking for a helpful utility, but there are none.

...Ya never know where this project could end up going.
3109  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 25, 2011, 11:25:45 AM
Stoic, i tried your file, but it didn't work.  it gives the error "No GUID Given".

Right, you have to give it the machine specific GUID for your wireless NIC.

Quote
I have it setup to pass the GUID to the program via the command line
i.e. WiFi.exe 261AAE34-9C9D-40EB-A25C-CFEDF328E3CF

That is why skwire didn't want to get into this because he didn't want to deal with supporting the machine specific hard-coded GUID. Which (is why I cheated) I don't blame him for, as it's a pita. I figured I could get away with feeding the machine specific part to the prog via the command line.

At this point, I'm just waiting for SB to see if there is any type of GUI (tray icon etc.) he wants this wrapped in. Then I could just chain the loop to that and be done with it.
It doesn't need a GUI at all.  It should just be a shortcut icon that you can double click and it will open the window.  It's basically a launcher for the window.  That way, I can take the file and put it in my launcher or start menu or whatever.  It's just a file.[/quote]

True(ish) ... The GUID can (has to) be added to the launch string, but it still has to be dredged out of the registry at some point. I can add a (first run) UI that lets the user pick their NIC from a drop down list and then saves it to an .ini (or in the registry [your choice]). Or we can stick with the (current) command line only option, but I think the UI would be nicer.

It's up to you, let me know.

3110  DonationCoder.com Software / DC Member Programs and Projects / Re: GetSerious0.1 - (don't expect much) on: January 25, 2011, 07:02:01 AM
I hope to ask you guys to be an author here. is there a procedure to follow?

Not that I'm aware of - other than what you've done already - Not much on formality here... Wink


Compiled with Visual Studio 2008 by K1, doesn't contain any networking or file system code... *Shrug* ...Looks safe enough.
Hey that's great, I'd be interested to know what tool do you use to know this?
As silly as it may sound, Notepad. I spend alot of time working in the field so seldom have handy access to all the fancy stuff. You really can learn alot about a program (if you're used to looking for it)  by tossing into a plain text editor.

stay on top bug?: I only tested on windowsXP -- doesn't it stay on top on your machine?
Correct on Win7 x64 it went behind my compiler (also MSVS2k8).

off button: I can of course make it a little prettier and add a context menu with exit - would that be good?
I wanted it to be minimal, so I even removed the titlebar.

Understood, less is more ... until it isn't enough. People just tend to feel better about (turning on) a thing, if there is a readily apparent safe and obvious way of turning it back off... smiley

3111  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 25, 2011, 06:44:07 AM
Cool, thanks ... I'll take a stab at it (and a few other ideas I came up with) tonight when I get home.

I just noticed from SB's screen shot (in the other thread) that hard-coding the window name ain't gonna work (not that I really had my hopes up...) as it'll close on him in 2 seconds because it can't find a "Wireless Network Connection" window, as his ends in " 2".
3112  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 25, 2011, 05:43:36 AM
Stoic Joker, does whatever you use to call the window open it asynchronously on its own thread, inside of your process? E.g. does your message loop actually matter and do stuff, or could you have used a Sleep(10000) and still have stuff basically function till the loop runs out and kills the app after 10s? In that case I might have a solution as I already bumped into such a problem once in the past.

I tried replacing the whole shebang with Sleep(2000) last night assuming that it just needed some "Hang-Time" to finish getting the Network Connections window open. The window opened for 2 seconds, and then closed.

...So I'm guessing it's somehow important. However it's apparently not important enough to talk to afterwards... as any message I've tried checking for (like WM_QUIT) never comes.

At this point, I'm just waiting for SB to see if there is any type of GUI (tray icon etc.) he wants this wrapped in. Then I could just chain the loop to that and be done with it.

But I do appreciate (and am open for) the suggestion.
3113  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 10:40:22 PM
Okay, it's almost midnight, so I resorted to duct tape:
Wait 2 sec for window to open.
Call FindWindow(...) in a loop to prop the door open with a stick.

It works, but I'll have to find something better later when I have time.

Usage:
Get the GUID for your WiFi card from the registry.
GUID is in HKLM\SOFTWARE\Microsoft\CurrentVersion\NetworkCards\

Under that are numbered Keys containing the entry ServiceName; its value is the GUID needed.
Grab only the alpha-numeric string (No curly brackets {}).

command line or Shortcut target is (example with my GUID):

WiFi.exe 261AAE34-9C9D-40EB-A25C-CFEDF328E3CF

Download removed - current version is later in thread.

Let me know how it works.
3114  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 10:00:20 PM
This had the appearance of a 5 minute job ... I did mention I was retarded right. undecided

Okay, seriously, Currently I have it setup to pass the GUID to the program via the command line
i.e. WiFi.exe 261AAE34-9C9D-40EB-A25C-CFEDF328E3CF

That part works just dandy. But... I can't get the damn thing to close because of the psudo message loop that has no apparent exit plan.

The program doesn't work without it.

So I'm trying to find some way of reliably torpedoing the damn message loop so I can put a bow on this thing.
3115  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 06:59:11 PM
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...
3116  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 06:43:31 PM
Hm... Well, the program says it was successful ... But it don't open nothing.

*Shrug* Wraith, did the code say which OS(s) it was supposed to work on? My laptop is XP, Intel Pro 2915ABG WiFI card, with Windows controlling the connections.

Sorry SB, I tried.
3117  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 06:12:47 PM
Let me see if I can get it to compile...
3118  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 04:01:38 PM
It's been a really long time since I played with this kinda stuff, but I do recall that teh string after the .cpl extension is for triggering a specific tab or child dialog. So your answer will be along those lines.

If I have time tonight I'll drag out my laptop and see if I can nail down which one it is.
3119  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 01:36:47 PM
Also Found This:
Wireless Network Setup
RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW

Here: http://www.osattack.com/w...windows-7-shell-commands/

3120  Main Area and Open Discussion / General Software Discussion / Re: How to create a shortcut for the "wireless network connection" in Windows XP? on: January 24, 2011, 01:24:21 PM
I don't have WiFi on my desktop... but ncpa.cpl opens the network connections folder. It's possible if you do a search of the Windows folder for *.cpl you might get closer (find a better match) to your target.
3121  Other Software / Developer's Corner / Re: DC needs a fun game project that multiple people can contribute to on: January 24, 2011, 11:59:39 AM
Mario's Incredible Lemming Machine?
3122  Main Area and Open Discussion / General Software Discussion / Re: Why is System Restore not placed the proper place? on: January 24, 2011, 11:53:25 AM
One other thing not mentioned, is if you have one of those multi-media (wizBang) keyboards, it may default to some other function for the function keys.

I fought with this for over an hour once, because the keyboard had F8 (as well as all the other FUnction keys) remapped to do misc media functions.
3123  Main Area and Open Discussion / General Software Discussion / Re: Simple Photo Resizer - Please Give Feedback on: January 24, 2011, 11:37:38 AM
My favorite program for this kind of stuff was always Jasc ImageCommander v2.0 (from 1996). I still use it here at the office because my Win7 is 32-bit. But ImageCommander is 16-bit, so I can't use it on the x64 box at home.

I frequently fall into the don't make me think, just make the %*&# picture bigger category ... so this could be quite handy.
3124  Main Area and Open Discussion / Living Room / Re: why is it so difficult to pick out a new computer? on: January 24, 2011, 11:21:39 AM
I understand wraith, but in this case I have client that I am not sure he knows how to purchase anything off the internet.

Get their CC info and place the order for them (I've done this a few times in the past to save both ends some anguish)

In this case it will be easier for me to buy it, mark it up some, and then set it up for him.

I'm with wraith808 on this one ... easy to get burnt.
3125  Special User Sections / N.A.N.Y. 2011 / Re: Major feature instead of new up for NANY? on: January 24, 2011, 06:51:37 AM
Hahahaha~!

...Quarterly suits me better...

tongue

Do you have any idea what a mess that would make out of the NANY (badge) icons debate..?  ohmy

(hehe)

But seriously, I thought major program updates/rewrites were already allowed for NANY entries ... Yes?
Pages: Prev 1 ... 120 121 122 123 124 [125] 126 127 128 129 130 ... 182 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.091s | Server load: 0.01 ]