Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: Olorin
Forum: C# August 21st, 2003, 06:44 AM
Replies: 2
Views: 3,898
Posted By Olorin
Neanch'io... che tipo di var e' "moduli"...

Neanch'io...


che tipo di var e' "moduli" ?
Mi riferisco alla linea:
this.textBox1.Text = ((ValoriNascosti)this.comboBox1.SelectedValue).moduli.ToString();

forse devi fare qualcosa tipo...
Forum: Visual C++ August 14th, 2003, 07:50 AM
Replies: 2
Views: 1,072
Posted By Olorin
My cheap $0.02: Assuming you know the format of...

My cheap $0.02:
Assuming you know the format of the file (as in your example), you'd also know how many bytes there are from the beginning of the file to the beginning of the field you want to...
Forum: C++ Programming August 11th, 2003, 07:41 AM
Replies: 2
Views: 1,393
Posted By Olorin
natmaster is suggesting a Depth-First Search....

natmaster is suggesting a Depth-First Search. Looking at the brief description of the problem, I'd go for a Breadth First approach, wioth a recursive fn:
Solve Routine:
==============
LET v be a...
Forum: C# August 7th, 2003, 12:49 PM
Replies: 1
Views: 1,509
Posted By Olorin
Cheap $0.02: I'd look at a tree view control,...

Cheap $0.02:
I'd look at a tree view control, rather than a textbox.
Otherwise, you could creat your own component that uses a treeview within a text box.

Not much experience with tree views,...
Forum: C# August 7th, 2003, 12:48 PM
Replies: 1
Views: 1,756
Posted By Olorin
Quick $0.02: Maybe you should have a...

Quick $0.02:
Maybe you should have a constructor for Getname, and have your Main call it
( Getname gn = new Getname(); in the Main routine).
I think the problem is that function1 is a Method (i.e....
Forum: C# August 7th, 2003, 12:44 PM
Replies: 1
Views: 2,046
Posted By Olorin
My cheap $0.02: I think you have two options. ...

My cheap $0.02:
I think you have two options.

1~ Validation of complete text in the text box.
Say you have the textbox tBox_1, and you will use whatever the user enters there when they click on...
Forum: C# July 22nd, 2003, 08:50 AM
Replies: 37
Views: 17,811
Posted By Olorin
I usually create a class named Constants in my...

I usually create a class named Constants in my projects, and stick all the "globals" in there as public static fields.
Thus, for instance

namespace myProject
{
public class Constants
{
public...
Forum: C# July 17th, 2003, 06:47 AM
Replies: 7
Views: 3,093
Posted By Olorin
guppyheart, glad to hear it worked. ...

guppyheart,
glad to hear it worked.

NotNowJohn,
agreed; thanks for the clarification :-)

Cheers,
Olorin
Forum: C# July 16th, 2003, 04:52 PM
Replies: 7
Views: 3,093
Posted By Olorin
NotNowJohn, correct me if I'm wrong, but...

NotNowJohn,
correct me if I'm wrong, but wouldn't this be equivalent to simply NOT call the .Close() method on the SqlDataReader ?

And, if so, wouldn't this potentially lead to problems (after...
Forum: C# July 16th, 2003, 06:56 AM
Replies: 7
Views: 3,093
Posted By Olorin
Hmm... how about using SqlDataReader dr = null;...

Hmm... how about using
SqlDataReader dr = null;
as your declaration + initialization to null?
Then the check
if(dr!=null)
should work fine

HTH,
Olorin
Forum: ADO.NET July 6th, 2003, 09:07 AM
Replies: 10
Views: 21,975
Posted By Olorin
Csharpone... ...you might just be right... ...

Csharpone...
...you might just be right...

I'll have to check on that...
..if, however, double fields create this kind of problem,
how could one use a double field as a PK ?

Olorin

[added...
Forum: C# July 2nd, 2003, 03:02 PM
Replies: 2
Views: 1,025
Posted By Olorin
Ankur, thanks for the info. Sorry if I didn't...

Ankur,
thanks for the info.
Sorry if I didn't reply earlier, but I've been off line for a while :-)

Anyway, I appreciate the reply, and I'll keep on looking for alternatives.
I'll post here if...
Forum: Javascript How-To June 20th, 2003, 01:10 PM
Replies: 1
Views: 2,172
Posted By Olorin
My Cheap $0.02: I was talking about a similar...

My Cheap $0.02:
I was talking about a similar situation with a colleague. Our final thoughts were that
yes, it would be nice to do sorting on the client-side, BUT to sort a whole recordset would...
Forum: C# June 20th, 2003, 07:43 AM
Replies: 2
Views: 1,025
Posted By Olorin
Un-brushing

Here's one for you!

I have a simple form, where I dynamically draw a series of horizontal
bars (think a column-chart but horizontal :-).
Since the graph depends on dynamic data, I have a method...
Forum: ADO.NET June 17th, 2003, 05:40 PM
Replies: 10
Views: 21,975
Posted By Olorin
Hal, I agree with you. Evidently the SQL...

Hal,
I agree with you. Evidently the SQL statements produced by VisualStudio take the approach that
it is better to use all of the known parameters...
...which seems to me the "easy" way out to...
Forum: ADO.NET June 14th, 2003, 11:08 AM
Replies: 10
Views: 21,975
Posted By Olorin
EUREKA ! Well, not reallly... I'm not sure of the...

EUREKA ! Well, not reallly... I'm not sure of the Why, but I got it to work!
I'll post my work-around just in case anyone else hits this issue.

I changes the SQL command associated with the...
Forum: ADO.NET June 14th, 2003, 06:49 AM
Replies: 10
Views: 21,975
Posted By Olorin
Hal, thanks for the suggestion. The DB has no...

Hal,
thanks for the suggestion.
The DB has no foreign key defined, but I don't have
an SQL server to try it on. (sigh.. else I'd be
using that instead of Access :-)

I'll try to pass the query...
Forum: ADO.NET June 13th, 2003, 07:29 PM
Replies: 10
Views: 21,975
Posted By Olorin
... Anyone? ... Bueller? ... if this is not the...

... Anyone? ... Bueller? ... if this is not the most appropriate forum to post this, let me know... thanks
Forum: VS.NET 2002/2003 June 13th, 2003, 07:21 PM
Replies: 8
Views: 6,527
Posted By Olorin
No problem at all :-) Hope it all works out.

No problem at all :-) Hope it all works out.
Forum: VS.NET 2002/2003 June 12th, 2003, 10:15 PM
Replies: 8
Views: 6,527
Posted By Olorin
mkpriya, I tried your code, and the first...

