我试图找出.net并得到这个代码,当我尝试从VS 2008运行它给我这个错误
A project with an Output Type of Class Library cannot be started directly.
In order to debug this project, add an executable project to this solution which references to the library project. Set the executable project as the startup project
Run Code Online (Sandbox Code Playgroud)
我正在学习C#所以不知道该怎么做
我将一个变量值从一个http url发送到另一个cfm页面,但我不知道如何在另一个页面上获取该值.在php中我们使用$_GET['variable']; 我不确定ColdFusion中的等价物是什么.
我有一个.net项目,我不是.net开发人员,但我想在学习过程中学习.我被给了一个文件夹,里面有一些C#文件和bin等文件夹.我听说这个项目是在.net 2005中开发的.我试着在.net 2010中打开它,它要求我转换它.我转换它但我不知道接下来该做什么.语法没有任何颜色或任何东西.任何帮助将不胜感激.谢谢!
我有一个带有2位数的文本字段作为userinput.我想取出第一个数字,如果是0的例子
01 02 03
将成为1 2 3
其中11 12 13
不会改变
怎么做
我正在通过实际潜入它来学习C#.我刚刚停了下来.我在下面有这个代码有一个菜单项,Acquire.当我选择它时,它会运行Acquire.但是我希望它在加载/启动应用程序后立即运行.
我在哪里做出必要的改变?
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
using System.Runtime.InteropServices;
using WIALib; // namespace of imported WIA Scripting COM component
namespace Wia
{
/// <summary> MainForm for this WIA sample </summary>
public class MainForm : System.Windows.Forms.Form
{
private System.Windows.Forms.MainMenu mainMenu;
private System.Windows.Forms.MenuItem menuTopFile;
private System.Windows.Forms.MenuItem menuFileAcquire;
private System.Windows.Forms.MenuItem menuFileSaveAs;
private System.Windows.Forms.MenuItem menuFileSep1;
private System.Windows.Forms.MenuItem menuFileExit;
private System.Windows.Forms.PictureBox pictureBox;
private IContainer components;
public MainForm()
{
//
// Required for Windows Form Designer support …Run Code Online (Sandbox Code Playgroud)