Use ActiveX To Use An Xls Application On The Desktop?
Feb 2, 2011
I have chose as a Reference Excel 12.0 for Excel 2007. I have file.xls up on the desktop. I want to use the file on the desktop in a Visual Basic program and use the data from the spreadsheet. The error is in:[code].....
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.
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
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."
We have a client who has asked us to write a GUI that is capable of connecting to an existing, running application. This specific application has quite extensive .NET and ActiveX hooks in it, but it's a third-party application and we do not have access to the source code. The client has specified VB 2008, despite the fact that the target application has perfectly good GUI creation tools itself.
I can successfully start a separate instance of the target application, but that is not what the client wants. The idea is that the user would start this application, open a specific file with it and then start the GUI which would take control.
I have searched a number of locations (including 18 pages so far of this forum) to try to find help on this sort of thing, but the success is slow coming. One code snippet enabled me to find the running process, which may help me to connect. I am also browsing CodeProject to try to wind useful information on this.
We have a VB.Net app that has several editable reports and forms in html/javascript. I'm using the standard WebBrowser control.We're accessing the content via filepath, since using localhostsharename when the machine is offline doesn't work even though the content is on the machine. The problem with that is that then it's running in the local machine zone, and you get the warning about running ActiveX controls (even if that's set to 'allow' in the options menu on IE). So I'm using Mark of the Web to act as if the content is saved from localhost. I appended it with the requisite vbCrLf to the start of the HTML page that's being dynamically written every time a link is clicked. When I open the resulting page in IE, I no longer get the ActiveX warning, and everything works. However, when I use WebBrowser.Navigate to that filepath, I still get the warning. Any idea how to get rid of that?
Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
I am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.That is working, so, so far so good.My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?
I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there The nonplusultra would be that it only starts the server when you click on the shortcut.
I have an application that is written in VB.NET, using the System.Windows.Forms.Form as the front-end GUI. It runs perfectly on my Windows machine however recently there is a business requirement to convert this application to run as a web application so that people could view them in their blackberries when they go to the URL. Is there any quick way to perform such a conversion or I will have to translate the code line-by-line for such cases?
come years ago I bought an activex component to read some basic smartcard data. I created a simple form application and it has worked fine ever since. However, instate of a form application I now want to create a console application for the same purpose (the forms are unrequired and it just takes too long with multiple smartcards).
But I have been working on this for days now and somehow can't seem to get my events working. When I use 1 event, everything works fine, but as soon as I add my second event I get this error:
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040202): E xception from HRESULT: 0x80040202 at System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(Object pUn kSink, Int32& pdwCookie)
the system is going to have two front-ends - one web application and one desktop application.The desktop application is going to be coded using VB.NET, and the web application in PHP. There's really no reason why the desktop application can't be replaced by a web application as well - except that one of the programmers seem to really want to code it in VB...However none of us have experience working with either of these pairs .
P.S. hosting service will be gotten from some provider and not be on the client's own server.
I would like to come up with a simple application that would add a specific phrase into a specific location on a desktop application. I assume this isn't very hard, but I'm kind of new.
Is it just me or did google change the way it returns results - drastically - ? I can't seem to find anything I'm looking for in the last week or so!I'm trying to find out how to create an API for my desktop application.
acctually i m creating a desktop application in vb.net so on the data insertaton page i had got an error that is "the ConnectionString property not initilized" so i m posting all my code here.
I have a vb.net 3.5 regular desktop (Vista 32 Ultimate) application running. Now, the user wants to buy a Tablet PC and use that instead.Will it work? If not, where do I begin?!!If existing application works on a tablet pc, what does the user have to do to handwrite on a text box or a richtextbox or on an image?
i have a simple phone which supports GPS (to be more specific is HTC HD windows mobile) my main scope is to develop a desktop application which i can set up a connection between the phone and the desktop application to read some coordinates of the receiving gps data and display them to a simple textbox or msgbox. the only way to connect the phone to a pc is via USB port. can i do that? i have check on the internet but all they are referring to a non build in phone gps, but to an individual GPS devices only.
I'm coming from unix / server / c++ /java background with no GUI experience .i need to build windows GUI application , i need to build it fast i was told that the .net family is the exact thing for such job . but there is VB.net and c# what should i choose what is faster and better for such job ? what will be easier for none teachi user to install and for me to deploy the end product
I am creating a desktop application that uses a SQL database to store information about different movies. Instead of having to type in the information I want (Barcode code, DVD ID, Title etc.), I want to use a web service. However, I don't know any web services like this and I am new to trying to implement them. Can anyone suggest a good one and briefly tell me how to implement it into my app?
've written a desktop application in VB.net which gets data from numerous serial devices and graphs it in a windows form. What I'd like to do enable remote users to view this data remotely from a web browser.
So, is it possible to add a webpage to a desktop application which could be dynamically updated from from my windows app or do I have to rewrite the entire application in asp, flex or silverlight so it can be viewed remotely via a web browser?I'm not familiar with asp flex or silverlight and have only developed desktop apps using vb.net 2010 on win7 and XP.
I have created a little application to move some files around and put them into a database. This is working well except that the application needs a timeout. If my app has not completed the task within 2 hours it re opens and locks out everything. I need to say that if my application has been open for 2 hours close it. One thought was can you set a time out in an application.
I have a desktop application which reads files from a specified folder, then deposits the files to a folder in a third party document management system based on criteria that the user provides.
is it possible to somehow provide different parameters to the code, depending on which shortcut of the application the user clicked on to start it up?