LizR 171 Posting Virtuoso

Take a look at the serialization posts on the MSDN help pages, they give a good example, and its scaryingly easy.

LizR 171 Posting Virtuoso

So, you didnt really read the huge hints everyone gave you then

LizR 171 Posting Virtuoso

Most voice recognition systems work perfectly well unless you specifically do something to block them.

If you are calling a voice recognition system specifically - please check their documentation.. Theres no info here to work with for further advice

LizR 171 Posting Virtuoso

Well if Child_name is null, then look at your function

LizR 171 Posting Virtuoso

Try setcursorposition

LizR 171 Posting Virtuoso

You're setting a cursor position beyond the bounds of your console window, it wont like that

LizR 171 Posting Virtuoso

Is there a question in all this or just spam? Either way, try the asp.net forum

LizR 171 Posting Virtuoso

Which is what I said in a lot less of a post.

Antenka commented: :( sowwy ... some time my carelessness will kill me O.o +1
LizR 171 Posting Virtuoso

Its almost certainly correct:

as you go to use Child_name, but you checked parent wasnt null, so child could be

LizR 171 Posting Virtuoso

Wherever the code is run.
So, unless you use .net remoting for a windows/mono app then most likely its on the client. But if you're talking asp.net (theres a forum for that) it would be the server end..

LizR 171 Posting Virtuoso

Because its happening so fast the seed is the same for all.
move the

Random losowanie = new Random();

to outside the function so its not recreated each time, so its a private variable to your class. You should get different numbers then.

LizR 171 Posting Virtuoso

the programming language has nothing to do with it. You didnt even do much to work out the logic - everyone else did it for you.

Try.
I've seen enough of your code to know you can do it

LizR 171 Posting Virtuoso

Given the amount of hints people have given you give it a go, if something this simple baffles you what are you going to do with a big problem?

LizR 171 Posting Virtuoso

Ok, so you clearly defined what you want.. But you dont seem to have tried anything at all..

What options have you read about, considered, tried to code? What happened?

LizR 171 Posting Virtuoso

Guys, please read both the announcements at the top of the forum and get to grips with code tags.

LizR 171 Posting Virtuoso

You should be able to do it (as that was the point of the db challenge I set for the guys there)

You can create it and delete it when your done :) Without checking (its late) Im fairly sure you can do it totally in memory - although there are memory table components

LizR 171 Posting Virtuoso

OK..

public uint m_sumenum;
public static uint Somenum
{
set { m_somenum = value; }
get { return m_somenum; }
}

Not really - firstly it would only be static if the variable was static - eg it was going to be on a per class basis, not a perinstance, that and you dont *HAVE* to use get and set properties to access it, you could just make it public so you would either have a

public class SomeClass
{
public static int ACounter;
public int OtherCounter;
}

In this instance you could make 5 copies of "SomeClass" and 1 counter is shared between them all (ACounter) and 1 counter is per instance (OtherCounter)

so, you dont *need* to but its good practice on the simple grounds that it saves changing it later, and protects your variables if you wish from change.. and you can add validation etc..

In short your initial code with a static property for a instance based private variable fails, because the private variable isnt instanced so the static class cant use it.

LizR 171 Posting Virtuoso

Yes and no.
Its a CBuilder item, and its specific to CBuilder. So it has something in c++ code (or you wouldnt be changing the c++ compile settings)

Knowing you have access to that makes a huge difference, as if you only owned Delphi 2009 (which is very plausable) you wouldnt have been able to recompile and change it.. where as you could still actually use it.

LizR 171 Posting Virtuoso

OK, but thats only true if your stuff uses and rebuilds c++ and you said you had delphi 2009, not studio..

LizR 171 Posting Virtuoso

clientdataset can be very easily used without a table:

Take a read of : http://www.3dbuzz.com/vbforum/showthread.php?t=152078 where how to set one up is kinda explained a little

LizR 171 Posting Virtuoso

cc3290mt.dll is a c builder file - dunno what it does, never really got into c builder - so, Im guessing you're using a 3rd party component, which means if you ditched the thing requiring the cc3290mt.dll, you ditch the borlandmm.dll too

LizR 171 Posting Virtuoso

cc3290mt.dll isnt a default codegear/borland/embarcadero component, so its possible that its reliant on it because of that. the Borlndmm.dll is required because your other dll is most likely using it as well as sharing memory in your app (eg it passes strings not pchars)

LizR 171 Posting Virtuoso

Is there any chance that the .cs file - actually isnt .cs but it thinks it has another extension like .txt after it?

