473,799 Members | 3,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
12,071
thread by: Scalp994 | last post Feb 23 '12 by: Scalp994
Hey there! I have a class called "student" which consists of a string "surname" and a string array "subjects". I also have a list of type "student" of all the students. public class student { public static string surname; public string subjects = new string; };
1
1,369
thread by: michaeldebruin | last post Feb 23 '12 by: GaryTexmo
Hello all, I am trying to create an update script for my program, so it can check if there is any update. I've found something on the internet about using the publish wizard of Visual Studio which will create a xml file. And I should be able to get the version of the program from it. But is there any of you who have experience with this and...
3
8,710
Prathap
thread by: Prathap | last post Feb 23 '12 by: GaryTexmo
Could someone please tell me how to remove the space occupied by a control when it is hidden.
1
1,345
thread by: Scalp994 | last post Feb 23 '12 by: GaryTexmo
Hello, I've encountered a problem. I've a class that looks like this: public class student { public int number; public string surname; public string subjects = new string; };
2
1,750
thread by: Pavan Bhargav | last post Feb 23 '12 by: GaryTexmo
how to stop a timer at a given time? say 10mins?
1
4,353
thread by: BarrMan | last post Feb 23 '12 by: BarrMan
I'm trying to click on a menu item inside a program called Media Subtitler and whatever I'm trying to do it's not working. First, I tried to use the function GetMenu but it returned IntPtr.Zero. Then, I tried using the ALT key + using the first letter of my menu (F stands for file) but it did nothing. Then, I tried using a simple MOUSEDOWN and...
0
1,895
thread by: jonathan184 | last post Feb 23 '12 by: jonathan184
Hi I am pretty new to .net I tried to make a console client to call wcf service and print the response in the console. I get this error when i run the code. Error in deserializing body of reply message for operation 'RetrieveData'. The m aximum string content length quota (8192) has been exceeded while reading XML da ta. This quota may be...
6
3,465
thread by: Chris Beharry | last post Feb 23 '12 by: Chris Beharry
Hi this is a strange problem which only occurs on one computer in our office. I have a DateTimePicker in my C# application and it works properly on everyone's computer (except one) to select specific dates. I noticed that on the one problem computer that when the DateTimePicker is used it sets the date a little different that on working...
0
1,277
thread by: Scalp994 | last post Feb 22 '12 by: Scalp994
I've been developing a timetable generator programme for a few days now, and when I wanted to show it in my school on some Windows XP computer, the following errors showed up: http://img43.imageshack.us/img43/245/bugftw.jpg that was of course a x86 release, and the computer had the .NET Framework 4.0 installed. None of these errors occur...
1
2,625
thread by: Maraj | last post Feb 22 '12 by: GaryTexmo
Hy all!I am trying to make a multithreaded GUI based chat server.I connect client successfully but when i want to show a separate window for that client for cahtting that is not displayed.I have made a thread in which i create the chat window/form.What could be the problem?
0
1,217
thread by: rcreation33 | last post Feb 22 '12 by: rcreation33
I am using datagridview and i am binding my excel file to datagridview. I am able to read from excel file as well as insert to that file using datagridview. But I am not able to delete and update that file. It's giving error that "Deleting data in a linked table is not supported by this ISAM.". Is there any other best method to perform these...
2
2,165
thread by: sheela | last post Feb 22 '12 by: nabdelmegeed
im trying to upload file in to mysql database using the following code.. but it shows jus the file name and not the entire file while i retrive. how to store the file and retrive it from mysql using mono c#. ? cmd.CommandText="insert into fileup values('"+entry1.Text+"','"+filechooserbutton1.Filename+ "')";
1
7,978
Prathap
thread by: Prathap | last post Feb 21 '12 by: GaryTexmo
Drag and drop controls from one panel to another is working.I want to drop only a copy of the control.Could someone please tell me what are the changes should i made to get it to work.Here is the code i have done so far InitializeComponent(); this.panel2.DragOver += new DragEventHandler(panel2_DragOver); ...
4
1,245
thread by: aamersaeed2368 | last post Feb 21 '12 by: adriancs
Dear All, The below mentioned line throw an exception that "The string was not recognized as a valid DateTime. There is an unknown word starting at index 0." DateTime dateTime = DateTime.Parse(date); Actually this error is shown in my home pc where i am using window xp and visual 2010....................however in my university lab on...
2
5,007
thread by: kumardharanik | last post Feb 21 '12 by: poonam katariya
How can i add a treeview in datagridview(winform)?
1
1,535
thread by: Vakul Saini | last post Feb 21 '12 by: Samuel Jones
Hi Sir/Maim, I am trying to resize window form icon which is by default very small. I just want to make it large which could see easily. How can i do this, Kindly help me. Thanks in advance Vakul Saini
9
13,164
thread by: MrFlabulous | last post Feb 20 '12 by: MrFlabulous
Hi, I'm a new programmer, and have a small problem. I've been trying to get a form populated with lots of buttons and tabs to be refreshed when its child form is closed. The routine I have is this: NewForm_View show_it = new NewForm_View(); show_it.ShowDialog(); Form.ActiveForm.Refresh(); If I understand correctly, the parent form code...
1
1,658
thread by: Prasad13 | last post Feb 20 '12 by: PsychoCoder
Hello Friends, I am having a text file where i have stored the bits from an image,and now i want to read the content from that plain textfile which i have loaded into binary and then i want to create an image through coding. But after the code is executed the image is created,but when i am opening it is no showing the picture.
0
1,365
thread by: alkurd a | last post Feb 18 '12 by: alkurd a
hello everybody iam using c#.net for a speech recognition program and i want my program to wait for my speech command each 2 seconds.
2
1,853
thread by: dinudavis85 | last post Feb 18 '12 by: dinudavis85
Hi, here goes the error msg: (The type or namespace name 'ShellApi' could not be found (are you missing a using directive or an assembly reference?) My Code is attached below. Error on ShellApi.RECT private void AppbarQueryPos(ref ShellApi.RECT appRect) { // prepare data structure of message ShellApi.APPBARDATA msgData = new...
0
10,475
GaryTexmo
thread by: GaryTexmo | last post Feb 17 '12 by: GaryTexmo
I've decided to do a series of insights based on creating a simple windows game using C# and WinForms. There are other methods of approaching this task but I've chosen to try to keep things fairly simple and demonstrate how one might make a game. More experienced developers will note some similarities between my approach here and how Microsoft XNA...
0
1,305
thread by: djspejbl | last post Feb 17 '12 by: djspejbl
Can't assign value to structure in array? this discussion was going on here some time ago without satisfactory conclussion at least from my point of view. here is my answer: i have come cross a similar problem when having a struct representing id3 tag being part of node which was class instance .. later when i wanted to change value of that id3...
0
1,354
thread by: michrahr | last post Feb 17 '12 by: michrahr
Hi. I have the following scenario. I have a WPF form with a datagrid on it The datagrid is hook up using binding to a Qbservalcollection. The datagrid should be seen as a propertyeditor. Like the on in visual studio 1 Colum with the propertyname (this is read only) 1 Colum with the propertyvalue The basic model for the collection is...
4
2,669
Tyler Wiebe
thread by: Tyler Wiebe | last post Feb 17 '12 by: Tyler Wiebe
Okay, I need to get every audio file on a hard drive, and move them to a single location sorted by the first letter of the artists name, artists name, album, and song title. I have the code to do that, and it worked on one of the hard drives I'm organizing files from, but the other two contain secured folders and files, and I get an exception...
0
1,193
thread by: pradipkumar | last post Feb 16 '12 by: pradipkumar
I have a simple console app, there i have included a app.config file which is like below - <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="x" value="member"/> <add key="y" value="srmember"/> <add key="z" value="srmember"/> </appSettings>

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.