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 wOOdy-Soft 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
  • Content: Threads
  • 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 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...
  4. 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...
  5. GEAK

    Where to delete m_pMainWnd

    I've been out of programming for a few years, just recently loaded VS2005 onto a system and decided to try getting my feet wet. I've got an MFC app that I'm working on and I'm stuck with a memory leak that I can't seem to resolve. In the app class I'm reading command line arguments to determine...
  6. 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...
  7. 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...
  8. 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...
  9. GEAK

    Is this related to the google 302 hijack?

    This one is making me absolutely crazy. Here are the symptoms: 1. I load the google search engine (happens with both google.com or google.ca). 2. I enter 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...
  10. 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...
  11. 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...
  12. GEAK

    Converting Twips to Pixels in .Net?

    I've seen a thousands of articles on converting twips to pixels in VB6 but I'm working with VB.Net. I'm trying to manipulate a control embedded within a legacy control (ocx/dll). The component (and all sub-controls within it) report their coordinates in twips rather than pixels. Checking the...
  13. GEAK

    How to access control within OCX?

    I'm trying to put together a program (VB.Net) that looks essentially like a standard Accpac form (PO entry) but mine will hide certain components in certain situations. I've done this with field edit controls in other apps but in this case I'm trying to hide a column in a grid that appears to be...
  14. GEAK

    Adding to system menu

    I'm at my wits' end... off & on for the past two months I've been trying to append items to a form's system menu. I've done this in VB6 and C++ but I can't seem to do it in VB.Net. I've tried using AppendMenu and InsertMenu (API calls). Both seem to work fine as long as I only want to insert...
  15. GEAK

    Preferred method to parse Excel.

    I'm not looking for instructions on how to pull data from Excel. I already know two ways to do that. I'd like opinions on which way is better. Currently I'm using ADODB to create a recordset representing Excel data. It has it's caveats: namely ADO will guess at the data type (defaults to...
  16. GEAK

    XP Pro, sp2 network logon?

    I'm not sure if this is the right forum for this... I've just finished configuring my workstation at the office. It shipped with XP Home SP2 preinstalled on a SATA drive and it proved to be a nightmare to install XP Pro until I (temporarily) installed a floppy drive in it. <digression> The...
  17. GEAK

    Problem diagnosis: MB, CPU, other?

    This is probably a pretty specific problem, not too sure whether I can get help (local techs appear to be clueless). I've got a dual Athlon MP 2000+ system riding on an Asus a7m266-d board, had it since it was a baby (about 4.5 years ago). About 8 mos back problems started: it would powerdown -...
  18. GEAK

    How to add attachments to email?

    Nutshell: How do I get the value from <INPUT type="file"...> into the code behind a webform? Detailed: I'm writing a web-based email client (a la hotmail, gmail, yahoo...). I know how to send mail already (been there, done that, got the stamps on my passport). I want to allow the client to...
  19. GEAK

    How to do console input

    I've been coding in C/C++ and VB for close to 20 years. I've been teaching C++ for about 8 and VB.NET for the past year. In the process of trying to learn Java and just trying to write a simple program to do console I/O. I've got two texts that I'm using as a reference and one uses their own...
  20. GEAK

    Need help creating a mask

    I've got a clip containing people moving around in front of a static background. I've also got a single frame of the static background without people in front. I want to create a B&W mask where the background is one color and the people moving around are the opposite color. I know of paint...

Part and Inventory Search

Back
Top