Search Results

Showing results 1 to 40 of 867
Search took 0.05 seconds.
Search: Posts Made By: DdoubleD
Forum: C# 5 Hours Ago
Replies: 4
Views: 75
Posted By DdoubleD
I would learn both if I were you. I programmed in C/C++ for several years, and I will tell you that once I started coding in C#, I really don't like looking at C/C++ code anymore, but I can and do...
Forum: C# 6 Hours Ago
Replies: 1
Views: 64
Posted By DdoubleD
All I did was look at this post and I hear sirens outside--just kidding. :D I can't wait to hear about everyone's experience once 7 has been out there a while...

Out of curiosity, unless it is...
Forum: C# 6 Hours Ago
Replies: 12
Views: 131
Posted By DdoubleD
I think Crystal Reports is the most popular/versatile for the $price$ too. As far as the overhead it produces, that would be easy enough for you to determine. Just build one project with and one...
Forum: C# 6 Hours Ago
Replies: 1
Views: 90
Posted By DdoubleD
Overview:

Oddly enough, MS never created a TreeViewDrowDown or equivalent. What I mean, is a control that looks and acts like a ComboBox, but contains a TreeView instead of just a list when in the...
Forum: C# 12 Hours Ago
Replies: 9
Views: 133
Posted By DdoubleD
Be sure to read the above consideration. However, I got bored and made modifications to allow you to access any open form, but it will only work with one instance of each of your forms (eg. not two...
Forum: C# 13 Hours Ago
Replies: 9
Views: 133
Posted By DdoubleD
An MDIParent container paradigm has only one MDI parent, but you are using the MdiParent property for each successive form, which leaves the MdiParent property reference "dangling" if you close one...
Forum: C# 14 Hours Ago
Replies: 9
Views: 133
Posted By DdoubleD
I don't see anything right away that would prevent you from accessing that property. Can you zip up and attach your project?
Forum: C# 15 Hours Ago
Replies: 9
Views: 133
Posted By DdoubleD
Not sure what you mean. Are you still casting your form3.MdiParent to get your form1 reference? eg:


// in form3...
Form1 form1 = (Form1)form3.MdiParent;
Forum: C# 18 Hours Ago
Replies: 9
Views: 243
Posted By DdoubleD
I found the following suggestion on the MySql website: "just add "Use Procedure Bodies=false" in your connection-string"...

You may wish to refer to this website as you continue, but feel free to...
Forum: C# 18 Hours Ago
Replies: 9
Views: 133
Posted By DdoubleD
In form1, you have defined a get property setter to retrieve the string value, which you can do from form3. However, if you want to set the value of the textbox control on form1 from form3, you need...
Forum: C# 21 Hours Ago
Replies: 12
Views: 131
Posted By DdoubleD
Hey Roy. I'm a little new to using the report controls shipped with VS, but they make life so much easier I think. Anyway, I want to see what recommendations others might make for you.

In the...
Forum: C# 21 Hours Ago
Replies: 5
Views: 155
Posted By DdoubleD
You are most welcome...Cheers!
Forum: C# 21 Hours Ago
Replies: 1
Views: 85
Posted By DdoubleD
It's really a simple concept once you get a grasp on why you want to do this. Although you might have already considered this, I would expand the design to ensure that the presentation layer is also...
Forum: C# 22 Hours Ago
Replies: 1
Views: 112
Posted By DdoubleD
This is a pretty good article as far as comparing Windows Forms to WPF at a high level: DECIDING WHEN TO ADOPT WINDOWS PRESENTATION FOUNDATION...
Forum: C# 23 Hours Ago
Replies: 9
Views: 259
Posted By DdoubleD
Not sure what you mean, but here is the for/next index version with the arrays accessed by index:


public static void ProcessArrays2(params object[] v)
{
// for each...
Forum: C# 23 Hours Ago
Replies: 8
Views: 165
Posted By DdoubleD
OK, I'll be looking for the attachment in the thread per your PM.
Forum: C# 1 Day Ago
Replies: 8
Views: 165
Posted By DdoubleD
Hey there, I'm still not sure what you are asking because I asked a couple of different questions, and I'm not sure which one you accepted as your issue.:D Select a choice:

A) Are you trying to...
Forum: C# 1 Day Ago
Replies: 5
Views: 155
Posted By DdoubleD
Create a public method in your Form1 to access the control's text, then from the child form, just up-cast your MdiParent to Form1 and access the method:


// defined in Form1, or the...
Forum: C# 1 Day Ago
Replies: 6
Views: 189
Posted By DdoubleD
Not a problem. Please mark thread as solved if your question has been answered--thanks.
Forum: C# 1 Day Ago
Replies: 6
Views: 189
Posted By DdoubleD
The most simplest would be how you indicated you were thinking of doing it, but that limits your design to predefined usernames you evaluate in your if statements (at least as I understood you to...
Forum: C# 1 Day Ago
Replies: 5
Views: 164
Posted By DdoubleD
In the above link (and code excerpts below):

the author uses the WM_COPYDATA message to broadcast and listen, but you should be able to define WM_USER +0x?? if that is your wish; but, he also...
Forum: C# 1 Day Ago
Replies: 5
Views: 164
Posted By DdoubleD
See if this article meets your needs: alternative to .NET Remoting based on low-level Windows Messaging... (http://www.codeproject.com/KB/dotnet/XDMessaging.aspx)
Forum: C# 1 Day Ago
Replies: 9
Views: 243
Posted By DdoubleD
Do you have access to the server? Have you tried google'ing "MySql cannot connect 10061"? Here is the first hit I got from that search: Can't connect to MySql (10061)......
Forum: C# 1 Day Ago
Replies: 8
Views: 165
Posted By DdoubleD
I cannot tell from your last line whether you have already solved your problem. If so, please mark the thread as solved. If not, I will try to determine more clearly what it is you are asking...
...
Forum: C# 2 Days Ago
Replies: 6
Views: 189
Posted By DdoubleD
Are you asking how to find particular menu items, and then enable/disable menu items? Or, is your question more general about how to design user permissions into the menu design?
Forum: C# 2 Days Ago
Replies: 8
Views: 165
Posted By DdoubleD
Very secret...OK :cool: Here is an example of getting a count of records meeting a specific ID in a where clause:

using (OleDbConnection conn = new OleDbConnection(connStr))
...
Forum: C# 2 Days Ago
Replies: 5
Views: 153
Posted By DdoubleD
Try this for your functions.dll: Register .NET assembly... (http://social.msdn.microsoft.com/forums/en-US/vbinterop/thread/d6c1b56b-5951-437f-ad13-8cdc6676fe75/)
Forum: C# 2 Days Ago
Replies: 5
Views: 153
Posted By DdoubleD
In the above scenario, have you tried running the app with "C:\" in your PATH environment settings?

It's not clear to me how your app is able to find and load the plugin.dll, but not the other....
Forum: C# 2 Days Ago
Replies: 8
Views: 181
Posted By DdoubleD
You might want to take a look at this thread: http://www.daniweb.com/forums/thread215125.html

It's a little lengthy, but if you don't find what you need in there at least it might help to explain...
Forum: C# 2 Days Ago
Replies: 8
Views: 181
Posted By DdoubleD
Here is a good link to get you started: http://msdn.microsoft.com/en-us/library/system.windows.forms.control.keydown.aspx
Forum: C# 3 Days Ago
Replies: 6
Views: 154
Posted By DdoubleD
I suppose the main thing you are giving up is streamlined maintenance and scalability since you will need to manually copy and paste (or perhaps remove) segments of code anytime the size of the...
Forum: C# 3 Days Ago
Replies: 6
Views: 210
Posted By DdoubleD
To obtain the size of your list: properties.Count. To access a member of Property named pos in a loop:


for (int i=0; i<properties.Count; i++)
{
if (player1pos == properties[i].pos)
{...
Forum: C# 3 Days Ago
Replies: 8
Views: 244
Posted By DdoubleD
Hi Roy. If you pass in just the filename (no path), the file will be created in the same folder as where your application is running, which is the current working directory. The only caveat to this...
Forum: C# 3 Days Ago
Replies: 1
Views: 120
Posted By DdoubleD
Check the command text/query pass into the SqlCommand, which is what it is complaining about, but error doesn't show until you execute the command with ExecuteNonQuery:


//
//...
Forum: C# 3 Days Ago
Replies: 3
Views: 155
Posted By DdoubleD
Not a problem! Please mark as solved--thanks!
Forum: C# 3 Days Ago
Replies: 3
Views: 155
Posted By DdoubleD
Problem is that in your string ("22.925507, 0.0000000, 0.0000000, "), the Split has created a last item equal to a " " (space char), which the Convert.ToDouble(" ") yields the exception.

To...
Forum: C# 3 Days Ago
Replies: 9
Views: 259
Posted By DdoubleD
Sorry, I got distracted before I could correct the last post... This should work:


public static void Test()
{
int[] intAry = { 1, 2, 3 };
string[]...
Forum: C# 3 Days Ago
Replies: 9
Views: 259
Posted By DdoubleD
adatapost pretty much gave you the way to do this. Here is an example of manipulating the variable arguments of object should you pass a variable number of arrays:


void methodName(params...
Forum: C# 3 Days Ago
Replies: 3
Views: 1,922
Posted By DdoubleD
Follow the link yang gave you above. I would:
1) create two date parameter fields for the begin and end dates, then
2) use the Record Selection Formula Editor to create a "Comparisons" selection...
Forum: C# 3 Days Ago
Replies: 9
Views: 243
Posted By DdoubleD
When does this error happen? Are you catching the MySqlException?


private static string BuildConnectionStr(string server, string db, string user, string pwd)
{
...
Showing results 1 to 40 of 867

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC