189 Posted Topics
I was wondering if I could develop a comment section where people would post comments without using php or asp. The only thing that i would like to use ih javascript, html, css, ajax and things like that. Is this achievable without the usage of php or asp? | |
Hi there new to css and there is something I don t understand for example div.img img { display:inline; margin:3px; border:1px solid #ffffff; } what does the other img represent, what is this? I understand that the class called img is going to be applyed on the div tag in … | |
Re: I m not sure what you want exactly but if you want your image to fill the screen then try this on LINE 11 background-size:stretch; | |
Re: does visual studio 2012 premium have what youre looking for? Cause if it does i could help you out | |
Re: I didnt understand them either, until i found this youtube video: [Click Here](http://www.youtube.com/watch?v=RM6sTZ7nNcY) | |
Re: i ve tested your code and it works, by the way put a semicolon after your last line of code altouhg i think that this is not the problem. listBox1.Items.Add(s); | |
Re: You have to put some of your code here, you have to show what you ve done so far, after that I am pretty sure that someone will help you out with your problem. | |
Re: there is an really good tutorial with all the steps on this webpage: [Click Here](http://www.mindstick.com/Articles/a25ba73f-324d-4926-93b5-89460f77621d/) | |
Re: you should post more code because this seems ok, when you click on your tool item it will just go to the maximum, though i m not sure about your registration class this class as i ve searched google doesn t exist (it s not in the library) as i … | |
Re: I not trying to be offensive but that s not the kind of stuff you post here, i asume. If you type that on any Search engine such as google, bing etc... you ll get the code for sure, doesn t have to be strictly C# but those so called … | |
Hi again, before a year ago when we were doing the graphics class at college my professor said that the coordinate system is reversed in programming that means that the Y axe is positive when facing down and the X axe is negative when facing right , however when using … | |
Re: I think that this is the simplest way to do this. List<string> list=new List<string>(); XmlDocument doc = new XmlDocument(); doc.Load("string path or url"); XmlNodeReader nodereader = new XmlNodeReader(doc); while (nodereader.Read()) { if (nodereader.NodeType == XmlNodeType.Element) list.Add(nodereader.LocalName); } } foreach (string node in list) { MessageBox.Show(node); } if you .xml file … | |
Re: the delegates, events etc... are fine , erase your dataGridView1_CellContentClick event and try this private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex!=dataGridView1.Columns.Count-1) { for (int i = 0; i <= dataGridView1.RowCount - 1; i++) { if (Convert.ToBoolean(dataGridView1.Rows [i].Cells["chkcol"].Value = true)) { Frm2.ShowDialog(); break; } } } } | |
hy guys i have a problem with my event public delegate void paintEventHandler(object sender, EventArgs e); Graphics paper; public static event PaintEventHandler After1s; private void Mouth_shut(Graphics gr) { gr.FillEllipse(new SolidBrush(Color.Yellow), 50, 50, 50, 50); } private void Mouth_Open(Graphics gr) { gr.FillPie(new SolidBrush(Color.Yellow), 50, 50, 50, 50, -30, 270); } private … | |
Re: namespace WindowsFormsApplication1 { public delegate void EventHandler(); public partial class Form1 : Form { int counter = 0; public static event EventHandler Ontimee; public Form1() { InitializeComponent(); } private void button1_Click() { MessageBox.Show("Your work"); } private void timer1_Tick(object sender, EventArgs e) { counter++; if (counter == 3) { Ontimee += … | |
Re: http://msdn.microsoft.com/en-us/library/system.datetime.compare.aspx ,, to Compare them http://stackoverflow.com/questions/919244/converting-string-to-datetime-c-net ,, to convert into datetime | |
Hy guys, haven t been here for a while, If anyone can give me a idea or a way or a link on how to retrieve data from a website and store it in my application for further usage. The thing is that this data is being updated every month … | |
I wast just wondering guys how do you look at recursion , how do you apply it (i m not talking here about easy recursions like hannoi tower, factoriels, fibonnaci... wich are obvious). I m a beginner programmer and i understand the concept quite well but let s say a … | |
I was wondering guys if you could explain me how RECURSION works inside a loop!? I got lost here so please anything we ll be much appreciated. public void perm(int[] list, int k, int m) { int i; if (k == m) { for (i = 0; i <= m; … | |
| |
I m having a problem when sending my c# projects to a friend via e-mail. Before sending i use WINRAR to compress it however when the other side gets the mail and when it tries to open it, it get s an error ouptut saying: "application not found". When going … | |
Re: First of all remember to use a namespace called IO by typing,,, using System.IO; I suggest you to use this string z=null; // make it global OpenFileDialog ofd = new OpenFileDialog(); if (ofd.ShowDialog() == DialogResult.OK) { StreamReader sr = new StreamReader(File.OpenRead(ofd.FileName)); while (!sr.EndOfStream) { z=sr.ReadLine(); / there are a lot … | |
This is just an example i have to do a simillar thing on a much larger code , but my question is why doesn t this work? I solved my problem with a string method and return statements but why can t i use a void method with the result … | |
Re: I m little bit confused. Are you trying to say that when you change the value of one cell in your case cell number 3 it is then being multyplied by the same number? Try to use Convert.ToInt32 You should mention what type of values are you converting and more … | |
Re: `"SELECT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME = 'Total';"` shouldn t this be--> `"SELECT INFORMATION_SCHEMA.COLUMNS FROM TABLE_NAME WHERE COLUMN_NAME ='Total'"` | |
Re: I ve tried your code and it seems ok no matter if you type in textbox1 and textbox2 a integer for example 5 or a double 5.0 . Both will give the result. "Input string in the correct format will only show if you type in everything else but not … | |
Re: Well i m not exactly sure what your goal is but if you want to display something you have to call your class! So you have to make a instance of it, for example Employee em=new Employee(); and you can pass parameters to it because you created a constructor otherwise … | |
Re: An array is something that can hold a lot values , For instance you can store one value in a variable int a=5; string z="bob"; char b='b'; but in a array you can store a lot of values , for instance int [] array1=new int [3]; array1[0]=3; array1[1]=2; array1[2]=5; the … | |
Re: One of the best sites to learn about the web is http://www.w3schools.com/php/default.asp It s incredible i learned HTML, CSS, SQL, XML, learningn javascript... It gives you a good understanding and you can also text your own code overthere without having a program installed on you harddrive. So once again you … | |
Hi guys, I m making an small aplication for buses but i got stuck with the string array conversion to a timespan array, i have to convert it i order to compare times later on but i don t know how... Here is the code string line; TimeSpan [] array; … | |
Hi guys I have a little mess up in my head going on i dont really know why. My question is how come a right join AND a left join were made to handle database queries, why both of them, isn t one enough? for instance let s take the … | |
Re: http://download.cnet.com/FloorPlan-3D/3000-6677_4-10633732.html Try this link, and this one as well http://www.linkedin.com/pub/dir/Michael/Denio (register, it should be the second or third person) | |
Re: Yep it is definetly the Parse that s causing the problem. Your variable buff always returns false and doesn t go on with the code. one more thing. after setting the result variable to 0 you are not using it anymore so just write at the end instead of result.ToString() … | |
Re: If I understood correctly all these stations are on the same route and Manchester Victoria is the one where the trip would eventually start so you gave it a value of 0 pounds but you can select another station and define it as a starting point. First of all fill … | |
Re: Hmm, if i understood you correctly then what you want your code to do is to find a average grade of each one of the persons stored in the list. Is that right? | |
Re: Since you did not specify which programming language you are using i ll give you this link [Link Anchor Text](http://www.functionx.com/csharp/arrays/Lesson04.htm) . It s for c# and the content is very well explained.So give it a try. | |
Hi guys, as you can see i have a problem with the array , i don t know how to put every remainder in the array and then loop it to get the reverse order, it seems that the array is being overwrited every time the while loop goes and … | |
Hi guys i m new around here as you can see, i was wondering why can t the program find the minimum of random generated numbers?Any help would be greatly apreciated. public static void Main(string[] args) { int[] randomNum = new int[10]; int min = randomNum[0]; int max = randomNum[0]; … |
The End.