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...
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()
If problem found...
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...
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...
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.
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.
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...
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...
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).
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.
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).
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...
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.
However this does not work as for example when I use this code on the...
I am not sure it will work or not but recently I was getting similar error message to you. I search everywhere and I found this page the suggested to add a small bit of code (to fix a bug in vb.net). I followed what it said and it worked for me, it might work for you...
Try this link...
Okay, I understand what you are saying. Thanks for that.
I noticed there is a .Quit() method available for Outlook.Application, so I will add that at there end, and see how that goes.
' Clean up
oApp = Nothing
oMsg = NothingEnd Sub
I searched this forum and could not find any post/s similar to my problem.
I have an application runinng in a remote desktop session, and it produces the following error:
Problem in StaffOff(): System.Runtime.InteropServices.COMException (0x80010108): The object invoked has...
I am sorry if this question was asked before (I did search the forum and couldn’t find anything).
I am trying to find if it was possible to create a dtp that changes the color of the text of the dates that are between the dtp's min and max dates?
29 30 31 1 2 3 4
5 6 7 8...