I have created the .net core MVC project for running some automated testing. Like I have created an project name TestingSelenium for the testing of another project name as Catalog.
Now, I added the code in TestingSelenium to auto open the by project URL in chrome browser and auto-login in it. This is working fine in my local pc from TestingSelenium core MVC project's by clicking to buttons. But when I update this code in the Smarterasp hosting panel and then try to click the event of that project it's not working. So I have some questions related to it.
Is there any way to run the selenium web driver project in .net core hosting panel?
If I want this type of functionality then is it possible? and if possible then can you inform me how?
Basically, I want a core MVC project from that I want to open chrome browser and automation in it, please suggest me.
Thanks
I have created a setup file for windows forms app and .net framework is 3.0. Now i don't want it to download from internet if framework is not available on installation machine. For that i am using below option as shown in screenshot.
Pre-requisite snapshot
After that when i build i get following errors. How can i fix all these errors or is there any other way to achieve this?
Error snapshot
NO SUBMENU UNDER WEB FOLDER
I want to create ASP.NET Server Control.
But i can see only ASP.NET Empty Web Application.
i need to create in framework 3.5
Is there anything missing to install or it is available in VS2017 community edition?
I don't understand your question, what you refer abour server control ( maybe usercontrol?) when you install vs2017 community edition for example you install asp.net too, you always have to create a new proyect (asp net empty application) to have controls inside the project.
The option for asp.net webform is missing because you've not installed the ASP.NET web development module. Install the APS.NET Web Development Module in visual studio and the issue will be fixed. video
I have a WPF keyboard control that is hosted in a Windows form Control. It works fin on most computers, but not on all.
For some reason or another, on some computers when I open the win form with the wpf keyboard the wpf control is blank. Just get an empty square instead of the keyboard.
All of the parts of the project is in .net 3.0 and is built in C# 3.
Anybody have any ideas?
Update
I unfortunately don't have access to the computer my self only via a person on the other end of a phone.
I've even tried setting up a computer without .net 3.0. That gives me an error message
Tried .net 3.0 without any service pack also, but it doesn't recreate the problem.
Did you ensure that you have the right version of .NET installed on the computers in which they are not working ?
What are the steps to deploying a project created in VS2008 (windows forms and c#) as a ActiveX control hosted in ie? I have a file uploader project that I want to be hosted on a webpage that users can navigate to, click 'trust this active x control' and the application runs on the page in the browser, just like a java application.
To be clear, I'm not looking for ClickOnce (that is an installer) and I don't want the user to have to modify their .Net security or add a trusted site (so just putting the .dll file in a OBJECT tag doesn't work). Do I need some digital signature, some certificate something? I've found references to this but no step-by-step guide to it (like I got for java).
Any suggestions? This seemed like it'd be the easiest part of the project but its turning out to be by far the hardest, I can't make any headway on it.
Thanks,
Sam
And the answer is, sadly, that .net "activeX controls" aren't like COM activeX controls (VB6), even if you make the .net control com-visible you can't register it with the OS the same way. What you have to do is:
1) Create your .net dll file
2) Create an installer exe (I did it with InstallShield, looks like it can also be done in VS)
3) Package that installer into a cab file
4) Point to that cab file in IE.
What this results in is in IE the little 'activeX' confirm drops down, then the 'do you trust this app' comes up, then UAC (vista/w7) and then you get to run through the normal application install process: installer window comes up, confirm, pick install dir. After thats done, your control appears on the page in IE.
The way it used to work in COM was once you did the little activeX confirm drop down (and UAC) the app would just run
Now, the above is only if you need/want it to be .Net 2.0 compatible. If you don't mind only being compatible with 3.0 or higher you can do an XBAP application:
What is Microsoft's roadmap for in browser applications? Silverlight, ClickOnce, ActiveX, dlls
And you can even just take your .Net dll you spent the last 3 weeks learning how to make (frick) and jam it into the WPF application:
How to put a custom windows forms control in a WPF application?
Hope this helps others.
Sam
We deploy AX control in two forms:
CAB file. Installation process as you described in question. You need sign control, pack it into CAB and sign the CAB file. More details you can find here: Packaging ActiveX Controls.
Standalone installer. MSI file for users without admin privileges for manual installation.