Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. techmanbd, I don't think you understand, he is calling reports in Access this has nothing to do with connection to a database. [edit]techmanbd, I guess you deleted your post [/edit]
  2. Nope, no cheaper solution. The error comes as soon as an istance is created of the Access object.
  3. Typically an error such as this "Could not load type 'namespace.Login'." is caused by a misspelled namespace or class. Did you create a new virtual directory for the new app?
  4. Why not create it at runtime?
  5. The first thing you can do is handle the exception by placing your code in a Try/Catch block. wc.Dispose() 'once you're done 'and if you're using a StreamReader then close it when you're done... sr.Close()
  6. What is the namespace of this app? Is it called 'namespace' ?
  7. Oh yeah of course, these local vars are destroyed soon after they go out of scope. I don't care much for readability... we use overloaded methods that have 5 or so args then readability is already lost.
  8. I would go with method 2, why declare variables if you don't need to.
  9. I realize that you posted this in Windows forms section, are you using WinForms or WebForms ?
  10. You are correct.
  11. When you create an instance of 'Access.Application', you DO need Access installed on each machine. Why are you creating an 'Access.Application' object, are you running macros, forms or reports in Access?
  12. Are you not using asp.NET?
  13. does this line work as is... appAccess.DoCmd.OpenReport strReportName, acPreview
  14. MIS is Management Information Systems. I'm pretty sure that the programming courses offered in MIS are light compared with ones offered in the CS degree.
  15. I don't understand why this line does not allow you to preview (it works for me)... appAccess.DoCmd.OpenReport YourStringReportName, acPreview, ,YourStringCriteria
  16. this may help, check out page 3 of the article... http://www.aspalliance.com/articleViewer.aspx?aId=102&pId=1
  17. You can create a new Datatable at runtime the add it to the dataset.
  18. Can you explain where this happens, IDE etc....
  19. What are you trying to run? Is it an Access "action" query ?
  20. You mean something like this ... http://www.divil.co.uk/net/articles/designers/introduction.asp
  21. Yeah most are third party controls and they cost money.
  22. What exactly are you having trouble with?
  23. A single second cannot be divided by a thousand with great accuracy.
  24. There is a property of the form named AcceptButton, select the button in there.
  25. 1) this is direct to the download http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe This is the page with instructions http://www.microsoft.com/downloads/details.aspx?familyid=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en 2) No
×
×
  • Create New...