Please read the stickies, we wont do it for you. We will help you, but you'll need to come up with a bit more than can you help me.
Ask specific questions.
Please read the stickies, we wont do it for you. We will help you, but you'll need to come up with a bit more than can you help me.
Ask specific questions.
Sure, define your own class descending from the original, and then you can
a) allow the original to draw as was and draw over the top
b) add properties and data of your own
I guess your google for soundex and c# wasnt working..
http://www.csharphelp.com/archives2/archive394.html
Which has an example of how to apply and create a soundex
Part of it is done because a lot of services are running as a service account that has admin access with no questions and so any "user" who can interact with that potentially has more rights than they should
Other reasons are that because services have no session like a user would, you need to be careful as to who would be controlling something if a service were to appear on more than one session..
I believe by default vista doesnt allow it, and certainly GPOs are applied in a lot of companies/organisations (unis etc) to prevent any exploitation.
You would need a separate application - as a rule a lot of machines are set so that services dont and cant interact with the desktop, as a result the service wont even run if it has forms in it.
You are lazy, and just asking for others to do all your work for you.
You overwrite D1 with datasource, therefore it has no table name.
You have to establish some form of communication protocol so that your application running in the systray and your service can talk without being the same thing.
The previous poster DID give you code for aspx, Id suggest you quit moaning people arent doing all your work for you, and try doing it yourself.
Then as I said you need to change the cell (which has many examples available via google), and you can do it depending on the contents of other cells.. thats up to you
Then change it to
Match description = Regex.Match(textBox1.Text, @"<span id=(.*)style=display: none>(.*)</span>");
That returns the 2 sections you're after
So you put the " marks round the :1 and :2 (to avoid the faces) ? it should work - failing that, you should if nothing else get an error returned from the query
What are you connecting to? Does it need line feeds at the end of your Send before it will respond?
Its possible that doing it in the initialize component section may not be helping, but.. normally I wouldnt use this.MyVideo_Ending, it would just be MyVideo_Ending
Delphi isnt old, however, inno setup is more the key here, rather than delphi itself, as thats where the code was being used.
Then you needed to mention you wished to do so at runtime. We cant read your mind.
Usual way would be to change just the cell, however, you could remove the column that is wrong, and readd it as the right type, rather than try and convert it.
Sorry, but you are being stupid,
Put the path in your filename, and it will be saved where you tell it..... If you dont it would be saved in whats the "current directory"
You get an overflow because you repeatedly call yourself and it wont end.
The font size and type is user preference, Im not sure you can override it without making a fake console looking app.
It would need to find "myfile.txt" to do that however.
Then you need to do a heck of a lot of reading about the file format from word in its many versions, as well as a lot on how to write out PDF files.. Both will be a long and hard journey
What actual field type is the field in the column you want to change?
What have you tried?
Did you bother clicking the little arrow on the dataview and editing the columns?
Well when you click it the document will change if you check the events you should be able to keep track of all the links you click.
Then call the panels Update method - this forces a redraw
Well, what part of the previous answers didnt you get? respond to them, ask the questions about the specifics you dont understand..
try Exists() then. theres one for each
You already asked this and got responses.
Not found IsFile or IsDirectory functions I guess then
Ok, but the reason it doesnt change is as you move through one table you have to tell the listbox that you've changed value..
If you look you your dataset designer, you'll find you can relate tables, see if that helps.
Well, you could tell it specifically which app to open in, but as a general rule as long as the file extension is properly associated with an application eg, windows knows the equivelent of double click is to open it in something, it should trigger it.
Check the type wether its a file or a folder :)
If the above were an exe, you could rely on the computers path to pick it up if it were in say windows or system32 etc, such as notepad. However, you would need to know where the file was before you could start it. Either the computers current directory would have to be set to the directory in question, or you would need to put the full path in your start process command.
Well, having the kernel support would be somewhat essential to your program, so it would make sense that you learn how to tell.
If you are sure you have ttyS0, thats a terminal running through a serial port, not the serial port itself.
Yes
TCheckbox is a TYPE, Checkbox1 or whatever is an instance of that type..
You shouldnt need to check that the send is of type checkbox, if you only assign the procedure to a checkbox, then its gonna be one.. and its not the sender you are worried for really - however.. If you want more explaination.. theres a tutorial at http://www.xcalibur.co.uk/training/Delphi2005 (dont be surprised at the 2005, its been updated since then) and you'll find it covers exactly this kind of thing.
checkbox1 would be the default name for the first checkbox dumped on your form.. so if they gave you the answers Im confused why you need to ask..
Is the web browser part of your app or a generic one installed on the PC?
If its part of your app you stand a much better chance of doing it.
Right click references, select the DLLs you want either from the predone list or your own.
You dont have to do each of the test conditions in different ifs, eg..
you can do
if (!String.IsNullOrEmpty(strAssigneeEmail) &&strAssigneeEmail != "donightreply@dimtpa.com")
{
//
}
However, one thing that does strike me is that in your case above as long as assigneeemail isnt empty and doesnt equal the donot reply address, its going to have added the requester email and the assignee email irrelevant of wether the requestermail is empty or not.
My view?
pseudo code:
If both are not null or empty & assigneeemail isnt donot reply then add them both and build user list..
otherwise
whine it wasnt right.
1 big if and 3 items if it passes 1 if it fails.
Case statements as a rule usually take the form
test value is x
if test is 1 do this and end
if test is do this and end
if test isdo this and end
othewise do the this and end
end test.
rest of code..
Your test there is asking different questions, and would only cover 1 aspect should anything go wrong. Eg,
!string.IsNullOrEmpty(strRequesterEmail) & (strAssigneeEmail != "donotreply@dimtpa.com" & !string.IsNullOrEmpty(strAssigneeEmail)
If that was true and it added the 2 parts listed, that would be it, it wouldnt then go on to do the rest. Which in that case might be ok, but for the single parts you would then have to additionally test which one or neither happened.
For this instance Id suggest some if statements, but Id also create a flag at the top to test if all aspects were set, eg a requester and an assignee. As if those 2 parts are not filled in, your email wouldnt be vaoid anyway.
Your case statement reads like this
test nothing
if something_1 is a value then do this
if something potentially totally unrelated is a value then do this..
end test..
This isnt what case statements were really designed for..
They are much more..
// WARNING FAKE CODE
Menu option? valid 1-9 get option
switch option
{
case 1 : do menuoption1
case 2 : do menuoption2
...
default : do …
But there are.. type it in and press F1 it tells you and has examples for nearly everything - failing that type it in google! Theres so much information there right at your fingers, if you cant be bothered to try looking for yourself, it seems wrong for you to be expecting others to do it for you.
Yes and no, unless you fancy getting your educational reward (eg school certificate, diploma etc) to us, you need to learn for yourself, we dont do your work for you, we will help you with it. Reading something as simple as what keywords mean and so on, is something you really really need to do for yourself.. You're the one in education after all, not me. I did my bit, and how did I learn? I taught myself, other than its pointless me copy and pasting an answer or explaining it in my own words when you could read it and find it yourself in information you already have.
then you need to read more :)
Perhaps you need to do some reading and research
If you dont want to use anyone on the internet, why would you be asking us? Arent we on the internet too?
The simple answer is you would need to read up on PDF format, as well as then the microsoft word format, and work from there.
Most people would use a PDF printer however.
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.
Im NOT making fun of you.
Ive aksed you a quesiton, you've chosen to ignore it.. Doesnt seem like you want help that much
Thats why you DEBUG it, that doesnt mean the thing didnt compile, it means you step through the code looking at the values as it goes.. Its a very simple and easy way to find out why something like that doesnt do as you expected.
Do mark the this thread as solved then :)
You can do it manually and programattically if you really insist, but why make your life harder if you dont need to :)