Click here to Skip to main content
Page 1 of 2
Page Size: 10 · 25 · 50


Author filtered by: AYDIN EBRAHIMI HOMAY [x]
Answer 13 May 2013   license: CPOL
Hi againIt is really easy just you should register SelectedIndexChanged event for listbox2 and make your query follow of :void listBox1_SelectedIndexChanged(object sender, EventArgs e) { string bindingQuerylistBox2 = string.Empty; bindingQuerylistBox2 = "select *...
Answer 13 May 2013   license: CPOL
private void Form2_Load(object sender, EventArgs e) { SqlConnection cs = new SqlConnection(@"Data Source=.\sqlexpress;Initial Catalog=details;User ID=sa;Password=P@ssw0rd"); SqlCommand cmd = new SqlCommand(); cmd.Connection = cs; ...
How to split a connection string by AYDIN EBRAHIMI HOMAY
Answer 10 May 2013   license: CPOL
Hi harshalYou can get the connection string follow of this sub code:string strConnectionString=ConfigurationManager.AppSettings["ConnectionString"];ConnectionString is the name of your connection string form web.config after that you can split the strConnectionString with...
Answer 10 May 2013   license: CPOL
Hi AliPlease first get the file name and path with FileName property from Save dialog and after check the file if the file is exist you should change the file name and save again ;)private void Save_Click(object sender, EventArgs e) { Random rnd = new Random(0); ...
is exists query througyh c# by AYDIN EBRAHIMI HOMAY
Answer 10 May 2013   license: CPOL
HiFor checking record form db you can use SlqDataReader if you in SQL Server platform, and for update you can use ExecuteNonQuery method in SqlCommand object for example:public class Class1 { public void Execute() { SqlConnection readerconn = new...
Answer 10 May 2013   license: CPOL
Hi NirmalPlease change your binding solution, your solution is not good solution so please review follow of links and use list box DataSource property for this purpose, if you have a any question after review these links please take a comment for me ;)...
Answer 10 May 2013   license: CPOL
Hi You can use parameter filed from Crystal Report and for do it please check the follow of...
Tip/Trick 7 May 2013   license: CPOL
This tip/trick discusses about hosting a Windows Form user control in an MFC dialog box and View windows.
Answer 6 May 2013   license: CPOL
HiYou can do it just check these links:Text-to-Speech Application using Silverlight 4 COM API[^]http://msdn.microsoft.com/en-us/windows/dd901770.aspx[^]Speech To...
grouping in Listview by AYDIN EBRAHIMI HOMAY
Answer 3 May 2013   license: CPOL
Hi First of all I am really agree with "Sergey Alexandrovich Kryukov",but if your mean is grouping data in DataGridView you can do it by using with RowSpan property for more information about it please follow these links:Grouping Rows in a DataGrid[^]OutlookGrid: grouping and arranging...
How to refresh the system tray by AYDIN EBRAHIMI HOMAY
Answer 3 May 2013   license: CPOL
HiYou can do it with ::Shell_NotifyIcon(NIM_REMOVE, &address_of_oldicon); just for getting more information about it you can search in google.com I am sure this key word can be useful for you ;) Additionally please review follow of links:Basic use of Shell_NotifyIcon in Win32[^]Adding...
Answer 3 May 2013   license: CPOL
HiIf you want get selected items form list view you can use these sub code please tell me if I have miss understand your idea foreach (var item in listView.SelectedItems) { listView.Items.Remove(item); }Best Regards.
Re: Prolog by AYDIN EBRAHIMI HOMAY
Forum Message 3 May 2013  
So could you tell me where should I post it ?
Prolog by AYDIN EBRAHIMI HOMAY
Forum Message 3 May 2013  
Hi every body I think if we have a some topics about the Prolog(Programming Logic) can be really good. Actually my mean is "Why we have not prolog samples in code project and why we c
S# by AYDIN EBRAHIMI HOMAY
Answer 2 May 2013   license: CPOL
Hi I can`t understand what is your mean about yahoo or gmail functionality but if you want design Login page from ASP.NET you can find more sample from google about it, or you can use built in template from ASP.NET in any visual studio latest than 2005. Additionally please review these links...
Unmute audio output device by AYDIN EBRAHIMI HOMAY
Answer 1 May 2013   license: CPOL
HiYou can do it with mixerSetControlDetails API in MFC I suggest you go to this link :mixerSetControlDetails[^]However you can use it from C# and you don`t need use MFC unless you have. for example you can call this API from c# with DllImport:[DllImport("winmm.dll")]private...
MFC
Regarding Sql Srever Stored Procedure by AYDIN EBRAHIMI HOMAY
Answer 1 May 2013   license: CPOL
HiYes of course you can write for example While Loop:DECLARE @intFlag INTSET @i = 1WHILE (@i
Log off automatically by AYDIN EBRAHIMI HOMAY
Answer 1 May 2013   license: CPOL
HiI gases you are in ASP.NET plat form so you can use timeout tag from authentication element follow of code demonstrate :So maybe your application is hosted in...
Re: Interesting by AYDIN EBRAHIMI HOMAY
Forum Message 30 Apr 2013  
So tnx dear my pleasure ;)
Answer 30 Apr 2013   license: CPOL
HiI research about your question and I find some links for you they can be use full please check and tell me result so tnx ;)1-http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc33822.1251/doc/html/hfr1269361654784.html[^]...
Tip/Trick 30 Apr 2013   license: CPOL
In the article I want illustrate how to hosting windows form in windows user control
Speech Recognition & Speech Synthesiser by AYDIN EBRAHIMI HOMAY
Answer 30 Apr 2013   license: CPOL
HiI am agree with solution 1, just additionally you can use SpeechRecognitionEngine class library from .NET 3 and latest version of .NET this library Provide the means to access and manage an in-process speech recognition in your project.at follow of link you can read about "how to program...
Answer 29 Apr 2013   license: CPOL
HiFor connecting to the any database(DBMS) in .NET you can use ADO.NET so for this purpose first of all you need a connection string after that for using a connection string you need a connection object. For sql server you can use SqlCilent library and for other database same as MySql you...
I want to switch from access to sql by AYDIN EBRAHIMI HOMAY
Answer 29 Apr 2013   license: CPOL
HiYou can convert your access database into SQL Server really easily, With Import option in SQL Server, you just need to create new database in your SQL Server and after that you can use Import Database option, these links can be use full...
Size of Static Control by AYDIN EBRAHIMI HOMAY
Forum Message 26 Apr 2013  
Hi Could you tell me how can I set size property for IDC_STATIC in my project? because when I change my Windows forms user control with IDC_STATIC by DDX it is not fit to the dialog box same as Doc
Answer 25 Apr 2013   license: CPOL
Hi Follow of these code you can open port and read data from Hyper Terminal:Option ExplicitPrivate Buffer As StringPrivate Sub Form_Load()MSComm1.CommPort = 3MSComm1.Settings = "9600,N,8,1" If MSComm1.PortOpen Then MSComm1.RThreshold = 1 ...
VB6
Answer 23 Apr 2013   license: CPOL
HiYou can use parameter filed from Crystal Report and for do it please check the follow of links:http://www.vb6.us/tutorials/using-crystal-reports-vb6-tutorial[^]http://stackoverflow.com/questions/8034308/how-to-pass-parameter-field-to-command-query-in-crystal-reports-8-5[^]you...
Answer 23 Apr 2013   license: CPOL
HiFor create Database use :CREATE DATABASE database_nameAnd for create Table use :CREATE TABLE table_name (column_name1 data_type,column_name2 data_type)For more information please check the follow of link:http://www.w3schools.com/SQl/sql_create_table.aspBest Regards.
Answer 23 Apr 2013   license: CPOL
Hi Please use follow of code for solve your problem:Public adodbcon As New ADODB.ConnectionPublic adodbrs As New ADODB.RecordsetPublic Sub opentable(sql As String) adodbcon .ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = E:\TrainTimeSchedule.accdb" ...
Re: Which one is better .NET or MFC ? by AYDIN EBRAHIMI HOMAY
Forum Message 16 Apr 2013  
Ok compare MFC with Windows .NET Application?
Which one is better .NET or MFC ? by AYDIN EBRAHIMI HOMAY
Forum Message 16 Apr 2013  
Hi Maybe we can`t possibly compare MFC with .NET, But if we assume we can do compared, to the start for construction a new project which one is better than other? :confused: Any help would be ap
Question 16 Apr 2013   license: CPOL
HiI have a project in Visual Studio 2010 and my solution explorer have two project, the first project is a MFC(Main System) and the second is a C++/CLI(Sub System). I have Windows form from C++/CLI project (second project) and I want call it from MFC project (first project),But I want to set...
Re: Plagiarism by AYDIN EBRAHIMI HOMAY
Forum Message 10 Apr 2013  
I've done it, but nobody cared :(
Plagiarism by AYDIN EBRAHIMI HOMAY
Forum Message 10 Apr 2013  
Hi A few days ago I wrote an article but someone ....!!!! have omitted, and I went on plagiarism accusations, please check my Tip/Trick again and take a right decision about it with your votes my
Re: Plagiarism is never a good idea... by AYDIN EBRAHIMI HOMAY
Forum Message 9 Apr 2013  
Please read the article carefully before judge! :^)
How to Merge Native and Managed Code by AYDIN EBRAHIMI HOMAY
Tip/Trick 9 Apr 2013   license: CPOL
Ho to marge Native and Managed codes under C++/CLI language and used .NET library from the legacy systems same as MFC or native C or ...
Re: Plagiarized! by AYDIN EBRAHIMI HOMAY
Forum Message 7 Apr 2013  
Please review be carefully I think you are mistake because my advice settings have some differences.
Re: Formatting. by AYDIN EBRAHIMI HOMAY
Forum Message 7 Apr 2013  
Ok tnx a lot for your attention :rose:
Re: Formatting. by AYDIN EBRAHIMI HOMAY
Forum Message 7 Apr 2013  
I will check it but I have no idea :) because it is ok :sigh:
Re: Typo in title. by AYDIN EBRAHIMI HOMAY
Forum Message 7 Apr 2013  
ooohhh so sorry yes it's my mistake :^)
Re: Too short for an article. by AYDIN EBRAHIMI HOMAY
Forum Message 7 Apr 2013  
Yes I am agree too ;) so I changed to Tip/Trick :cool:
Question 6 Apr 2013   license: CPOL
HiI have a project from the MFC/C++ VS2010, but I need to use ".NET Library" inside of my project. Actually I need to have a native and manged code at same time. So I am trying to use CLI/C++ facilities and integration, for that purpose I created "Empty CLI" project from the VS2010 and then...
Answer 5 Apr 2013   license: CPOL
From to the combobox you have a Member value and Display value when you are add some item to the combobox but you can`t use them with ComboBox2.Items.Add(objdr("Libelle_Gpe")) so you can use ComboBox1.DataSource but don`t forget before than use it you should initial DisplayValue and MemberValue...
VB
How to Show a Message From Assembly by AYDIN EBRAHIMI HOMAY
Tip/Trick 1 Apr 2013   license: CPOL
How to show a message from assembly.
ASM
Re: Plagiarism is never a good idea by AYDIN EBRAHIMI HOMAY
Forum Message 1 Apr 2013  
Hi Yes you right and I forget for complete my article references I will solve this mistake as soons as possible and submit again. Thank you for your advise ;)
Tip/Trick 31 Mar 2013   license: CPOL
ASM
Re: Might be useful... by AYDIN EBRAHIMI HOMAY
Forum Message 31 Mar 2013  
Yes you right, please give me a little time I will do it of course when I come back at home after 4 days ;)
Question 27 Mar 2013   license: CPOL
Hi every body How can I use .NET4 library from MFC/C++ applications ? Actually I want use .NET4 library from my MFC project and I need pretty compatibility ... :)
Tip/Trick 27 Mar 2013   license: CPOL
Minor changes on CGridCtrl 2.27 for compatibility with old version of this control

Page 1 of 2
1 2


Advertise | Privacy | Mobile
Web04 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid