Recent content by 00shoe

  1. 00shoe

    Question Application Will Not Close

    Thanks for your help, When I've try Debugging and what happen, is that it goes to Application.Exit() however it just keeps going like nothing happened. I’ve try Marshall.ReleaseComObject() but it throws an error, is there a way to find what System.Runtime.InteropServices to close? What extra...
  2. 00shoe

    Question Application Will Not Close

    Hi, I search through this forum but I couldn't find a solution to this problem. My problem is that Application.Exit doesn't work, and the program just continues along as normal. The General Overview of My Code Follows: Private Sub Run() 'Some Code If problem found...
  3. 00shoe

    Question External Program Inside a VB.Net Program

    Hopefully I've posted this question in the correct area. I was wondering if it is possible to create a vb.net program to have an external program running inside it. What I would like to have is MS Word running inside my VB.Net program. And it would look like this: Is this possible? If so...
  4. 00shoe

    MyBase.New()

    Thanks for that link its was very helpful (I added it to my favourites :)). Anyway, I finally figure out what was causing it. It is hard to explain but I was using programs that rely on a .dll file and the application for the .dll file was not installed on the computer (e.g. If I was using a MS...
  5. 00shoe

    MyBase.New()

    Hey, I have created a vb.net application that works on some computers and does not work on other computers. When running on the troubled computer it produces the following error message before the form is loaded: Application has generated an exception that could not be handled. Process...
  6. 00shoe

    Allow Data Access in Certain Programs

    Thanks for the suggestion :). Currently I have a System DSN and set their user privileges so only certain people can access the .dsn file (which I’m guessing the same effect as setting user dsn).
  7. 00shoe

    Allow Data Access in Certain Programs

    Thanks for your help but unfortunately I tried create a DSN-less connection first, when building this application. However I discovered that it was impossible to do it (something to do with the limitation with the database.
  8. 00shoe

    Allow Data Access in Certain Programs

    Hey All :), I was wondering if someone could help me in regards to this problem. I have set up a System DSN for users to access data on a VB.net Application that I have developed. However, do not want users to access this DSN file for other programs like MS Excel (i.e. using the Import...
  9. 00shoe

    "Global" ODBC Data Source

    Hey, Hopefully I'm positing this in the correct forum (my apologies if it isn't). I have a vb.net application that can be accessed by multiple people via a network. I'm trying to set up an ODBC Driver for the program using Windows ODBC Data Source. Is it possible to set up a DSN that can...
  10. 00shoe

    ReadOnly CheckedListBox

    Thanks it is working perfectly! :) Do you have good sites/books where I can read up about creating new properities? (because I don't really understand the code you wrote, and would like to make some more in the future). Thanks.
  11. 00shoe

    ReadOnly CheckedListBox

    Hey All, Hopefully I'm posting this in the right thread (my apologies if it isn't). I would like to know if it is possible to create a ReadOnly CheckedListBox? So the user can still select any items on the list, but cannot check and uncheck any items. Thanks.
  12. 00shoe

    Date Time Picker Question

    I feel that the response might be too slow if I use the Validating event, so I might try it cjard suggestion and use a label, I'm not a fan of a message box myself, but it feel for me that I need someway of telling the user that you cannot select that date (so I will try a label). Thanks for...
  13. 00shoe

    Date Time Picker Question

    Hey, I want to make a dtp that only allow users to select dates that are weekdays. I have written the following bit of code: Private Sub dtpPH_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpPH.ValueChangedDim strDOW AsString = dtpPH.Value.DayOfWeekIf...
  14. 00shoe

    Ordering the Index of Controls on a Form

    Thank-you!, I've been use the UserControl way and it so much easier, especially for maintainability. Many Thanks!
  15. 00shoe

    Ordering the Index of Controls on a Form

    Hey, I’m using a form with 3 tabs. All 3 tabs have identical controls and properties on each tab. And when I want to call a control for any tab I use the following bit of code. Me.tabcontrol.selectedtab.Controls(0) However this does not work as for example when I use this code on the...
Top Bottom