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
O

Oleksandr Kucherenko

@Oleksandr Kucherenko
About
Posts
43
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Clipboard and IStorage
    O Oleksandr Kucherenko

    Hi! this is not realy what i want... I mae port of structures and interfaces long time ago, but I think I make something wrong... that is why I ask for example of code. BTW Heath Stewart wrote: After that, simply call Clipboard.SetDataObject(object) or Clipboard.SetDataObject(object,bool) in your client code. such code will not work with Clipboard implementation provided by NET Framework. That is why I need example with OleSetClipboard and OleGetClipboard API methods calls. Good Luck Alex Kucherenko

    C# tutorial question

  • Clipboard and IStorage
    O Oleksandr Kucherenko

    Hi! Anybody know how to put IStorage or IStream interface into NET clipboard? (with example please) Good Luck Alex Kucherenko

    C# tutorial question

  • unicode in c#
    O Oleksandr Kucherenko

    Hi! Console automaticaly convert string to OEM encoding and then type it in console window... that is why not all unicode charecters can be converted and shown in console window. try to do the same on WindowForm... Good Luck Alex Kucherenko

    C# csharp help

  • GDI Tip of the Day
    O Oleksandr Kucherenko

    Try to search more in MSDN. look into Brushes.Black Good Luck Alex Kucherenko

    C# csharp com graphics tools help

  • GDI Tip of the Day
    O Oleksandr Kucherenko

    Wrong! but can be used. in net we have such classes: SystemPens, SystemBrushes and etc. Your class does not check is requiered Pen or Brush can be replaced by System version, which are exist as singleton instance for hole application and does not use additional GDI Objects. Good Luck Alex Kucherenko

    C# csharp com graphics tools help

  • Virtual company
    O Oleksandr Kucherenko

    Good idea, but no Implementation. Step to make own company (on my mind): - register firm - solve problem of money payment (open in bank bill or something else...) - create own site (on site make advertise to your services and products) - make descision which sector of customer you want to catch... - make advertise of company site on popular sites/magazines/etc. (according to customers which you want to get) - get on hand two-three developers which live with you in one town (needed for critical situations, like deadline!) - and wait... To make company work you must put into advertise at least near by 5000$(USA) Good Luck Alex Kucherenko

    Collaboration / Beta Testing sysadmin

  • Have anyone idea how to spend weekends?
    O Oleksandr Kucherenko

    Have anyone idea how to spend weekends? I always want to ask other developers how they spend there weekends... In my case this often looks like: - I meet with my friends from other developers firms and we drink beer and talk about programming.... :cool: Good Luck Alex Kucherenko

    The Lounge tutorial question

  • declaring variables...
    O Oleksandr Kucherenko

    Only two question: Is it realy needed to support Sql and OleDb clients at the same time? You need both dataaccess methods in runtime? I make my current project using only OleDb... And I can say that i have no performance looses. OleDb give you more kinds of storages that can be used by you. So... if you still interesting in support of two data access methods then better write own short wrappers... later they can be easily grow to someting more complex. Good Luck Alex Kucherenko

    C# database question

  • declaring variables...
    O Oleksandr Kucherenko

    use interfaces! Good Luck Alex Kucherenko

    C# database question

  • Undo/Redo/MultiClipoboard managers
    O Oleksandr Kucherenko

    does anyone yet write undo/redo manager for .NET windows forms applications? does anyone write multi-clipboard manager for .NET? Good Luck Alex Kucherenko

    Article Writing csharp winforms question

  • Datasets - Adding columns
    O Oleksandr Kucherenko

    Try such way: - create copy of DataColumns - change in copy name to unique one (add prefix to names) - add copy DataColumns to collection - ??? map data of old columns to new columns ??? (how to do that???) - remove old columns from collection - change names of columns to default one (remove prefix from names) I don't know how to re-map columns data, but i think this is easier to do then copy all data from dataset... Good Luck Alex Kucherenko

    C# tutorial

  • Datasets - Adding columns
    O Oleksandr Kucherenko

    DataSet dsSet; DataTable table; // ... fill of dataset ... DataColumn[] columns = new DataColumn[ table.Columns.Count ]; table.Columns.CopyTo( columns, 0 ); // ... table.Columns.Clear(); ArrayList lst = new ArrayList( columns ); // change order and quantity of columns lst.Insert( ... ); lst.RemoveAt( ... ); lst.Add( ... ); // add columns to table again table.Columns.AddRange( ( DataColumn[] )lst.ToArray( typeof( DataColumn ) ) ); lst.Clear(); Only one note... I don't know what will happens with DataTable Data... Good Luck Alex Kucherenko

    C# tutorial

  • Datasets - performing selects
    O Oleksandr Kucherenko

    OR DataView view = new DataView( dsSource.Tables[0], "col1 = " + **... Value ...**, "", DataViewRowState.CurrentRows ); Good Luck Alex Kucherenko

    C# database tutorial question

  • Datasets - performing selects
    O Oleksandr Kucherenko

    DataRow row = dsSource.Tables[0].Rows.Find( new object[] {'a'} ); Good Luck Alex Kucherenko

    C# database tutorial question

  • A .Net way to do PostMessage()?
    O Oleksandr Kucherenko

    Look into BeginInvoke... this method works like PostMessage... In my application I use PostMessage API... :| Good Luck Alex Kucherenko

    C# csharp json tutorial question

  • Is it a new version of DLL hell?
    O Oleksandr Kucherenko

    Upgrade server is still the only one solution for this problem... I want to find more then one solution (if it exists :( ). Thanks for help. Good Luck Alex Kucherenko

    .NET (Core and Framework) dotnet sysadmin help tutorial question

  • Is it a new version of DLL hell?
    O Oleksandr Kucherenko

    Hi! I have such problem: - i make 3-tiered application, in which data access layer work on standalone computer (Server). - I have some clients which use this server. On server I have Framework 1.0 only! But clients can have differ configurations: - only framework 1.0 - only framework 1.1 - both frameworks in case when client has only 1.1 version server sometimes throw strange exceptions. On Remoting of OleDbType I have exception that server can not create instance of object on his side. 'FastReporting.exe': Loaded 'c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll', No symbols loaded. Strong Thread Exception: Exception: File or assembly name System.Data, or one of its dependencies, was not found. Does anybody know how to configure client or server to remove such problem? Good Luck Alex Kucherenko

    .NET (Core and Framework) dotnet sysadmin help tutorial question

  • Custom controls problems
    O Oleksandr Kucherenko

    Hi! I have such problem: I wrote DLL which contains many controls, it always attached to solution like a single project. All works fine till I try to change version of my DLL in AssemblyInfo.cs file... After change all form which use custom control in designer look strange. All custom controls disappeared and on Task window has many errors like this one: Could not find type 'MenuItemEx'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. All references in project are set well... Application start without any problems... but I loose opportunity to edit any form!!!! I can design it and after close and try to open again loose all control on form... Does anyone can suggest how to fix this problem? The main problem is that I can not change version number back... release of application was accomplished!!! Good Luck Alex Kucherenko

    C# help announcement design tutorial question

  • Idea
    O Oleksandr Kucherenko

    good, but not enough Good Luck Alex Kucherenko

    Article Writing csharp c++ tutorial

  • C# Dynamic Assembly
    O Oleksandr Kucherenko

    try to use attributes [Designer( **"UtilityLibrary.Designers.WizardFormDesigner, UtilityLibrary.Designers, Version=1.0.4.0, Culture=neutral, PublicKeyToken=fe06e967d3cf723d"** )] In bold is a sumbolic name of assembly. By such name Framework can find and load needed assembly. In your case look for Convert attributes: [ Category( "Appearance" ), DefaultValue( -1 ), Description( "GET/SET toolbar item image from Image List" ), Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor)), TypeConverter( "System.Windows.Forms.ImageIndexConverter" ) ] Such knowladge can help :) Good Luck Alex Kucherenko

    C# csharp 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