473,765 Members | 1,957 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,955
thread by: pals28 | last post Dec 23 '12 by: pals28
Well i am providing you code for a sample program. Here i have a line which needs to have an arrow head so i have visual brush which contains a line and a polyline which draws the arrow head.I have two converters named StrokeConverter and ArrowConverter which is used to provide the stroke thickness and draw the arrow respectively. I have four...
2
3,108
thread by: megamalo22 | last post Dec 21 '12 by: megamalo22
i have a text file that is divided into blocks: #1 1:animal 2:food 3:moves 4:oxygen #2 1:eats:2 2:breaths:2 3:can:1
2
4,942
thread by: Corwin Moyne | last post Dec 18 '12 by: NeoPa
Hello. I am currently creating an Access database. I am a second year programming student where I am learning java and C#. Can I use C# instead of VBA when it comes to Access? I am pretty good with C# but know nothing about VBA and I am finding the different syntax very confusing.
3
11,435
thread by: megamalo22 | last post Dec 16 '12 by: PsychoCoder
string codeentrd = Console.WriteLine("Enter the code for verification.", codeentrd ); if (codeentrd.CompareTo("#2") == 0); { block = 2; continue; }i don't understand why its an error please help
1
14,536
thread by: shamira | last post Dec 15 '12 by: PsychoCoder
I need help with this error :"The modifier 'readonly' is not valid for this item" I am writing this code in projrct type class Library Here is the code: using System; using System.Collections.Generic; using System.Linq; using System.Text;
1
2,079
thread by: jojo kasanga | last post Dec 12 '12 by: Rabbit
i want to be sending an sms to multiple recipients using Gsmcomm but am failing i was hoping their is a way of using a for loop or just importing contacts
3
1,911
thread by: rami16512 | last post Dec 12 '12 by: Rabbit
I am developing a windows application in C#. I have a button that creates an array when pressed. How do I make it so I can use the created array in another function of the same program?
1
2,079
thread by: sandhanamurali | last post Dec 11 '12 by: Rabbit
hi, I am creating small application using c#.net.I removed all image tag using regular expression no I want to remove all video file and flash file also in source code of webpage. so far I have tried this ... using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;
0
1,625
thread by: dominicwong48 | last post Dec 11 '12 by: dominicwong48
I am having trouble with databinding with two datagridviewcombocolumns where the selection on one depends upon selection on another. eg. I have two hobby groups. Each hobby group is made up of one school class and one student representative. Each school class is made up of a few students. I want to have: 1) Each row of the...
2
2,246
thread by: elesbb | last post Dec 11 '12 by: elesbb
Simply put, i created a .ico file and i want to use it as the NotifyIcon icon. But i can not for the life of me figure it out.. Thanks all!
3
1,928
thread by: TearX | last post Dec 10 '12 by: Rabbit
Regex regExp = new Regex("^+$"); some code in between if (regExp.IsMatch(status.ToString())) { lblStatus.Text = "Comment added successfully."; lblStatus.ForeColor = System.Drawing.Color.Blue; } else { lblStatus.Text = "Comment failed to add!!!.";
3
2,138
thread by: TearX | last post Dec 9 '12 by: Rabbit
I trying to block word in a comment and when they press submit it detect that it contain word such as <b> or <i> i have written as this(below) somehow i was not able to block it Regex regExp = new Regex("^*$"); string subject = tbxSubject.Text; string comment = tbxComments.Text; string username =...
4
2,614
thread by: hkw9105 | last post Dec 8 '12 by: zmbd
Hi, I am trying to change label text on button click, the way label.text = "string" work well before but not in this case. I tried to put this on other method and it work..it is just not working on the button that I would like to fire.. Can anybody help?? I stuck in this problem for fews day..and cant get any useful information from...
0
1,992
EARNEST
thread by: EARNEST | last post Dec 6 '12 by: EARNEST
0 down vote favorite I am trying to create a validation rule for a given control (in this scenario, it is the TextBox). I am not able to obtain a successful Binding to the property of an object, although appropriate steps were taken: ValidationRule and DepedencyProperty are taken advantage of. Kindly find code below. A side note is...
0
1,837
thread by: imonbayazid | last post Dec 5 '12 by: imonbayazid
I want to get the selected text(word) from any document(pdf,webpage,text etc) when i double-click on the word of that document. My code is here: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;
0
2,299
thread by: leelaprasad9999 | last post Dec 5 '12 by: leelaprasad9999
Hi Can any one help me to save datagridview data with image without database using c#.net(Windows Forms) ? Is it Possible ? or anyother way to save it? . Actually i'm developing a software product, in this product i used to save data and images of datagridview to anyfile or dataset. i have saved datagridview data with images to dataset but...
3
2,153
thread by: dhivlaks06 | last post Dec 5 '12 by: PsychoCoder
I want to launch the visual basic application from my c#.net. i make use of System.Diagnostics.Process.Start.. It is throwing me error. can anyone help me with this
5
6,650
thread by: venky1988 | last post Dec 4 '12 by: Rabbit
Hi..i have a window form with datagridview,textbox,button and listbox. In datagridview i have added a column. In first row i have given the value like 7000, second row 2500, third row 7000, fourth row 1000, fifth 1300, sixth 9000....n number of row: if i enter 12000 in textbox1 then it will calculate the total in particular rows in...
11
15,522
thread by: york | last post Dec 4 '12 by: pramodmca
Hi, I'd like to know how to add double quote to a string variable. For example, string filename = @"C:\my file"; arguments = "-i " + filename; So arguments = @"-i C:\my file". But I want arguments = @"-i "C:\my file"". How to do it with filename only? I tried, arguments = "-i " + "\"filename\""; but only get arguments = @"-i...
7
2,630
Microblitz
thread by: Microblitz | last post Dec 4 '12 by: Microblitz
I've written a program that loads in a text SQL file of commands Processes it and displays the result. To test it I wrote a simple top 10 query which worked perfectly. Then I thought I'd like to test other scripts so in my text document I created: select ItemDescription from PurchaseOrderItems where ItemDescription like 'z%' At which...
5
5,520
thread by: leelaprasad9999 | last post Dec 4 '12 by: Rabbit
hi i'm trying to export datagridview data with image to excel , i'm using the below code, but image cannot be displayed. Microsoft.Office.Interop.Excel.Application ExcelApp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel._Workbook ExcelBook; ...
1
1,725
thread by: Thiruvengatam | last post Dec 3 '12 by: zmbd
Can someone explain me the below assignation? It is a bit confusing. myString = "\"myInteger\"is"; Thanks, Thiru
5
2,636
thread by: michaeldebruin | last post Dec 3 '12 by: michaeldebruin
Hello all, Anyone here who knows whether it is possible to add a new class to a program? For example: program a is my main program and I want to use program b to just add a new class to program a. Anyone here who knows if this is possible or not? Michael
1
2,244
thread by: dragoon317 | last post Dec 3 '12 by: Rabbit
I get this error. Error 1 Inconsistent accessibility: field type 'ClassAndObject.Person' is less accessible than field 'WindowsFormsApplication.Form1.myPerson' using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;
0
1,922
thread by: engrpetero | last post Nov 30 '12 by: engrpetero
if an object property is an array of doubles, I can show that property in a PropertyGrid and edit it with no problem. However, I can't put a TypeConverter on the array elements (in this case, I am trying to use one of my standard TypeConverters (Decimal2Converter) that shows 'double' types with 2 decimal places). Is there some secret to using a...

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.