LizR 171 Posting Virtuoso

As long as the field is boolean, you can assign it by clicking the little arrow and changing the field type to checkbox

LizR 171 Posting Virtuoso

This is the bit that worries me

Form2 form1=new Form2();
Form2 form2=new Form2();
Form2 form3=new Form2();

if your worker makes those forms then how is it sure which form its using?

LizR 171 Posting Virtuoso

And the error was? did you add the reference? the using statements?

LizR 171 Posting Virtuoso

the problem is, for someone browsing through the forum, reads your last post and wonders how that has something to do with referencing another form - while for you its related in by project, for the rest of us, its not related at all. Its just another problem

As for doing it - if you found some stuff, thats good, have you tried it, what errors did you get?

LizR 171 Posting Virtuoso

You can indeed - in fact this was covered in a similar question in this forum recently.

You need to override the drawing and draw it in yourself (the discussion was about dataviews but the prinicpal is always the same)

LizR 171 Posting Virtuoso

There are plenty, however, ive not tried running them under vista.

Try posting on the embarcadero forums - if anyones going to know people there will.

LizR 171 Posting Virtuoso

I believe the issue must be how you are assigning your forms to the worker threads (as hinted above).

However, you may need to take into account that your "form2" is not being reset each time, so, when it is reshown, it was at the end of whatever it was doing - this can have bearing as your logic may not have allowed for that.

LizR 171 Posting Virtuoso

That last post has little to do with the first - its really a new question and should have a new thread.

What have you googled about outlook - or searched even in this forum

LizR 171 Posting Virtuoso

Could you be any more vague?

LizR 171 Posting Virtuoso

Try running it in debug mode, and it will show you the line as well as perhaps a slightly more useful error message.

Line 17 it refers to is the { after the form class declaration so is of no help.

You've made a number of assumptions in your code, so, it could be any number of issues.

LizR 171 Posting Virtuoso

well as long as you made an instance of your form it would go something like

frmProgress.Progressbar.Value=0;
LizR 171 Posting Virtuoso

Hmm, no code tags makes it hard to read - why not tell us what errors you're getting, and what you've tried to fix it so far

LizR 171 Posting Virtuoso

Depends a bit I guess on what exactly is being done in the background and how you've passed the forms reference to the worker thread so it knows which form to update.

LizR 171 Posting Virtuoso

Well.. Generally the cookies created when they login, so you'd probably have to log them in. I dont know - ask the owner of the site

LizR 171 Posting Virtuoso

If server side the cookies only valid 30 days, you would need to make them go through the process to generate a new valid one

LizR 171 Posting Virtuoso

What does the exception say?
Have you allowed for redirection? Eg if you went to www.somesite.com chances are http is telling "hi thats nice for you, now ask for say index.html"

LizR 171 Posting Virtuoso

put a \ in front of it, so rather than

"this is a "test""

which doesnt work

its

"this is a \"test\""

LizR 171 Posting Virtuoso

yep that would do it.

LizR 171 Posting Virtuoso

Personally I hate the idea of using the load event.

Anything that runs in the load event which causes a block can leave the poor soul wondering if they ever launched it.

What is a good idea is a timer, pass the timer the work and have the form load - all work of any potential delay should go in timers anyway, its a good practice to get into, so wether its retieve some file from the internet, or open a crappy text file of 1k on your HD...

What if that file suddenly was 20gb? Would you have your user on their 33.6k modem wait the week before your app launched?

LizR 171 Posting Virtuoso

I assumed you were having problem with a new window, Ie maybe set not to use a new window but reuse of course.

LizR 171 Posting Virtuoso

Implies your stringlist creation didnt work correctly. or that listview1.items.Caption is not assigned.

LizR 171 Posting Virtuoso

Then search for datatables - they dont need a specific container the principal is exactly the same

LizR 171 Posting Virtuoso

have you tried googling? theres a lot of examples for this

LizR 171 Posting Virtuoso

Sure thats your IP address and that you dont have a dynamic one? On changing your code to be my local IP and dropping the chat client part as it was a test, and putting in a simple receive, acknowledge and disconnect.

LizR 171 Posting Virtuoso

Then when i ask you what code you've completed dont say you've done it :)

