Jump to content

Check out our Community Blogs


Member Since 01 Aug 2012
Offline Last Active Sep 17 2012 04:13 PM

Posts I've Made

In Topic: Why use VB6 or VB.NET?

15 August 2012 - 02:37 AM

agree blackrabbit and it needs big framework.. :) vb6 has very big problem in win 7 (sometimes it doesnt work) and I believe that programs which created in vb6 will not work in win 8. I remember that Microsoft stopped supporting vb6 for new windows OS (I am not sure but I think that I read an article about tht)

in my opinion, you may focus on .net programming (vb.net or c#.net which supports 100% object oriented programming )

In Topic: Insert string from C# program

13 August 2012 - 07:26 AM

Hi :)

calm down ...

in sql, string needs ' (single quote) means you need to write your strings between two quates in your sql query.

let me give you an example

string word = "Hello";


, "INSERT into Table1 values ('" + word + "')"

it must work.


... ( ' " + word + " ' ) "

In Topic: Embedded Systems

12 August 2012 - 06:09 PM


I am also interested in MCU programming. But I don't understand how can you program MCU with C#? I usually use CCS C or Pic basic to program MCUs. Your C codes already will be hex code and will burn it to MCU via MCU programmer.

To control MCU, you can use USB or serial or parallel ports. I prefer to communicate with MCU via USB. There are some kind of libraries which support USB communication with C# (i.e. umng.dll)

You can look at my presantation about my thesis. http://prezi.com/ozd...lektroid-sunum/

but its in Turkish.. I developed a server program (c#), a client (android) and an electronic device ( programmed by CCS C). MCU was PIC 18F4550 which supports USB ( also I could use PIC 18f2550 is cheaper but no more output)

If you have any question, dont hesitate to ask me.

good luck,


In Topic: [SQL Query]Stop program from being laggy while excuting?

12 August 2012 - 05:55 PM

As-Salāmu `Alaykum,

I generally use like that

SqlConnection sqlConnection = this.sqlcon();
SqlCommand sqlCommand = new SqlCommand();
sqlCommand.Connection = sqlConnection;
//the part where the big dbo loads..
sqlCommand.CommandText = "USE " + mainclass.database + " SELECT IT.id, ST.value FROM ItemResource IT, StringResource ST WHERE IT.name_id = ST.code ORDER BY id ASC";
SqlDataAdapter da = new SqlDataAdapter(sqlCommand);
DataSet ds = new DataSet();
this.dataGridView1.DataSource = ds.Tables[0];
catch (Exception ex)
MessageBox.Show(ex.Message.ToString(), "Error!");

just try it and see how its performance.. If its similar like before one then as Jorndel said, you can try backgroundwork or thread or Parallel.For/Foreach for your while loop.

have a good ramadan

good luck :)

In Topic: Views On My Website

06 August 2012 - 05:55 PM

Hi, It looks so cool, I liked that :) But in my opinion, you musnt divide summary articles and "something" as two parts in the main page.. It makes more complex.. I am not sure that I could explain what I mean..

your main page has 3 parts divided. the left and middle sides of the main page are fine but the right side's content could be under left side side.. Because summaries of articles look smaller :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download