Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by piofenton

  1. piofenton

    error on deployed c# program (sometimes)

    I have a C# program which includes the use of some datagrids and launches some external programs through some VB DLLs also. When I deploy the .exe it works fine on most PCs, however on some I get an error when the datagrid is loaded suggesting that the minimum value of 'value' must be greater...
  2. piofenton

    VB.Net and Excel graphs

    Hi all, I have generated some data in my application for which I am using Excel to determine a linear relationship. I want to display the resultant graph on my windows form. So far I have tried using the Office Web Chart component but with no success. Is there anyway I can use a picture pox to...
  3. piofenton

    Displaying Excel graphs in .NET using C sharp

    Hi all, I have generated some data in my application for which I am using Excel to determine a linear relationship. I want to display the resultant graph on my windows form. So far I have tried using the Office Web Chart component but with no success. Is there anyway I can use a picture pox to...
  4. piofenton

    Excel Macros from C Sharp.Net

    I sorted it out, though I have to be honest I'm not sure how I managed it. I think I may have had the Macros copied to one too many places or something! Thanks again!
  5. piofenton

    Excel Macros from C Sharp.Net

    I'll keep trying and I'll let you know if I figure out what I am missing. Thanks very much for your help!
  6. piofenton

    Excel Macros from C Sharp.Net

    An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Filtration.exe Additional information: The macro 'HelloWorld2' cannot be found. Hmmm! Still not working. It must be something I am doing. I'm using MS Excel 2003 and maybe that's where the problem lies.
  7. piofenton

    Excel Macros from C Sharp.Net

    That makes sense. I am still having another problem though. for some inexplicable reason when I run the code on oApp.Run line I get a runtime error informing me that the HelloWorld Macro cannot be found. This is despite it very definately being coded in the relevant Excel file. Any ideas why...
  8. piofenton

    Excel Macros from C Sharp.Net

    Thanks EarthandFire, I will try this and let you know how it goes. Thanks for your help.
  9. piofenton

    Excel Macros from C Sharp.Net

    I am trying to call an Excel Macro from .Net. The macro is called DoKbTest and is stored in book1.xls However when I run the code I get the following error "An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll. Additional information: Exception...
  10. piofenton

    Excel Addin for .Net

    I have lost some sleep and have balded slightly over this problem! My thanks! I love you people!
  11. piofenton

    Excel Addin for .Net

    Ia ma trying to use a MS EXcel DataAnalysis tool through .Net as shown below. However I am running into a number of problems mainly though that the last line here expects 30 parameters, all bar one of which should be optional, and the compiler won't accept anything less. Plus these parameters...
  12. piofenton

    Excel and S sharp issue

    PS forgive the type in the Thread Title
  13. piofenton

    Excel and S sharp issue

    That worked! Thanks so much!
  14. piofenton

    Excel and S sharp issue

    I'm trying to get Excel launched from inside a C-Sharp program. unfortunately I keep getting the following error when I try to debug. Why is it not accepting Excel as a legitimate class? The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly...
  15. piofenton

    code on more than one line

    Thanks JurkMonkey!

Part and Inventory Search

Back
Top