Jump to content
Xtreme .Net Talk

donnacha

Avatar/Signature
  • Posts

    189
  • Joined

  • Last visited

Everything posted by donnacha

  1. Can you not just add parameters to your .config file and then use them to tell the appp what to do, it would probably be easier
  2. You could also make them embedded resources in the application
  3. Can you use load the query data into a dataset and just bind the datagrid to the dataset and then this will lookafter updating your database for you.
  4. Does you app have the rights to open the database or to launch Access.
  5. Hang on is it the mdi parent form where you have the problem. Have you set controlBox to false on this.
  6. What do you mean, every good programming book or course in the last 20 years has covered this. What exactly are you loooking for ..
  7. I generally do not let the setup remove the previous version. I force the installer to remove the program using the 'Add/Remove Programs' first and then do the install. This always leaves things clean. This might be a pain to have to do in some cases, but it is probably safer in the long run.
  8. I am using VS 2000 and to be honest I have never encountered this. Whis version of VS are ye using.
  9. If you are reading only from the files then I don't understandy why you have a problem. You should look at you code for opening the file and see if it is opened for more tha reading.
  10. One basic question for you, why do you not use a database instead of a text file. It might make life easier for you. Are you restricted byhow the data is put into this file.
  11. Are you doing a internet based web application that the public/multiple clients will have access to or is it a windows/intranet based application. If it is internet based the you will have to consider the cost of having multiple databases and what really gives you extra security in this case. Could you just have them declared with users in the database and thus restrict their access. If you have a windows/intranet based application the you have no worries about security access as everybody belongs to the same organiation and you can still use the method of declaring them as swl users. There is one other problem in that if you go with multiple databases then everwhere you access the database then it will have to be coded to cater for all possible databases. This to me would be a nightmare to be avoided. I recommend one well defined database...
  12. You need to create your own derived class based on the standard label control and in that paint method of the derived class do what ever you like with the lines you want. So look for derived class examples, there are pleanty of them available.
  13. Try making the routines 'Overrides' or try calling Addhandler..... for these events in the form load .
  14. We are not here to do the work for you, you must read somestuff yourself, you are asking questions that is given in the VS help or command syntax, please read this info.
  15. Use something like AddHandler Me.Controls("Button1").Click, AddressOf Button2_Click AddHandler Me.Controls("Button2").Click, AddressOf Button2_Click AddHandler Me.Controls("Button3").Click, AddressOf Button2_Click the rest you should be able to fighre out if you look at the built in help.....
  16. You have missed the point, The person that is logged onto the computer may not be the person trying to access your app. Such a security hole may not be a problem for your app, but there may also be a valid case for someone wanting to avoid logging off/on to acccess your sstem and then back to the original user when they could have done it with a login to your app. Again this may not be an issue for you..
  17. You should be able to use something like Dim str1 As String str1 = tbtemp.Controls(txtPass & creport.iReportNumber).Text
  18. Yes, look for sample of an appropriate derived class for the menu if you cant do it directly.
  19. Show the code where you are trying to get the data from the control. Is should be simple once you know the name you have given the control.
  20. IF there is an error in your tablestyle it will revert back to default. Thus maksure the mapping names really exist in the dataset. Also do you realise you have named to columns the same.....
  21. Be Carefull if security is an issue, how do you know the the person starting the app is the person who is logged on.
  22. It is not possible to change the version it is compiled with, but I think it is ok to run on version 1.1 as it will fallback internally.
  23. This is such an old philosophy, the pictures make it look new.
  24. Have you the 'DetectNewerInstalledVersion' and 'RemovePreviousVersions' properties setup correctly.
×
×
  • Create New...