• Advertisement

geekalert

Member
  • Content count

    233
  • Joined

  • Last visited

Community Reputation

193 Neutral

About geekalert

  • Rank
    Member
  1. Vista being difficult.

    Quote:Original post by iMalc Of course shortcuts wouldn't actually be deleted, they'd just possibly be not able to be drawn. Hmm both shirsoft and iMalc, you guys have some interesting insight, I will look into it. In the meantime, umm, the shortcuts are indeed deleted. After reboot, its not there... thanks tho for the replies so far
  2. Vista being difficult.

    I was just wondering if anyone else had experencied these kinds of problems while using Windows Vista, Google search turned up mostly unhelpful 'answers'. After a while of using of computer, suddenly my right-click menus don't work anymore (i.e. they don't show up). When I start up Notepad or any other app with a Win32 API menu (non-.NET or custom), that menu will not be there. Popup dialog boxes dont show either (again, Win32 dlgboxes only). Finally, after forcing Notepad to close thru Ctrl-Alt-Del, I go into my start menu and realize that the Notepad shortcut is completely gone. Same thing happened to my Maple 11 shortcut and my Windows Media Player shortcut. Apparently if I close Windows Media Player, the right-click menu functionality returns. Anybody else have this kind of problem? feel free to ask questions if u want me to clarify more thanks in advance
  3. Vista Wireless Help

    Hello, my school runs a wireless network that I was unable to connect to because I have Vista... now the school's techies released some instructions on configuring Vista to work, but I am unable to use these instructions because Vista Home Premium doesn't come with Group policy editor. Is there any alternative to working these instructions? Here are the instructions I received: Quote: You can use the Group Policy Management console in Windows Vista to configure a new Windows XP Wireless Network (IEEE 802.11) Policy, or to modify an existing Windows XP Wireless Network (IEEE 802.11) Policy... ... ...To configure wireless clients running Windows XP by using the Wireless Network (IEEE 802.11) Policy 1. Click Start, and in Start Search, type gpmc.msc, and then press ENTER. 2. In GPMC, open Forest: example.com, open Domains, open the domain container example.com, right-click Default Domain Policy, and then click Edit, to open the Group Policy Management console. 3. In Default Domain Policy, open Computer Configuration, open Windows Settings, open Security Settings, and then select Wireless Network (IEEE 802.11) Policy. Note: For conceptual information about the settings on any tab in the Wireless Network (IEEE 802.11) Policy, press F1 while viewing that tab. If you have already configured XP Policy, it will be listed in the details pane with the Type specified as XP. Right-click the policy, click Properties, and on the Preferred Networks tab, select WIR_TST_Lab, click Edit, and then advance to step 4 of this procedure. If you do not already have an XP policy, do the following: In the console tree, right click Wireless Network (IEEE 802.11) Policies, select Create A New Windows XP Policy, and then do the following: 1. On the General tab of the policy properties, in XP PolicyName, type WirelessGroup Policy. In Description, type a brief description of the policy. 2. Select either Any available network (wireless AP preferred) or Access Point (infrastructure) network only 3. Select Use Windows to configure wireless network settings for clients An example is shown in the figure below. 4. On Preferred Networks tab, click Add, and then select Infrastructure. This is shown in the following figure. 5. On the Network Properties tab, configure the following: In Network Name (SSID), type WIR_TST_Lab In Description, enter a description for the New Preferred Setting Properties. 4. On the Network Properties tab, to specify that a network key is used for authentication to the wireless network, under Select the security methods for this network, in Authentication, select either WPA2 (preferred), or WPA. In Encryption, specify either AES or TKIP. Note: In the XP Wireless Network (IEEE 802.11) Policy, WPA2 and WPA correspond to the Windows Vista Wireless Network (IEEE 802.11) Policy WPA2-Enterprise and WPA-Enterprise settings, respectively. Note: Selecting WPA2 exposes additional settings for Fast Roaming. The default settings for Fast Roaming are typically sufficient for the test lab deployment. The configuration for WPA2 with AES is shown in the following figure. Note: Although available in the drop down list, do not select Shared or WPA-PSK. Shared is not recommended for this scenario. WPA-PSK is intended for small office and home office networks, and should not be used in this scenario. 5. Click the IEEE 802.1X tab. In EAP type, select one of the following: For deployments using PEAP-MS-CHAP v2, do the following: 1. By default, Protected EAP (PEAP) is selected. This is shown in the following figure: The remaining default settings on the IEEE 802.1X tab are typically sufficient for the test lab deployment. 2. Click Settings. On the Protected EAP Properties dialog box, do the following: Verify that Validate Server certificate is selected. In Select Authentication Method, select Secured password (EAP-MS-CHAP v2). In Trusted Root Certification Authorities, select Example CA. To enable PEAP Fast Reconnect, ensure that Enable Fast Reconnect, is selected. These settings are shown in the following figure: 3. Click OK two times. The PEAP profile for WIR_TST_Lab is listed under Networks. This is shown in the following figure. 4. Click OK, and then close the Group Policy object Editor. This concludes configuration for PEAP-MS-CHAP v2. For deployments using Smart Card or other certificates (EAP-TLS) do the following: 1. Select Smart Card or other Certificate. This is shown in the following figure: The remaining default settings on the IEEE 802.1X tab are typically sufficient for the test lab deployment. 2. Click Settings. On the Smart Card or other Certificate Properties dialog box, do the following: For smart card deployments, select Use my smart card, for other certificate deployments, select Use a certificate on this computer. Verify that Validate Server certificate is selected. In Trusted Root Certification Authorities, select Example CA. An Example of these settings are shown in the following figure. 3. Click OK two times. The EAP-TLS profile for WIR_TST_Lab is listed under Networks. This is shown in the following figure. 4. Click OK, and then close the Group Policy object Editor. This concludes configuration for Smart Card or other certificates. Thanks in advance! edit: apologies for the page stretching EDIT (AR): fixing page stretching. [Edited by - Andrew Russell on October 14, 2007 7:39:58 PM]
  4. Javascript DHTML Issue

    I was recently working on a jscript/DHTML window system-ish thing, when I ran into a problem. function getMouseX() { return window.event.clientX; } function getMouseY() { return window.event.clientY; } function toggleMoveState() { //... refCoordX = getMouseX(); alert(''); // for debugging purposes //... } Now the problem is that the alert(''); code and everything after it does not execute, seemingly because of the getMouseX function. Is there a reason for this? How can I remedy this? Thx in advance.
  5. Self-modifying code

    I am trying to make self-modifying code with x86 assembly. I am running the following thru Virtual PC MS-DOS 6.22 machine. .model small .286 .stack 256 .data msgPrompt db "1>Add",0Dh,0Ah,"2>Subtract",0Dh,0Ah,'$' .code Template: add ax, 1 sub ax, 1 SketchSpace: nop db 01h db 00h ret main proc mov ax, seg msgPrompt mov ds, ax mov ax, 0900h lea dx, msgPrompt int 21h mov ax, 0800h int 21h mov al, 61h cmp al, 61h jnz setSubtract setAdd: mov byte ptr [SketchSpace], 05h jmp setInstruction setSubtract: mov byte ptr [SketchSpace], 02Dh setInstruction: mov ax, 04Dh call SketchSpace ; now display the result! mov ah, 02h mov dl, al int 21h mov ax, 4c00h int 21h main endp end main The way I think my code should work, is that if the user presses '1', 'N' should be displayed ('M' + 1); whereas if the user presses '2', 'L' ('M' - 1) should be displayed. When I run it thru the "debug" command, everything goes fine, however, run straight from the prompt, the output is not modified in any way (it simply displays 'M'). Any suggestions? Thx in advance.
  6. solid vs stranded

    i could only fit 14 turns with the length of wire I cut... that's probably really little. I believe I am using 20 or 22 guage wire.
  7. solid vs stranded

    OK. so I'll need AC power. but before I get an AC-AC transformer, it should be possible to create a galvanometer with DC power right? [disputed] BTW, why is it that stranded wire does not work? I am not educated on electromagnetic theory, so if somebody explains to me I would appreciate it. Thanks so far though for the quick reply!
  8. solid vs stranded

    I know I've been asking a lot of electronics questions lately on gamedev, but I really dont know where else to turn (usenet is kinda confusing), so please bear with me: Is there any difference between using solid versus stranded wire in building an electromagnet? Like in how strong the electromagnet is? The reason I'm asking is because I wrapped a coil with stranded wire, and it didn't seem to be very strong, or work at all for that matter. Thanks in advance!
  9. GDI+ draw to bitmap

    I'm having some trouble getting a basic application to work with GDI+. DrawImage(bitmapScreen) seems to do nothing, and I'm not sure why. A few rounds with the debugger tells me that all the code is supposedly running correctly, but nothing shows up when I call DrawImage(bitmapScreen). this is the code that makes changes to the offscreen bitmap: LRESULT CALLBACK CPaintBox::OnMouseMove(HWND hWnd, int x, int y, UINT keyFlags) { RECT rcClient = {0}; GetClientRect(hWnd, &rcClient); int nx = x / (rcClient.right / sizeCanvas.Width), ny = y / (rcClient.bottom / sizeCanvas.Height); if(/*keyFlags & MK_LBUTTON && */bitmapScreen) { Graphics g(bitmapScreen); SolidBrush foreBrush(colorForeground); Rect rcFill(nx - 1, ny - 1, nx + 1, ny + 1); g.FillRectangle(&foreBrush, rcFill); g.Flush(); } return 0; } this is the code that draws the offscreen bitmap, onscreen: if(bitmapScreen) { g.DrawImage(bitmapScreen, 0, 0, rcClient.right, rcClient.bottom); } if(drawGrid) { Pen greyPen(Color(255, 192, 192, 192)); for(int i = 0; i < sizeCanvas.Width; i++) { g.DrawLine(&greyPen, (i+1)*sizePixel.Width, 0, (i+1)*sizePixel.Width, rcClient.bottom); g.DrawLine(&greyPen, 0, (i+1)*sizePixel.Height, rcClient.right, (i+1)*sizePixel.Height); } } the grid that is drawn inside the if(drawGrid) block seems to show up fine! ( and yes I did try moving my mouse a bit inside the window, :P ) thanks in advance!
  10. BS_COMMANDLINK not working

    When I attempt to use the new Command link control in vista, nothing shows up... when I click around randomly eventually a checkbox shows up where the button should be. What am I doing wrong? hButton = CreateWindowEx(0, "BUTTON", "Testing", WS_CHILD | WS_VISIBLE | BS_COMMANDLINK, 5, 5, 290, 30, hWnd, (HMENU) IDC_BUTTON_TESTING, GetModuleHandle(NULL), NULL); Thanks in advance. PS I am using Visual Studio C++ Express Orcas Beta1 with the Windows Vista SDK, if that is relevant.
  11. Broken old laptop... :(

    ...my laptop doesn't have a USB port. it only has 1 parallel port, two serial ports, a PS/2 port and an expansion port. And two PCMCIA slots. I've yet to try the PC card floppy method. it's a dell latitude by the way. 1995.
  12. Broken old laptop... :(

    I have a really old laptop (Pentium 133 MHz w/ MMX... lol what a joke) but the batteries are still good, and I would like to press it into service. The only problem is that the floppy drive for it is broken, and the BIOS wont boot from CD. For the hard drive the contents are corrupted (NTLDR not found). Is there any way I can fix this computer? thanks in advance...
  13. Capacitor will explode!?

    Hello all and happy midnight.... The circuit below depicts an electrolytic capacitor with two LED indicators connected to it, and my voltmeter measuring across the cap. Now the thing is when I hook up the voltmeter, when the capacitor should be fully discharged the voltmeter reads -3.6 volts! and when it should be charged, it reads a .67 volts... I've only just started with electronics and all, so this confuses me: where the heck did the negative voltage come from? When I remove the two LED's and their resistors from the circuit, the capacitor behaves normally again, aka discharged is 0 volts and charged is about 5.8 volts. Why does this happen? Thanks in advance...
  14. Vista and 2000

    Vista is really bugging me on this point... I tried to connect to a computer running Windows 2000 to access some of the shared folders (By going to "Network" and double clicking the icon of the computer), but when I try to login, Vista keeps changing my "Administrator" username into "Hp-tx1120us\Administrator" No matter what I do Vista keeps prepending my computer name to the username i type. what can i do? thanks in advance!
  15. Laptop too hot

    I just bought a tx1000 series from HP with a Turion 64 X2 (1.83GHz)... however when I use SpeedFan to check the CPU temp, the core is usually around 50 to 55 C even while idle (0 processor use)! It is currently 1. plugged in, battery fully charged 2. the back is propped up .75 inch with books is this temperature normal or is it too high? thanks in advance!
  • Advertisement