Host Vb .Exe on Sharepoint Site - vb.net

i want to host a vb project from a sharepoint folder instead of having it locally installed.
I am still new at this, but I only need to host the files in the same folder on sharepoint right? And then whoever can just click the .exe file, correct?
Sorry if this is a dumb question!
Thanks in advance

As already mentioned in the comment SharePoint isn't meant to store or even display applications (.exe). What started as a security measure is now part of the philosophy of MS SharePoint. Here's a list of all filetypes SP13 will block by default.
Back to your question. There is a trick how you still can upload an .exe to SharePoint:
Store the application in a folder
Zip the folder
Upload the zipped folder to a document library
Display the library on the desired site
For the future..
As there is a "Silverlight Webpart" - develop silverlight application if you know from the beginning that you want to display them on SharePoint.
Another trick: Publish your application on a host server. Then use the "Site Viewer WebPart" and point it to your application
Last one, although I wouldn't suggest it.. You can develop a .wpf-application and simply upload it as the file-type isn't blocked. But to embed the resources is just a pain in the ass..
There are for sure many other ways to do this.. Those are just the most practical ones I know if you already developed the application. The best solution is of course to create your own WebPart..

Related

SharePoint link should open in File Explorer but opens in Web Browser

As the name of the question states, I'm working with my company on a project in UiPath that is responsible for scraping a slurry of excel files from a SharePoint server. Unfortunately a decent portion of it is proprietary so I don't know how much of the actual code I can justifiably put here.
I have inside of UiPath (which is essentially a shell for vb.net and C# specifically tailored for automation) functionality to input a website url into the file explorer and have it navigate to the OneDrive folder for that SharePoint site.
This was working as expected until yesterday in the morning when it decided to brick itself and instead pull up the SharePoint site on the web browser.
Is there any way to ensure or otherwise understand why it won't open the folder path? I had it working before and I don't know why it doesn't work anymore.
Regards,
Jadda

Easy way to have a VB.Net WindowsForms application work as a web app?

I have made a small text based game using VB.NET in a Windows Forms application but it seems that people are a bit hesitent when it comes to downloading exe files. What would an easy way to have it work as a web application without having to rewrite the entire code?
There isn't an "easy" way to turn it into a web application. You can take all of your logic and put it into libraries (Class Library), but you'll need to write new front-end code for both the desktop and web.
If you are wanting the web to accept user input and such without constant reloading, you'll also need to make a web service to talk to using jQuery or the like.
For what it's worth, if anyone is hesitant to download an EXE, then they don't need it. I used to publish installations for VB6 applications on my website years ago, and I had downloads and referrals from all over the place, including educational institutions.
Also, if you are direct linking to an EXE, consider packaging it up in a ZIP along with a readme file.

Where and how can I copy flash-animated html content inside a Lotus Notes database in order to invoke from a document or page?

I know Domino as a web server. In the data folder thereĀ“s an HTML folder which is normally the root of web content. But I want to put files and folders with all the flash stuff inside a Notes database (nsf).
I know I can do this via import through Package Explorer in the Notes Designer client. But where should I copy it into? Into webcontent folder?
I also know documents and pages can act as .html files. But there are also javascripts, .swf, .mp3 and other files.
How can I then invoke the starting point file like index.html?
I appreciate any helpful answer .. :-)
I know I can do this via import through Package Explorer in the Notes
Designer client. But where should I copy it into? Into webcontent
folder?
I would not recommend to put it on Domino server file system, it's very dirty way.
One document with one attachment/video. That would give you overview of all files you have in database plus possibility to add/delete them (require development skills little bit).
You can also upload your resources as Files as a design element, however that would require you design access each time you want to change them.
About invoking. Have a look here: Domino URL Commands
Also check this link: URL commands for opening attachments, image files, and OLE objects
For everything that is not plain html you can use file- resources. Linking them is as simple as write an url that looks like this:
hxxp://yourserver.com/yournsf.nsf/JSLibrary.js?OpenFileResource
You can find all possible URL- commands in your designer help or in this URL cheat sheet

How to Browse Local Folder Path web forms

I want to save file in my local system.
This purpose i need to choose directory where the file want to save.
I want the choosing folder path.
I didn't find any web controls please help me. windows from control is not working in web forms.
I have tied using FolderBrowserDialog control but it is not working in MVC
There is no such control (except using ActiveX Control or Java Applets), so don't waste your time to look for it and you can not get any folder path(on client machine) with JavaScript due to security reasons.
Why don't you just allow user to download the file and user will select the folder where he wants that file to be saved or else it will get saved in default folder of browser.
Hope it helps, thanks.

Move Access Web Database to Another Sharepoint Site

I have an Access web database (the out-of-the-box Project one) and plan to move to another Sharepoint site (a test server). I have done lots of googling and nothing comes up. Any pointers will be greatly appreciated.
Thanks.
After some trials and errors, I figured out how to do that. First open the Access web db in Access client. Then go to Publish & Save, where you should see an option Save As Local Database. Then open the local database, again go to Publish & Save, you can choose to Publish to Access Services. A pane will appear to let you enter the URL of Sharepoint server and site name. If you have customizations or lots of lookups, there's a good possibility it will not publish. If that's the case, you just need to fix all the errors reported.
I was able to move my Access 2016 app to a new Sharepoint Site by saving it as a .app and uploading it to the new site.
I found this link to Microsoft's site helpful: Create an Access app package