15,903,388 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 fcronin (Top 36 by date)
fcronin
8-Aug-11 10:29am
View
Great, glad you managed it!
fcronin
5-Aug-11 20:06pm
View
My 5.
fcronin
5-Aug-11 19:59pm
View
Somehow it looks like the ? between 'Y' and "<img src=..." got turned into a colon... so I'm assuming you had a syntax error and couldn't compile. Change it as I did above and see if that gets your through... if not, what kind of error are you getting, or what is it not doing?
fcronin
20-Jul-11 16:26pm
View
dominic - I think your method is fine by the way... for an array of the type I mention... good one. :)
fcronin
20-Jul-11 16:19pm
View
So, you think his array is still fine for what hes trying to do, and this will work... ok, send his array to this method and let us know the result.
fcronin
20-Jul-11 16:18pm
View
Deleted
So, you think his array is still fine for what hes trying to do, and this will work... ok, send his array to this method and let us know the result.
fcronin
20-Jul-11 14:22pm
View
(the word 'object' got scrubbed from Dictionary<> in my last comment...)
fcronin
20-Jul-11 14:21pm
View
My 5... dominic, you don't take into account any of what John says here...the issue is, the OP appears to be viewing his requirements in the wrong light, as the dictionary does not seem to be utilized properly in his case. If name and city are properties of an object, he would be better off either using a List<object> (where object has properties of name, city, etc), or using a Dictionary<string, object=""> if he wants to key off of a unique value for each entity.
fcronin
20-Jul-11 13:40pm
View
Thanks :)
fcronin
15-Jul-11 20:35pm
View
... did you check \bin\debug or \bin\release for another db file to view to see if your record(s) is in there...?
fcronin
15-Jul-11 19:25pm
View
Closest to what I would do... except in my experience, I haven't had to convert the field value ToString()... just used int Value = Convert.ToIn32(rdr["mrfno_nu"]);
fcronin
13-Jul-11 17:45pm
View
Just a thought, but did you check your GAData constructor to ensure you aren't setting that DateTime to a new DateTime?
fcronin
13-Jul-11 17:31pm
View
The solution you want has to be designed, there is not built in ability to save all aspects of a dynamic form to handle all of your processing. What I have done in the past was create a serializable class that could handle everything about my form (controls, properties, values, selected values/items, etc etc). Then when your form closes, populate that class with all of the relevant information and Serialize() it (save to XML file). When you load a form for editing, you DeSerialize() (load from XML file) to re-create that class with all the relevant values as they were saved, then apply that information to your form appropriately.
fcronin
12-Jul-11 20:43pm
View
Good... but perhaps Items.Count - 1 for index... ;)
fcronin
29-Jun-11 14:32pm
View
http://www.google.com/search?hl=en&source=hp&biw=1388&bih=714&q=c%23+capture+webcam+image&oq=c%23+capture+webcam+image&aq=f&aqi=&aql=undefined&gs_sm=e&gs_upl=360l5406l0l31l26l3l7l0l0l250l2002l6.7.3l16&safe=strict
fcronin
9-Jun-11 12:08pm
View
True... besides just changing fonts, to gain any effects such as shadowing etc... you either have to use multiple labels offset, or owner-draw the control and paint the effects yourself... WPF offers a lot of visual prowess from what I've read.
fcronin
7-Jun-11 14:46pm
View
Can we assume you are looking for something deeper than the Alignment property of the tab control? Haven't used one in a while, but I think that property will throw the tabs where you want them (left, right, top, bottom)? ...or am I mistaken?
fcronin
3-Jun-11 13:59pm
View
Oops.. missed the asp.net tag, thought you were doing win form... disregard.
fcronin
28-May-11 11:57am
View
It is the clearest and most accurate solution you could ask for, based on the question. John simply assumed "pagination number" meant "page number", and "to url" really meant "IN the URL", and his example shows just how you would do that.
fcronin
27-May-11 18:02pm
View
Is good (sorry, meant to hit 5), but I would recommned OP create a custom control that can handle multiple triggers for when the content of a given textbox is 'complete'. By number of characters, by content match, by format, etc... The custom control should raise a custom event to notify the parent, and this is the event that should be handled there to advance focus. That way, the control takes care of monitoring it's own content and deciding when it is 'done', then just tells the parent when that happens.
fcronin
27-May-11 9:52am
View
My apologies, I was just speeding thru it... it should return a string[] rather than a string.
<pre>
public string[] DelimitedRecord(char delimiterChar)
{
return mystring.TrimEnd(delimiterChar).Split(delimiterChar);
}
</pre>
fcronin
26-May-11 15:32pm
View
Is good, 5... just made another note below, use it in the class so the consumer doesn't need to sweat it.
fcronin
20-May-11 14:33pm
View
It seems to me that the image name is in the datarow (DataItem), such as "myimage.jpg". It is sending the data row information to the method, which gets the image name from the appropriate data column ["ImageName"], and puts that string at the end of the URL, effectively displaying the image there rather than just the text name of it.
fcronin
20-May-11 13:54pm
View
The logic is fairly clear... is there a particular piece of the method you don't understand?
fcronin
19-May-11 18:38pm
View
When does the license expire? 5 days after the first use? x Days after installation? You need more detail and clarity in what you are trying to do exactly.
fcronin
19-May-11 15:56pm
View
5 for good answer... just would add for communicating between the forms, the form that is created and Shown will need a reference to the form that created it. I generally would send a reference to the originating form in the new form's constructor... but there are many ways to go about it.
fcronin
19-May-11 13:17pm
View
If your textbox contains "2011_0" after the first run, it should contain "2011_1" after running through this code again. Step through it and see what the values are as it progresses to try and find the issue.
fcronin
18-May-11 15:53pm
View
Does your stored procedure contain a select statement at all, or just assigns the return value as param3?
fcronin
18-May-11 15:48pm
View
Well, if you really are creating a 'desktop' in your own application, the only suggestion I could make to you would be docking a toolstrip to the bottom of the your container.
fcronin
17-May-11 20:03pm
View
Unless he doesn't want to Stop() unless the try block fails, if no exception he wants to keep 'it' running?
fcronin
16-May-11 13:31pm
View
Agree with SAKryukov... I didn't view the links, but in general, I like to use split containers and docking to achieve sizable forms that retain layout. If you insist on anchors, it's simply up to you to set them in such a way that your controls size the way you want them to... no trick to it, just have to imagine the behavior based on the top/left/right/bot settings you apply to each control... goodl luck!
fcronin
16-May-11 9:54am
View
Thanks :)
Quick note to Elliot... steps 1 and 3 are repeats (I was sleepy), only need get direction once. ;)
fcronin
23-Mar-11 19:56pm
View
Agree on form property, best bet.
fcronin
23-Mar-11 19:52pm
View
Sorry, first point was made by SA... I just second it! :)
fcronin
22-Mar-11 21:06pm
View
Yes, very interesting... learn something new every day... never worked with the compact framework.
fcronin
22-Mar-11 19:24pm
View
Thanks brother, I never have been good at documentation... ;)
Show More