473,809 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
2,205
thread by: sblakethomas | last post Nov 8 '11 by: sblakethomas
I am really confused on this one. I have 5 elements in a string array. string strings = { "Widget 15.50", "Thingy 50.99", "Ratchet25.00", "Clanger115.49", "Fracker75.25" }; I have to separate the text from the numbers into two new arrays. One string containing {"Widget ", "Thingy", "Ratchet", "Clanger", "Fracker"} and the second a double...
1
1,723
thread by: GreyDodger | last post Nov 7 '11 by: GaryTexmo
Sorry this questions a little long, but I'll explain it as efficiently as I can So lets say you have a fruit class, and apple and orange are both classes that inherit from fruit. And say I'm making a game where armies are battling using fruits and fruit weapons. So now I want to make an abstract FruitCanon class, that will use and shoot...
0
1,638
thread by: Kinzz Patel | last post Nov 7 '11 by: Kinzz Patel
Hi., in Data table. data fill like Admission # Attendance Status Attendance Date 1 Present 09/30/2011 2 Present 09/30/2011 3 Present 08/30/2011 4 Absent 09/29/2011 5 Present ...
0
1,274
Paul Johnson
thread by: Paul Johnson | last post Nov 6 '11 by: Paul Johnson
Hi, I'm designing an application for my students to emulate what happens in a forensics laboratory when an SD card is inserted into an SD reader (I like realism). While the majority of the software is very simple to do, I'm stumped at overriding the Windows default "what do you want to do with this card" pop-up. Is there a way that I can...
0
1,296
thread by: RomeoX | last post Nov 4 '11 by: RomeoX
Hi everybody, Actually I'm trying to learn C# by myself, and I was thinking to create a small program, I was thinking to build 4 buttons, First, Next, Previous, Last. I'm using Oracle express database. I tried my best before posting here, and this is my code for next and last: Last_Record private void last_record_Click(object sender,...
1
2,571
thread by: MFrederickson | last post Nov 4 '11 by: Heeralal
Hello! I'm using smtpop to try and download an e-mail from the server. I haven't been able to get past the part in the code where it attempts to get the filename from the attachment (attach.FileName) This comes back as "". I was wondering what the issue was as I have *not* modified the source in any way. Here is my code: using System;...
2
19,789
thread by: 1 Sparrow | last post Nov 4 '11 by: 1 Sparrow
Hello. My name is Eugene Buzin. First, I bag your pardon for my poor English. I appeal to you for help at first. I'm a C#-programmer from Russia and beginner in WPF. Now I'm developing WPF application that must contain scrollable WPF Canvas in WPF ScrollViewer. Could you help me and give me a source code of WPF window application of this type?...
2
3,570
thread by: Mike Shaffer | last post Nov 3 '11 by: Mike Shaffer
Hi, I have been encountering this error for awhile now. I have googled it for solutions, but to no avail, because my situation seems to be different from most of the cases I have come across. I am encountering the error on the line: oSheet.Cells = edr.ToString(); The chunk of code is below.
7
4,223
thread by: Dorinda | last post Nov 3 '11 by: Dorinda
I have to open a help pdf file at a specified page in C# in windows form, I tried this link, http://bytes.com/topic/c-sharp/answers/459446-open-pdf-file-specified-page-c Process myProcess = new Process(); myProcess.StartInfo.FileName = "Acrobat.exe"; myProcess.StartInfo.Arguments = "/A...
5
2,023
thread by: EmNewbie | last post Nov 3 '11 by: EmNewbie
I'm new to c# and I need help converting this-any help would be greatly appreciated.-I was previously in a java class and now I'm in c# class with the same assignment. public class Furniture { public static void main(String args) { int tree = 0; Scanner scan = new Scanner(System.in); System.out.println("Enter \n 1 for pine \n 2 for oak...
1
1,723
ikrshnan
thread by: ikrshnan | last post Nov 3 '11 by: GaryTexmo
I'm being afraid if a mass usage of BackgroundWorker control in a C# program will make the program slow and poorly responsible. So tell me if there is any such or any other problem if BackgroundWorker control used massively?
0
1,477
thread by: Stelios Ioannou | last post Nov 2 '11 by: Stelios Ioannou
Hello everyone. I have to develop a program in C# so that when my Printer is out of paper, a message will appear in the form indicating the problem. I've used the WMI Tools and i have succesfully created the program. The problem is, i can see only two states. "Idle" and "Printing". Also the "WorkingOffline" works. When an "Out of Paper" error...
2
1,927
wgale025
thread by: wgale025 | last post Nov 2 '11 by: wgale025
Does C# provide a function for converting a String to a HexString?
0
1,580
thread by: Marcos Espinoza | last post Nov 1 '11 by: Marcos Espinoza
hi all, first of all, sorry for my english. its not my native language. i just started programming c# and my firt task at job was making an app that use robocopy in order to copy several files from one server to another...any help for this??? thanks!!!
0
1,152
thread by: Himansu Nayak | last post Nov 1 '11 by: Himansu Nayak
Dear, I am getting error in Elmah every day on invalid viewstat. Can any one help on how to resolve this problem. Advance Regards Himansu Bhusan Nayk
2
2,073
NeoPa
thread by: NeoPa | last post Oct 31 '11 by: NeoPa
This may be more complicated than indicated by the title as the collection I'm referring to is a CommandBars collection found in a Microsoft.Office.Interop.Outlook.Inspector from VSTO 2005 SE. In Outlook VBA I might typically have an Inspector object (equivalent to Microsoft.Office.Interop.Outlook.Inspector in C#) named VBAInspector and within...
2
1,638
thread by: ma maa | last post Oct 31 '11 by: Paul Johnson
how can i bold this expression in c#? <b> </b> i work with visual studio 2008. i beginner in c# please help.
2
1,403
Paul Johnson
thread by: Paul Johnson | last post Oct 31 '11 by: Paul Johnson
Hi, I enjoy trying new ways (to me) of doing getting my code to be more efficient. I'm currently working on a database system (front end to an access file with added bits) and have hit upon a problem. I have a number of tutors containing 3 pieces of information (name, email, mobile number). There can be loads of these and rather than muck...
0
1,360
thread by: teresamakamu | last post Oct 31 '11 by: teresamakamu
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls;
3
2,844
thread by: Dan Effets | last post Oct 31 '11 by: chilljag
I created a Menue Sheet with combobox as require by the book.Select Drink ,App,Meal,Dessert , then display the total of the meal. Each Topic item is in array Double Dessert = {5.95,5.95,6.00,5.00,6.60,6.95 }; int Indx = DescComboBox.SelectedIndex; SubTotal += Dessert; Calculate(); All works well, but I was wanting to add Label , show each...
0
1,467
thread by: Bek Zod | last post Oct 30 '11 by: Bek Zod
I am writing a parser, which grabs info. The problem is every time when i do a HttpWebRequest (c#) it takes 14 seconds to load. Approximately 10 seconds for response and 4 seconds is the downloading time (my inet connection is slow 512/kbs). Here is a fiddler report, request is done via Mozzila Firefox Request Count: 1 Bytes Sent: 545...
1
6,325
thread by: fairy1992224 | last post Oct 29 '11 by: michaeldebruin
I had created a database to capture the user logged in time and user logged out time. But may I know how do I code what time the user had logged in and logged out in my login and logout page so that it will store in the database?
3
2,706
thread by: franknagy | last post Oct 28 '11 by: snehasismishra1
Gentle Advisors, I have a form where a button selects an image and passes it on a control of this form and an other one. I wanted to debug the statements but I got an error message at the source line if (openFileDialog1.ShowDialog() == DialogResult.OK): "Current thread must be set to single thread apartment (STA) mode before OLE calls can be...
0
1,247
thread by: sunnykumar08 | last post Oct 28 '11 by: sunnykumar08
Hi, Anyone please provide the procedure to fetch multiple item search details using Amazon Advertising API in on ego in C#. I'm quite unable to do this as getting the error in rcvd xml:" we have not found any item.". I'm using C# Query like below: string requeststring = "Service=AWSECommerceService" +...
1
2,845
thread by: harimkb | last post Oct 28 '11 by: michaeldebruin
My problem goes like this... I have a Socket Array of connected Sockets i,e) the socket array has all sockets that are connected to various Remote hosts The problem is how how do i create a backgroundworker thread for each socket in the connected socket array , the background worker thread should run a method called examineandrespond(Socket...

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.