Search results for query: *

  1. D

    Question DataGridView - Adding column values

    Hi I would like to add two column values in a third column and I thought that a template field was the way to do this but maybe I'm wrong, I tried this <asp:BoundField DataField="exp_budget2_cy" DataFormatString="{0:#,##0;(#,##0);0}" HeaderText="CY Budget Revised"...
  2. D

    Server name in SQL connection string

    Hi there I have specified a SQL connection string allowing for distribution of the published web app to different client locations. This is becuase the server names will be different in each location. The SQL string is as follows: Dim server_name As String = Server.MachineName ConnStrSQL =...
  3. D

    Sum a few Fields...

    Hi there I hope this a simple question! I've just upgraded to SQL from Access and I'm using the designer to create a select query in enterprise manager. I have about 5 fileds with alias's that I want to show as a total field. How do I create an expression in the column field to add the...
  4. D

    Timer and Loop

    Yes! There were two possible errors I needed to catch 1) File not found 2) File in use When I catch both errors it seems to work fine! Many thanks again, I owe you a few pints for that! Dave
  5. D

    Timer and Loop

    Thats great, thanks again It may be the server that causes the long wait sometimes becuase other times it opens within about 5 seconds which is what I'd expect
  6. D

    Timer and Loop

    Raven It seems to work most of time but hangs now and again. Would a delay in the loop fix this? Any code suggestions? Thanks for all your help and patience on this... Dave
  7. D

    Timer and Loop

    Raven Here's the code and it works using the goto area command but somethings it hangs for a while so maybe I should use a loop and a timer to retry when it catches the error? 'Delete the existing report file If My.Computer.FileSystem.FileExists(path & str_rptname & " - " & struser & ".pdf")...
  8. D

    Timer and Loop

    Here ya go Raven System.IO.FileNotFoundException was unhandled by user code Message="Could not find file '\\Campserv01\company shares\LA
  9. D

    Timer and Loop

    Do you mean copy the error from the event viewer file or trap it some other way?
  10. D

    Timer and Loop

    Raven it's actually an IOException so could do a try catch block on that exception and loop through that? Dave
  11. D

    Timer and Loop

    ..............also, on looking at the windows explorer while processing it seems to create the file in the full size from the start..!
  12. D

    Timer and Loop

    Yeah you're right Raven...but..... it's a web app and I can't add the timer component so what's the code for the tick event when it's done in a web form? Also, I'm poor on arrays so any help on that code would also be appreciated...sorry! Dave
  13. D

    Timer and Loop

    Thanks again Raven I think I might change track completely. The pdf file in question is a snapshot format file output from access. It then gets printed to the PDF print driver to convert it to PDF for viewing in the client browser (hence the problem in this thread). The alternative is to...
  14. D

    Timer and Loop

    Raven You were right about the file not existing even though it has been written to disk. The file exists command returns true but then it can't be renamed! Any alternative suggestions? Thanks again Dave
  15. D

    Timer and Loop

    I don't seem to have a components section, standard, data, validation etc..but no components.. Is it becuase it's a web app? Thanks.... Dave
  16. D

    Timer and Loop

    Hmmm. I don't see a timer in the toolbox, I'm using VS 2005.....
  17. D

    Timer and Loop

    Another point Raven How do I build your example code into the timer interval? Dave
  18. D

    Timer and Loop

    Thanks Raven The pdf file is created by a printer driver called PDFCreator. It is a print of a MS Access report. This process will be used by many users so I can't really query the PDFcreator process. Any advice is again appreciated! Dave
  19. D

    Timer and Loop

    Hi all Once again I'm looking for someone's invaluable help! My web application exports a report to pdf which can take up to 12 seconds to complete and create a pdf file. Then I rename the file and redirect the web browser to show the file. What I think I need to do is to check for the file...
  20. D

    ASP.NET printing error

    Hi there I'm really hoping for guidance here because I've tried everything! My asp.net page in my web application has a command to you must install a printer ro design print or preview. The event viewer error refers to account NT AUTHORITY/NETWORK SERVICE at which point I'm lost! I've added...
Back
Top