IE Freezing While Accessing ActiveX?
Apr 4, 2009
Lets discuss about those created active x which got created in VB6 and not working in Vista.Here i will let you know my problem,no idea wheather we need to upgrade any runtime file in VB6 or in vista?
I have done an ActiveX to get client MAC address as its major part and runs over IE.it is successfully running in Win2000, Win2003, WinXp and even with IE7 with previously mentioned Window versions.
This ActiveX was developed in VB 6.0.
This ActiveX gets installed atomatically through a cab file, whenever the application was accessed first time.
this cab file work fine in WinXP but when we try to run this cab file in vista IE get hang
Now, we have to support it with IE7 over Vista.
let me know what should I do to make it compatible with IE7 and Vista. I am using Vista Business right now.
When the application was accessed through IE7 for the first time, ActiveX installation dialog appeared. I pressed the Install button but then IE7 threw an error message that "Internet Explorer has stopped working". After that each time, whenever the application was accessed IE7 threw the same error message.
Cab file i made in VB6 using internet and deploy package wizard,along with cab file we will get one HTM file also to get Object id and code base along with version,even if we try to open this HTM file then also IE get hang.
I tested by manually registering the ocx, also turned off the Protected Mode and enabled my ActiveX through Manage Ad-on as well, but to no avail.
View 1 Replies
ADVERTISEMENT
Aug 27, 2010
Is there a way to include an ActiveX to VB .NET project without adding it to a form?
If I add it to the form and call a function on it that blocks, the UI is unresponsive until the function returns. Even if I am making the call in a different thread.
I was able to compile the code when I did not include it via the form, but got this error once I called a function on it.
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
How could I make the UI responsive when the ActiveX functions are blocking?
View 7 Replies
Apr 8, 2009
I am trying to load an actixex component in a VB project which was made in Visual C++.n VBA it works fine.In VB6, when I try to load the component on the toolbox I get an "Error 35005"In VB2008 the component can be added to the toolbox, but when I try to place it on the form, the following error occurs: "Failed to import ActiveX control. Please ensure it is properly registered."
View 1 Replies
Oct 20, 2010
How to Resolve following Error in .netNon-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.
View 1 Replies
Feb 25, 2009
I'm trying to use a loading overlay on top of a Windows form that adds a 50% opaque layer on top of a windows form with a loading GIF, while it does what it needs to do in a background thread. The overlay is a windows form that I'm drawing in the onPaint event.
The loading overlay works fine on multiple different form loads, but fails to work properly when summoned to ensure patience during a 30 second upload process (That Prints a Word Document to PDF, then uploads that PDF to a SQL Server). This upload collects some data from the form, puts it into an Object, then operates entirely on a background thread. The loading overlay will appear, show the first frame loading GIF, then just freeze. The onPaint is getting fired and the image frame is being updated, but it isn't visible
Constructor sets the form to be UserPainted:
Sub New()
InitializeComponent()
SetStyle(ControlStyles.UserPaint Or ControlStyles.Opaque, True)
End Sub
[Code].....
View 2 Replies
May 25, 2010
I have a FileSystemWatcher monitoring a folder, and when many files are cut and pasted into the folder, the GUI freezes, as the 'Changed' event is fired over and over. Any way to deal with this?
View 1 Replies
May 20, 2011
My program keeps freezing. Here is my [code]...
View 10 Replies
Jun 10, 2010
The application is freezing on SetWindowsPos,
Sub AOnTop(frmID As Form, OnTop As Long)[code]...
View 1 Replies
Oct 8, 2010
how do I delay my program without freezing? I am sure there is another way to do this without timer.PHP uses sleep(). What do VB use?I tried some Delay or Sleep function but don't seem to work..
View 28 Replies
Jul 30, 2011
I'm a VB.Net newbie, and would like to write a small app that runs a While loop to check a DNS domain name, and exits once the domain has been registered.
I found code at How to Get Host Name and IP Address in VB.Net - .Net Articles & Samples to resolve the hostname and handle the "No such host is known" error if it still hasn't been registered, but I have a couple of issues:
1. How to make sure the GUI is correctly displayed even though there's an endless While loop? Should I use some kind of asynchronous call so that the window doesn't freeze?
2. I'd like the app to mimize to the icon bar, and have its window title display some status information ("Still waiting/Registered!") so that I can simply move the mouse over it and know whether the domain has finally been registered or not.
View 3 Replies
Mar 6, 2012
I have an application that does not load a main form. My start up object is Sub Main. I am not using the application framework. I have several classes that handle different parts of the program.
objAlerts is the main one being used for this issue I am having.
This is how they are referenced in the main program class.
CODE:
This is the unfinished objAlert
CODE:
My issue is that the windows (alert.Show) open in a frozen state where the mouse pointer displays the hoursglass and the window does not respond. The windows show in the list of objects no problem.
Is there a special way that I should be opening these? I can open windows on the main class no problem.
I read that <form>.invoke(alert) might work, but there is no invoke on the main class according to VB.
I am thinking this might be a threading issue, but I don't know how to fix it because this is the first program that I have made using a Sub Main instead of a form.
View 10 Replies
Jul 30, 2009
I have MDI parent and child windows that were working fine but now clicking on a dropdown doesn't do anything, also scrollbars cannot be moved. Other controls are still ok, buttons and other links are still working. I should also note that if I change the child to load in a separate window all the controls work again.
View 2 Replies
Aug 12, 2009
I made a game in VB .Net that uses tcp and sends messages back and forth.What is happening is, every so often, the message cannot be sent quickly enough, so then the TCPObj.connect() method goes into a loop, until it reaches the timeout and then spits out an error. Most of the time though, it never gets to the error, my application just freezes, and then comes back after TCPObj.connect() succeeds. How can I make the connect() method do application.doevents while it's trying to connect? Basically, I dont want it to freeze up my whole application. Since tcp.connect() is a .NET method, I can't go in and add application.doevents.
View 3 Replies
Dec 23, 2011
I have a loop and within that loop I'm running a Dispatcher Timer.[code]Basically what I want is to show each item in the items list pausing after each on for 5 seconds. I want to show elapsed time in a label and after the elapsed time hits 5 seconds show the next item. This is not possible using the Thred.Sleep method, because it just freezes my application for 5 seconds, and shows the next item without ever updating the label with elapsed time.So what to use instead of Thread.Sleep to not freeze the application and update the label with elapsed time?
View 1 Replies
Jun 12, 2009
put delay in vb.net without freezing form
View 9 Replies
Aug 21, 2010
Is there a way to stop or minimize forms and dialogue boxes from freezing? they seem to take up a lot of memory when loading to the point that they some times look transparent for a few seconds.
View 10 Replies
Mar 8, 2012
I was messing around with the listview Control first,, And when i got it working i thought what's this backgroundworker thing,,so i read up on what info MS had on the MSDN page..and slapped it in here..and i thought i had it working ok until i tried to move my project application to the side to reply to a instant message i got..and then i noticed that it froze up .and looked like it was using alot of system resources,But wait let me back up just a bit.originally i was trying it with a fairly small number of items, and then i seen on here where someone had posted a rather large index for testing his app with,,and while trying to load that list that's when the issue was noticed i don't really plan on loading a list as big as that test index was but, I would still like to know why the program did what it did using the code below.I'm not really asking for it to be too altered, i kinda like all the controls i have in it the moment,, and the way it loaded as well.
[code]...
View 8 Replies
Dec 10, 2010
I wrote a program that visits each link in a listbox and then parses some data from the HTML. [Code] It works fine for 100 or so items, but when I load a big list (2000 items), the GUI seems to freeze. How should I fix this?
View 3 Replies
Apr 9, 2011
this is urgent. i have a form in which i need to give timedelay of 3 seconds before each line executes. But when i try system.threading.thread.sleep its freezing the UI and furthermore all delays are executing as one single delay. that is
[Code]...
View 5 Replies
Oct 3, 2011
I am a bit of a noobie with vb.net and I made this application that does a lot of http requests and stream reading. But when it does this it always freezes my application.So I did a little research and found that I could use background workers to solve this. But I have no idea where to start. So if you could look at my code and tell me where and how I can add background workers to prevent the freezing that would be awesome.[code]
View 2 Replies
Nov 4, 2008
I have a Data Acquisition and Control application that controls at 10 Hz and logs at 1 Hz. Both of those timers call a separate. I recently added a feature to the program to request 6 characters from a server for the barometric pressure. (29.206, etc) It works for the most part, but two weeks ago a computer froze, last week another one froze, and two froze this morning. I have not had freezing problems in the nearly three years this program has been running 24/7. Turns out they disconnected the server this morning, so that explains the simultaneous freezes in two test cells. I used a try catch statement, but apparently that wasn't good enough. how I can make this code more robust?
[Code]...
View 2 Replies
Oct 27, 2009
The following list lists, in degrees fahrenheit, the freezing and boiling points of several substances. Create an application using "If..Then...Else" that allows the user to enter a temperature. The program should then display a list of the substances that freeze at that temprature, followed by a list of substances that will boil at the same temprature.
[Code]...
View 27 Replies
Oct 14, 2008
I have rently deployed a VB windows application. It uses ADO typed datasets and datagrids.
On a couple of machine, if the application is left opened for a while (about more than 30 minutes), it gives no response. In order to restart it, I need to end the process vie the Task manager.
How would I even begin to troubleshoot why it is "hanging up"?
View 19 Replies
Mar 15, 2010
I need to write a VB.Net 2008 applet to go through all the fixed-drives looking for some files. If I put the code in ButtonClick(), the UI freezes until the code is done:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'TODO Find way to avoid freezing UI while scanning fixed drives
Dim drive As DriveInfo
Dim filelist As Collections.ObjectModel.ReadOnlyCollection(Of String)
Dim filepath As String
For Each drive In DriveInfo.GetDrives()
[Code] .....
View 4 Replies
Feb 24, 2011
So I have a bookmark function setup, and this is another functions that loads the appropriate website icon to the listview option that it goes with.
Public Sub getBookPic()
On Error Resume Next
Form2.ImageList1.Images.Clear()
[code].....
View 21 Replies
Jul 27, 2009
I have a form with binding sources and a method for saving the data.[code]I was testing to see what would happen if the operator tried entering duplicate data in the primary key field. They exception occurred as I expected but the program gets stuck at that point. The exception messagebox just keep redisplaying when you click OK. I'm fairly new to .Net, but this code is how the help files show updating a TableAdapter using the "Try/Catch".
View 10 Replies
Aug 11, 2011
I've been trying to figure out what is going on with this code, but it looks like I need some help. The issues I'm having is when I click a button that executes my background worker, it freezes and the UI comes back once the listview control is populated.My guess is that some part of my code under the backgroundworker_dowork function is trying to update something on the UI thread causing it to freeze. I just can't figure out what is trying to call the UI.
The user is supposed to click a add server button and enter the server name. The server name will be added to the ListView control. When they click refresh, the background worker is executed which attempts to get the DNS name, IP Addresses, and online/offline status.
Obviously, I'd like to run this code without freezing the UI. Does anyone have any idea on why this might be happening? My guess is because the ListViewItems are passed to the background worker and still have a reference to the control running on the UI thread. Am I right with this statement? If so, how do I change my code to get rid of that reference?
View 5 Replies
Jan 31, 2009
I think this might be related to threading (which I havent really worked with)..
In this app I'm developing, I am downloading a file when a user clicks a button. However, since the file is 20mb or so, its kinda unfortunate that the application hangs while doing it...
Do I have to go into multithreading here, or is there a simpler solution? (Or maybe multi-threading is simple?)
View 3 Replies
Feb 25, 2009
I have a simple program with a web browser control and a button that causes it to navigate to a certain web page, as well as an input and another button for entering a url directly.Everything was working fine until I started messing with the document completed event in the control.The form loads a url initially and after that 80% of the time it freezes when clicking the button or entering a new url. I deleted the document completed code and now it still freezes a majority of the time.
View 12 Replies
Nov 16, 2010
Is there any other way to download a file without the entire program freezing? whenever i call my.computer.network.downloadfile the VB stops furthering to the next code allowing my game to run choppily.
View 2 Replies