Jump to content
Xtreme .Net Talk

donnacha

Avatar/Signature
  • Posts

    189
  • Joined

  • Last visited

Everything posted by donnacha

  1. don't forget to add a launch condition that checks for the presence of the framework on starting the install. If your clients are slow abot accepting the framework then they probably do not have the right version of mdac and jet if you need it. So you might want to add checks for them as well. Isin't there a bootstrap version of deployment which automaticlly includes the framework in the deployment. As a rule make sure the client knows the framework is going in and that their IT department are happy with that, some may be slow to accept it.
  2. Can you explain a bit better what you are trying to do or better still give sampe code. have you looked at CSTR or the '.ToString' methods
  3. I think what you need to look at for this case is the .NET remoting which allows aps on different networks to communicate. No matter what you do you will need to have the app installed on the individual computers for this. If that is not what you want then a central app that launches standard procerss/caommands is all you can do. I think that remoting is what you want, but I can't help you any further on this.
  4. You dont have to do anything in your app to allow it t run across the network. If that is all you want to do (i.e. Install once and run from many PCs). Now if you have database access and other similar stuff, then you will have to design your app to cater for concurrent access and such problems.
  5. Do you have a fixed company name and product name or are you just using the default values. Could that cause your problem
  6. I can't tell you exactly how to do it, but there is a small security setup that has to be done to allow .NET to execute across a network. We have done it before but I can't remember what it was, only that in the end it was a very small change on the security.
  7. The golden rule in .Net is never assume anythong and always init your variables to a default value.....
  8. The software testing industry is big and complex, If you are lost now, you really need to readup on it. A good developer shoul know how to test properly. Buy a book or try looking at these sites http://www.qaforums.com/ http://www.testingstandards.co.uk/
  9. Can you store the info in the file as xml, then you will be able to load the data straight into a datasat in 1 go and then bind this dataset to whatever controls you want. This would be the most efficent way to do it.
  10. It is pretty straightforward when you use the Graphics.MeasureString method, the online help is sufficient to figure out how to use it. There are several ways to use it but it will as it says 'Measures the size of the string and determines the number of characters fitted and lines filled, using the string, the font object, the maximum layout size, and the string format. '
  11. I don't know if you are using windows or web here, but I have seen this happen often in windows version. If something you are doing isin't allowed by the ide, it often removes these controls from the form. I have got around this by going into the WindowsDesinger section in the code file and manually add the controls back to their appropriate container and then see wher it goes wrong.
  12. If you are going to use XML, then make sure you can load it to a dataset as this will make your application easier to code. I am not sure if an xml file is easier than access, as your app need to know what folders to deal with so if you move them you need to modify the app. So if you can handle this wasy, then you can handle using access. If you are using the db then I would advise storing the directory path as a config part and the just storing the individual file names. This allows you to easily cater for directories moving. As they say it is 6 of one and a half a dozen of the other......
  13. Does anybody know of a good tutorial to using crystal in VS.
  14. Just try using them for dynamic type reports and you wil pull your hair out. Basically using Crystal, is just like using a reoporting language within your application. It does have some nice built in features once the report is finished, like exporting to Excel, pdf etc...
  15. I believe everything seperated by a space must be a seperate argument. (I think) Try it out.
  16. Why don't you add a panel to the statusbar and just set '.Text' field of that directly. I have had no problems with text length using that.
  17. What are you actually trying to do, have an application that can never be closed, just minimised or what is it you want. If you want to prevent it from being closed, why don't you hide the controlbox on the form, this will do it for you. You could then have a minimise button and as long as showInTaskBar is true, you have what you want, I think, but then I am not sure what you want.
  18. Are you keeping all you forms alive for the duration of the application and Minimizing/Mazimizing as needed. Have you considered what might happen if the user does an Alt-Tab and switches to a different one of your forms. It will totally mess up the control flow of your app.
  19. You need to add a handler for the appropriate events for each button and then code what you want to do in the event handlers
  20. You could also set the RestoreDirectory to false and then use the current directory and parse this out of your FileName, thus giving you the file name on its own. It is a bit silly that there isin't a property that has the name on its own.
  21. Not directly, but I have seen sample apps for it. Do a search on MSDN for it or gotdotnet.
  22. Hi folks, has anybody come across a sample application for 'Point of Sales' / 'Cashpoint' / 'Cashregister'. It would be a great help if ye know of one :rolleyes:
  23. x.showdialog will make the new form the focused form and will block any others being used. x.show on its own would allow the user to swap to another form and this might mess up your control.
  24. You are out of luck, one could do it directly in VB6 but they have removed that functionality for some weird reason. You will have to do a snapshot of the screen and print that or put something together that prints each control on the form. Sorry
  25. I would not recommend storing the pdf object in Access, you are guarnteed to run into problems later. You are much better off storing a link or path to the pdf file in the database and then load the pdf from that location.
×
×
  • Create New...