Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
58% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
2 Commented Posts
0 Endorsements
Ranked #914
~30.5K People Reached
About Me

Studying in University of Piraeus and recently a undergraduate from University of Hertfordshire. Interested in software Development, Windows & Windows-Oriented platforms.

Interests
Gaming, Music, X-treme Sports
Favorite Tags

82 Posted Topics

Member Avatar for Pilot122x

Greetings, The basic idea behind socket programming, is having a client and a server application (As you stated in your post). In your case, if you want to execute simple cmd commands, then you need to transmit the command text from the client to your remote server, and have your …

Member Avatar for Alexpap
0
196
Member Avatar for iConqueror

Greetings, here's a couple of examples stating when interfaces should be used by [Microsoft](http://msdn.microsoft.com/en-us/library/3b5b8ezk(v=vs.90).aspx): Interfaces are better suited to situations in which your applications require many possibly unrelated object types to provide certain functionality. * Interfaces are more flexible than base classes because you can define a single implementation that …

Member Avatar for pritaeas
0
105
Member Avatar for Evil03
Member Avatar for cent91

Good Day, From my personal expirience, i think that you should go to the .NET side,and begin learning c#. C++ is another option, if you're pointing to work in the game industy, cause it has many features that will help you, plus , its a portable language, since you dont …

Member Avatar for thines01
0
631
Member Avatar for csolutions

