- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 17
- Upvoting Members
- 12
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Dear all, I am trying to edit the .resx file (Form1.resx) so I can localize my application for different settings. However, when I edit my .resx file and then view it in Visual Studio, I get an error "ResX file Data at the root level is invalid. Line 1, position … |
|
Hi all, I have an ArrayList that contains 70 items. I would like to display these items in Listview. Therefore, I used the following code. However, When I press the button, program will only display the first seven items in the arrayList. The rest of items are not being displayed. … |
|
Hi, I am Developing Desktop application in VS2008 with C#. I wan to send SMS using my C# Application. Can any one give me idea abt that. Thanks in Advance Pratik Asthana |
|
Hi All, I am creating a Windows Application. I am maintaining LibraryBooks details. When I click on the Details all the books available(as stored in SQL SERVER Database) is been displayed in the DataGridView. But the datagridview also contains a empty row at the end which it generates automatically. But … |
|
Can anyone help with this please (I have read a lot and cannot see an issue with what I am doing and it is driving me mad). My css for the @font-face is: @font-face { font-family: 'NotethisRegular'; src: url("fonts/Note_this-webfont.eot"); src: url("fonts/Note_this-webfont.ttf") format('truetype'), url("fonts/Note_this-webfont.svg#NotethisRegular") format('svg'); font-weight: normal; font-style: normal; } The … |
|
Microsoft has revealed a new, more comprehensive street view system, dubbed Street Slide, set to compete with Google's Street View and Bing Maps' Streetside.[ATTACH]16203[/ATTACH]According to [URL="http://research.microsoft.com/en-us/um/people/kopf/street_slide/index.html"]Microsoft[/URL], the Google and Bing systems only allow users to view city streets via an immersive 360-degree panorama or "bubble." And users can travel down … |
|
Yes, i'm a noob - Bite me. And yes, I've read seemingly countless tutorials which explain, or, "try" to explain what a "Constructor" is. Obviously, they failed to digest in my brain. Is there any well-to-do person in here who can help me? Is there anyone who can possibly explain … |
|
hi there i have a question i have created the login in C# deshtop application and when the application ruins i have amde the cursor to be focused to the username textbox now the thing is soemtimes the user adds the username and then adds the password a and then … |
|
Hi all, I am currently working on a "game of life" program. Which basically updates a grid and forms interesting patterns. Now part of the program means it has to have a "start" and "stop" button. The idea being that the user can click one button to start the game … |
|
hi there, i have a question in coping a file to machine in the network i use the below code [CODE] public string UploadFile(string ID,string Phase,string source,string fileName) { string path = @"\Server-003\F\Details\Reports\" + ID + @"\Phase" + Phase + @"\Proposal"; Directory.CreateDirectory(path); //string folderPath = path.Substring(0,slashIndexLast); string[] files = Directory.GetFiles(path); … |
|
hello all.. i'm new in C# programming. the scenario is i have a datatable is usercontrol and i need to insert row to that datatable on other form, and i need to access the row on that datatable from other form. how can i do that? thanks in advance.. |
|
Is it possible to view the code of the site that is loaded into the webbrowser? eg; [CODE]webBrowser1.Navigate("http://google.com"); webBrowser1.Contents = HTML;[/CODE] Or is is possible to save it as a file instead? |
|
I have this list of object: [CODE]public List<XHTMLError> Report = new List<XHTMLError>(); [/CODE] Which is defined this way: [CODE] public class XHTMLError { public List<string> Errors = new List<string>(); private string _errorType; public string ErrorType { get { return _errorType; } set { _errorType = value; } } }[/CODE] I … |
|
Where do I find the System.Numerics namespace, with things like BigInt and Complex? Just installed Visual Studio 2010 Professional. Google did not make me happy:'( Any help, is as always, much appreciated. |
|
I have been able to serialize an ienumerable this way [CODE] [XmlArray("TRANSACTIONS")] [XmlArrayItem("TRANSACTION", typeof(Record))] public IEnumerable<BudgetRecord> Records { get { foreach(Record br in _budget) { yield return br; } } }[/CODE] However, I realised that now I need a dictionnary containing a collection (Dictionary (Record collection implements ienumerable)))? how can … |
|
Hi, I have browser embeded, How would i fire and even whenever a browser field is clicked. basically i have this website where when you click on a fieled it will show a button. i want to capture that button's click. any help would be appreciated thanks |
|
When is it appropriate to use abstracts as opposed to interfaces to define base class behavior? What is the most common, practical usage for each? For instance, if I were to write a database applications that required to read a wide variety of database formats, would I define by database … |
|
Hi, I have a software which contains a jar file. To use it I need to type "java -cp IPC.jar ipc.IPC -c CCl4 -t > CCl4.txt" in the command line. I want to invoke this in C#. I used this following code but it is doing nothing, no errors. [CODE] … |
|
Can anybody help me? I am following instructions about how to put an Iframe in my app. Here is the code for the button: protected void Submit_Click(object sender, EventArgs e) { //frame1 = (HtmlGenericControl)this.FindControl("frame1"); HtmlControl frame1 = (HtmlControl)this.FindControl("frame1"); frame1.Attributes["frameborder"] = "0"; frame1.Attributes["scrolling"] = "auto"; frame1.Attributes["width"] = 640 + "px"; frame1.Attributes["height"] … |
|
i have looked around the forum and on the web but couldnt find anything that seemed to be what i was looking for. or i couldnt follow how they where doing it. What i need is to fill a treeview from a dataset. the dataset has been filled from a … |
|
Okay so I feel stupid for asking this and I feel like i am overlooking something, but how do retrieve the value of a datagridview cell as an int. I have used this code to change the column to type int [CODE]dataGridView1.Columns[0].CellTemplate.ValueType = typeof(int);[/CODE] I haven't really had a chance … |
|
In order to arrange data in a listview I can either use the properties panel or use the following code; [CODE]listView1.Sorting = SortOrder.Descending;[/CODE] How can I do a SortOrder for the [I]second[/I] column? eg; [CODE]listView1.columnHeader2.Sorting = SortOrder.Descending;[/CODE] Thanks in advance! |
|
I am trying to read some data from a db but I am getting an error on oledbdatareader. here is my code. [CODE]OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Power User\Desktop\Domains.accdb;Persist Security Info=False"); conn.Open(); OleDbCommand cmd = new OleDbCommand(); cmd.Connection = conn; //cmd.CommandText = "Select * from Domains"; cmd.CommandText = "Select * … |
|
:-/ Hey friends I have a problem regarding operator overloading concept in C# language,can anyone among you please make me understand and supply some example of operator overloading concept.Some codes can you guys please send me for better understanding and with a brief description..please. |
|
i hav a menustrip and created mdi forms in this i hav child forms, i want to open one child form and hide the remaining child forms. Give me the solution for this question |
|
Hi I'm trying to generate two random numbers using the ramdom class. However, I always get the same random number for both variables. Is there a way I can get two distinct numbers? Thanks. |
|
I have a ListView which is filled by generic list of type MyClass. I can easily bind data from this list into ListView. But I have problems with reading data in opposite direction. This is my class: [CODE] public class MyClass { public int id { get; set; } public … |
|
I wish to create a class of text boxes (I could use an array but I'd rather use a class). How do I assign the class a parent (much like textBox.Parent = someForm, etc.)? Thanks, |
|
Hey I have a question regarding datagridview cells, I have made made the rows that display data from the database as read only, but the thing is when I click on one of the cells an event triggers out, I have coded for cellcontentclick, cellvalidating, currentcelldirtystatechanged, editingcontrolshowing. When I clik … |
|
Hello everyone, First of all sorry for my English. How can I rename headers in dataGridView? When I press on Find button all works just fine. I get the information wich I want. But headers of columns in dataGridView have names just like in database (PersonID, Name_Person,... ). I would … |