Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
AnswerRe: Object type not known at Design TIme Pin
User 665811-Jan-09 10:46
User 665811-Jan-09 10:46 
AnswerRe: Object type not known at Design TIme Pin
Not Active11-Jan-09 12:31
mentorNot Active11-Jan-09 12:31 
GeneralRe: Object type not known at Design TIme Pin
CodingYoshi11-Jan-09 12:38
CodingYoshi11-Jan-09 12:38 
GeneralRe: Object type not known at Design TIme Pin
Guffa11-Jan-09 20:05
Guffa11-Jan-09 20:05 
AnswerRe: Object type not known at Design TIme Pin
Guffa11-Jan-09 20:02
Guffa11-Jan-09 20:02 
QuestionHow do I write to this class? [modified] Pin
e40s11-Jan-09 8:17
e40s11-Jan-09 8:17 
AnswerRe: How do I write to this class? Pin
Not Active11-Jan-09 8:28
mentorNot Active11-Jan-09 8:28 
GeneralRe: How do I write to this class? [modified] Pin
e40s11-Jan-09 9:17
e40s11-Jan-09 9:17 
Does it go onto the module like this? (Please forgive me, I'm not an OO programmer.):


namespace pdf2jpeg
{
	class MainClass
	{
		[STAThread]
		public static void Main(string[] args)
		{
//			Console.WriteLine("Hello World!");

			if (args.Length < 6)
			{
				Console.WriteLine();
				return;
			}

			using (StreamWriter sw = new StreamWriter(args[5]))
			{
				sw.WriteLine(transformPDFToImage(args[0]));	
			}
		}

		private static string transformPDFToImage(string input)
		{			
			PDFToImage pdf2i = new PDFToImage();
		}

	}

	public class PDFToImage
	{
		public PDFToImage() {}
		public PDFToImage(string input){ ... }
		public PDFToImage( [parameters] ) {... }
		public string TransformPDFToImage(...) { ... }
	}
}



How would I call that public class PDFToImage from within private static string transformPDFToImage(string input)?

Thanks for your help.

modified on Sunday, January 11, 2009 4:56 PM

GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 9:32
mentorNot Active11-Jan-09 9:32 
GeneralRe: How do I write to this class? [modified] Pin
e40s11-Jan-09 10:02
e40s11-Jan-09 10:02 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 12:20
mentorNot Active11-Jan-09 12:20 
GeneralRe: How do I write to this class? [modified] Pin
e40s11-Jan-09 16:16
e40s11-Jan-09 16:16 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 16:29
mentorNot Active11-Jan-09 16:29 
AnswerRe: How do I write to this class? [modified] Pin
Luc Pattyn11-Jan-09 16:54
sitebuilderLuc Pattyn11-Jan-09 16:54 
AnswerRe: How do I write to this class? Pin
Pete O'Hanlon11-Jan-09 8:43
mvePete O'Hanlon11-Jan-09 8:43 
GeneralRe: How do I write to this class? Pin
e40s11-Jan-09 9:23
e40s11-Jan-09 9:23 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 9:29
mentorNot Active11-Jan-09 9:29 
QuestionPassword protect information in an application Pin
Karmendra Suthar11-Jan-09 7:06
Karmendra Suthar11-Jan-09 7:06 
AnswerRe: Password protect information in an application Pin
Not Active11-Jan-09 8:30
mentorNot Active11-Jan-09 8:30 
QuestionHelp Creating Sql Class Pin
Calferreira11-Jan-09 7:06
Calferreira11-Jan-09 7:06 
AnswerRe: Help Creating Sql Class Pin
User 665811-Jan-09 7:41
User 665811-Jan-09 7:41 
GeneralRe: Help Creating Sql Class Pin
Calferreira11-Jan-09 8:09
Calferreira11-Jan-09 8:09 
GeneralRe: Help Creating Sql Class Pin
User 665811-Jan-09 8:14
User 665811-Jan-09 8:14 
GeneralRe: Help Creating Sql Class Pin
Calferreira11-Jan-09 10:59
Calferreira11-Jan-09 10:59 
QuestionObservableCollection Constructor Pin
Michael Sync11-Jan-09 6:20
Michael Sync11-Jan-09 6:20 

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.