16,020,840 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 Visual Basic questions
View Javascript questions
View .NET 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 derodevil (Top 42 by date)
derodevil
10-Aug-12 13:34pm
View
Thank you philip for answering my question. Thanks a lot.
derodevil
10-Aug-12 13:34pm
View
Ok, thank you philip for answering my question.
derodevil
10-Aug-12 13:33pm
View
Thank you for the solution. I'll try it.
derodevil
8-Aug-12 13:22pm
View
I still can't access the property values. t.Name error, t has no property named Name and DatePaid.
derodevil
8-Aug-12 12:58pm
View
Yes, you're right. And how to get the values?
this code still generates errors
string nm = string.Empty;
string dp = string.Empty;
foreach(var t in array)
{
nm = t.Name;
dp = t.DatePaid;
}
derodevil
31-Jul-12 7:59am
View
That's quite clear I think. I also use your solution in my other project. By the way, I'll have to compare which is the best for me in my next project. Many thanks for helping me.
derodevil
30-Jul-12 22:00pm
View
I also tried your solution and it's pretty good if I develop large project. What I want here is a simpler way in a single assembly. Thank you for helping me. I appreciate it so much.
derodevil
30-Jul-12 10:39am
View
Thank you for you explanation and solution. I'm now using your solution in my project. I accept it.
derodevil
30-Jul-12 10:07am
View
I think these can't be implemented (public bool IsAccountLocked[object caller]). Do you have an idea if I want to hide setter and getter from specific class?
derodevil
30-Jul-12 10:03am
View
Your solution makes sense. Unfortunately, in my project the Debt class is EventArguments inherits EventArgs. I dont' think I can create base class with some derived classes.
derodevil
6-May-12 15:01pm
View
Many many thanks OriginalGriff. It works as I want. I'll vote and accept your solution.
derodevil
18-Apr-12 4:00am
View
Where do you get .Controls[1] property? It's coded in C#. Of course it throws exception if I write
CheckBox chk = new CheckBox(); int c = 0;
while (c != this.gridUser.Rows.Count)
{
chk = (CheckBox)this.gridUser.Rows[c].Cells[1].Controls[1];
if (chk.Checked)
c++;
}
derodevil
9-Apr-12 10:41am
View
I know that link. What I need now is how to build a simple YM Client (login, send message and receive it asynchronously) in C# or VB.Net. I need a simple code as an example.
derodevil
9-Apr-12 10:39am
View
No. That's not what I mean. I need a simple code how to create a Yahoo Messenger Client.
derodevil
30-Sep-11 7:18am
View
I have executed this syntax in SQL Server Query Editor and the result is as I'm expecting. Is it possible that Crystal Reports for VS 2010 doesn't support SQL SubQuery syntax?
derodevil
30-Sep-11 6:47am
View
I use as what you suggested and it still doesn't work. Any other methods?
derodevil
21-Sep-11 10:58am
View
What parts should I change in the config file?
derodevil
9-Sep-11 15:43pm
View
Your answer is very helpful that sdf database is SSCE. My problem has been solved. I just need to change Imports System.Data.SqlServerCe, SqlCeConnection and SqlCeDataAdapter. Thank you for helping me. I have one more question, is this database more powerful than Access Database? Can I develop it and deploy it to stand alone computer with huge number of data since I don't need client server network database?
derodevil
9-Sep-11 15:04pm
View
Yes, that's what I mean, SQL Server Compact Edition. What code should I write to display the data in DataGridView? Can you write some sample code, please? Or you have a link where I can find a tutorial about it?
derodevil
22-Aug-11 5:36am
View
oh..thank you so much. This problem is solved now. I'm successful setting up that property. Thank you.
derodevil
22-Aug-11 5:26am
View
Yes, I am. It's new for me. It's my first code with my own Properties. I'm now coding as you suggest.
derodevil
22-Aug-11 5:12am
View
I have set up that property but I'm afraid I can't implement that property. I'm new in .net programming.
derodevil
22-Aug-11 4:32am
View
Oh It sounds perfect. You mean Get and Set Property?
derodevil
22-Aug-11 2:42am
View
Thank you so much for helping me. You're very appreciated. Once again, Thank you.
derodevil
21-Aug-11 0:38am
View
Oh..OK. Thank you so much for helping me. I have solved this problem. You're right, I should specify the parameter type and using ToArray instead of GetBuffer in image memory stream. By the way, what do you mean with "I was updating in the SQL statement where you're not"? Could you give me a short example, please?
derodevil
20-Aug-11 8:43am
View
Yes, the columns are exact the same as the 2003 version. Actually, I used 2010 version and since it didn't work in that version I converted it to 2003 and it works fine.
derodevil
19-Aug-11 13:31pm
View
As you can see, I'm using OleDB. If the problem is the type of the SQL parameter why does this code seem to be perfect in SQL server and Access 2003 and doesn't work correctly in Access 2010?
derodevil
19-Aug-11 13:31pm
View
Deleted
As you can see, I'm using OleDB. If the problem is the type of the SQL parameter why does this code seem to be perfect in SQL server and Access 2003 and doesn't work correctly in Access 2010?
derodevil
19-Aug-11 12:05pm
View
I have improved my question.
derodevil
19-Aug-11 12:04pm
View
Ok. Let's see it. I've improved the question
derodevil
4-Aug-11 7:50am
View
I have solved the problem. In fact, it just needs two lines of code.
Me.tbltutorialTableAdapter.FillBy(Me.dbtutorialDataSet.tbltutorial,TextBox1.Text) 'TextBox1.Text is the parameter value.
Me.ReportViewer1.RefreshReport
However, thank you for helping me.
derodevil
3-Aug-11 2:14am
View
That doesn't work. Thank you for suggestion.
derodevil
31-Jul-11 13:20pm
View
ReportDataSource Error says Object variable or With block variable not set.
derodevil
12-Jul-11 13:34pm
View
ClientFood doesn't start if it's doubledclicked. And only starts when it's called from ServerFood using ShellExecute or Shell function (built in VB function)
derodevil
12-Jul-11 13:32pm
View
can you give me the code?
derodevil
26-May-11 15:51pm
View
Would you like to help me find what's wrong with my code, please? I can't find elsewhere. I'm sorry my English is bad. I'm Indonesian.
Option Explicit
Dim i As Integer
Dim LM As ListItem
Dim zIndex As Integer
Dim tmrIndex As Integer
Private Sub Command1_Click()
ListVitems
zIndex = zIndex + 1
tmrIndex = tmrIndex + 1
For tmrIndex = tmrIndex To tmrIndex
Load Timer1(tmrIndex)
Timer1(tmrIndex).Enabled = True
Next tmrIndex
End Sub
Private Sub Form_Load()
With ListView1
.View = lvwReport
.Sorted = True
.ColumnHeaders.Add , , "Membership", 1100
.ColumnHeaders.Add , , "Number", 2000
.ColumnHeaders.Add , , "Duration", 1000
.GridLines = True
End With
End Sub
Sub ListVitems()
Set LM = ListView1.ListItems.Add(, , "Member")
With LM
.SubItems(1) = "Member-" & CStr(zIndex)
End With
End Sub
Private Sub Timer1_Timer(Index As Integer)
Set LM = ListView1.ListItems(zIndex)
i = i + 1
With LM
.SubItems(2) = i
End With
End Sub
derodevil
26-May-11 15:09pm
View
It doesn't work as expected. Would you mind if I send you the source code. You can correct it anyway. I'll repost here the solution for other members. I'm sorry my English is bad, I'm Indonesian. Thanks for helping me.
derodevil
26-May-11 0:09am
View
wIdex is for Winsock. No problem with the Winsock. I have problem with the timer. I also tried to index the winsock but it doesn't work either. Help me please
derodevil
23-May-11 11:37am
View
Yes I did.
derodevil
22-May-11 12:20pm
View
Thanks sir. I have solved it. Thanks for your answer.
derodevil
22-May-11 11:59am
View
So, how to make all 4 label captions change (added by 1) with only one timer?
derodevil
22-May-11 11:56am
View
It's still amusing. I'm a novice programmer. Would you like to write the codes for me, please?
Show More