Jump to content


Check out our Community Blogs

whoiga

Member Since 27 Jun 2008
Offline Last Active Feb 16 2010 11:50 AM
-----

Topics I've Started

Convert a project from VC# Express 2008 to Visual Studio 2008?

03 October 2008 - 01:46 PM

I have both Visual Studio 2008 and Visual C# Express 2008, and I have a project from Visual C# Express 2008 that I'd like to convert to a Visual Studio 2008 project.

I can open the project with VS 2008, and can build it and everything, however it does not actually overwrite previous builds in the project's directories and etc. It's as if the changes I make are only going to be present for as long as I keep VS 2008 open with the VC# Express project loaded.

Is there a way to do this, and if so, is it easy?

I want to discard my need for Visual C# Express 2008, but if I cannot fully edit and maintain my existing VC# Express projects with VS 2008, then I can't get rid of VC# Express (yet, anyway).

This is kind of frustrating.

How would you go about implementing user modes into a desktop application?

25 August 2008 - 11:58 AM

I'm planning a project for a desktop application that will communicate with a database. I want to incorporate administrative features into the application. Essentially, I'll have two user modes: User, and Admin. A user will have access to necessary form controls & functionality. An admin will have the same access that a user does, but will have access to additional form controls and functionality.

My problem thus far in the designing phase is that I can't seem to wrap my head around a method of implementation that would keep the code clean and maintainable, while remaining somewhat easy.

I thought about setting up an enum, and having my user modes within. When a user connects to the database and logs into their account, depending on what flags their account has for their access in the database (perhaps indeed an enum field), the application would set the enum. Then, I would have a function that updates the states of the form controls (and other features) based on the enum, so like... certain context menu items might be disabled, certain textboxes and other controls might become readonly, etc.

However, I'm not entirely sure that such a methodology will keep things simple and maintainable.


So here are my two questions:

How might you go about it?

If you're not sure, might you know of a good resource (online or text) that I should take a look at? Thus far I've not found very many resources for doing something similar to what I have in mind.

Hello

27 June 2008 - 02:51 PM

Hello everyone. I'm Martin Pace and only recently discovered CodeCall. I only wish I'd discovered it sooner.

I'm primarily a C# and Python programmer, although I love dabbling in other languages for fun. Unlike most of my peers in the technological world, I opted to not major in computer science. It just wasn't something I could see myself doing day in and day out as a job. Rather, I enjoy programming for "the fun of it" and a good sense of accomplishment.

Instead, I'm a corporate finance major. Luckily that means I can put programming to thorough use without doing it all of the time, in order to make my job easier.

Sometimes I get frustrated with compiled languages, as most of my background rests with markup languages (XHTML/XML/CSS/etc.) and interpreted languages (like PHP/Python/Javascript/etc.), but I think it's rather fun. When it comes to lower-layer languages like ASM, C, C++, etc. I start gritting my teeth and pulling my hair.

I've been administrating and managing online communities for 10+ years and I can easily tell that this community is well maintained by people of a very professional demeanor - that's comforting and is symbolic of longevity. :)

Glad to be here. I'll probably mostly be mucking around in the C# and .NET areas. See you around!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download