Including NET Framework 3.5 - SQL Compact Server And Other Packages In VB 2008 Application Installation
May 22, 2009Including NET Framework 3.5 - SQL Compact Server and other packages in VB 2008 Application installation
View 5 RepliesIncluding NET Framework 3.5 - SQL Compact Server and other packages in VB 2008 Application installation
View 5 RepliesI've written a program that works perfectly well when installed on my development PC, but when I use the wizard in "Build-> Publish" and install the software on another computer it complains it can't find the DLL that I've linked to.The DLL comes from a programmable board that I'm linking to, so I don't have access to the source code, and I've included it in my project using the following lines:
Declare Function InitMbee Lib "C:UsersMartin & CelinaDesktopVBminimb.dll" () As Boolean
Declare Function SetOutputs Lib "C:UsersMartin & CelinaDesktopVBminimb.dll" (ByVal outputs As Integer) As Boolean
However I've not included the DLL in any other way, so I'm wondering if I have to add it to a list of items that need to be included with the installer, or if I've declared it in such as way that it needs to be in the same place for all installations.
Had any of you tried to migrating the code written in Compact framework (For Windows CE mobile application) into windows application 2010 I did this but getting .resx error i.e resource file error since it is in old version.Has any of you tried a workaroud on this in order to get rid of .resx error.
View 7 RepliesI need to include my application in a custom Preinstallation Environment I am creating. The problem is that in order to include the framework within my PE would require a ton of extra work plus increase the size by a huge amount.I know that you can use an application like XenoCode to include the framework dependencies, but the cost of their software is pretty high.
View 7 Replieshow to create a setup in vb.net that comes with a ms access database and the .net framework if it is not existing in the system.. and also a crystal report... and also i want my database go automatically to C:
View 9 RepliesI am building a VB 2008 Express Edition application.I have built a database (with a single table) using SQL Server Compact 3.5 and have connected it to the project. I am able to view and edit the data using a DataGridView on a second form (tutorial made this very easy). I need to work with the data in the table within the application. how to easily load the entire table into an array or even read the table a row or cell at a time so that I can make all of the data available for manipulation within the application (the tutorials only seem to show how to display the data).
View 7 RepliesI have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.
Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?
In a Java class library I can divide my classes into packages to make them easy to manage under one root and several 'branch' namespaces, but in VB there is no sub-category in a project, all the class files are in there by alphabetical order, when the library gets big it's a mess. Is there a better way to manage class library in VB? I use visual basic 2010 express.
View 2 Repliesusing VB 2008 Experess and SQL Compact Server. I find my connection string saved in my application configuration file, but when I refer to it by name I get this error message: Error 1 Reference to a non-shared member requires an object reference.
[Code]...
I have created a VB form where I select the "API Type" and click "Generate API" buttoThe dropdown "Environment" should show all users in database. in this casefoo, dead, cafef i select cafe, I want the "changepass" table to be queried and display the password for the user cafe.
View 1 Repliesread the ip-packages sent to my application. Im using a webbrowser and the httpwebrequest. I don't need the packages sent to the other applications, so im not trying to track passwords or something bad, but I thought it would be fun to get some numbers running over my screen.
View 1 RepliesI need to create a sound if validation fails. Anyone know how to do that? It can be a wave file or any kind of format.
How can i create a sound in .net compact framework 2.0. using vb.net. I saw codes asking to use system.media class. However in compact framework there do not seem to have this class.
I want to use MySQL with my mobile phone. I have installed the "MySQL Connector" and use this
Dim conn As New MySql.Data.MySqlClient.MySqlConnection
Dim myConnectionString as String
[CODE]....
My machine has erros with "MySql.Data.MySqlClient.MySqlException" and "MySql.Data.MySqlClient.MySqlConnection"
How can i solve this problem? With the normale Framework i can use MySQL...
I cant understand why sending parameters to insert function works slow in .net compact framework.
Forexample following code inserts within 2 seconds
[Code]...
Anyone doing anything with VS2010 and the compact framework ? or do we need to go back to VS2005/VS2008 ?
View 1 RepliesI need to replace WebRequestFactory, what is this doing?
Public Shared Sub download_file()
Dim wr As HttpWebRequest = CType(WebRequestFactory.Create("http://www.test.com/test.jpg"), HttpWebRequest)
[Code]....
I'm sure this has probably happened to most people but I've run out of UI space and need to create a hotkey or some similar situation to run a method or function.
View 3 RepliesWe are in the process of creating a new WCF web service (WCF service that has an basicHttpBinding Endpoint) to carry out some of our business logic. The web application connects not problem at all, however our legacy Compact framework application doesn't seem to see the service at all. Are we on to a loser here and should we just revert to ASMX web service (the Compact framework cannot be upgraded) or is there a way around this?
View 1 RepliesI am building an application for windows mobile 5.0 using the .net compact framework and the mysql compact framework connector.Using this very simple app, I test the connection to our database:
Dim connection As New MySql.Data.MySqlClient.MySqlConnection("Server=160.10.1.25;Uid=***;Pwd=***;Database=DevAutomate;Pooling=false;")Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
connection.Open()
connection.Close()
End Sub
In the beginning, I was using an emulator to test this and I was getting a MissingManifestResource error. When I figured out that the emulator didn't have a network connection, I connected it to active sync and used the device emulator manager to simulate cradling the device. Next, I got my hands on a HP iPac mobile device running windows windows mobile classic and I get the MissingManifestResource exception again. This time, I have a network connection on my device and it can definately see the database.
[code].....
View 3 RepliesI am working on the mobile device application and I have a simple form where I have a text box+submit buttom and datagrid
On value enter in textbox+submit, i want to display the the data related to that value (txtbox) in grid.
Now in the compact framework there is no option like Selected value There is selected all, selected text. With the use seleted text is not working.
Dim con3 As New SqlConnection("xxx")
con3.Open()
Dim cmd3 As New SqlCommand
[Code].....
How do I know wich is the current folder of an App?? I mean... Is there a way to know where is the exe located from the running code?
View 5 RepliesThis is the first time I am working on compressing and decompressing data. I have a byte array(a dataset before compression) which is an already compressed data and I want to decompress it. But the decompression is to be done in .Net Compact framework 2.0 and this framework doesn't have System.IO.Compression library to use GZipStream or DeflateStream.
View 1 RepliesI'm developing an application with visual studio 2008 and compact framework 3.5 who needs to tell users about the compact framework version. If the user don't have the version specified in the application it sends a message but windows check the version before the application runs and send error message. How can i check the version before windows in vb without compact framework?
View 1 RepliesHow can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked:
Shift
CTRL
ALT
and for the Psion Teklogix machines
Orange
Blue
Although I may be able to work this out, if I can determine the others.I want to create my own on-screen indicator panel and want to poll the keys, not using events.
im trying to creat a pocket pc application using visual basic. but i got problem access text file. system always shows that "counld not find a part of path". the code i wrote is like:
Imports System
Imports System.IO
Public Class Form1
[code]....
Is the Compact Framework still in work? It's not in Beta2.
View 2 RepliesI am writing my first windows ce app. I am using an xml file (app.Config) to store state data... basically user preferences on the last location (connection string) that the person was using before closing the app. I am having trouble understanding what is happening on deploy. It looks like it is copying my xml file to the debug folder on deploy. My problem is, when I save the xml file it is not saving in my project. Is there another folder in which the emulator resides that contains all of the state data and possibly the file that I am writing out? I am saving the doc to the same filepath as I am reading in but it does not actually save or throw error or anything.
View 2 RepliesMicrosoft provide a plug-in for Visual Studio .NET 2003 that allows you to easily include the .NET Framework in your setup projects.
View 4 RepliesIs there a bootstrap program we can download somewhere to bring in the framework 2.0 on machines where we are installing a vb.net 2005 app using the setup deployment project as was done with .net 2003 and framework 1.1?
View 3 Replies