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
L

liqnit

@liqnit
About
Posts
33
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Remove Enum prefix from tlb
    L liqnit

    HI ALL After trying all weekend i still get an error when trying to run the IDL to tlb using the commnad line . from this article - http://blogs.artinsoft.net/mrojas/archive/2010/05/17/interop-remove-prefix-from-c-enums-for-com.aspx[^]

    Save the modified .idl file as ClassLibrary1.dll and run a command like:

    midl ClassLibrary1.idl /tlb ClassLibrary1_new.tlb

    Shouls i save the modified idl as dll? is this command line ok ? has anyone worked with it? thanks

    Have a nice Day

    C# com csharp question

  • Remove Enum prefix from tlb
    L liqnit

    Thanks - i red this before I was hoping for an easier way... :((

    Have a nice Day

    C# com csharp question

  • Remove Enum prefix from tlb
    L liqnit

    Hi all When creating COM dll from C# i get TLB file. All enums in the file get a prefix of the enum name is therea way to remove the prefix?

    //C# code
    public enum OPTIONS
    {
    Zoom = -1,
    FitWindow,
    FitWidth,
    FitHeight,
    Actual
    }

    //TLB
    OPTIONS
    {
    OPTIONS_Zoom = -1,
    OPTIONS_FitWindow = 0,
    OPTIONS_FitWidth = 1,
    OPTIONS_FitHeight = 2,
    OPTIONS_Actual = 3
    };

    Have a nice Day

    C# com csharp question

  • Display numbers in HEX - DataGridView?
    L liqnit

    thanks a lot . Maybe i am missing somthing is therea way of not converting to string and display the value as Hex Thanks

    Have a nice Day

    C# csharp question

  • Display numbers in HEX - DataGridView?
    L liqnit

    Hi I am using VS2008 C# with datagridview and filling the cells using a byte[]. Is there a away the cells will display the value in HEX ? Thanks

    Have a nice Day

    C# csharp question

  • ResX error after updating control
    L liqnit

    Hello I have just updated a control in my project and cannot access the Design panel because of teh following error:

    ResX file Could not load file or assembly 'Xceed.Chart.Core, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6' or one of its dependencies. The system cannot find the file specified. Line 7585, position 5. cannot be parsed. ---> System.Xml.XmlException: Could not load file or assembly 'Xceed.Chart.Core, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6' or one of its dependencies. The system cannot find the file specified. Line 7585, position 5. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Xceed.Chart.Core, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6' or one of its dependencies. The system cannot find the file specified.
    File name: 'Xceed.Chart.Core, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6'

    Where do i delete the bad reference? The program works but i cannot edit the GUI because of the error. I am using VS2008 SP1 is there a workaround? Thanks

    Have a nice Day

    C# asp-net design xml help question

  • Process hangs with RedirectStandardOutput
    L liqnit

    Thanks for the quick answer i will try it and post feedback

    Have a nice Day

    C# help csharp visual-studio workspace

  • Process hangs with RedirectStandardOutput
    L liqnit

    :( Hi I am trying to compile a workspace using Msdev.exe (Visual Studio 6) . I am using the command line and want to redirect the output into a rich textbox on my form. When an error in compilation occur the process is hanged until i stop my application and only then the Msdev is showing the error. System.IntPtr PrHndle; Process Prc = new Process(); Prc.StartInfo.FileName = VS6EXEPath; Prc.StartInfo.Arguments = WorkSpace + CompileCommandString; Prc.StartInfo.UseShellExecute = false; Prc.StartInfo.RedirectStandardOutput=true; Prc.Start(); PrHndle = Prc.Handle; StreamReader SR = Prc.StandardOutput; while (SR.EndOfStream != true) { rtbCmdOutput.Text = rtbCmdOutput.Text + "\r\n" + SR.ReadLine(); } Prc.WaitForExit(); Same code works good with appliaction. Please help:(

    Have a nice Day

    C# help csharp visual-studio workspace

  • Getting input from command window?
    L liqnit

    Thanks a lot i guess i am not as good as i thought... will definitely try this thank you very much

    Have a nice Day

    C# tutorial csharp visual-studio question

  • Getting input from command window?
    L liqnit

    I am missing something here... I red the page but couldn't get an answer... please explain:^)

    Have a nice Day

    C# tutorial csharp visual-studio question

  • Getting input from command window?
    L liqnit

    Hi I don't knot know if it is possible . I want to get the output of a program from a command window into a textbox\Rich textbox. For example: When compiling in Visual Studio 6 using a command line option (no GUI) i get redirect the output into a text file . 1) Is it possible to get that input into a textbox? 2) If not how to display the ongoing progresses from the file? Thanks

    Have a nice Day

    C# tutorial csharp visual-studio question

  • Getting image from resource file
    L liqnit

    Hi I am trying to get an image from a resource file into a picturebox. using the following code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Reflection; using System.Resources; namespace WindowsApplication16 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Assembly Massem; Image Mimage; Massem = this.GetType().Assembly; ResourceManager RM = new ResourceManager("WindowsApplication16.PH1", Massem); Mimage = (Image)RM.GetObject("MIS_1.png"); pictureBox1.Image = Mimage; } } } the form has 1 button & 1 picture box. Resource name is : PH1.resx - inside there is the image file . the problem : When the code finsh i get a NULL image. Please advise. i used the explanation on the following MSDN: http://msdn2.microsoft.com/En-US/library/aa984408(VS.71).aspx

    Have a nice Day

    C# visual-studio com graphics help learning

  • Adding tag or euivenlt to combobox item?
    L liqnit

    Thanks a lot i am now working with the code

    Have a nice Day

    C# question

  • Adding tag or euivenlt to combobox item?
    L liqnit

    I cant find such property only Item.

    Have a nice Day

    C# question

  • Adding tag or euivenlt to combobox item?
    L liqnit

    Thanks i will try is it too much to as a for a code sample...;)

    Have a nice Day

    C# question

  • Adding tag or euivenlt to combobox item?
    L liqnit

    Hi Is it possible to to add Tag or data of some kind to a combobox item? no the whole combobox a single Item inside . Thanks

    Have a nice Day

    C# question

  • Get file size - while inuse by another process
    L liqnit

    Thanks a lot i will try

    Have a nice Day

    C# help

  • Get file size - while inuse by another process
    L liqnit

    Thanks for the quick reply. I understand your suggestion but the problem is that the process holding the file is loading a message box and until i press "ok" the file is still open by it. The messagebox is not always present . I want to get a message when the file is not updated anymore .

    Have a nice Day

    C# help

  • Get file size - while inuse by another process
    L liqnit

    Hi I am trying to check if a file is being written by another process. I am using teh FileInfo (size) to see if the size (it is a log file) is changing. When another process is writing to the file my application is stuck. string fPath = @"c:\temp\build.log"; FileInfo FI = new FileInfo(fPath); while (1>0) { if (lastvalue - FI.Length == 0) { iCounter++; lastvalue = FI.Length; if (iCounter > 20) { MessageBox.Show("times up"); break; } } else iCounter = 0; lastvalue = FI.Length; Thread.Sleep(SleepTime); } Any idea could help.:confused::confused:

    Have a nice Day

    C# help

  • Sending Image to C++
    L liqnit

    thanks i am reading it now

    Have a nice Day

    C# c++ graphics 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