473,586 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

4
1,583
thread by: dipak000 | last post Nov 25 '14 by: dipak000
Hi, I have a non form class. I want to update label/ check status of check box etc.. in non form class ( here resides functions that contains logic). How can i do that ?
1
1,168
thread by: rexchie | last post Nov 24 '14 by: Frinavale
Validated if textbox is empty and not empty ,and what is the proper if else statement: private void btnSave_Click(object sender, EventArgs e) { if (txtFName.Text == "") { labelID.Text = "!"; } if (txtLName.Text == "") {
1
1,218
thread by: reachtome443 | last post Nov 24 '14 by: Frinavale
I am using below code to generate mail through C # code SmtpClient smtp = new SmtpClient("smtp.live.com", 587); smtp.EnableSsl = true; smtp.UseDefaultCredentials = false; smtp.Credentials = new NetworkCredential("XYZ@live.com", "********"); MailMessage mail = new MailMessage("XYZ@live.com", "ABC@live.com", "Registered Query", ("Dear Sir" +...
1
1,238
thread by: jp50012345 | last post Nov 24 '14 by: Kara Hewett
Need help Can I code like in Designer host and Data retrive from database and show into the controls.Is it possible to do in Designer host. Regards, JP
3
1,457
thread by: Denden | last post Nov 21 '14 by: Frinavale
Good evening, ive written a simple code but throws an error in C#, why is this happen. bool inputValue = Convert.ToBoolean(Console.ReadLine()); Console.WriteLine(inputvalue); Console.ReadLine();
0
1,033
thread by: rexchie | last post Nov 20 '14 by: rexchie
What is the proper if else statement of this: private void btnSave_Click(object sender, EventArgs e) { if (txtID.Text.Trim()== "") { labelID.Text = "!"; } if (txtLastName.Text.Trim()=="")
0
1,245
thread by: BaumHard920 | last post Nov 17 '14 by: BaumHard920
I'm newbie here, but I need some help. I need to build an application for my Foscam IP camera. I found an interesting article on Planet-source-code.com: How to create USB webcam / IP camera recorder to capture and save video (C# WPF). This aroused my attention, but so far I am unable to find out how to implement it without using a third party SDK...
8
2,815
thread by: bhavanims | last post Nov 13 '14 by: Frinavale
while opening a new DB2 connection using ODBC connection i get the following error message ERROR SQL30061N The database alias or database name \"DATABASENAME \" was not found at the remote node. SQLSTATE=08004\r\n\r\nERROR Driver's SQLSetConnectAttr failed"string here i find some additional spaces are appended along with the...
0
1,116
thread by: nudmat | last post Nov 12 '14 by: nudmat
Good day to all, Please i need your help and support on how to resolve this problem.My UI thread stopped responding after two updates.In an attempt to solve this problem,i had tried to use Backgroundorker and Asynchronouse programming.With the backgroundwork,my GUI did not respond.Values sent to the GUI did not even show at all,so there was...
0
1,119
CodeNoobster
thread by: CodeNoobster | last post Nov 12 '14 by: CodeNoobster
Hi everyone, I am finally ready to publish a c# application that I have been working on how ever, when an installer has been created and executed, The MS Access database that the application uses is not installed. Now I have changed the database publish status to "Data File" in the publish settings of the properties of the project but nothing...
0
1,147
thread by: deckson | last post Nov 11 '14 by: deckson
Can anyone explain me why this error I keep getting this error: Message 1 The file 'c:\users\apple\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\Form1.cs' does not support code parsing or generation because it is not contained within a project that supports code. 0 0
1
1,991
thread by: MohsinM20 | last post Nov 10 '14 by: Frinavale
Hello All , I am working on a windows application that is for make a time schedule for all staff. i am using two gridview one for all staff names from employee table , and second is for time schedule, time schedule DGV is like 6to7 , 7 to8...12to1,... 5to6 columns . when user will select like 7to8 , 8to9,9to10, columns with holding ctrl key ,...
1
4,728
thread by: PaxForce | last post Nov 10 '14 by: Frinavale
Hi all, I would like to create a small C# application with this functionality. 1. Drag&Drop an e-mail from Outlook onto a C#Form. 2. the application will get the values in the e-mail and fill out the form fields (sender e-mail, subject, body of the email: client name, client surname, client message, etc.) This is ALL i need. Nothing...
1
1,635
thread by: soundararajanom | last post Nov 10 '14 by: Frinavale
hi iam using this code for datagrid row storage while check data is exist or not in DB sql server 2008 cmd.Parameters.Value = row.Cells.Value; cmd.Parameters.Value = row.Cells.Value; cmd.Parameters.Value = DateTime.Now; check(); after to debug in comes in check function first time hasrow function is true value check and get display as...
1
14,745
thread by: nudmat | last post Nov 4 '14 by: iam_clint
Good day to all, Please I need your guide and support on how i can stop my GUI from freezing.I have 3 buttons, and a checkbox on my GUI.Two of the buttons are used to connect and disconnect my application to the serial port while the third button is used to turn ON/OFF LED.The checkbox is used to receive DATA from the microcontroller...
4
23,160
thread by: amphibian1 | last post Nov 3 '14 by: farisyusry
I'm trying to write a C# application that iterates through a collection of Microsoft Office documents and standardizes the meta data of those documents (e.g. the author and company name). Unfortunately, I can't seem to figure out what libraries/classes I should use to do this, if they exist at all. I have looked at the Microsoft.Office.Core...
0
1,092
thread by: ozthe1337 | last post Nov 2 '14 by: ozthe1337
Hello, Everytime I put Autoscroll on and I debug my application, this happens: http://gyazo.com/3185bc3c035690ef56c4b2c209c89c2a There is a big empty space on top, I don't know what is the cause of this. I've even made a new project, and still happens. Please help me, thanks!
4
4,579
thread by: Parul123 | last post Oct 29 '14 by: Parul123
I am using “SetWindowsHookEx” to hook into keyboard input events and does the keystroke... public class KeyboardHookStruct { public int vkCode; public int scanCode; public int flags; public int time; public int dwExtraInfo;
0
1,736
thread by: Sakura17 | last post Oct 29 '14 by: Sakura17
I am working on serial port programming. Here in my case, continuous set of data is coming through a serial port and i want to display that data in chart. means each time a new set of data is received the chart should change according to the value. My problem is when i am using message box it is working. but when i remove the message box, the...
3
1,201
thread by: lpgdetection | last post Oct 23 '14 by: iam_clint
I have data that I already gathered using the loops I made in a microcontroller. Then it will go to a GUI made in Visual C#. I need those data to be accessed through the Internet. Are there any websites that cater C# well enough? How can I upload information through the internet using visual studio? Please enlighten me. After that, I am quite...
0
1,137
dbrewerton
thread by: dbrewerton | last post Oct 23 '14 by: dbrewerton
Ok, I am trying to figure out the best way to accomplish this in code. I have a spreadsheet with numerous tabs and what I want to do is in C# read the name of each sheet and then its corresponding rows of data. Currently, this is what I have: if (!DirectoryIsEmpty(DropZone.ToString())) { ...
8
1,830
CodeNoobster
thread by: CodeNoobster | last post Oct 23 '14 by: CodeNoobster
Hi everyone I have a button which selects a particular tab and tab page on a form. This tab page has an embedded tab control with several more pages. When I click on this button, the desired tab page is selected, but the NumericUpDown value (which is on the tab page) is not visible. The value is the current year. Any idea what could...
1
1,233
thread by: PRAMADIVI | last post Oct 22 '14 by: Frinavale
How to use enter key? When am using two textbox then to enter the key automatically goto next form. This time am not using tab or mouse ??
0
1,102
FishVal
thread by: FishVal | last post Oct 21 '14 by: FishVal
Hi, there. I have a localized form which inherits from other localized form. Everything works fine in runtime, but in designer, properties of base form/components are set from default resx of the base form no matter what language is chosen for the parent form design. The base form itself behaves as expected in designer. Any suggestion would...
1
1,439
thread by: wlee1970 | last post Oct 20 '14 by: Frinavale
Hi, I am trying to add columns to datagridview and able to insert information from my textboxs also combobox with date. Also using Microsoft Access database at the sametime. Is there any tutorials on this type of information i am asking for. Or can i get help from the start to the end. I just don't know where to start from since i am a beginner...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.