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
M

mitreviper

@mitreviper
About
Posts
17
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 2D array list
    M mitreviper

    Hi all, Is there a 2D array list? Basically I need a 2D dynamic array. Thanks in Advance. Cheers.:laugh:

    C# data-structures question

  • Displaying data from text file to dataset
    M mitreviper

    Hello, I'm trying to display data from a text file "TAB" into a data set for display in the windows form. Later , I need to update any changes that the user made to the text file. Anyone knows how to do this?:doh: I'm using C# -- modified at 1:40 Monday 13th February, 2006

    C# csharp tutorial question announcement

  • Closing File Stream
    M mitreviper

    The other thing i'm still confused is that of the if statement. Shouldn't if( fs!=null) be enough to check that the filestream has already closed?

    C# help question

  • Closing File Stream
    M mitreviper

    I have the following and have the error when I try to close the FileStream. It says cannot access fs as it no longer exist. something like that. But I did not delete it.. I have this problem when I have the close the Stream Reader statement. Also, shouldn't the if statement work in checking if the FileStream still exist? I'm Confused :confused: string path = @"c:\TrayCount.txt"; fs = new FileStream( path, FileMode.OpenOrCreate , FileAccess.ReadWrite, FileShare.ReadWrite); sr = new StreamReader(fs); sw = new StreamWriter(fs); if(sr!=null) sr.Close(); if(sw!=null) sw.Close(); if(fs!=null) fs.Close();

    C# help question

  • KeyPress ....
    M mitreviper

    Hi all, I'm trying to respond to the letter 'a' being pressed . But some how when i ran the form, this KeyPress function was not activated at all. Is there something else I need to do ? I have this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.frmMain_KeyPress); inserted automatically already. Please help. Does this mean that the form is no focus??? I already clicked on the form and tried typing 'a' but no messagebox shown or was did debug mode enter the source code. private void frmMain_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { switch ( e.KeyChar) { case 'a': MessageBox.Show("a"); break; } }

    C# debugging help question

  • Vertical Progress Bar
    M mitreviper

    Hi everyone, Know of any vertical progress bar for .NET or how to create one? Any help is good. Thanks. It is not the length of time, but what you plan to do with the time given to you that matters.

    C# csharp help tutorial question

  • Debug Manager Service
    M mitreviper

    Hi all, I have this Error message when i try to run debug on my program "The Machine Debug Manager Service is disabled". Is this caused by the program being too big or is there an option to enable the debug. Please help.

    C# help debugging

  • KeyWord and Reserved Word
    M mitreviper

    All keywords are reserved words in C# . This means u cannot use them as identifiers in your code . if, else, while are keywords

    C#

  • hexedecimal in C#
    M mitreviper

    Hi guys, In VB the representation for hexedecimal is &H1 . How do you write this in C# . Please help. i'm running out of time.

    C# csharp help

  • use of C++ dll in C#
    M mitreviper

    Thank you very much. Very useful link

    C# csharp c++ question

  • use of C++ dll in C#
    M mitreviper

    Hi all, I got this C++ dll that comes with a input/output card, How do I import and start using this in C# . Do point to any useful reference . Thank You

    C# csharp c++ question

  • Threading safety with windows form
    M mitreviper

    Hi all, I read some books that manipulating the window form components using a thread other than a main thread can cause bugs that are not repeatable. Is there any example code of how to get around this ? And next, the documentation in MSDN often have the following statement. Its confusing for me. So when is a member public static and when is it an instance member? :confused: Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe

    C# tutorial question

  • Will this cause memory leak?
    M mitreviper

    If I keep looping the folloing statement with the new pen with a timer , will it cause a memory leak? I know C++ when you create with new, you have to use delete. But for .NET C# / VB.NET, does this apply? Do I need to use the Dispose statement every time I use the new statement? Please Advise. mypen = New Pen(Color:=Color.DarkRed, Width:=1) g = Me.CreateGraphics g.DrawLine(mypen, 0, 235, 600, 235)

    C# csharp c++ performance question

  • How to remember selection of user after program is closed? Dynamic properties?
    M mitreviper

    Hi all, I need to remember the selection ( eg. the radiobutton ) that the user selected even after the program closes so that the next time the program opens, the previously selected option whill be chosen. How can I do this? There's a property in Visual Studio.NET call dynamic properties, is this the answer to solving this problem? Thanks in advance.

    C# csharp question visual-studio help tutorial

  • VB Excel Changing color of Cell lettering color when out of range
    M mitreviper

    Hi all, I have a data sheet from rtf file that I read into the excel table so that it looks need. I also have a limit as to the range of these values. Eg. 3 to 7. So if the value in the cell is 9, it is out of range and I am suppose to highlight it in red colour. Any help on this ? I am using Visual Basic, not VBA. On another question, is there any good Visual Basic example of how to draw a chart without having the program crash during the second time? Thanks in advance.

    Visual Basic tutorial question help

  • Comparing lists
    M mitreviper

    I'm also new to VB.. relatively. Anyway, if you are dealing with Excel, u can use VBA( Visual Basic Application) to do that. That's what i'm using now for VB6 developer. But I think it still works for VB.NET ,... not too sure. That's for the code language to look out for. As for the design, Have to think about it... but shoul be easy once you got hold of the language. (At least I feel its easier than the language itself for beginners)

    Visual Basic question

  • Basic VB Excel Chart data selection
    M mitreviper

    Hi all, I need to draw a chart using VB with data from an excel sheet . How should the code be like if I want to have column A to be in the x-Axis and column B data to be the y axis. Please Help. Thanks Below is my code that charts, but the data info is not what i want oSheet3.Range("A1").Resize(51, 1).Value = ChartXDataArray oSheet3.Range("B1").Resize(51, 1).Value = ChartYDataArray Dim ch As Object Dim chart1 As Object Set ch = oSheet3.ChartObjects.Add(100, 30, 350, 270) Set chart1 = ch.Chart ' chart1.Name = "NAme" chart1.ChartType = xlColumnStacked chart1.SetSourceData Source:=oSheet3.Range("B1:B51"), _ PlotBy:=xlColumns chart1.SetSourceData Source:=oSheet3.Range("A1:A51"), _ PlotBy:=ylColumns chart1.HasLegend = False

    Visual Basic help
  • Login

  • Don't have an account? Register

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