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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 -...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.