mkpriya,

I tried your code, and the first error I receive is:
" } expected"
the editor brings me to the last line of the code, so we might have a missing '}' to take care of first.

In any...
Forum: VS.NET 2002/2003 June 12th, 2003, 07:33 PM
Replies: 8
Views: 6,527
Posted By Olorin
PS: Also, do you get any other error message when...

PS: Also, do you get any other error message when compiling this, or is it the only error you get?
Forum: VS.NET 2002/2003 June 12th, 2003, 07:32 PM
Replies: 8
Views: 6,527
Posted By Olorin
mkpriya, I've opened a new Win Application...

mkpriya,
I've opened a new Win Application solution, and plugged those lines in the default constructor:


public Form1()
{
//
// Required for Windows Form Designer support
//...
Forum: VS.NET 2002/2003 June 12th, 2003, 03:45 PM
Replies: 8
Views: 6,527
Posted By Olorin
Hello mkpriya. I tried your code in VS.NET...

Hello mkpriya.

I tried your code in VS.NET and got no error.
Where exctly is the error pointing to?

I copied and pasted the lines you posted in a simple console application: here's the full...
Forum: C# June 11th, 2003, 07:01 PM
Replies: 3
Views: 2,011
Posted By Olorin
Hi Thomaz. I'm no expert, but here's my...

Hi Thomaz.

I'm no expert, but here's my $0.02:

First, is registroSgc is a string, you might want to use the .Equals method to check for equality. Using == should be true only if registroSgc and...
Forum: ADO.NET June 11th, 2003, 05:07 PM
Replies: 10
Views: 21,975
Posted By Olorin
Concurrency Violation Exception

This is giving me a head-ache. I hope someone will take pity and take a look. If you have any suggestion please, *please* let me know.
Thanks in advance for your time!

The Problem:
============...
Showing results 1 to 25 of 25

 


All times are GMT -4. The time now is 12:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.