Hey there, What could you do is to run a [B]SELECT[/B] statement like this: [B][I]SELECT * FROM [TableName][/I][/B] After you got the query results into a DataTable Object, you should run a [B]For each[/B] loop like this: [CODE] For each(DataRow dr in DataTable) { TreeNode trnode = new TreeNode(); if(dr["ParentCategory"].Value …

Member Avatar for sayantanbagchi
0
676
Member Avatar for newbie26

Hey there, You first have to download the MYSQL Connector for .NET, from the official site: [URL="http://dev.mysql.com/downloads/connector/net/1.0.html"]MySQL :: Download[/URL] When you do that you need to write a few lines of code to interact with database, like this: [CODE]dim _cn as New MySqlConnection([I][B]Connection String[/B][/I]) dim cmd as new MySqlCommand With …

Member Avatar for newbie26
0
239
Member Avatar for Ayavan
Member Avatar for Mitja Bonca
0
110
Member Avatar for Alexpap

Good day to all, Im currently writing a document about my software's design spesifications. Im following a guideline in order for me to write it, but i dont understand this: [QUOTE][B]1.1 Design Map[/B] Summarize the information contained within this document or the family of design artifacts. Define all major design …

Member Avatar for Netcode
0
169
Member Avatar for bunik34

Hi there, welcome to our community , which i think that you will find very helpfull. Now on topic, instead of : [CODE]StudentAdapter .Update(StudentDS , "StudentInfo")[/CODE] Try this: [CODE]StudentAdapter .Fill(StudentDS)[/CODE] Here's another piece of code, that i was using to add a row into my DB: [CODE]OleDbConnection Con = new …

Member Avatar for Alexpap
0
200
Member Avatar for vinoth.raj2k

In order for other people to help you, we need to understand first what you're saying.. :)

Member Avatar for ChrisHunter
0
117
Member Avatar for shandoosheri

Hey there, In order to convert all of your ANSI encoded files to utf-8, you first need to get a list of your files in folder. After that you could use this code snippet.. [CODE] StreamReader sr = new StreamReader(infile); StreamWriter sw = new StreamWriter(outfile, false, Encoding.UTF8); sw.WriteLine(sr.ReadToEnd); sw.Close(); sr.Close(); …

Member Avatar for Alexpap
0
507
Member Avatar for rohand

Hi there, When you create/open your project, then right click the [B]Service1.cs[/B] ( or whatever your service file is) and click show designer. Then you can drag Windows Controls just like any other form. Hope i helped :)

Member Avatar for vuyiswamb
0
198
Member Avatar for aowais

Hi there, In order to connect to the MS Access 2007 you should use this snippet of code: [CODE] string ConnStr = @"Provider=Microsoft.ACE.OLEDB.12.0; Data Source=C:\resources\pw.accdb; Jet OLEDB:Database Password=password"; OleDbConnection DBCon = new OleDbConnection(ConnStr); [/CODE] When you have established a connection with the db, all you have to do is to …

Member Avatar for gadflyyy
0
196
Member Avatar for virusisfound

Hey there, First of all, in order to add a new [B]PARENT[/B] node at runtime you should use this code: [CODE] TreeNode parent = new Node; TreeView1.Nodes.Add(parent); [/CODE] for a [B]CHILD[/B] node: [CODE] TreeNode child = new Node; TreeView1.SelectedNode.Nodes.Add(child); [/CODE] Now, what has to do with the Data show, then …

Member Avatar for devaclement
0
147
Member Avatar for jnip

To drag you out of trouble, here's a simple BSort Algorithm: [CODE]For outer = n - 1 to 0 step - 1 For inner = 0 to outer - 1 If list(inner) > list(inner + 1) then temp = list(inner) list(inner) = list(inner + 1) list(inner + 1) = temp …

Member Avatar for agitorotot
0
117
Member Avatar for hosseinel
Member Avatar for tariqi

From a quick check on your code i thought that you should change your SQL Query:[B][I]select top 3 * from (select row_number()[/I][/B]. Instead you should try selecting all the rows from your table, and then "page" them, just like the GridView Paging functionality. Hope i helped. :)

Member Avatar for Alexpap
0
161
Member Avatar for kerek2

Hello there, In order for us to help you, you should post some of your code and show us the error message. Thanks

Member Avatar for kerek2
0
140
Member Avatar for angel392004

Hi there, What could you do is to load all Candidate's data into a list, and then on the [B][I]TextChanged()[/I][/B] event of the textbox you could use linq to list to retrieve the data. :)

Member Avatar for Alexpap
0
2K
Member Avatar for bbman

Hey there, The thing you're asking is simple. All you have to do, in your UserControl, create some public properties that will interact with the ListView's properties: [CODE] public ListView.ListViewItemCollection Items { get { //Code for Getter } set { //Code for Setter } } [/CODE] Hope i helped :)

Member Avatar for Geekitygeek
0
123
Member Avatar for udigold1

Hello, Microsoft's Combobox takes objects of type [B]Object[/B], such as strings, and not spesific Objects.

Member Avatar for Alexpap
0
105
Member Avatar for DizzyHead

If i got that right, you have a textbox which shows the current Time... So what you need to do is, instead of the hard-coded Time: [CODE]DateTime.Parse("6:02").ToString("t");[/CODE] You should change your code to this: [CODE]DateTime.Parse(TextBox1.Text).ToString("t");[/CODE] Hope i helped, Alex

Member Avatar for DizzyHead
0
99
Member Avatar for Prashant20

In order for you to achieve this, in your current solution you have to create a Setup project. There are two options: 1)Create a blank setup project and add things by yourself 2)Create a setup project with the aid of a wizard. Hope i helped, Alex

Member Avatar for Prashant20
0
112
Member Avatar for Dremerend

Hi, What could you do is use the standar "key=value" style in you configuration file. Then you should be able to read the whole text, then split the keys & the values, by setting the seperator to be the '='. Then when you want to write back to the file, …

Member Avatar for PsychoCoder
0
137
Member Avatar for bettybarnes

Hey, If i got that right, when the user clicks one row on the Employees Grid, then you want to show all the info that are related to the selected Employee. Here's a simple way to do this: Catch the [B]SelectedRowChanged[/B] event on the grid. Then get the value of …

Member Avatar for Alexpap
0
126
Member Avatar for ITStrawberry

Hello there, What you could do is, on the FormLoad() Event, you could write the following code: [CODE]Form1 secForm = new Form1(); //this is the new form that you want to show. secForm.Show(); this.Hide();[/CODE] Hope i helped, Alex

Member Avatar for Geekitygeek
0
87
Member Avatar for evolution120

Hi there, I think that the the conversion is only one-way. This means that you can only see VB 2008 files from within Visual studio 2010, not vice versa.

Member Avatar for Simran Kaur
0
173
Member Avatar for nv136

In the properties of your VB Project, there's one option called 'Splash screen'. There you should select your splash screen form, and then the splash screen functionality will be implemented. :)

Member Avatar for Alexpap
0
227
Member Avatar for Alexpap

Hello everybody, For the last 2 days im trying to deal with a treeview. What i want to do is to copy the structure from one tree to another. I know there are other ways to do this, but the way i want is to iterate through any node-of any …

Member Avatar for nick.crane
0
244
Member Avatar for Don_leon

Hi there, here is a link that i found during a quick search i did: [URL="http://www.codeproject.com/KB/database/sql_in_csharp.aspx"]Code Project[/URL]

Member Avatar for Mattisc
0
81
Member Avatar for NH1

When you execute this Update, in order to see the updated data, you have to re-run the SELECT statement that you use for your GridView. Btw, if you're not 100% sure that the query that is being created is correct, try and debug the application and then take the value …

Member Avatar for Geekitygeek
0
107
Member Avatar for BhuvanRam

[I][B]Sealed classes[/B] A sealed class cannot be used as a base class. For this reason, it also cannot be an abstract class. Sealed classes are primarily used to prevent derivation. They add another level of strictness during compile-time, improve memory usage, and trigger certain optimizations that improve run-time efficiency.[/I]

Member Avatar for BhuvanRam
0
3K
Member Avatar for MindFreaks

Hi, I tried to post on the contact form that you have, but it seems that there is a problem. So contact me via PM to provide you with more info about me. Cheers :)