LizR 171 Posting Virtuoso

Well then its time to learn :)

If you want to write an app that works with your phpbb3, start off with as I suggested and get the pages, and examine what you get back

LizR 171 Posting Virtuoso

Because to me its obvious :) - Im that odd.

Of course it would help if the initial poster could define their requirements in proper terms it would help them help themselves.

Far too many posts are a bunch almost nonsensical jabberings and with a final comment of all but "code please" .. if you cant define clearly what you want, its highly likely you wont be able to code it either.

LizR 171 Posting Virtuoso

Well Ive given some big hints up earlier too.. but yes, the SQL for it should be a real simple 1 line uncomplex answer.. Im interested to see what the original posters tried so far.

LizR 171 Posting Virtuoso

Well, thats been covered enough times on this forum for you to be able to find it. But of course you will ignore me as you have all throughout this thread.

LizR 171 Posting Virtuoso

Because you compiled it with runtime libraries - if you go the project options and turn it off. you wont.

LizR 171 Posting Virtuoso

But as Antenka said, its a string, the string consists of a number of lines.. all worked fine for me as long as I turned passive ftp off (possibly due to where I am) using reader.ReadtoEnd()

LizR 171 Posting Virtuoso

I dont read and answer personal messages, unless Ive asked for them.

LizR 171 Posting Virtuoso

But strings *ARE* made of chars..
the fact you're walking through them (at your request) as chars, will mean you get chars back..

LizR 171 Posting Virtuoso

Do you now see how to do the code?

LizR 171 Posting Virtuoso

Antenka points a good point.. You're trying to assign a new connection to a string, Im surprised that would compile.

Your flow of what you need todo is right, you just get a bit jumbled along the way of doing it I think.

LizR 171 Posting Virtuoso

Looking at the numbers hes adding the results together.

ddanbe commented: Well noticed with a fine eye! +4
LizR 171 Posting Virtuoso

Ok, so you ignored my question - whats in your connection details?

ConfigurationManager.AppSettings["SqlDBConn"];
                //create a new connection and assign our connection string
                SqlConnection sqlConnection = new SqlConnection(connectionString);

When you debug this, what does it show?

LizR 171 Posting Virtuoso

Well the first I found was a URL dropper, and he does a heck of a lot more than you've shown code for, including creating the file so it can be written to desktop.
While the file he writes is a shortcut, the principal is the same.

LizR 171 Posting Virtuoso

What have you tried? You give no example code, so we have no information to help you with .. looks like a simple case of sorting and grouping to me.

LizR 171 Posting Virtuoso

Im guessing because your object doesnt contain a file, it contains a filename, and you cant just put a string object to desktop.

I googled found plenty of examples, which work - i would suggest you do the same.

LizR 171 Posting Virtuoso

So, we've kinda proved you need a rethink.
Have another go - the answer will come, honest.

LizR 171 Posting Virtuoso

Whats actually in your connection string?

LizR 171 Posting Virtuoso

ok so if n is page, 1, N+15 = 16, so thats the start of page 2, not the start of page 1.....

So, still using N, what would be the beginning and end of page 1?

LizR 171 Posting Virtuoso

You have a lot of options. You mention share the app, well as long as you write it as 1 exe, and dont use 3rd party components you will only need the 1 exe. But it wont take the user settings with them - the best way to do that is to offer an export/import option - so they need never know where you hide the file(s) you created with their preferences.

And IMHO the best place to do that is their user profile, either in registry, or as file in the appliation data section.

LizR 171 Posting Virtuoso

That would be because either you didnt add the using, or put in a fully qualified namespace path.

LizR 171 Posting Virtuoso

IMHO any thread left for more than 3 weeks untouched, should auto close. As either the OP has lost interest, or found another way.

LizR 171 Posting Virtuoso

I seem to remember this was a dup.

LizR 171 Posting Virtuoso

Well then just use panels, and you can have next and back buttons at the bottom or whatever suits you

LizR 171 Posting Virtuoso

people love to wake old threads, especially when people dont bother to mark them as solved.

LizR 171 Posting Virtuoso

I would have expected

theProcedure.ParamByName('Foo').AsString := 'bar' ;

to work, however, only other thing is potentail case sensitivity - anything visible SQL end?

LizR 171 Posting Virtuoso

You mean like the one that comes with it, eg

numericUpDown1.Value.ToString();

I guess you didnt look very far

LizR 171 Posting Virtuoso

You can use panels and have buttons instead