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
K

Karavaev Denis

@Karavaev Denis
About
Posts
41
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Checkedlistbox, different font (style) for each item?
    K Karavaev Denis

    I've tryed to handle drawing, but it draws all control and I need one item (

    C# tutorial help question

  • Checkedlistbox, different font (style) for each item?
    K Karavaev Denis

    Hello, everyone. A little help needed ) Is there any posibility to use different font style for different items in checkedlistbox? For example, if I want to strike item if it's checked? Can't find how to do that with standart checkedlistbox ( Thanks,

    C# tutorial help question

  • ssh & C#
    K Karavaev Denis

    Can anyone help me to realyse ssh2 on c#? Any links? Thanks ===================== http://wasp.elcat.kg

    C# csharp help question

  • C# & XML should take the blue pill ;-)
    K Karavaev Denis

    Try this: http://www.codeproject.com/csharp/app\_config.asp ===================== http://wasp.elcat.kg

    C# xml question csharp database business

  • xor strings??
    K Karavaev Denis

    Ok, is there any other simple way to encode\decode some string? ===================== http://wasp.elcat.kg

    C# csharp tutorial question

  • xor strings??
    K Karavaev Denis

    string txt1 = "some_text"; string txt2 = "anything_else"; ASCIIEncoding enc = new ASCIIEncoding(); ASCIIEncoding enc2 = new ASCIIEncoding(); byte[] kb1 = enc.GetBytes(txt1); byte[] kb2 = enc2.GetBytes(txt2); MessageBox.Show(kb1 ^ kb2); Operator '^' cannot be applied to operands of type 'byte[]' and 'byte[]' damm, what I did wrong? ===================== http://wasp.elcat.kg

    C# csharp tutorial question

  • xor strings??
    K Karavaev Denis

    How to make simple xor in C#? ===================== http://wasp.elcat.kg

    C# csharp tutorial question

  • who to get window directory path programatically?
    K Karavaev Denis

    Try this: FileInfo file = new FileInfo(Environment.CurrentDirectory); all the best, ===================== http://wasp.elcat.kg

    C# com question

  • Again dialog ... :(
    K Karavaev Denis

    Yah!!! thanks, Nice idea to lock button till text is empty! ;) ===================== http://wasp.elcat.kg

    C# question help

  • Again dialog ... :(
    K Karavaev Denis

    I deed, but it, not working. I have modal dialog. And it's closing even if i put 'return'. Maybe it is becourse I click on button with 'OK' dialog properties? But is it only way to get response from my Modal dialog? ===================== http://wasp.elcat.kg

    C# question help

  • Transparency
    K Karavaev Denis

    Subject. ===================== http://wasp.elcat.kg

    C# question html com tutorial

  • Again dialog ... :(
    K Karavaev Denis

    Ok, thanks everyone, but I have one more question. To gett callback of my modal dialog I use this code: ModalDlgClass myDlg = new ModalDlgClass(); if(myDlg.ShowDialog() == DialogResult.OK) { //Do smf. } But in the modal dialog there is a small problem ... I need to check something before close it. if(textBox1.Text.Length == 0) { //cheking and need returf focus to modal dialog } else { //do smf else, then this.Close(); // I need 2 close it ONLY if textBox1 is not emty } But if my textBox1 is empty after checking modal dialog is closing ... is there any way not to close it? thanks ===================== http://wasp.elcat.kg

    C# question help

  • How do i find if user clik "ok" on my Modal Dialog?
    K Karavaev Denis

    OK, it works, thanks. But it I need to get some data from my modal dialog? If I'm typing some string and after closing dialog i need to add this string into my listbox on main window? ===================== http://wasp.elcat.kg

    C# question tutorial

  • .INI file usage in C#
    K Karavaev Denis

    Try to use this code in your app. //////////////////////////////////////////////////// public class IniFile { public string path; [DllImport("kernel32")] private static extern long WritePrivateProfileString(string section,string key,string val,string filePath); [DllImport("kernel32")] private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath); public IniFile(string INIPath) { path = INIPath; } public void IniWriteValue(string Section,string Key,string Value) { WritePrivateProfileString(Section,Key,Value,this.path); } public string IniReadValue(string Section,string Key) { StringBuilder temp = new StringBuilder(255); int i = GetPrivateProfileString(Section,Key,"",temp,255,this.path); return temp.ToString(); } } ===================== http://wasp.elcat.kg

    C# csharp com windows-admin help question

  • How do i find if user clik "ok" on my Modal Dialog?
    K Karavaev Denis

    Or how to return parametr to main wnd, when my modal dialog is closing?

    C# question tutorial

  • Update Dialog
    K Karavaev Denis

    Can I use standart: CMainDlg: CListBox list; CModalDlg: CMainDlg* mDl mDl->list.AddString("blablabla"); ?? such thing make no errors, but didn't work ...

    C / C++ / MFC tutorial question announcement

  • Update Dialog
    K Karavaev Denis

    Hi everyone. I have Dialog based app with listbox on it. In the second modal dialog i'm entering some data to editbox. Can anybody show me how to add string with text from editbox(from modal dlg) to the lisbox on main dlg? Thanks.

    C / C++ / MFC tutorial question announcement

  • Read sections names from INI file. problem.
    K Karavaev Denis

    Oh .. sorry .. I'll tryed to parse file as you said ... it works well. Thanks.

    C / C++ / MFC help tutorial question

  • Read sections names from INI file. problem.
    K Karavaev Denis

    Can you read? I need numbers and names of the INI. I can't find the way to do it with your class.

    C / C++ / MFC help tutorial question

  • Read sections names from INI file. problem.
    K Karavaev Denis

    Thanks

    C / C++ / MFC help 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