LizR 171 Posting Virtuoso

Which is what I wrote :P

LizR 171 Posting Virtuoso

Please read the 2 stickies.

We dont do your work for you, please do some research and come back with a more precise question.

LizR 171 Posting Virtuoso

Odd, I could have sworn there was still a Name property.. odd, ok.

So, are you sure the ID is working out? Id have expect ID to have complained it needed s.ToString();

And that code probably would if you were running it in side the same original click event as you made 3 items, all called "tb" and while the form should have 3 boxes, your tb only references the last one, box 3..

You dont assign an onclick to any of those new boxes which would be the only place code similar to that would work

LizR 171 Posting Virtuoso

You could google for ping and c# and use some c# code to do it without spawning anything - which will be more compliant with working with a service

chris5126 commented: very helpfull ta +3
LizR 171 Posting Virtuoso

There is a "Name" property for your text box, set it a unique name, like "textbox1" ..

LizR 171 Posting Virtuoso

Set the name of your text box.

LizR 171 Posting Virtuoso

OK, but thats entirely different from what you initially asked. If you wanted to use javascript you'd need to be running a web form, implying aspx, and that you said you wanted to make a login form, so it seems very much like you wanted a web form..

Now you have shown a windows app..

Please define your problem more clearly.

LizR 171 Posting Virtuoso

Inteaction with desktop, eg displaying a form or messagebox, trayicon etc.

LizR 171 Posting Virtuoso

You could store them in blob fields, (for which there are many existing examples)

LizR 171 Posting Virtuoso

When you say

Hello,
and on the button- Button2.Attributes.Add("onclick", "openCalender_range_start_date();");

Can you show the whole line? it could be how you've placed this code.

LizR 171 Posting Virtuoso

How far have you got, do you have the 2 boxes and a button yet? Why would you use javascript as the whole next page and password part would be open for someone to either just bypass it or decrypt it and use your page

LizR 171 Posting Virtuoso

Well. Take a look at stringlist - theres enough examples.

LizR 171 Posting Virtuoso

string list will do that for you if you do it right.. Hold both the word and the description..

LizR 171 Posting Virtuoso

Depending on which OS and wether you're part of a domain etc, windows 2003 for example is common to have it so you cannot interact with the desktop.. if it thinks for any reaosn you might, the service doesnt work.

LizR 171 Posting Virtuoso

You didnt entirely answer the question about how your dictionary was laid out, you said you stored words in a txt file, how? wheres the description?

A better answer by the sounds of it would have been a database. However, if you take a look at stringlist you'll see a keyd list and you could use that, assuming you read the word and description in correctly.

LizR 171 Posting Virtuoso

Check theres no firewalls on either machine, and see if you can connect using the built in telnet (unless its vista which doesnt bother to install it by default) , if you can connect with telnet but not the app, somethings not quite right, if you cant connect with telnet, check the server end is listening on the IP you think and not just listening on 127.0.0.1

LizR 171 Posting Virtuoso

Does it work if you tell it it can interact with desktop, or if you run it as you rather than a local service account?

LizR 171 Posting Virtuoso

tabs or panels would be a normal way to go

LizR 171 Posting Virtuoso

Theres a lot of potential answers for this, how hae you stored your words vs defintiions? which version of delphi are you using?, how much experience do you have? and what have you read about and dismissed so far (and why was it dismissed)?

LizR 171 Posting Virtuoso

OK, but I was more after the entire code, so I could recreate the issue.. A segment is not sufficient to do that.

If you could post a link to the code and how to create a similar but fake csv file (eg how many fields, how many lines, data types if necessary to make the sort work) I can take a look

LizR 171 Posting Virtuoso

I think it could be considered a bug in D2007, I havent looked in 2009 to see if its still there, but you should probably report it in QC.

You can work round it by setting the range of the scrollbars

LizR 171 Posting Virtuoso

Thats required usually in D2007 otherwise you end up with ghosted forms and lack of form on the task bar

LizR 171 Posting Virtuoso

When you say your scroll bars arent showing, under what circumstance are they not showing..

For the form itself to have scrollbars, controlls would need to be below or to the right of the visible edges of the form.

LizR 171 Posting Virtuoso

You could read them all in bytes, and then overlay them into the various fields, Although, Im surprised its 5 bytes in 2007... Id expet it always to be 1 or an even number..

LizR 171 Posting Virtuoso

I havent played with inno setup much, but you can test the check box value in an onclick event and set

edit1.enabled:=not checkbox1.checked;

so if its checked it will be disabled, if its not checked enabled..

LizR 171 Posting Virtuoso

Wouldnt this be easier with a stream? anyway..

your while look of eof hasnt made much sense in this case, as when writing you dont normally test for eof...

when you blockwrite, the params are file,buffer,count, result

Your count doesnt get a value it should read something like

BlockWrite(BIP,TileRec,1,itransfer);


If you know its only 1 record, then thats fine, but if not, you should do filesize / sizeof (rectile), but again, this is supposed to be a count, so again should be 1.

