Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #1K
~15.7K People Reached
Favorite Tags

48 Posted Topics

Member Avatar for aditya55

Hi Can you provide an example of what you are trying to do. If what you're trying to do is to 'pass' variable between forms then you should try the [B]Parent[/B] property. Other way is to have a 'helper' class with static fields. Thanks, Camilo

Member Avatar for ChrisHunter
0
565
Member Avatar for Exelio

My idea is to create a 'User Control' that will have to fields a 'Label' and a 'PictureBox' and it will expose both as pulbic properties so you can then intanciate the 'User Control', set the Label's property as the image description and the PictureBox's(PictureBox's Image property) property as the …

Member Avatar for sowmiyar
0
158
Member Avatar for thijscream

Hi What you need to understand is that once you instanciate an object(i.e Form2 f2 = new Form2) you can access any public member(field, method...) declare in that object throuth the dot notation( i.e f2.textBox1 ). If you have a form lets call it 'Form1' and this form has a …

Member Avatar for GuggiTanvi
0
211
Member Avatar for Blaine Tuisee

Hi, Try this code tha use JavaScript. [code] <html> <head> <title>Test</title> </head> <body> <form> <input type="button" onclick="self.close();" value="Close" /> </form> </body> </html> [/code] Regards, Camilo

Member Avatar for RogR
0
4K
Member Avatar for chiragwebmyne
Member Avatar for RobertQQ

Hi You can go to [url]www.projecteuler.net[/url]. This are not C# problems but rather problems that can be solved using C# or any other language. Its very interesting.

Member Avatar for kvprajapati
0
253
Member Avatar for IT_Techno

Hi, Try this [code] int id = 2; string idStr; idStr = id.ToString().PadLeft(4,'0'); [/code] Regards, Camilo

Member Avatar for vckicks
0
125
Member Avatar for gp04lch

Hi, If you had used the DataSource property it should not let you modified the ListBox. Can you post some code. Regards, Camilo

Member Avatar for gp04lch
0
178
Member Avatar for dc_24l

Hi, This is how to delete it from the CheckBoxList : [code] private void buttonDeleteItem_Click(object sender, EventArgs e) { for (int i = 0; i < this.checkedListBox1.CheckedItems.Count; i++ ) { this.checkedListBox1.Items.Remove(this.checkedListBox1.CheckedItems[i]); string modified = theStringFromWhereYouLoadTheTextBox.Replace(this.checkedListBox.CheckedItems[i].ToString(), string.Empty );//And then Create a new file with same name that the original from modified …

Member Avatar for dc_24l
0
244
Member Avatar for vietnamese

Hi, The anwer is in your post. Simply don't use binding. Regards, Camilo

Member Avatar for camilojvarona
0
102
Member Avatar for pranav_jog

Hi, If this behavior its because of some code that you have in the Page_Load method the you should try something like this [code] protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { //Your code here } } [/code] Regards, Camilo

Member Avatar for greeny_1984
0
2K
Member Avatar for Gaurav arora

Hi, The reason is that every time you drag and drop a control into the designer. What happends under the hood is that a private property is created(say private MenuStrip menuString1 ). just change the access modifier to public. Althoug for what I understand that you are trying to do …

Member Avatar for Gaurav arora
0
120
Member Avatar for bondo

Hi, I assume that when you say "getting the docuement formatted differently is not an option" you mean that you don't want to change the original document. So here is my idea 1.Get the XML document as a 'string' with [icode]StreamReader.ReadToEnd[/icode]. 2.Create a method than inserts the quotes and return …

Member Avatar for bondo
0
237
Member Avatar for hiddendragon

Hi, Hire is the code. [code] #include <cstdlib> #include <iostream> #include <sstream> #include <string> using namespace std; int main() { int arrayLength = 0; cout << "Enter the numbers of elements of the array: "; cin >> arrayLength; int array[arrayLength]; int index = 0; int lowest ;//Here you could assing …

Member Avatar for titaniumdecoy
0
2K
Member Avatar for moerpheus

Hi, C++ and JAVA it's almost the 'same type' I would stick with C++ is very potent and you can use it in .Net . A very simple but very important IMHO is JavaScript(has nothing to do with JAVA ) also you want to know SQL for working with data. …

Member Avatar for moerpheus
0
147
Member Avatar for ishlux

Hi, Try this to see if you are getting any rows. [code] echo mysql_num_rows($result) ; [/code] you can also do [icode]$row[0][/icode] that way you wouldn't have to worry about the spelling. Regards, Camilo

Member Avatar for vicky_rawat
0
148
Member Avatar for Gaurav arora

Hi, Make sure that your From [COLOR="Red"]has the same namespace[/COLOR] as the class from where you want to cosume it. Regards, Camilo

Member Avatar for ChaseVoid
0
93
Member Avatar for Renukavani

Hi, I don't quite get your quetion. Can you post some code?. Regards, Camilo

Member Avatar for Renukavani
0
106
Member Avatar for headfirst

Hi, I am as newbie to PHP as you but in this line you missed teh '$' symbol. [code]sql="SELECT login,id FROM tblDealer WHERE login='".$email."' and password='".$password."'"; [/code] in front of the sql variable $sql Although you can go to this link [url]http://us2.php.net/manual/en/function.mysql-query.php[/url] Hope this help, Camilo

Member Avatar for R0bb0b
0
169
Member Avatar for prabhuraj

Hi, Seems to me that you need to change the [icode]AttachDbFilename=D:\WindowsApplication1\Database1.mdf; [/icode] to the path where is the database on the server. Regards, Camilo

Member Avatar for camilojvarona
0
69
Member Avatar for jainendra.shah

Hi, I have found this link [url]http://www.codeproject.com/KB/database/sqldodont.aspx[/url] You should find articles about multithreading and Background Worker. >I want to just send data in blocks to dataset I think that you may use paging and this way retrieve your rows on demand. Hope this help, Regards Camilo

Member Avatar for camilojvarona
0
101
Member Avatar for farooqaaa

Hi, Go to this link. [url]http://blogs.msdn.com/xna/archive/2008/05/07/announcing-xna-game-studio-3-0-community-technical-preview-ctp.aspx[/url] Regards, Camilo

Member Avatar for camilojvarona
0
81
Member Avatar for gouki2005

Hi, Write is with capital letter like [icode] Console.Write("Hello"); [/icode]. Remember that C# is case-sensitive. Regards, Camilo

Member Avatar for gouki2005
0
94
Member Avatar for Gaurav arora

Hi, For connecting with the backend database you need ADO.NET, although you can use LINQ tp SQL to. It's your call. An you can add values dinamically to the ComboBox like this [code] this.comboBox1.Items.Add("Item"); [/code] Regards, Camilo

Member Avatar for vietnamese
-1
267
Member Avatar for farooqaaa

Hi, Find anything about OpenFileDialog, SaveFileDialog, RichtTextBox controls. Regards, Camilo

Member Avatar for farooqaaa
0
151
Member Avatar for njitram

Hi, You have syntax errors. It has nothing to do with importing any namespace. Regards, Camilo

Member Avatar for camilojvarona
0
183
Member Avatar for preethi_ga

Hi, C# and C#.NET are the same thing. You need to specify with VB because there are other VB 'versions'(e.g VB 6...) out of the .NET platform. Regards, Camilo

Member Avatar for camilojvarona
0
174
Member Avatar for mrjoli021

Hi, You can call [icode]MessageBox.Show("The test you want to display");[/icode] Hope this help. Camilo

Member Avatar for camilojvarona
0
89
Member Avatar for arupa

Hi, Here is my idea. Paste this into the Main method in a Console App to see it working. [code=csharp] string name = "camilo"; Stack<string> s = new Stack<string>(); string temp = string.Empty; foreach (char a in name) { temp += a; s.Push(temp); Console.WriteLine(temp); } for (var i = 0; …

Member Avatar for camilojvarona
0
91
Member Avatar for karhong

Hi, You can also serialize the objects. This will save the object in a file and then you can retrieve then like objects to. Among the clases that you will need to use are FileStream, StreamReader, StreamWriter,..., this clases are in the [icode]System.IO[/icode] namespace. Also you need to mark the …

Member Avatar for karhong
0
106
Member Avatar for whome
Member Avatar for whome
0
109
Member Avatar for harcaype

Hi, Your problem is that you have deleted rows from the DataTable(this act like a cache but its not related to the fisical DB wich means that whatever you do in the DT doesn't reflecs in the DB) and not in the actual data base what you need to do …

Member Avatar for camilojvarona
0
97
Member Avatar for karhong

Hi, Maybe you are forgetting to attach the Shape_MouseUp method to 'poligon2'. Say [icode]poligon2.MouseUp += new MouseEventHandler(Shape_MouseUp)[/icode]. Hope this Help Regards, Camilo.

Member Avatar for karhong
0
101
Member Avatar for mzd12111

Hi, Are you refering to a Web Aplication or a Windows aplication?. Regards, Camilo

Member Avatar for camilojvarona
0
126
Member Avatar for lakshmiramesh
Member Avatar for njitram
Member Avatar for selvaganapathy
0
109
Member Avatar for karhong

Hi, My advice is that you in the constructor of the class PoligonShape should recieve an array of points and a Pen. Add a method called Paint that method shoud recive a Form and you assign the grafic object like this: [code=c#] Grafic g = form.CreateGrafic();//form is the parameter of …

Member Avatar for karhong
0
93
Member Avatar for arupa

Hi [code] Graphics g = this.CreateGraphics(); Pen pen = new Pen(Color.Red, 2); g.DrawEllipse(pen, 20, 14, 20, 20); [/code] Regards, Camilo

Member Avatar for selvaganapathy
0
72
Member Avatar for nidhsek

Hi, Try changing xmlttrc.[x].Value for xmlttcr[0].Value Hint - Whenever you get an exception copi the output an pasted in your question. Camilo

Member Avatar for nidhsek
0
66
Member Avatar for Abdulmunawar

Hi, Maybe you should go to this web site. [URL="http://www.asp.net"]http://www.asp.net[/URL] Regards, Camilo

Member Avatar for sierrainfo
0
89
Member Avatar for njitram

Hi, In C# if you are gonig to use the == operator its not defined for type string and boll(ie string == bool)but since you are trying to check it the string 'loginus' is not empty you can use one of this options 1. if(loginus != "") 2. if(loginus != …

Member Avatar for njitram
0
161
Member Avatar for nidhsek

Hi, For your example I assume that you whatn to remove everything between <data></data> or the result would look like this <place id="opt1"><data>data1data2data3</place> Am I right?. Regards, Camilo

Member Avatar for weigp
0
62
Member Avatar for FlaminPhoenix

Hi, I think that you need to know how to interact with the API of the game. If you can, the you should be able to proccess the hotkeys in the C# program and send the imput directly to the game aplication. Hope this help, Camilo

Member Avatar for camilojvarona
0
142
Member Avatar for rich_m

I hope this help you to decide. [url]http://searchsqlserver.techtarget.com/tip/1,289483,sid87_gci1063700,00.html[/url] Regards, Camilo

Member Avatar for camilojvarona
0
49
Member Avatar for thijscream

When you drag and drop a control into the Windows Form in the Designer It automatic crate a private field that represent the control you just added. What you need to do is go to de Designer File it and change the access modifier to public. You can find the …

Member Avatar for thijscream
0
2K
Member Avatar for chiragwebmyne

This is how to add a new control. [code] public class Form1 { private UserControl1 userControl; public Form1() { InitializeComponent(); userControl = new UserControl1(); this.Controls.Add(userControl); } } [/code] Mi idea is. 1.On the UserControl1.cs create a 2 propertys one for 'toolStrimpButton1' and another for 'toolStripButton2'. 2.On the Form2.cs create a …

Member Avatar for camilojvarona
0
182
Member Avatar for camilojvarona

I love to program and I love technology and I am glad of being part of this community.

Member Avatar for MakeMoneyOnline
0
54
Member Avatar for jshashi

The End.