Member Avatar for MindFreaks
0
237
Member Avatar for imso

You could replace the current file path, with a relative path OR you could also add the .wav file in your project's resources so that you dont have to spesify a different path everytime that you install your app. Hope i helped :)

Member Avatar for Alexpap
0
378
Member Avatar for Alexpap

Hi all, I was always a bit confused about how to create a recursive function, so thats where i need you help. :) I have a treeview, in wich the user adds/removes dynamicaly nodes and a button wich should save the treeview structure in a database table when clicked. The …

Member Avatar for gusano79
0
151
Member Avatar for iamchamith

Through a quick search i found this, that might help you :) [URL="http://www.plus2net.com/sql_tutorial/sql_limit.php"]LIMIT Syntax[/URL]

Member Avatar for iamchamith
0
138
Member Avatar for khan17

[QUOTE=farooqaaa;1215702]You can get it like this: [I]int current[/I] holds the current index number. [CODE] int current = 0; // Get the "aaaa, bbbbb ...." HtmlElement pageElement = wb.Document.GetElementById("tableid"); this.textBox1.Text = pageElement.Children[current].InnerText); // Get the "hrefs" HtmlElement href = pageElement.GetElementsByTagName("a")[current]; MessageBox.Show(hrefs.GetAttribute("href")); [/CODE][/QUOTE] I agree with Farooqaa, but there are other more …

Member Avatar for khan17
0
1K
Member Avatar for lishannx

A more simple way is to use the 'While' statement as follows: While true { }Do() Hope i helped, Alex

Member Avatar for lishannx
0
150
Member Avatar for Cap'nKirk

Hi there, The link you provided, shows a Class named INIFile... So in order to use that code, you should create a new Class file in your project(Dont know how its is done in SharpDevelop :p ), delete every text in the file, and paste this code. Since you have …

Member Avatar for Cap'nKirk
0
89
Member Avatar for krishnisilva

[CODE] String connString = "..." SqlConnection conn = new SqlConnection(connString); String strSQL = "<Query here>"; SqlDataAdapter da = New OleDbDataAdapter(strSQL, conn); Dataset ds = New DataSet; da.Fill(ds, "Municipalities"); TestGridView.DataSource = ds; [/CODE] Hope i helped, Alex

Member Avatar for Alexpap
0
116
Member Avatar for Alexpap

Hi all, I would like to ask a question. Is the way that we connect an Access 2010 with a C# application the same. Are we still using the JET ENGINE 4.0? Thanks in advance, Alex

Member Avatar for finito
0
94
Member Avatar for SteveyD
Re: C#

Hi, You could try this: [CODE] int PrinterPort = Convert.ToInt32(<The binary Value>,2); [/CODE] Hope it works :)

Member Avatar for kvprajapati
0
124
Member Avatar for krishnisilva

Hey, You should add this to your existing SQL query: [CODE] String query = @"Select * From Employee ORDER BY <Put the column name that you want the result to be sorted out>;"; [/CODE] Hope i helped! :)

Member Avatar for farooqaaa
0
771
Member Avatar for scooby36
Member Avatar for Alexpap
0
842
Member Avatar for chimpangkoy

If you're using VB.NET, then you can go and declare a setting in your Project's properties window, so every time the form loads you change+save your new number in the setting variable. ;) Cheers,

Member Avatar for Alexpap
0
114
Member Avatar for khan17

What do you mean by the word " Status bar notification"? Could you be more spesific?

Member Avatar for Alexpap
0
50
Member Avatar for sanasini

Hi, What you could do is to declare some public Variables on form2, and when the user clicks the button to show the form, then you pass the data you want into these variables... :) Hope i helped,

Member Avatar for Alexpap
0
70
Member Avatar for NPDA

You could also use the Hide property of the form, so when you click the next button as you mentioned, then the form will be hiden and maintain its data. Hope i helped :)

Member Avatar for Alexpap
0
828
Member Avatar for chathuD

Through a quick search that i made, i found this helpful tutorial [URL="http://www.developershome.com/sms/howToSendSMSFromPC.asp"]Developers Home[/URL] Contact me for more help, Hope i helped :)

Member Avatar for Alexpap
-2
84
Member Avatar for Learner7

You should go to the events of the listview and handle Keypress event. Then in the event, you should use the case method like this: [CODE] Select Case e.KeyChar case 37: // <--- left arrow. // do stuff for Left Arrow here. case 38: // <--- up arrow. // do …

Member Avatar for Learner7
0
1K

The End.