Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
.

...---...

@...---...
About
Posts
139
Topics
90
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Adding Files to an empty project w/ Visual Studio 2008
    . ...---...

    Hello, I am trying to learn C++/CLI from a text. I have downloaded source code from the books website. I then created an empty project (CLR Console App.). Now I want to add some example source code from the book: File 1. HelloWorld.cpp //OK, This I was able to add as a source file to the project. File 2. HelloWorld.obj //How do I add this? //Do I need to add this? File 3.HelloWorld.exe.manifest //How do I add this? //Do I need to add this? File 4. HelloWorld.exe //How do I add this? //Do I need to add this? shouldn't the .exe be created at runtime? I would really appreciate some input about File 2, 3, 4 with the followig caveat-- If you want to respond w/ "read the MSDN documentation" or "is this a joke question?" (which I have received in the past) don't bother to respond. I am programming as a hobby an dam grateful for any help... thanks a lot:confused:

    Managed C++/CLI question c++ csharp dotnet visual-studio

  • Newbie question about "%"
    . ...---...

    Hello, If I declare the following (or something like this....) Graphics^ g = CreateGraphics(); Pen pen = new Pen(Color::Green) g.DrawLine(%pen, 10, 10, 20, 20); It won't work without the "%". Is this a "tracking reference"? So my question is what is the "%" really doing? thanks a lot

    C# question graphics

  • Want to draw a line on a Form with C++/CLI
    . ...---...

    Thanks a lot.

    Managed C++/CLI question c++

  • Want to draw a line on a Form with C++/CLI
    . ...---...

    I have a beginners question. What does the code look like to use DrawLine in C++ CLI? -- thanks

    Managed C++/CLI question c++

  • Automation object failure on Project Creation
    . ...---...

    Thanks for your help. I also have installed Visual Studio C# Express. Maybe I should uninstall the program.

    C / C++ / MFC csharp visual-studio testing tools help

  • Automation object failure on Project Creation
    . ...---...

    Hello, When I try to create a new project w/ Visual Studio .NET 2003 I now keep getting a a Message Box that says (something like) A critical error occurred, Automation object could not be created. Does anyone know what this means? --thanks

    C / C++ / MFC csharp visual-studio testing tools help

  • Visual Studio Desktop Wallpaper
    . ...---...

    One version of Visual Studio (2003?) shipped with a very impressive desktop wallpaper. It was a bluish/black background with a randomly generated twisting metallic "ribbon" drawn all over the place. I think the Visual Studio logo was on the bottom left. Does anyone remember this? If so, does anyone know where I could download it? I tried Google and then MSDN, found many VS wallpapers but not this one... --thanks

    IT & Infrastructure visual-studio csharp question announcement

  • What makes this program print three times??
    . ...---...

    using System; using System.Collections.Generic; using System.Text; namespace OutputTest { class Program { public static int i; static void Main(string[] args) { while (true) { i = Console.Read(); Console.WriteLine("Output: ", i); } } } }

    C# question

  • Which Control is Best To Draw Graphs?
    . ...---...

    Hi, I want to draw my own graphs in a WinForm, but I don't want to draw directly on the Form. Which control is best to draw inside of? Picture Box? Panel? etc... thanks for help...

    C# help question

  • "Lost" the Toolbox : Everything is grayed out.
    . ...---...

    Hi, I have VS Studio .NET 2003 Academic. Yesterday, when I select the toolbox option all the tools are now (either) missing or 'grayed out'. How can I fix this? I reinstalled all the disks under the "repair" option, then restarted, but the problem still persists. Also, the project I was working on was a WinForm w/ out much of my own code added.:confused: Please help and thanks for your time.....I'm wasting a lot of mine.... ps- I have also downloaded VS .NET 2005 Enterprise edition.

    C# help question csharp visual-studio tools

  • How do I write a "Hello World" string stored in a (*.txt) file to the Console output?
    . ...---...

    Ezazel Thanks a lot. I think I see the "why" ...

    C# question help

  • How do I write a "Hello World" string stored in a (*.txt) file to the Console output?
    . ...---...

    How do I write a "Hello World" string stored in a (*.txt) file to the Console output? using System; using System.IO; //Is this the right idea?? //Please-- show me CODE not the "just use use a "-----" answer.... namespace StreamReaderWriter { /// /// Summary description for Class1. /// class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { // TODO: Add code to start application here //@"C:\Documents and Settings\Desktop\Text01"; string file_name = (@"C:\Documents and Settings\Desktop\Text01"); StreamReader fReader = File.OpenText(file_name); StreamWriter fWriter = File.CreateText(@"C:\Documents and Settings\Desktop\Text01"); //Now, how do I get the "Hello World" in the text file to the console output?? } } } thanks a lot for your help.....

    C# question help

  • What is "turning on a trace"?
    . ...---...

    I'm reading chapter 1 of Lippman's C# Primer. He talks about using the "-t" option. Could some one please elaborate what this means and why I would want to do it... thanks a lot

    C# question csharp debugging

  • Idiotic Notepad/C#/Command Prompt Questions
    . ...---...

    Hi, I want to write "Hello World" using Notepad and then create the HelloWorld.exe using the >csc HelloWorld.cs (from the command prompt). "Inside C# -- Chapter 1". 1. How should I save the file with Notepad? *.txt? *.cs? "all files"? 2. I'm almost certain that I have set the environment variables for the Framework SDK correctly. 3. I have installed on my machine VS.NET 2003. 4. The file is located on the desktop. I can use the command prompt to open any file on the desktop. HelloWorld.txt will open. HelloWorld.cs will not open (although it will create a file as a ".cs" icon) and any "csc" command will not be recognized. Any help would be greatly appreciated. Go easy on me -- I'm just trying to learn the basics -- thanks

    C# csharp visual-studio help question workspace

  • Want code fragment to move line around on Form
    . ...---...

    THanks, I intentionally left them blank. I think my main confusion is the fact that I have to do all the drawing in the paint handler. Once i added the timer event I can't figure out how to tie the the paint event to the timer and the function that draws the line in the paint event. :confused:

    C# graphics

  • Want code fragment to move line around on Form
    . ...---...

    Hi, Please see the following code below: ////////////////////////////////////////////// ..... private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { xOrigin = Form1.ActiveForm.ClientRectangle.Width/2; yOrigin = Form1.ActiveForm.ClientRectangle.Height/2; DrawThisLine(e.Graphics); } public void DrawThisLine(Graphics g) { Pen pen = new Pen(Color.Black, 3); g.DrawLine(pen, xOrigin, yOrigin, xOrigin + 75, yOrigin + 75); } private void timer1_Tick(object sender, System.EventArgs e) { } .... /////////////////////////////////////////// I have tried to use the timer1 object and the timer1 event but can't seem to get the line to move around on the Form1. Ultimately I'd like it to rotate around like a clock hand but at this point I'll take any code fragment just to get it in some sort of animated motion. Thanks a lot in advance....

    C# graphics

  • Simple Animation Question
    . ...---...

    Hi, How do do I animate the movement of a simple shape (a ball) across the client area? --thanks

    C# question

  • Want to draw continuous line based on a function
    . ...---...

    Hello, Let's say I have a function, exp^x for example. I would like to draw a graph of this function in the client area of my form. The only way I can think of doing this is to write a conditional loop that will iterate through values of x within some interval and then draw the value onto the screen scaled in some way to the clientRect.Height and clientRect.Width. Question: What do I have to do to get the 'graph' to appear as one continuous smooth plot? thanks

    C# question data-structures tutorial

  • Want to convert a GIF file to a Windows Folder
    . ...---...

    Hello, I have a GIF that is the cover of a textbook. I want to convert it so I can store documents in it (i.e. the textbook). How to proceed? Thanks!

    System Admin tutorial question

  • are there any good tutorials VS.NET debugging?
    . ...---...

    Colin -- thanks a lot!

    C# csharp visual-studio help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups