15,895,084 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by DEB4u (Top 50 by date)
DEB4u
11-May-13 10:44am
View
I used obfuscating, it generates an exe, when i copy that obfuscated exe to the release folder (without setup project), then,it's not running,just being crashed...note that my application depends on files which reside on the same directory... if don't obfuscate, then after building in VS it runs..
DEB4u
15-Mar-13 1:12am
View
thanks
DEB4u
27-Jan-13 12:25pm
View
ok, If i remove the Try catch inside Do_Work(), then also it's not working, i mean program is breaking off
DEB4u
15-Dec-12 0:38am
View
Thank you very much for your reply. Actually my requirement is an offline product key validation system using
PKI digital signature matching..,i.e, I want to encode a specific serial number + my signature with my private key and the output will be used as a product key, which the user need to enter in his application for validation. and in the client application I'll attach corresponding public key with which he will decrypt and separate out the sl no and my signature.. if the signature matches, it'll be validated... I used .NET RSACryptoProviderService Class.
DEB4u
14-Dec-12 5:05am
View
Actually I'm using RSA to encode my data into a particular length.. but RSA is giving the output of 172 chars.. which I need in between 20-30 chars and alphanumeric.. but RSA is giving variety of ASCII value..
DEB4u
14-Dec-12 4:40am
View
Does it matters like.. 175 to 25 compression...
DEB4u
26-Sep-12 0:06am
View
and my computer has a static ip address
DEB4u
25-Sep-12 23:56pm
View
Oh.. It doesn't support in XP..
DEB4u
19-Aug-12 3:47am
View
it worked for setting the database password :
conn = New SQLiteConnection()
conn.ChangePassword("password")
..
It sets the password.. but how to remove the password?
DEB4u
19-Aug-12 3:44am
View
password protected
DEB4u
15-Jul-12 13:33pm
View
thanks
DEB4u
15-Jul-12 11:27am
View
regarding security: A sqlite .db file can be opened in some sqlite browser, so how it can be secured?
Regarding update: let me be more specific,i.e. when i'll give update means the application will be updated like patches it'll install which may updated the database file.. or any other option?
DEB4u
26-Oct-11 14:24pm
View
I'm giving the update location as 'ftp://ipage.intefe.com/mwsm' . but it's showing error..Can u elaborate it?
DEB4u
25-Oct-11 2:38am
View
http://imageshack.us/photo/my-images/685/screenshotr.gif/
http://imageshack.us/photo/my-images/231/screenshot2z.gif/
DEB4u
17-Oct-11 15:13pm
View
I've given a wrong query to raise an exception and make the 'er' variable as 'true' .. but it's showing 'er' as 'false'
DEB4u
15-Oct-11 7:53am
View
have a lok at this code...
Public Class Form1
Dim gc As New mysql_con
Dim que As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
gc.conn()
gc.con.Open()
MsgBox("connection opened")
Dim cmd As New MySqlCommand
cmd.Connection = gc.con
que = "insert into testing values ('" + TextBox1.Text + "','" + TextBox2.Text + "')"
cmd.CommandText = que
cmd.ExecuteNonQuery()
MsgBox("...")
que = "insert into testing2 values ('" + TextBox2.Text + "','" + TextBox1.Text + "')"
cmd.CommandText = que
cmd.ExecuteNonQuery()
gc.con_Close()
MsgBox("closed")
End Sub
I'm disconnecting the internet on this step:
MsgBox("...")
but when I check my database, the 1st statement is executed, it's not being rolled back..
Thanks for Reply..
DEB4u
7-Oct-11 5:28am
View
Ya the images are added to the resource file. It's showing a runtime error.
DEB4u
5-Oct-11 8:41am
View
Thanks for yr reply, Actually in the statement
mytransac = con.BeginTransaction
the 'con' is an instance of mysqlconnection which is created in connection class.
DEB4u
20-Sep-11 15:34pm
View
Thank you,I got you, but that's ok for some code no for a name but I'd like to ask, if the column is just a serial number which need to be incremented , in that case what'd I do?
DEB4u
13-Sep-11 15:23pm
View
ok, so what'd I do have a separate thread for my functions inside a class?
DEB4u
13-Sep-11 15:09pm
View
thanx for yr reply... Can I make my access() and con() procedures in side thread like this..
Dim thread as New Thread(new ThreadStart(access))
thread.Start()
Thanx
DEB4u
10-Sep-11 20:17pm
View
ya, thanks
DEB4u
10-Sep-11 20:11pm
View
i'm asking for a procedure by which I can handle all the 100 button click event in 1 function without using switch case.
DEB4u
10-Sep-11 18:32pm
View
Private Sub Button_Click(sender as object, e as ButtonClickEventArgs) Handles, Button1.Click, Button2.Click, etc...
This thing is not working as the buttons are created dynamically.
DEB4u
10-Sep-11 18:15pm
View
Deleted
I'm not getting, I think I require to add test() as well as the above function both. not either or..
DEB4u
10-Sep-11 18:10pm
View
Deleted
when the test fun to be called?
DEB4u
10-Sep-11 15:59pm
View
Thanx
DEB4u
10-Sep-11 13:05pm
View
Can you explain the tag Route in some details?
DEB4u
10-Sep-11 11:41am
View
When I'm using this....
Dim cControl As Control
Dim x As Integer = 0
For Each cControl In Me.Controls
If (TypeOf cControl Is Label) Then
If (x >= 21 And x <= 50) Then
cControl.Text = "abc"
End If
x = x + 1
End If
Next cControl
It's changing labels 171-188 to "abc"
DEB4u
9-Apr-11 5:39am
View
It's showing Ambiguous column 'AgentId'....
Can i writeby using 'connect by prior' like this..
"select Agent_Id from agents_details connect by prior Agent_Supervisor_Id=Agent_Id and Agent_Supervisor_Id>0 where Agent_Id=@aid1"
but i's showing error..
DEB4u
9-Apr-11 1:36am
View
Here i'm having 3 levels of iteration...How can i do that?
DEB4u
3-Apr-11 8:22am
View
ya u r right... let me go through it...
DEB4u
3-Apr-11 6:55am
View
this link does not work..
DEB4u
2-Apr-11 14:57pm
View
I'm having a function to check internet connectivity...as it has return type so can't use as a thread...Needs some help as new to .net...
DEB4u
1-Apr-11 23:36pm
View
Yes i got a function which checks internet connectivity...but i want that this should run always...
DEB4u
26-Mar-11 4:40am
View
thanks a lot....
DEB4u
26-Mar-11 3:02am
View
i need to the result of those 2 query in 1 table...
DEB4u
26-Mar-11 1:24am
View
Actually facing prob in join...Here s 1 query : "select agents_details.Agent_Employee_Id,agents_details.Agent_Id from agents_details where Agent_Employee_Id=any(select Emp_Id from employee_status where Emp_acc_Stat='OPEN') "
and another is: "select Employee_Id,Emp_Name,Emp_Mname,Emp_Lname from employee_details where Employee_Id=any(select agents_details.Agent_Employee_Id from agents_details where Agent_Employee_Id=any(select Emp_Id from employee_status where Emp_acc_Stat='OPEN') ) "
need Agent_Id,Emp_Name in 1 table
DEB4u
26-Mar-11 1:16am
View
Ya i've gone through this...and wrote like this...
<pre>MySqlDataAdapter da = new MySqlDataAdapter();
connection = new MySqlConnection();
dbconeector = new DataConnector();
ds11 = new DataSet();
DataSet ds12 = new DataSet();
DataSet ds13 = new DataSet();
//load agent info
ds11.Clear();
connection = dbconeector.connect();
MySqlCommand cmd1 = new MySqlCommand();
cmd1 = connection.CreateCommand();
string qyery1 = "select agents_details.Agent_Employee_Id,agents_details.Agent_Id from agents_details where Agent_Employee_Id=any(select Emp_Id from employee_status where Emp_acc_Stat='OPEN') ";
cmd1.CommandText = qyery1;
da.SelectCommand = cmd1;
MySqlCommandBuilder cb1 = new MySqlCommandBuilder(da);
da.Fill(ds11, "agents_details");
//MessageBox.Show("filled agents id table to dataset");
qyery1 = "select Employee_Id,Emp_Name,Emp_Mname,Emp_Lname from employee_details where Employee_Id=any(select agents_details.Agent_Employee_Id from agents_details where Agent_Employee_Id=any(select Emp_Id from employee_status where Emp_acc_Stat='OPEN') ) ";
cmd1.CommandText = qyery1;
da.SelectCommand = cmd1;
MySqlCommandBuilder cb2 = new MySqlCommandBuilder(da);
da.Fill(ds12, "agents_name");
//MessageBox.Show("filled agents name table to dataset");
dbconeector.close();
dataGridView1.DataSource = ds11.Tables[0];
dataGridView2.DataSource = ds12.Tables[0];
DataTable dt1 = new DataTable("table1");
DataTable dt2 = new DataTable("table2");
dt1 = ds11.Tables["agents_details"];
dt1.PrimaryKey = new DataColumn[] { dt1.Columns["Agent_Id"] };
dt2 = ds12.Tables["agents_name"];
dt2.PrimaryKey = new DataColumn[] { dt2.Columns["Employee_Id"] };
ds13.Tables.Add(dt1);
ds13.Tables.Add(dt2);
DataRelation drel = new DataRelation("EquiJoin", dt2.Columns["Employee_Id"], dt1.Columns["Agent_Employee_Id"]);
ds11.Relations.Add(drel);
DataTable jt = new DataTable("joinedtable");
jt.Columns.Add("Agent_Id", typeof(Int32));
jt.Columns.Add("Agent_Emp_Id", typeof(Int32));
jt.Columns.Add("Emp_Name", typeof(string));
jt.Columns.Add("Emp_Mname", typeof(string));
jt.Columns.Add("Emp_Lname", typeof(string));
ds13.Tables.Add(jt);
foreach (DataRow dr in ds11.Tables["Table1"].Rows)
{
DataRow parent = dr.GetParentRow("EquiJoin");
DataRow current = jt.NewRow();
for (int h = 0; h < ds.Tables["Table1"].Columns.Count; h++)
{
current[h] = dr[h];
jt.Rows.Add(current);
}
}
dataGridView3.DataSource = ds13.Tables["joinedtable"];
}</pre>
it shows error like this...
ds13.Tables.Add(dt1);"Datatable already belongs to another dataset
DEB4u
11-Mar-11 17:42pm
View
ok..That's working perfectly..Thanx very much
DEB4u
11-Mar-11 11:41am
View
can't we write like this?
if (o== System.DBNull)
{
///
}
DEB4u
11-Mar-11 3:45am
View
What is the difference between command timeout and connection time out?
DEB4u
10-Mar-11 17:02pm
View
Ya i'm having indexing in tables....Can u help me in how to set the timeout higher? is there any future prob with increasing that?
DEB4u
10-Mar-11 15:09pm
View
this size is in bytes?
DEB4u
8-Mar-11 15:55pm
View
Actually needs to show the internet status in apllication, always...
DEB4u
8-Mar-11 15:25pm
View
Hmm..i've read delegates..but now need some idea how to implement in my code..For my above prob that i want to show an progressbar/image while the connection to database completes which is happening through the Dataconnector Class..So as said above i need to add 2 events to this class and which will be raised with backgroundworker..then in calling form i'll respond to those events...
DEB4u
8-Mar-11 14:56pm
View
can u just help me in how add an event to my DataConnector Class? i mean where to declare its delegate?
DEB4u
8-Mar-11 13:26pm
View
Actually i'm very new in this dotnet...So i don't understand the the concepts u r reffering to..
DEB4u
8-Mar-11 13:24pm
View
Actually whenever i'm using more than commands to be executed on database, for each execution i'm opening connection and closing again...Is it advisible to connect once and execute as many no of commands and finally close the connection...I'm quite new in this field,any suggestion on this..
DEB4u
8-Mar-11 13:19pm
View
Hmm, in case of 56Kbps internet it's taking 3 secs..
Show More