What code do you have, what have you tried, what errors do you get?

LizR 171 Posting Virtuoso

I believe if you call iexpore with "-new" and then the url so it goes "iexplore -new http://blah.com" it should work.

LizR 171 Posting Virtuoso

Does it have to be IE? If you just run the link as a system call, it will open the default browser.

ddanbe commented: The solution to a question is sometimes a question! +2
LizR 171 Posting Virtuoso

Well.

Think about what you know about lifts.

Go with the theory of 2 lifts, one you have more than 1 lift the logic is the same you just have more options.

Lifts go 1 of 2 ways. up or down.
A lift at floor 1 told to go up, if someone rings the bell on 3 and the lift is going there or passing there on the way up and the person said "up" on 3.. then it will stop, otherwise if its not due to stop there and the person said down, it wont. The other lift will get the job, or if both are going up, then it will be the first available lift.

Your lift needs states waiting/up/down

Your logic shouldnt be that complex, so, write down in words what your logic choices are, senarios etc

Then you should be ready to code it

LizR 171 Posting Virtuoso

Never coded a windows mobile :P

LizR 171 Posting Virtuoso

ok, then you arent making sense as when I asked you how far you got you said you had done it.

LizR 171 Posting Virtuoso

There are a shed load of posts in this forum about reading, writing and manipulating excel through c#, most of which contain code.

Please search, then when you get stuck on a specific bit and youv'e written code and its not working, post the code, and we'll try help.

LizR 171 Posting Virtuoso

OK, so whats the actual problem? According to that you've done it already.

LizR 171 Posting Virtuoso

Dunno about 2005 but 2008 has them as selectable as prerequisites, but, I dont use its installer its too limited

LizR 171 Posting Virtuoso

Fair enough, I dont use built in installers they are usually very primitive.

LizR 171 Posting Virtuoso

And what have you tried so far?

LizR 171 Posting Virtuoso

Then step through the nodes of the treeview, but its only going to show the text you put in.

LizR 171 Posting Virtuoso

Well.

You did a foreach which was probably right but then didnt use the link that you had. You'll probably slap yourself if you had looked more closely at what was the object of your foreach loop.

Hint: Look at the original code, it echoed out the URL right? in a STRING form..

Second. You then make up some stuff and pass a list of links to a function that takes a string. So, it wouldnt compile - but then lets assume you work out my first hint and changing it to the right thing.

You need to check the return value of the testurl to do something..

Hint 2: You need to turn a true/false to failed or succeed.

LizR 171 Posting Virtuoso

A fair assumption - but at no point has this been said.

LizR 171 Posting Virtuoso

I dont know what you use to make your installer with. Wise (the one I use) does.

LizR 171 Posting Virtuoso

I meant dataviews as in table on the form, I was expecting it to be 2 datasets.

LizR 171 Posting Virtuoso

Dare I ask why? Why not use 2 different views next to each other?

LizR 171 Posting Virtuoso

I did mention it was the best way to do it. :)

LizR 171 Posting Virtuoso

As you appear to have got past this, please mark it as solved

LizR 171 Posting Virtuoso

what "data" are you trying to get?

LizR 171 Posting Virtuoso

It would but your code there would place them on top of each other.

LizR 171 Posting Virtuoso

Um

Make new project
drop a button on the form
double click on it
paste in the code you posted

That is all I did.
If yours isnt working, Id suggest your code isnt running - try debugging it.

LizR 171 Posting Virtuoso

it appeared on my form when I pasted that into a button and then ran it and clicked it.

LizR 171 Posting Virtuoso

treeview is not a data table - which is what you asked about.

LizR 171 Posting Virtuoso

What did you type in as your search?

LizR 171 Posting Virtuoso

Have you tried google? There are a number of examples available