By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,164 Members | 1,019 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,164 IT Pros & Developers. It's quick & easy.

Picture Viewer (HELP me)

P: 2
Hi !

I tried compiling my script and it comes up with an error:

The type or namespace name 'fclsViewer' could not be found (are you missing a using directive or an assembly reference?

and the script is:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Picture_Viewer
public partial class Form1 : Form
public Form1()

private void button1_Click(object sender, EventArgs e)
Application.Run(new flcsViewer());

private void Form1_Load(object sender, EventArgs e)
// Show the open file dialog box.
if (ofdSelectPicture.ShowDialog() == DialogResult.OK)
//Load the picture into the picture box.
picShowPicture.Image = Image.FromFile(ofdSelectPicture.FileName);
// Show the name of the file in the form's caption.
this.Text = String.Concat("Picture Viewer (" + ofdSelectPicture.FileName + ") ");


Thanks and please help ! :)
Dec 13 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 374
That looks like C++ programming. This is for MS Access VBA code only.

Sorry..... ;-(

Joe P.
Jan 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.