Installed VB Express 2008 On Machine And It Went Without A Redistributable File
Jul 19, 2010
I installed VB Express 2008 on my machine and it went without a redistributable file. It got download during the install. Anyone knows where I can download the redsitributable file from, so I can give it to my students?
I have created a class which builds a Crystal report and displays it in a report viewer. However, without the Crystal Redistributable, the code crashes. How can I programatically detect whether the end-user has the Crystal DLL installed? The code I am required to include is:
I installed the API redist [URL] for Office 2010 (Office 2010 was already installed). Then I tried to use code from MSDN [URL] just to see how it worked. I included the code here, since it's short. At the top of the file:
Code: Imports Outlook = Microsoft.Office.Interop.Outlook
... and in the class:
Code: Private Sub SendSalesReport() Dim mail As Outlook.MailItem = CType(Application.CreateItem( _ Outlook.OlItemType.olMailItem), Outlook.MailItem)
[code]....
Unfortunately, VS2010 balks at the very first line, not recognizing the namespace. What do I need to do?Oh, and I can't find Microsoft.Office.Interop.Outlook.dll anywhere, either. Shouldn't that have been installed?
I am generating PDF file using Crystal report ExportToDisk method in VB.NET 3.5. Locally and on integration environment generated PDF file is much readable i.e.font size is good. But the PDF file generated on production environment is different in formatting.The lines are wrapping and font size is also little small. There is not Adobe installed on integration.
I'm facing a problem reading .csv file into datatable. The machine on which i install my window service ( which reads the csv ) is Windows Server 2008 R2.The error i get is : The 'Microsoft.Jet.Oledb.4.0' provider is not registered on the local machine
Below is the code i use to fill the dataset from .csv file :
I also looked at the other option i.e. Micorosft.Office.Interop.Excel but that also needs Excel installed.So, I would like to know that, is there a way to read a .csv file without having Microsoft Excel install on the machine.
I was trying to use WebRequest request = WebRequest.Create[URL]..But get an error message! I am trying to use the WebRequest .NET framework class [URL]..How can I enable .NET? Is something wrong with my installation?
I am using VB Express 2005 because the machines my applications are running on are more likely to have .NET 2.0 installed. Is there a way to use VB Express 2008 but stop the client asking for .NET 3 3.5 (especially as the functions I am using are pretty basic!)?
I'm just starting out with VB and have downloaded and installed VB Express 2008. I'm researching and trying to wrap my head around programming in VB before I start working on any projects. I have a little bit of experience with ASP Classic so some of the syntax looks familiar, but I can't get a handle on database integration. Let's say I am creating an address book. Each installation is a stand-alone (no network connectivity). How are databases used in this situation? Are they built using VB Express and packaged into the installer or can you create them separately (using either Access or MySQL) and then package them into the installer? What is needed to read and write to these databases? Are there extra bits of software that need to be packaged into the installer to allow access to the databases?
What if this application does connect to a centralized database (let's say a MySQL or Access database on a web server). Is the connectivity handled the same way? Sorry for so many questions, but I just can find the answers I'm looking for when searching. I'm not necessarily looking for the actual code to do this, just an explanation of how it's possible (or even a link to some examples/tutorials).
I recently installed vb express 2008 and with that download i also installed Sql server 2008. Earlier i have been working in MS Access so i have no experience in SQL server. My first problem is how to start sql server. I can see only following:
Start>All Programmes>MS SQL server 2008>Configuration Tools, Import and Export Data(32 bit)>SQL server configuration Manager,SQL server Error and Usage Reporting,SQL server Installation Centre. Moreover in Programme Files i have two folders:
1. MS SQL SERVER and 2. MS SQL SERVER COMPACT EDITION
how to start to create a database in SQL server with Vb express 2008.
I have written a program in VB Express 2008 and published it so I can install on another PC. When trying to install on another PC I get the error message "Microsoft.VisualBasic.PowerPack.Vs Version 9.0.0.0 be installed in the Global Cache (GAC) first" I have already installed the .NET 3.5 and the PowerPack but I still get the message.
I have a copy Oracle 11g which is now fully installed. Will it work with Visual Basic Express 2008 or just Visual Studio 2008 Professional? I have both Visual Basic Express 2008 and Visual Studio 2008 Professional. I really would like to know if it works with Visual Basic Express 2008.
what happens if I use a font in my WinForms app that isn't available on the target machine - does it use a font in the same family or just Sans Serif or something else?
open and read and write and save to Excel and word documents in a program if the machine that is being run on does not have either of thies apps installed. Are there files that I can include in my application that it could be worked on in my application and not need word or excel?
I am using mshtml to parse HTML in my ASP.NET-MVC application. Works great on my development machine, which has VS2008 Professional installed. Works great on my staging machine, which has VS Express 2008/WebDev installed. But it throws a FileNotFoundException when trying to load the COM object on the production server, which has no versions of Visual Studio.
Exception type: FileNotFoundException Exception message: Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0,
[Code].....
I don't want to install Visual Studio on the production box. I have read a suggestion that running C:Program filesCommon FilesMerge modulesvs_piaredist.exe solves this problem but this directory does not exist on my production box. How can I use mshtml on the production machine?
I'm looking on the Internet but not found anything about how to detect what the frameworks are installed. Someone I can provide that code to VB. Net? TcoUpLoad (work with Vb6 and VbNet)
We have a certain application installed on a single machine. I would like to enable/disable a button based on the existence of this application. Is there a way to check for its existence from asp.net?
the app is currently on an XP machine, but want to code for Win7 as well. VS2008 3.51. Asp.net
I have a Windows application written in VB.NET in Visual Studio 2005.The application opens a form to perform some measurements and to present data.
The application works fine when i run it om my "development computer" in debug mode. Also when i install in and run it on my computer.
But when i install it on the customer computer and run it i get a form that is smaller in size (not as wide as in my computer) and the result is that lots of graphics components are located outside the form and therefore not availible for the user.
I'm creating a WindowsForm application and I need a code to check target's machine installed version of DirectX.If the reg key doesn't match with provided one >>> load the form and launch the DX installer "redistdirectx_Jun2010_redistDXSETUP.exe"If the reg key matches with the provided one >>> launch other application "Setup.exe"
I am developing a software and i need to make it save a text document, I can make it save it by writing the path of my document on my machine but it wont work on other machines when installed, how can I make it do this?
Question: How do I programmatically determine which provider to use (Microsoft.Jet.OLEDB.4.0 vs Microsoft.ACE.OLEDB.12.0) when my app runs as a 32-bit process on a machine with Office x64 installed?
I'm developing a VB.net WinForms app in VS 2010 and targeting both x86 and x64.The app processes data from xls, xlsx, mdb and accdb files using System.Data.OleDb:Dim oConn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=...")
The x64 version of the program works as expected. The x86 version works as expected on a system with Office x86.When I run the x86 version on a machine with Office 2010 x64, I get the following exception when trying to open a connection:
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.I believe this is because I'm running Office 2010 x64 so the x86 data access components are not installed.I can get it to work for Office 2003 files (*.mdb and *.xls) by changing the provider to Microsoft.Jet.OLEDB.4.0.
How do I figure out which provider to use when running as a 32-bit process on a machine with Office x64 installed?Ideally, I'd like a function:If ProviderIsAvailableFor("Microsoft.ACE.OLEDB.12.0") Then
Else If ProviderIsAvailableFor("Microsoft.JET.OLEDB.4.0") Then
I am planning to make a setup wizard for my program through visual studio 2010. My program uses SQL databases, and I just wanted to know if there is a way to check if SQL is installed through the setup wizard and if not install it. Or at the very least provide a link to where they can get an easy setup file.
EDIT: I'm starting a bounty on this question. For the moment, I've moved on and am developing my application using VS2010 Pro Beta, but I'd really like it to be able to be built with express edition, since we are generally not a .net shop and even if one or two developers have VS PRO it will not be available to our entire team.
To be the accepted answer and claim the bounty, you must provide sample code and instructions that will allow a Windows Service to be installed and uninstalled using vb 2008 express edition. You don't necessarily need to start with my code (but the essentials of it are included below).
wrote a program which works perfectly fine on the Win7 64 bit machine I wrote it on. Tried to run it over server and previous versions of windows (all 32 bit) and got an error (see screenshot attached) In some googling looked like there was an export function I missed so I've done: -Tools -> Options -> Projects and Solutions -> Check "Show Advanced Build Configurations" box -Project -> project properties -> Compile -> Advanced Compile -> and I've read there is something that should be changed here (the target framework?)
I'm using the setup method to deploy an app I wrote. The program installs fine, but If I want to reinstall it I get an error message saying the program is already installed and I have to uninstall it first. Is there a flag somewhere when I create the setup file to allow it be installed over itself?
My Visual Studio 2008 seems to be corrupted. I can not use the Windows Forms designer. I get an error about: "Make sure the application for the file type (.vb) is installed." Also, under menu item Tools>Options, it says "an error occurred loading this property page" when I try to look at the options for 'Data UI Customization' under 'Windows Forms Designer'
I wrote a program using VB 2005 Express edition using a computer with windows xp us edition. the program run fine on al machines here in San Diego but it gets a .net framework error on a computer in the Netherlands with a windows Xp Dutch edition.
I have been trying for days now how to create a process to the user to easily create a connection to any installed data types they have installed. I have found an example right inside vb2008. I never use this because I code my own connections, but this would be real nice if I could include it or duplicate it.