LizR 171 Posting Virtuoso

Perhaps you need to do some reading and research

LizR 171 Posting Virtuoso

if you think of a normal class, you have say a form, you can add to it. You can make it your own, you can extend it..

A sealed class you cant, its as it is, it cannot be tampered with. To make it sealed, you simply add the word sealed as a moderator at the front.

LizR 171 Posting Virtuoso

You can do it manually and programattically if you really insist, but why make your life harder if you dont need to :)

LizR 171 Posting Virtuoso

This is a nice and simple thing to do, What have you read and what problems are you having? (Please read the stickies)

LizR 171 Posting Virtuoso

Forgive my denseness (its past 11, and Im about to go to bed but..)

5.8740105200E-00 = 0.58740105200E+00

as 5.8740105200E surely is 0.587... just as 0.587E+00 is also 0.587....

LizR 171 Posting Virtuoso

Well the answer would be more evident if you debugged it.

You tell me what the values of each part of that line works out to be, so Z, ln(Z), etc.. you tell me which bit fails.. and what the values are.

Are you really using turbo pascal from the 80s? or do you mean the turbo delphi products?

Salem commented: Yes, gotta learn how to debug as well. +23
LizR 171 Posting Virtuoso

No, because the listbox should be linked directly to the biscuits table, so would only have 1 entry

LizR 171 Posting Virtuoso

OK, why cant the list box and grid be bound, you mention it gives problems - what were the problems?

As for why your message box makes it work, thats hard to say, other than either something is happening time related, or, perhaps instead of selected value != null, you might want to test if the index is >-1

LizR 171 Posting Virtuoso

You almost certainly will, its the error insight.

LizR 171 Posting Virtuoso

Ive not seen that, and with that screen shot its hard to tell as theres a red dot underneath.. the current line.

normally that only happens when its either finding a similar named dcu or cant overwrite the current one - make sure you turn optimizations off

AKJo commented: Spot on +1
LizR 171 Posting Virtuoso

Validation is key

LizR 171 Posting Virtuoso

You dont show the code you're using so we're only guessing..

Your short cut looks like it should appear after your code above.. Whats the file bit for? something else?

LizR 171 Posting Virtuoso

Then use a query to join the 2 tables you want.. and display the data

LizR 171 Posting Virtuoso

the state of a form wouldnt help with turning a text box to usable or not.

LizR 171 Posting Virtuoso

And what have you found on google so far?

LizR 171 Posting Virtuoso

Thats a key thing you really need to see for yourself, sure, I could do you some code, but the problem is someone cant be there to do that "oh" thought for you..

Draw it on paper.. see what you did, and write down in english what you did..

Its a simple thing (honest!) but you need to work out how you work it out, and its not something you can be taught to see.. You have to keep trying

Dont worry about the numbers to start with.. get some square paper (important to use it as it will represent character positions) and then do 2 lines, then a 3 lines.. and work out why you're doing what you're doing.. work out the pattern.. and then its that you need to turn into code.

LizR 171 Posting Virtuoso

So, get yourself some squared graph paper, write the details in it.. see how you'd work out how to do it for yourself..

LizR 171 Posting Virtuoso

OK, so what problem are you having making it?

LizR 171 Posting Virtuoso

c# is case sensitive

So, if you make a private variable called "myvar" at the top you then cant make a public "myvar" you could have a public "MyVar" though... and thats exactly what its told you

LizR 171 Posting Virtuoso

It would be easier not to to be honest, if you want the output, its simpler to be in control and not reliant on anything else..

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

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

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

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

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

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

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

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

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

if it only then applies to the mainform, check the dpr file on how its created

LizR 171 Posting Virtuoso

Im still concerned that the record size is different. Are you able to measure the length of the records from the file in delphi 1? to check you have the same size?

LizR 171 Posting Virtuoso

Well question:

How are you opening the other forms?

LizR 171 Posting Virtuoso

Microsoft have enough white papers to sink a ship. Try there.

LizR 171 Posting Virtuoso

Firstly you shouldnt have had to change the size of your record, if your record was defined in delphi 1 without sizes, you should have been ok with "string" now.. the record alightment is most likely the parts thats wrong.

LizR 171 Posting Virtuoso

there have been a huge number of changes.. since then.. when you say it shows behind the other forms, is it forms within the app, or forms within your desktop?

While it would be a hack you could tell it to bringtofront, but, Im thinking theres some form props or something that has changed its not picking up correctly.

LizR 171 Posting Virtuoso

Then it sounds like you have a port conflict

LizR 171 Posting Virtuoso

possibly the line feed isnt being sent correctly

LizR 171 Posting Virtuoso

Normal classes, you just need a LOT of imagination on how you and the intended would hide the message without making it detectable by the rest of us. If you can do it by hand, work out what you'd do and put that logic into a program

LizR 171 Posting Virtuoso

Well, what have you googled, and read on the "similar threads" at the bottom of this page?

LizR 171 Posting Virtuoso

it will, and it would be the best and proper way to deal with your issue.. As whatever form calls the wizard it could set itself to be a recipient of a heres your data event and work from there, thus removing all your issues of which instance/form etc asked for the wizard.. thats the whole beauty of it.

LizR 171 Posting Virtuoso

Oh. well in the sending function where you point it at a server, you'd point it at your exchange server.

LizR 171 Posting Virtuoso

You said your app was working, when the exchange server is made just change the destination of the smtp mails you send to be to the exchange server