Click here to Skip to main content
15,887,267 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralDataGrid end edit Pin
cje22-Jun-04 10:42
cje22-Jun-04 10:42 
Generalframework too big to download over internet Pin
Gavin Jeffrey22-Jun-04 6:59
Gavin Jeffrey22-Jun-04 6:59 
GeneralRe: framework too big to download over internet Pin
Vinay9222-Jun-04 18:00
Vinay9222-Jun-04 18:00 
GeneralRe: framework too big to download over internet Pin
Gavin Jeffrey22-Jun-04 20:44
Gavin Jeffrey22-Jun-04 20:44 
GeneralRe: framework too big to download over internet Pin
Steven Campbell23-Jun-04 8:43
Steven Campbell23-Jun-04 8:43 
GeneralStack size Pin
Emilio Guijarro22-Jun-04 6:21
Emilio Guijarro22-Jun-04 6:21 
QuestionChannels.Tcp namespace does not exist? Pin
fayth21-Jun-04 22:29
fayth21-Jun-04 22:29 
QuestionQuestion: How valuable would this be, and should I publish it on CP? Pin
Philip Laureano21-Jun-04 17:15
Philip Laureano21-Jun-04 17:15 
Hi,

I have a complete implementation of a codesmith-template compatible code generation engine that supports batch output, subtemplates, and outputs in any .NET language that has a CodeDom provider. Here's an example of how you would write a template that can output to multiple targets:

Let's say we had a template class named MyTemplate with the following interface:

class SampleTemplate
{
public void GenerateText(System.IO.TextWriter writer);
}

Then let's say that I wanted write the output of this template simultaneously to the console, a string, and a file at the same time. Here's how it would look:

class Class1
{
public static void Main()
{
...
// Create the template itself
SampleTemplate MyTemplate = new SampleTemplate();
// Create the targets to write to
StringTarget sTarget = new StringTarget(MyTemplate);
FileTarget file = new FileTarget("myfile.cs", MyTemplate);
ConsoleTarget console = new ConsoleTarget(MyTemplate);

// Output to the console
Console.Write();

// Output to the string
string sOutput = sTarget.ToString();

// Output to the file
file.Write();

...
}
}

Right now, I'm still not sure whether to publish this, but I'd definitely like to see what everyone's opinion on this is. What do you think?
GeneralByte data display... Pin
Ray Cassick21-Jun-04 10:24
Ray Cassick21-Jun-04 10:24 
GeneralRe: Byte data display... Pin
Ray Cassick24-Jun-04 16:37
Ray Cassick24-Jun-04 16:37 
GeneralWEBSERVICE: System.InvalidOperationException: ExecuteReader: Connection property has not been initialized Pin
antonimasso21-Jun-04 5:04
antonimasso21-Jun-04 5:04 
GeneralCommunication with a Unix box Pin
eif21-Jun-04 0:24
eif21-Jun-04 0:24 
QuestionTab key and Enter key to move from cell to cell? Pin
mkennedy7720-Jun-04 12:34
mkennedy7720-Jun-04 12:34 
AnswerRe: Tab key and Enter key to move from cell to cell? Pin
Mike Ellison22-Jun-04 5:57
Mike Ellison22-Jun-04 5:57 
Generalquestion about re-signing an assemby Pin
Stanimir_Stoyanov20-Jun-04 6:33
Stanimir_Stoyanov20-Jun-04 6:33 
GeneralRe: question about re-signing an assemby Pin
Serge Lobko-Lobanovsky21-Jun-04 1:21
Serge Lobko-Lobanovsky21-Jun-04 1:21 
GeneralRe: question about re-signing an assemby Pin
Stanimir_Stoyanov27-Jun-04 9:05
Stanimir_Stoyanov27-Jun-04 9:05 
Generaldeployment setup Pin
SherKar20-Jun-04 5:15
SherKar20-Jun-04 5:15 
Generalproblem with class IPAddress Pin
Marco M.20-Jun-04 0:57
Marco M.20-Jun-04 0:57 
QuestionWhat's the prospect of MMC in Microsoft .NET plan? Pin
zzzhouzhou19-Jun-04 7:16
zzzhouzhou19-Jun-04 7:16 
Generalcheck uot this addin ! http://www.flowruler.com/vs2003/ Pin
Bruno Capuano18-Jun-04 12:13
Bruno Capuano18-Jun-04 12:13 
GeneralRe: check uot this addin ! http://www.flowruler.com/vs2003/ Pin
Kandjar18-Jun-04 12:26
Kandjar18-Jun-04 12:26 
GeneralRe: check uot this addin ! http://www.flowruler.com/vs2003/ Pin
Anonymous20-Jun-04 7:10
Anonymous20-Jun-04 7:10 
GeneralComponent development: how to delete collection items when component is deleted from form Pin
CrazyMonkey5818-Jun-04 11:27
CrazyMonkey5818-Jun-04 11:27 
Generalxml encoding problem on Pocket PC Pin
rcasamayor18-Jun-04 2:28
rcasamayor18-Jun-04 2:28 

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.