16,012,223 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ese ochuko (Top 36 by date)
Ese ochuko
26-Nov-13 2:42am
View
Thanks i will step on it immediately
Ese ochuko
16-Nov-13 5:55am
View
Hi tank u very much for your reply, you know have not done this before, so i have some more question,if i put the connection string in the app.config, dose that mean i have to remove the conection from all my forms,if so, how am i going to make my form use the conectionstring in the app.config. You said i should change my conectionstring to the server dose that mean that if i want to install this software in another place with a diferent server,i have to re_deploy again,please help me because i truely dont have any idear.thanks
Ese ochuko
9-Jul-13 13:36pm
View
Tanks bro
Ese ochuko
11-Mar-13 18:43pm
View
Thanks or your reply
The thing is, i have a datagrid that is binded to a table in sql database so onload of the form the datas are drawn to datagrid , now am trying to preview this data in an ordered maner, take for instance datagrid has two columns, id and name
so this is fixed now on selecting a row in grid the information selected should be previewed in the listview and when you move to the next, the data are also transfered to listview. example of what i want is how visual studio property window works. where when you click on a control it displays the properties of the control, i.e the Text, font, backcolor e.t.c and when you click on another control same thing happens. thanks
Ese ochuko
11-Mar-13 17:53pm
View
Please am using winform
Ese ochuko
9-Mar-13 17:25pm
View
Sql server db
Ese ochuko
7-Jan-13 8:23am
View
Dont know much about those stuff, can u please break it down a little
Ese ochuko
23-Oct-12 9:31am
View
Wow!
Is working like i wanted it to work, but there is just one litle problem is not giving any space between the words
Ese ochuko
19-Oct-12 0:18am
View
To do this i was using,
richTextBox1.Text = comBoBox1.Text;
which is not working as i want atall
Ese ochuko
12-Oct-12 12:08pm
View
Hi that code refused to run it gives me an exception 'code not in correct format'
Ese ochuko
30-Sep-12 0:51am
View
Thanks for your reply, am using show(), now the question is history button like that in a website(back and forward), when you click on back button it takes you back to the initial web page.hope you understand, now i want to do this in winform app
Ese ochuko
26-Sep-12 4:46am
View
Ya but like i said i have never worked with sms before i have searched and all a saw i didnt undastand, so i thought maybe somebody could put me through here. thanks
Ese ochuko
26-Sep-12 4:39am
View
Thanks for the clue
Ese ochuko
16-Sep-12 1:44am
View
Ok what you are saying is that i should print out the certificate from the System to an A4 paper first, then print the text to the certificate, if thats what you mean now the challenge is, printing the text from the application to respective position in the A4 paper certificate. If you can show me i wil b very happy thanks.
Ese ochuko
16-Sep-12 1:35am
View
Hi
tanks for your reply can you please give me an example.
Like a small code example so i can undastand it properly
Ese ochuko
11-Sep-12 2:50am
View
Ok thanks, so hw many million unique numbers will i be able to generate with the code
Ese ochuko
11-Sep-12 2:39am
View
Hi guys the thing is guid is too long and it wont be convenient to the user, becos the pin will be given to the users as their ID. Take for example acount number of a bank,phone number they are all unique for different users.so thats the idea am trying to put in place even if the number is 10 digit there is no problem provided its unique for every user. Or is phone numbers and bank number not automatically generated?
Tanx for your help
Ese ochuko
11-Sep-12 2:36am
View
Hi guys the thing is guid is too long and it wont be convenient to the user, becos the pin will be given to the users as their ID. Take for example acount number of a bank,phone number they are all unique for different users.so thats the idea am trying to put in place even if the number is 10 digit there is no problem provided its unique for every user
Ese ochuko
10-Sep-12 10:59am
View
The thing is the pin will be given to the user and that will be their ID, using GUID i dont think it will be convenient for users. i want the pin of all the users to be atleast 8digit or even 10 provided it is in digit and is unique. For instance, just as credit card number is unique for every user, the account number in a bank is unique for every users, and even the telephone number is unique for every users. Hope you undastand what am saying. Thanks for your help.
Ese ochuko
10-Sep-12 10:47am
View
Is there any possibility that there wont be any digit that will be the same from your code becos am inserting it into the primary key table
Ese ochuko
10-Sep-12 4:01am
View
Thank you very much, you are a genus
Ese ochuko
10-Sep-12 1:22am
View
Hithanks for your reply.you knw i have not done this bfore. in the code you gave to me, visual studio is not recognising the 'checkexist' is it a key word or what?. Can you please xplain the code with comment.thank you very much
Ese ochuko
9-Sep-12 3:44am
View
Hi thanks for your response, am using sqlserver an i am linkin my winform to it,this code u gave me where am i going to place it. Can you help me with a step by step example so i can undastand it more clearly.thaaaaaannnnnkkkss
Ese ochuko
9-Sep-12 3:23am
View
Hi gurram
thanks for everytin you are so kind.the code you gave to me is working as i expected, but there is a little problem. The problem is when i run the code and open form2 or form3 it worked as i expected it.but when i close it and try to re- open it by cliking on the menustrip it dsiplays an exception "cannot access a disposed object. Object name form2" i tried to handle this my self but cud not can u please hhelp me on this.thanks for everytin
Ese ochuko
8-Sep-12 17:44pm
View
Hi please is there any special name space i should add.i have added the microsoft.office.interop.powerpoint but it still nt working is not accepting 'microsoft.office.core.MsoTriState'
Ese ochuko
6-Sep-12 18:09pm
View
Thanks for your response. Am using visual studio 2010 ultimate and its not regognising the using power point and every other stuff is there any special namespace i need to add first or anything i need to enable bfore i can run this code?.thanks
Ese ochuko
6-Sep-12 17:50pm
View
Yes thats the flow login>mdiparent>form2 an form3.
The mdiparent has the menustrip. The login form is accesd from a toolstripbutton in the mdiparent.i want that wen you login with a specific role ,some buttons in form2 and form3 are enabled. So that when i click on either form2 or form3 menustrip item in the mdiparent, i should b able to work with the enabled buttons .tnx.if dnt undstand pls ask me again to explain the question more tanks for your time
Ese ochuko
6-Sep-12 5:30am
View
Well the thing is that i want to desing an app that if a user enters his first name, last name and date of birth and clicks on a button "view cert" all the infomation entered by the user are tranfered to a certificate in form2 so from their the user can be able to print the certifficate . So am using the certificate as my background image, an three labels on some specific point on the form. So wat i want now is to print the certificate form as it appears. Please i dont know if this is a good practice .if you have a better idea please share it.code example will help alot
Ese ochuko
6-Sep-12 4:08am
View
Thank u very very much for your reply the thing is am a biginer learning by practicing.the thing is that fom1 is not the form with the menu strip, the menustrip is present on the parent form.take for instance the form1 is a login form and i want that when the user logs in with a particular role, some buttons on different child forms are enabled and some will be disabled as wel,so that the user is retricted to specific information that concerns his role.thanks again pls code example wil b of great help. thanks once again for ur help
Ese ochuko
5-Sep-12 12:23pm
View
Please can u give me a complete example with codes thnx
Ese ochuko
5-Sep-12 9:01am
View
Wat am trying to say is that, i av an mdiparent form wit two child form1 which has a button an form2 which also has a button but its disabled,both of the forms are accessed from a menustrip in the mdiparent. Now i want that when a user clicks on the button in form1, the button in form2 should be enabled.
Ese ochuko
3-Sep-12 2:29am
View
Am a beginner ,i think i need every bit, laugh. Even if u wana add screen shot thats okay by me .thanks very much
Ese ochuko
2-Sep-12 9:26am
View
Thank u vry much for your reply but can u please can you show me sme example with codes thanks very much for your response
Ese ochuko
24-Aug-12 7:49am
View
Sory am a biginer dnt knw much abt datagridview. do i nid to specify a path in my code to retreive from d table dat hz d image .can u help me with d code to do dat?
Tnks in advance
Ese ochuko
24-Aug-12 7:20am
View
SqlConnection con = new SqlConnection();
public ManagePatient()
{initializeComponent();
Bind();
}
private void Bind()
{
try
{
con.ConnectionString="Data Source=Ese;initial catalog=house; id=sa; pwd= esoch";
con.open();
sqlDataAdapter da = new sqlDataAdapter("select*from patient", con);
DataTable dt = new DatTable();
da.fill(dt);
dataGridView1.DataSource=dt;
con.close ();
}
catch (sqlException exp)
{messageBox.Show("error" + exp.Message);
}}
}
am using c#
the patient table has id,name,age,place and image column it is retreiving the other column but the imge coumn diply a box wit red 'x' and d exception .
pls mayb in ur solution u cn add code or mayb give me a new code to use to retreive from the table for clerer undastanding cos am a biginer
tanks alot
Ese ochuko
24-Aug-12 6:15am
View
It didnt specify any line it only displayd it in a datagridView default error dialog box. Let me shw u more of d exception : system.ArgumentExcetion: parameter is not valid at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbededColorManagement, Boolean validateImageData) at System.Drawing.ImageConverter.ConvertFrom(ITypeDescriptionContext context, CultureIfo culture,Object value)
at System.Windows.Form.Formatter.FomatObjectInternal(Object value, Type targetType, TypeConverter sourceConverter, TypeConverter targetConverter, String formatString, IFormatProvider formatInfo, Oject formattedNullValuee)
System.windows.form.DataGridViewCell.GetFormattedValue(Object value,int32 rowindex, DataGridViewCellStyle & cellStyle, TypeConverter valueTypeConverter, TypeConverter formattedValueTypeConverter, DataGridViewDataErrorContexts context)
the above is sum stuff displayd in d dialogbox it cnt b copied so i typed it
Show More