9,869,883 members (28,774 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
51 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 2
Page Size:
10
·
25
·
50
Author filtered by: AYDIN EBRAHIMI HOMAY
[x]
Display Data from ListBox 1 to ListBox 2 from SQL Server
by
AYDIN EBRAHIMI HOMAY
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 *...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ListBox
Display Data from ListBox 1 to ListBox 2 from SQL Server
by
AYDIN EBRAHIMI HOMAY
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; ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ListBox
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...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
C#
C#4.0
MVC3
change the name of file instead of SaveFileDialog.OverwritePrompt
by
AYDIN EBRAHIMI HOMAY
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); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
Display Data from ListBox 1 to ListBox 2 from SQL Server
by
AYDIN EBRAHIMI HOMAY
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 ;)...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ListBox
pass paremtre to formula in Crystal Report
by
AYDIN EBRAHIMI HOMAY
Answer
10 May 2013
license:
CPOL
Hi You can use parameter filed from Crystal Report and for do it please check the follow of...
General Programming
»
Uncategorised Quick Answers
»
General
C#
VB
VB.NET
how to develop speech to text through silverlight and / or flash in c#
by
AYDIN EBRAHIMI HOMAY
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
.NET
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
Counting ListView items, SelectedItems returns wrong value
by
AYDIN EBRAHIMI HOMAY
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.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Beginner
ListView
problem
Re: Prolog
by
AYDIN EBRAHIMI HOMAY
Forum Message
3 May 2013
So could you tell me where should I post it ?
General Discussions
»
The Insider News
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
General Discussions
»
The Insider News
S#
by
AYDIN EBRAHIMI HOMAY
Forum Message
2 May 2013
Really good so thank you Petro.
General Discussions
»
Script.Net A Language For Embedding Scripting Functionality Into Clr Applications
How to login with yahho and gmail
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
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...
General Programming
»
Uncategorised Quick Answers
»
General
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
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
sqlserver2008
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...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
PHP
MySQL
jQuery
Re: Interesting
by
AYDIN EBRAHIMI HOMAY
Forum Message
30 Apr 2013
So tnx dear my pleasure ;)
General Discussions
»
Tip/Trick "How To Hosting Windows Form In Windows User Control"
Convert PowerBuilder Application into .NET
by
AYDIN EBRAHIMI HOMAY
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[^]...
General Programming
»
Uncategorised Quick Answers
»
General
C#
VB
VB
VB.NET
PowerBuilder
How to Hosting Windows Form in Windows User Control
by
AYDIN EBRAHIMI HOMAY
Tip/Trick
30 Apr 2013
license:
CPOL
In the article I want illustrate how to hosting windows form in windows user control
Desktop Development
»
Dialogs And Windows
»
Dialogs
C#1.0
C#2.0
C#3.0
C#
Windows
.NET
Win32
Visual-Studio
Dev
Intermediate
, +
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
VB
.NET
Problem Connnecting MySQL Database to my VB 2010 project
by
AYDIN EBRAHIMI HOMAY
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...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB10
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...
General Programming
»
Uncategorised Quick Answers
»
General
VB
SQL
.NET
SQL-Server
VB
database
VB.NET
How to Hosting Windows Forms User Control in MFC Dialogs
by
AYDIN EBRAHIMI HOMAY
Tip/Trick
27 Apr 2013
license:
CPOL
This Tip/Trick discuss about hosting windows form user control in MFC dialog box and View windows
Desktop Development
»
Dialogs And Windows
»
Windows Common Dialogs
C++/CLI
C#
.NET
MFC
Dev
Advanced
dialog
API
CLR
NET
, +
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
General Discussions
»
Using Winforms Controls In An Mfc Dialog
How to get text data from hyper terminal and store into excel file or access database?
by
AYDIN EBRAHIMI HOMAY
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 ...
General Programming
»
Uncategorised Quick Answers
»
General
VB6
How to set condition to the field on crystal report designer?
by
AYDIN EBRAHIMI HOMAY
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...
General Programming
»
Uncategorised Quick Answers
»
General
VB6
Oracle
how i create in my Database, a "table.dbo" and save it !
by
AYDIN EBRAHIMI HOMAY
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.
General Programming
»
Uncategorised Quick Answers
»
General
VB
Visual-Studio
VS2012
I am trying to display all records in a flexgrid.
by
AYDIN EBRAHIMI HOMAY
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" ...
General Programming
»
Uncategorised Quick Answers
»
General
VB6
grid
Re: Which one is better .NET or MFC ?
by
AYDIN EBRAHIMI HOMAY
Forum Message
16 Apr 2013
Ok compare MFC with Windows .NET Application?
General Programming
»
.Net Framework
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
General Programming
»
.Net Framework
Set the Windows Form (C++/CLI) in MFC 10 as a child form
by
AYDIN EBRAHIMI HOMAY
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...
General Programming
»
Uncategorised Quick Answers
»
General
C++/CLI
MFC
.NET
.NET4
Re: Plagiarism
by
AYDIN EBRAHIMI HOMAY
Forum Message
10 Apr 2013
I've done it, but nobody cared :(
General Discussions
»
The Soapbox
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
General Discussions
»
The Soapbox
Re: Plagiarism is never a good idea...
by
AYDIN EBRAHIMI HOMAY
Forum Message
9 Apr 2013
Please read the article carefully before judge! :^)
General Discussions
»
Tip/Trick "How To Merge Native And Managed Code"
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 ...
Platforms, Frameworks & Libraries
»
Mfc
»
Mfc/Atl For Vc++ 7
VC8.0
.NET2.0
.NET3.0
.NET3.5
C++
C++/CLI
.NET
MFC
Intermediate
Advanced
, +
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.
General Discussions
»
Tip/Trick "How To Merge Native And Managed Code"
Re: Formatting.
by
AYDIN EBRAHIMI HOMAY
Forum Message
7 Apr 2013
Ok tnx a lot for your attention :rose:
General Discussions
»
Tip/Trick "How To Marge Native And Managed Code"
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:
General Discussions
»
Tip/Trick "How To Marge Native And Managed Code"
Re: Typo in title.
by
AYDIN EBRAHIMI HOMAY
Forum Message
7 Apr 2013
ooohhh so sorry yes it's my mistake :^)
General Discussions
»
Tip/Trick "How To Marge Native And Managed Code"
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:
General Discussions
»
Article "How To Marge Native And Managed Code"
LNK2005 error from my MFC / CLI project ( Native and Managed Code)
by
AYDIN EBRAHIMI HOMAY
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...
General Programming
»
Uncategorised Quick Answers
»
General
MFC
.NET
.NET4
How to fill the second combobox on depending on the selectedvalue of the first
by
AYDIN EBRAHIMI HOMAY
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...
General Programming
»
Uncategorised Quick Answers
»
General
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.
General Reading
»
Hardware & System
»
General
ASM
Pascal String Implementation From Assembly Language
by
AYDIN EBRAHIMI HOMAY
Tip/Trick
31 Mar 2013
license:
CPOL
General Programming
»
Algorithms & Recipes
»
General
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 ;)
General Discussions
»
Tip/Trick "How To Show Message From Assembly"
Using .net 4 library from MFC applications
by
AYDIN EBRAHIMI HOMAY
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 ... :)
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
.NET
.NET4
MFC Grid control 2.27 Compatibility with Grid Control 2.21
by
AYDIN EBRAHIMI HOMAY
Tip/Trick
27 Mar 2013
license:
CPOL
Minor changes on CGridCtrl 2.27 for compatibility with old version of this control
Desktop Development
»
Grid & Data Controls
»
Datagrid And Dataview
C++
Windows
MFC
Beginner
Intermediate
Advanced
CGridCtrl version 2.27 has not AddPoint Method
by
AYDIN EBRAHIMI HOMAY
Forum Message
26 Mar 2013
Hi From the old version of CGridCtrl (ver 2.20) we have m_strType variable and AddPoint method at the CGridCtrl class but we have not same variable and method at the version of 2.27 so I get error
General Discussions
»
Multiline Titletips
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid