836 Posted Topics
Re: Then you need to check the extension and specifically not just launch the ppt file as its put in the folder, but launch the slide show. | |
Re: Firstly without code tags thats kinda hard to read Secondly, you dont mention in what way your time remaining hasnt worked. | |
Re: I would suggest you use an OK/Cancel button system, as while an item could even be considered valid, doesnt mean the user doesnt want to change it - it also means you only have 2 ways of leaving your form, the buttons or they hit close. | |
Re: the do work will run whenever you tell it, however, if you repeatedly call it before its finished processing the last - try debugging and see what happens. | |
Re: Depends I guess a little on when that code runs (which you havent shown) or, why you dont just use the draw method - for which search this forum ther are a number of examples | |
Re: 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. | |
Re: Then post your table definition, and your c# insert code. | |
Re: Try putting your slashes round the correct way, eg file://webpage/whatever.html | |
Re: Im surprised that classes would stop you seeing the exported function, but then Im not up on dev-pascal. | |
Re: And what have you tried? and what problem are you getting? | |
Re: Id guess you'd want passive ftp. Which a number of ftp apps do by default. | |
Re: Open does except relative paths, however, you have to be sure of where you are vs where your file is which is often unlikely. So, if you have your app, and you are sure you are in your exe's directory, then opening "Data/file" will work - but, for example, excel … | |
Re: Well, as per the stickies, you show us what you have, explain the problem you have with it, we'll help you try fix it, we wont do it all for you | |
Re: Try not closing the reader before you ask whats effected | |
Re: I think you'll find recent posts on this exact issue | |
Re: I had written out a big long thing, but it dawned on me STOP ASKING US YOUR HOMEWORK QUESTIONS.. Do your own research | |
Re: Well then, you need to supply the additional data as in your own words "none of them accept null value". You cant expect it to work. [code]36 foreach (FileInfo fi in dir.GetFiles()) 37 { 38 39 newrow.Song = fi.ToString(); // Getting filename 40 newrow.SongUrl = fi.FullName; // Getting full path … | |
Re: String builder can have advantages when buidling up output. So instead of a ton of s += titletext; s += "\r\n--------"; etc you can just do sb.append(newtext); sb.appendline("---------"); it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your … | |
Re: 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) | |
![]() | Re: Check where it thinks its finding the file xmlintf and look in your delphi paths in case there are others. |
Re: Implies your stringlist creation didnt work correctly. or that listview1.items[i].Caption is not assigned. | |
Re: 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 | |
Re: So. [code] private static string asterics(double grade) { return new string(' ', (int)grade / 2) + "*" + new string(' ', 50 - (int)grade / 2); } [/code] The first clue is look carefully what you told it in the above code. Now you should see why its not full … | |
Re: As long as the field is boolean, you can assign it by clicking the little arrow and changing the field type to checkbox | |
Re: no, closing the login form would close the app. This is a common issue and the general route is that the main form would open the login form, if login is successful the main form then loads all the things it needs, should it faill it then closes. (of course … | |
Re: well as long as you made an instance of your form it would go something like [code]frmProgress.Progressbar.Value=0;[/code] | |
Re: 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, … | |
Re: While having it in a separate function is best Create a boolean variable, remove the returns and in their place, put the boolean variable = true or false accordingly. Then move the whole block into the first and test the value of the boolean at the end as to wether … | |
Re: You can either make an event on your main form which you tie into the button on your second form (messier) or You can create a method which you send the data from your second form, to your first form. So the first form handles all its updates. | |
Re: 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 | |
Re: put a \ in front of it, so rather than "this is a "test"" which doesnt work its "this is a \"test\"" | |
Re: 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 … | |
Re: Does it have to be IE? If you just run the link as a system call, it will open the default browser. | |
Re: have you tried googling? theres a lot of examples for this | |
Re: 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. | |
Re: 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, … | |
Re: Yes. Everything is possible. However, thread jacking is considered bad manners. | |
Re: Take a look at the indy components, they are the easiest to use. (and there are plenty of examples) | |
Re: 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. | |
Re: Thats why you make an installer that will auto install those things if you need to. | |
Re: Your installer should overwrite the file, giving them the option of course to keep the old one if they are really sure they want to | |
Re: what "data" are you trying to get? | |
Re: Hope you enjoy the spam you'll get for posting your email on a bulletinboard readily searched by search engines.. Spammers are gonna love you. Failing that you could start a new thread with your new question and explain it clearly, and more usefully explain the reason why you cant work … | |
Re: it appeared on my form when I pasted that into a button and then ran it and clicked it. | |
Re: Have you tried google? There are a number of examples available |
The End.