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
C

cecildt

@cecildt
About
Posts
18
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Do you C?
    C cecildt

    Still use C here and there. Currently looking at OpenCL which is written in C. I still think C will be there in a 100 years! Long live C!

    The Lounge question html com tools tutorial

  • What is everyone using for thier presentation layer?
    C cecildt

    All depends on your requirements! Currently using Silverlight for future proofing UI. Silverligth is going to support mobile and offline. Great combination is Silverlight, WCF and Linq.

    The Lounge csharp question asp-net wpf wcf

  • VS20087 AddIn Problem
    C cecildt

    Don't worry, fixed it myself. Was related to TextSelection and Resharper being clever. When assigning TextSelection.Text, Reshaper try to insert the correct matching brackets. The right use for TextSelection is to use the Insert method. testSelection.Insert(val, (int)vsInsertFlags.vsInsertFlagsInsertAtStart);

    C# csharp visual-studio help question

  • VS20087 AddIn Problem
    C cecildt

    Hi, I busy fixing a Addin for Visual Studio. Basically generating a source file. The class with its methods get generated fine, but when I save the generated source it get additional closing brackets. This line cause additional bracket to be inserted: applicationObject.ActiveDocument().Save(""); Can anyone please tell me why? Regards Full Code: TextSelection testSelection = applicationObject.GetActiveDocument().Selection as TextSelection; if (testSelection != null) { testSelection.SelectAll(); string val = GenerateCode(targetNamespace,targetClass, testClassName); testSelection.Text = val; } applicationObject.GetActiveDocument().Save("");

    C# csharp visual-studio help question

  • Property Attributes
    C cecildt

    Thanks for the reply! Just what I needed.

    C# css database tutorial

  • Property Attributes
    C cecildt

    Thanks for the reply! This does not help. I don't want to set a default value to the property. I want to set the display width of the column that is assign to my property. Or I want to set the Description that must be shown in a grid for this property via property attributes. Regards

    C# css database tutorial

  • Property Attributes
    C cecildt

    Hi All, I want to know if it is possible to specify on your class properties the display width that a control must used when the property is assigned to a control or a column in the grid. Basically I have created a custom class. Then get data back into a List. This List gets assigned to a grid. Know I would like to assign some basic display values to the property in the class and not have to go to the grid to specify display values like width of column. Data Example: var query = from c in Clients select new Client { Name = c.Name, Email = c.Email }.ToList(); public class Client { public string Name {get; set;} public string Email {get; set;} } Any ideas will be welcome!

    C# css database tutorial

  • DataSet Design to database
    C cecildt

    I know Visual Studio is the IDE. :laugh: Just want to know how people are using the DataSets. Thanks for your responds. O, use Notepad++ not notepad!

    C# csharp database visual-studio design question

  • DataSet Design to database
    C cecildt

    Hi all, What is a better design in visual studio. To create separate datasets for each database table or one dataset with all tables on the dataset. Lets say the database has 30 tables. Just want to know your opinions! Regards Cecil

    C# csharp database visual-studio design question

  • DataColumn.Expression
    C cecildt

    Fixed it myself. Sorry. DataColumn.Expression = "ProjectCode +'"+Environment.NewLine+"' + ProjectDesc";

    C#

  • DataColumn.Expression
    C cecildt

    Hi, Why do the following statement not working: DataColumn.Expression = "Value1 + \n + Value2" Try to assign two strings which is below each other for multi-line text. thanks

    C#

  • Get File Encoding
    C cecildt

    Hi, Does anyone know of a way to detect a text file's encoding (ANSI, UTF8, UTF7)? So that I can read the text file in a StreamReader with the right Encoding enabled. thanks

    C# question

  • StreamReader and special tag problem
    C cecildt

    I'm reading a whole line into a temp string and use the '|' tag to divide the string into column values. When I read the whole string from the file the '|' tag is missing. So, I cannot divide the string up. thanx

    C# help tutorial question

  • StreamReader and special tag problem
    C cecildt

    Hi, I try to import a simple text file that have many rows with a special row format Example: |item|123|any items|4.50| When I read the lines in from the text file it removes the '|' tag. Why is that?? Example Code: StreamReader importFile = File.OpenText(txtPath.Text); txtLines.Text = txtLines.Text + importFile.ReadLine(); I know I'm missing something simple. Thanks for any help.

    C# help tutorial question

  • Office 2007 Toolbar Ribbon
    C cecildt

    hi, Does anybody know where to get C# source code to create the fancy Office 2007 Toolbar Ribbon with the big round button?

    C# csharp question

  • Change UserStrings in code
    C cecildt

    Thanks. Can you give me some example code that shows how to load and unload the resourcestrings dynamically in a app. I read that resourcestrings load only at app start up according to locale and that you cannot change the resourcestrings dynamically.

    .NET (Core and Framework) csharp tutorial question

  • Change UserStrings in code
    C cecildt

    Thanks for th reply. Firstly I created resourcestrings in Delphi for .Net to keep Strings seperate in the assembly that is available to change with a resource editor. These strings are saved in the .Net Metadata in the assembly under UserStrings. I need to change these values inside the app, not with a external resource editor. Delphi for .Net Code resourcestring StrPlay = 'Lets play' C# code const string StrPlay = 'Lets play' This whole thing is to change the whole app between different languages on the fly. Form changes work 100% on the fly. The problem is the strings that is hard coded in the source files that needs to change between different languages. Hope this explain it better. I can explain in futher detail. Any code examples in any language will help. Thanks for helping!

    .NET (Core and Framework) csharp tutorial question

  • Change UserStrings in code
    C cecildt

    Hi Does any one know how to change the UserStrings Values in the .Net Metadata in code?

    .NET (Core and Framework) csharp tutorial 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