Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GEAK
  • Order by date
  1. GEAK

    User rights assignment: SeServiceLogonRight via powershell -command ...?

    I have a task that I need to perform on a regular basis, as follows: [ol 1] Create a user (c/w password, no expiry) Grant that user the logon as service right [/ol] In all cases I'm doing this on clean/virgin, air-gapped MS operating systems running on virtual machines. The OSes include...
  2. GEAK

    App running on system startup is launching two instances

    I have a utility that I've written in which I want the option to launch automatically with system startup. A much older version of this app (written when XP was still current) simply created a shortcut to itself in the Startup folder on the current user's start menu. With the advent of Vista...
  3. GEAK

    Toggle between minimize to tray or taskbar (but not both)

    I figured it out. Apparently I needed to call Show() before setting the WindowState to Normal. The following works: private void m_NotifyIcon_MouseUp(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { Show(); WindowState = FormWindowState.Normal; } }
  4. GEAK

    Toggle between minimize to tray or taskbar (but not both)

    I have a form with a fixed dialog border; it can either be on-screen normally or minimized. I want to allow the user to (optionally) minimize it to the tray. To that end I have a context menu with a menu item "Minimize to tray" which toggles its check mark when you click it. private bool...
  5. GEAK

    Using a zip file as an embedded resource and extracting the contents at runtime?

    I'm looking at doing the following: [ol 1] Embedding a zip file as a resource in my executable Extracting its contents to the same folder as the executable at runtime NOT writing out the zip file first Targeting .Net 2.0 (I plan on using this on older, air-gapped systems that probably only have...
  6. GEAK

    Where to delete m_pMainWnd

    ...to determine whether to display a dialog or window. My InitInstance function contains code something like this: //... BOOL bRetVal = FALSE; CMyWnd* pWnd = NULL; CMyDlg dlg; if(bDialog) { m_pMainWnd = &dlg; dlg.DoModal(); } else { pWnd = new CMyWnd; m_pMainWnd = pWnd...
  7. GEAK

    VC6 AppWizard in VS2005?

    Back in the days of VC6, I wrote a custom MFC AppWizard (specifically for creating screen savers). I know that there have been significant changes in the way VS works, but I'm wondering if it's possible to successfully port an old AppWizard project into VS2005. Has anyone had success doing this...
  8. GEAK

    How do I do console output in MFC GUI app?

    I've written a dialog-based, MFC application. The program performs one of three different tasks. The bulk of the code exists in the app class and is called from the dialog class. I've also got the program set up so that command line arguments are parsed and if provided, the tasks are executed...
  9. GEAK

    MultiSelect ListBox or CheckListBox to display/update a table

    That's precisely what I have and that's essentially the code I was trying to use. The problem crops up in that regardless which event I put the code in I've been receiving error messages. I'm updating the rowsource property for the list box with the query (modified as per your example) and I...
  10. GEAK

    MultiSelect ListBox or CheckListBox to display/update a table

    I figured this would be a common problem but after searching/browsing a bit I was unable to find anything - sorry if this has already been answered elsewhere. Ideally, I want a checklist box for this but couldn't find a built in implementation in Access 2007 so I've opted for a MultiSelect...
  11. GEAK

    Is this related to the google 302 hijack?

    Follow-up: I guess it had been a while since I'd run an ewido scan - the last time must've been before this manifested itself. I reinstalled, updated & ran ewido and it found a BHO trojan. It appears to have been a valid BHO that was infected - explaining why I missed it in Hijack This. I'm...
  12. GEAK

    Is this related to the google 302 hijack?

    ...a search criteria & it brings up a series of results. 3. Occasionally when I click on one of the SERPs I'm taken to a website in Germany (some are *.de, some are *.com, all are German). If I hit the back button and click on the link a second time it either takes me to a different German web...
  13. GEAK

    Having to remap daily

    A bit more clarification then... This morning I attempted to access one of the two mapped drives. After about a minute of no response from Windows Explorer I got this message: An error occurred while reconnecting X: to \\srv2003\programming Microsoft Windows Network: The local device name is...
  14. GEAK

    Having to remap daily

    We aren't running a domain - at least not that I'm aware of. Pinging our (w2k3) server produces this: Pinging ctecsrv2003 [192.168.1.4] with 32 bytes of data: Reply from 192.168.1.4: bytes=32 time<1ms TTL=128 Reply from 192.168.1.4: bytes=32 time<1ms TTL=128 Reply from 192.168.1.4: bytes=32...
  15. GEAK

    Having to remap daily

    Hmmm, I'm not sure how this will help with diagnosing the problem, particularly since this is a LAN issue (I'm obviously not very familiar with nslookup). When I ran it I got the following: Default Server: nsc1.ar.ed.shawcable.net Address: 64.59.184.13 ...followed by a prompt. Like I said...
  16. GEAK

    Having to remap daily

    Sorry in advance if this is the wrong forum for this question... The office I'm working in (programming) has two servers (W2K & W2K3) and a number of client workstations (all running XP Pro). We have a number of shared drives/folders on our servers where we store applications, code snippets...
  17. GEAK

    Use ComAPI in a web service

    Well, I'm glad to hear you've gotten yours to work, unfortunately I haven't been quite so lucky. Unlike what you have set up my development system has Accpac EE 5.1, 5.2 and 5.3 on it (we've also got 4.3 and 5.0 but there isn't much demand for that anymore). In order to get them all to work on...
  18. GEAK

    Problem with frame navigation in ASP.Net

    You're right, I'm unnecessarily wordy :D Hmmm... I guess that's something to bear in mind. I didn't know how to refer to frames from within the VB codebehind so I was just sticking to the javascript code. To clarify (in case it was too much), the problem was: I'm able to load a new page into a...
  19. GEAK

    Use ComAPI in a web service

    JoeAtWork: I'd love to find out if & how you resolved your problems because they sound so similar to what I'm going through right now. I had a feeling of deja vu when I read your posts... I'm creating a web app (15 aspx pages so far and still counting). I tried using the Accpac .Net Libraries...
  20. GEAK

    Problem with frame navigation in ASP.Net

    I'm working on a project that mimics a tabbed dialog. I started by trying to use the Microsoft.Web.UI.WebControls TabStrip but had with horrendous results - so I'm resorting to frames. The form I'm trying to mimic is laid out like this: [ Tab1 ][ Tab2 ] {miscellaneous controls} [ Tab1a ][ Tab1b...

Part and Inventory Search

Back
Top