PS - any reason why you're stuck with a very old version of delphi?

LizR 171 Posting Virtuoso

Well, you have a choice to convert to .net 2 then c#, or conver to c# and then to .net 2

Personally Id move it to .net 2 and then do the c#, as because you can mix language in various modules you could work through a module at a time,

LizR 171 Posting Virtuoso

If you comment out the logging - does the service still work?

LizR 171 Posting Virtuoso

Beauty of .net is you can mix and match languages, so if your vb part goes in .net 2 then your task is a lot smaller.

LizR 171 Posting Virtuoso

You can use almost any language you like. You can access many things through outlook, is the distribution list in the GAL?

LizR 171 Posting Virtuoso

um, well the idea is to prove that the call is successfully running so the point is to use an additional table as a debug state to say

I got to this point with this value
I got to that point with this value
I didnt do that
I did this

so you can tell from the table where abouts your code failed.

LizR 171 Posting Virtuoso

Something.Enabled:=false;

LizR 171 Posting Virtuoso

You mentioned the additional fields are not part of the original query, as they are not fields, (its 6.30am and Im half asleep) and my brain is saying that Id expect you to be using an event to display the row number etc.. so.. what event are you using to trigger the update of those fields?

LizR 171 Posting Virtuoso

perhaps what you saw on the tutorial (link it if you could) was something where it was taking "myapp.myclass" and extending it.. where where myapp is the name space and myclass being the actual class being extended

LizR 171 Posting Virtuoso

Is the data you're sorting confidential in anyway? eg, if I asked you to PM me a link to a copy of your source and the data thats failing.. would you be prepared to place it somewhere I could get at it, so I could take a look?

LizR 171 Posting Virtuoso

That doesnt sound normal.

I would expect if you made a new form with a button saying "click me" and it opened the original main form that the issue would be gone.

LizR 171 Posting Virtuoso

The real world and MS arent always the same, but they are the answers you would need if you were going to get a qualificaiton, as well as if you learn what they suggest, and try and use it, you will look even better in interviews etc, if you can say "Microsoft recommand ... but, in general use this proves to be impractical because...." and a lot of that is something that you wont find written elsewhere..

LizR 171 Posting Virtuoso

What event have you used to tell them to show?

LizR 171 Posting Virtuoso

No you arent a noob, but you didnt post anything about what you had done so far.. Its a waste of everyones time and effort if we post things you've already done.

The problem with "setting a pixel" on the screen is the next redraw it will be gone.

You can read them,

The awsome Charles Petzold has details on that.

http://www.charlespetzold.com/pwcs/ReadingPixelsFromTheScreen.html


However, Im not sure you can change it as easily

LizR 171 Posting Virtuoso

Does it happen if you make a new form and have that as your main form (and no you didnt set the new thing as your main form you just made it visible at startup)

LizR 171 Posting Virtuoso

Usual questions, what have you tried, what have you found what errors do you have...

LizR 171 Posting Virtuoso

So, what did google tell you, and what code do you have and why doesnt it work.. We dont spoon feed people code here.

LizR 171 Posting Virtuoso

As I suggested, make a new table and adjust the stored procedure to append to a form of log file to say "Hi I was here" so you know it at least called it and that it received the parameter etc.

LizR 171 Posting Virtuoso

2 things come to mind.

1. Is it actually calling the DeleteRowMaterialTyp ? eg, if you changed it to log to a new table like a syslog table to say "I was here with param: xxx" . does it do it?
2. is the value of CurrentRowCellparam what you think it is?

LizR 171 Posting Virtuoso

then your first answer is

GOOGLE

Salem commented: Best answer to such questions. +22
LizR 171 Posting Virtuoso

As this isnt your first post Im sure you've read no one will just post you code.

What have you read and what exactly are you having problems with? What code do you have, and what errors is it giving?

LizR 171 Posting Virtuoso

firstly what is "v" ? I dont understand

secondly, if you want to have your data read in by the html into your reports you'd need to use ASPX and run IIS.. HTML is text only, as a result writing normal HTML will not allow you to read in data from a file - only ASP/ASPX allows you to do this, where it makes connections to the database, and reads the data out.

I feel this conversations going round in circles.

LizR 171 Posting Virtuoso

If you're writing the data to the html format, rather than using ASP/ASPX then you could either spawn a copy of the webbrowser as I said, or, you could use the webbrowser control - its your choice.

LizR 171 Posting Virtuoso

You stated as your first post you wanted HTML reports. To display them of course you would use the web browser from the machine.

Im not going to give you full code to do it, if you're trying to admit that you dont know enough about HTML to do it, say so.

What part dont you have an idea on how to do? I'll help you with bits, but Im most certainly not going to hand you it on a plate.

LizR 171 Posting Virtuoso

Well, if the server supports asp/x then write the asp to call the data direct, if not, do the queries in an app and write the data to the html reports as values..

I dont see why you have to export it to excel, if you wanted a html report, just make one?