Adding application to startup of Vista or Win7 - vb.net

How can I add application to startup of VISTA or Win7, using Setup and Deployment package?
Thanks
Furqan

In your Setup project, click View + Editor + File System. Right-click the left panel, Add special folder, select "User's Startup Folder". Select it. Right-click the right panel, Create New Shortcut and select the application.

Related

Failed to create component 'ReportViewer'

Anyone can help me with below error? It looks like it has something to do with different versions but I am not able to solve it. I followed different instructions like: Installing the NuGet package for the WinForms than adding the dll via .NET Framework components.
When I drag and drop the ReportViewer onto a Form it gives me the below error.
This is what I did and it worked well for me:
1- Installed Microsoft Rdlc Report Designer for Visual Studio
2- Opened Visual Studio and created a new project using Visual Basic > Report Application template. (You can also search for it using top right search box)
3- From the warning dialog clicked Trust
4- Cancelled Report Wizard (I just didn't want to create report initially, you can create.)
5- Rebuild the solution.
You are all set. You can add a new Report and design it in VS and show it in ReportViewer. If you open Form1 you can see a ReportViewer there.
To add it to toolbox, you can click on Choose Items and then Browse your solution directory and from the NuGet package folders go to report viewer package folder and select Microsoft.ReportViewer.WinForms.dll.
For more information on how to add report viewer control to a form see Integrating Reporting Services Using ReportViewer Controls - Get Started.

How can I include necessary libraries with VB.NET project?

I am reworking old VB6 apps into VB.NET with Visual Studio 2005 and when i tried to install them on Windows 10 I got following errors:
How can I include the missing libraries and carry them with the project?
Or can i somehow make a VB.NET installer with Visual Studio 2005 and it will take all dependencies with it?
It went well. I created new Setup project by using this tutorial vs 2005 setup project tutorial .
I added all the files that resided in the bin folder of my development project, plus I added adodb.dll by using the "Add Assembly" dialog window, right click on the setup project "Application Folder" node.
I also added msdatasrc.dll which is like backward compatibility library for MS Office for Windows XP. You can find download link here office xp support files
Once you these files, you can create shortucts which will open the main *.exe file when double clicked. Shortcuts for the desktop and for menu, can be added on the nodes User's Desktop and User's Menu

VB.NET server not "launchable" after computer reboot

I'm trying to learn how to code a server in VB.Net. I'm coding on Visual Studio.
My server works, my clients interact with it.
The thing is that if I reboot my computer, I have to make a new projet and copy/paste my code in order for my server to work.
If I don't do this my clients don't see my server.
I have no idea of why. If anyone have an idea I'll be very thankful.
Simon
Find your exe file in your project folders and create a windows shortcut to it
On Windows 7 and earlier versions of Windows, the Start menu contained a “Startup” folder to make this easy. On these versions of Windows, you can simply open your Start menu, locate a shortcut to an application you want to start automatically, right-click it, and select Copy. Next, locate the Startup folder under All Apps in the Start menu, right-click it, and select Paste to paste a copy of that shortcut.
From this site:
This folder is no longer as easily accessible on Windows 8, 8.1, and 10, but it’s still accessible. To access it, press Windows Key + R, type “shell:startup” into the Run dialog, and press Enter. Yes, you’ll need to use the folder — you can’t simply add shortcuts from the Task Manager’s Startup pane.
Shortcuts you add to the “shell:startup” folder will only launch when you log in with your user account. If you’d like a shortcut to launch itself whenever any user logs in, type “shell:common startup” into the Run dialog instead.

Visual Basic Studio Project Icon Won't show up on desktop on the .exe, only in the window after it has been opened

Like the title says. When I build my project, it has the icon in the list in the folder, but as soon as I drag it onto my desktop, the icon is the default windows one. Any idea? I am fairly new to Visual Basic Studio 2010, so please try to keep it simple. Thanks!
Place the application in a folder. Create a shortcut on Desktop and point it to your application. Then, the default icon will change.

Which shortcuts create for deployment of the non-metro applications on Windows 8?

If you make deployment of your non-metro (old style) application you have basically two options:
put the shortcut to the main executable file in the start menu
(default and recommended by the guidelines for the Windows Logo)
put the shortcut to the main executable file on the desktop (optional).
There is no start menu in the Windows 8 RTM. How do I create a program's shortcut for the non-metro applications in the Windows 8?
For non-Store apps, if you specify the Start menu for an icon, it is added to the new Windows 8 Start Page. If you specify an app for the desktop, it will be added to the desktop.