Click here to Skip to main content
15,894,540 members
Home / Discussions / C#
   

C#

 
AnswerRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 2:53
professionalEddy Vluggen12-Jul-16 2:53 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 3:12
Member 1224497212-Jul-16 3:12 
QuestionRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 3:32
professionalEddy Vluggen12-Jul-16 3:32 
AnswerRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 3:45
Member 1224497212-Jul-16 3:45 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 3:56
professionalEddy Vluggen12-Jul-16 3:56 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Pete O'Hanlon12-Jul-16 4:00
mvePete O'Hanlon12-Jul-16 4:00 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 3:40
mveDave Kreskowiak12-Jul-16 3:40 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 4:12
Member 1224497212-Jul-16 4:12 
Ok, created a new project for Windows form.

The recurring error now is:

C#
Invalid token '(' in class, struct, or interface member declaration	


In the code:

C#
namespace Siren
{
    static class Program
    {
    public partial class Form1 : Form
    {
        IDictionary<string, Assembly> _libs = new Dictionary<string, Assembly>();

        // yada yada yada...

		int absW, absX, absY, absZ;
                
        // Your inputs here
        Console.Write("\nPlease input parameter 1 of first set... ");// Error occurs here...
        absW = Console.ReadLine();
     }
}
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new Form1());
 }
}

GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 4:15
mveDave Kreskowiak12-Jul-16 4:15 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 4:21
Member 1224497212-Jul-16 4:21 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 4:37
professionalEddy Vluggen12-Jul-16 4:37 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 5:15
mveDave Kreskowiak12-Jul-16 5:15 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 6:15
professionalEddy Vluggen12-Jul-16 6:15 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 6:18
mveDave Kreskowiak12-Jul-16 6:18 
QuestionRemoving '\' character from string. Pin
Raghavendra.Kodimala11-Jul-16 22:45
professionalRaghavendra.Kodimala11-Jul-16 22:45 
SuggestionRe: Removing '\' character from string. Pin
Richard MacCutchan11-Jul-16 23:31
mveRichard MacCutchan11-Jul-16 23:31 
AnswerRe: Removing '\' character from string. Pin
Eddy Vluggen11-Jul-16 23:55
professionalEddy Vluggen11-Jul-16 23:55 
QuestionWhat can be wrong with my code I can't Log In VS2015 Pin
Member 1228884011-Jul-16 7:27
Member 1228884011-Jul-16 7:27 
AnswerRe: What can be wrong with my code I can't Log In VS2015 Pin
Eddy Vluggen11-Jul-16 7:46
professionalEddy Vluggen11-Jul-16 7:46 
AnswerRe: What can be wrong with my code I can't Log In VS2015 Pin
Richard Deeming11-Jul-16 7:47
mveRichard Deeming11-Jul-16 7:47 
AnswerRe: What can be wrong with my code I can't Log In VS2015 Pin
Dave Kreskowiak12-Jul-16 2:45
mveDave Kreskowiak12-Jul-16 2:45 
AnswerMessage Closed Pin
12-Jul-16 7:50
Member 1228884012-Jul-16 7:50 
GeneralRe: What can be wrong with my code I can't Log In VS2015 Pin
Eddy Vluggen12-Jul-16 10:31
professionalEddy Vluggen12-Jul-16 10:31 
Questionlist subdirectories with specific names Pin
MrKBA10-Jul-16 22:49
MrKBA10-Jul-16 22:49 
AnswerRe: list subdirectories with specific names Pin
OriginalGriff10-Jul-16 23:14
mveOriginalGriff10-Jul-16 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.