15,792,608 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 Python questions
View PHP 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 DoomMaker79 (Top 12 by date)
DoomMaker79
14-Jan-16 6:49am
View
of course, if I install the ibm data server driver package on client computer, everything's fine. but I have to find a solution without installing anything on client comp.
DoomMaker79
14-Jan-16 6:19am
View
another error message:
System.DllNotFoundException: Unable to load DLL 'db2app.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I got this, but I have installed the db2 drivers on the client machine where I got this error...
DoomMaker79
29-Sep-15 1:57am
View
you're right, there's my solution detailed
DoomMaker79
29-Sep-15 1:43am
View
Thanks a lot, this is the solution. I add this method to my StartScreen.cs and call it right before the InitializeComponent()
public void EnableDoubleBuffering()
{
this.SetStyle(ControlStyles.DoubleBuffer |
ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint,
true);
this.UpdateStyles();
}
DoomMaker79
21-Sep-15 4:14am
View
i've already tried it, not working... :( maybe I tried it in wrong way. can you please complete the code above with your suggestion?
DoomMaker79
16-Sep-15 5:21am
View
yea, but there are several child nodes under all nodes. I just mentioned only 1 to make it simple.
DoomMaker79
16-Sep-15 2:03am
View
thanks for your reply. please check my solution and tell me what you think please.
DoomMaker79
19-Aug-15 11:40am
View
And here's my C# part of showing as many CheckBoxes as many rows has the Table1
string str = "SELECT ID from Table1";
SqlCommand cmd = new SqlCommand(str, myConnection);
SqlDataReader dr = cmd.ExecuteReader();
while (dr.Read())
{
ListItem newItem = new ListItem();
newItem.Text = dr[0].ToString();
CheckBoxList.Items.Add(newItem);
}
DoomMaker79
19-Aug-15 11:25am
View
Here's my C# part of querying the Table2:
string str = "SELECT Code from Table2 where Customer = '" + CustomerID.Text + "' GROUP BY Code";
cmd = new SqlCommand(str, myConnection);
dr = cmd.ExecuteReader();
while (dr.Read())
{
CheckBoxList.SelectedValue = dr["Code"].ToString();
}
dr.Close();
This results that only the last found value will be checked in the CheckBoxList, in this case the number 48 will be.
The GROUP part in the query is needed to exclude any possible errors if a Customer has more rows in the SQL with the same Code.
DoomMaker79
17-Aug-15 6:33am
View
Yes they are. But file sharing is not working. I managed to find a solution with HttpWebRequest. It is not bad, but if I can have a solution with MapPath, that would be awesome.
DoomMaker79
9-Jun-15 2:02am
View
thanks, but if I had found any solution for my problem on Google I'd have used that way... :(
DoomMaker79
9-Jun-15 2:01am
View
yes, I gotta use Windows Service w/ Windows Form. So your solution is not working for me... :( by the way, many thanks Sarath
Show More