Control Which Version Of System.IO.Ports Application Uses?

Jan 16, 2009

i think there are errors in the SerialPort DataReceived Handler in .Net 3.5 and .Net 3.5 SP1. is there a way i can control which version of System.IO.Ports my application uses? i am using VB 2008 Express.

View 3 Replies


ADVERTISEMENT

Application Requires That Assembly System.Net Version 3.5.0.0 Be Installed?

Feb 4, 2010

Getting follwoing error while installing ClickOnce VB.net application"

"the application requires that assembly System.Net Version 3.5.0.0 be installed on GAC"

View 2 Replies

Multiple Instances Of System.IO.Ports.SerialPort?

Jun 3, 2010

How can I make multiple instances of System.IO.Ports.SerialPort and declare them on the fly? I need to monitor multiple RS232 ports based on the EU's selection. EU will select ports e.g. 1,2,6,9,11 and rename them as necessary. Selections will then be stored in a settings file.I would like to declare these at runtime e.g

Com1 is renamed LabelPrinter
Dim comLabelPrinter As New System.IO.Ports.SerialPort
With comLabelPrinter

[code]....

Or if not, make multiple instances based on the number of ports selected and renamed.The declaration based on the rename would just make it easier to work with but can be committed?

View 1 Replies

Change The .BaudRate Property Of A System.IO.Ports.SerialPort While It's Already Connected?

Nov 18, 2010

For whatever odd reason, we have a legacy data recorder device that runs at 9600 baud. Except when it needs to transfer its recorded data to a PC, in which case it switches to 57600 baud.

The old VB6 code worked, although it had its own set of problems of course.

The routine is this: Do several COMMAND/RESPONSE routines to populate a list of available records, listed by timestamp, at 9600 baud. Once a timestamp or several are selected, display a file save dialog. At the moment that dialog is closed, send a command to the device to tell it "hey we're going to warp", sleep for 100ms, then set the baud rate property of the persistent COM1 connection to 57600, before beginning to process XMODEM data and do the progress bar dance.

The problem I'm having is that it doesn't appear that the data received is ever really kosher as far as the byte marshaling is concerned. Which makes me wonder just how well SerialPort is at dynamically changing bauds on the fly. The VB6 version used MSComm.

I've even attempted to just use MSComm through the compatibility layer but "CTL_E is not supported" which makes it sound like it's incapable of doing XMODEM. (?)

View 1 Replies

How To Compare Against Application.info.version To See If It's Latest Version

Jun 24, 2010

I have a XML file with the latest application version number, I have this loaded into a variable, how can i compare this against the application.info.version to see if it's the latest version??

View 3 Replies

Auto-check For New Version System Update When The System Is Closing

Nov 16, 2011

i would like to auto check for new version system update when the system is closing. When there is the new version system update, will automatically rename the active exe to FileName.old then copy new version of exe into the folder.

View 1 Replies

VS 2010 Timer Application To Control A Greenhouse Misting System

Mar 3, 2012

I`m fairly new to coding (2 weeks) and having some trouble with a timer application to control a greenhouse misting system. The problem arose after resolving the 65 second interval limitation for tmrPause, it appears the tmrPulse line is never reached as lblCycleStatus.Text doesnt display "Pulse" where it did before. I may have bitten off more than i can chew for a first project but i`d appreciate any pointers as to where i went wrong so i can learn from it.[code]

View 5 Replies

VS 2008 - Get The Caption Property Of Serial Ports Available On Computer - Error "A First Chance Exception Of Type 'System.InvalidCastException"

Nov 12, 2009

In my project I'm trying to get the caption property of serial ports available on computer. But when I run this code below I get "A first chance exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll" exception. I tried putting "Option Strict On" and then I'm getting build error saying it disallows Late binding.

[Code]...

View 5 Replies

IDE :: Assembly Version, File Version And Publish Version In ClickOnce In VS 2008

Mar 31, 2009

How they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?

And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?

BTW I am using VB if that makes any difference.

View 1 Replies

Set 2008 To Run The 32 Bit Version In Windows 7 64-bit System?

Jan 15, 2010

I am trying to develop an app that uses a .dll that was developed for 32 bit systems. I get no error in VB or the compile.

Under Debug section of Properties the Platform Drropdown only says "Active(Any CPU)" How do I add x86 to this dropdown?

View 2 Replies

WebBrowser And IE Default System Version?

Apr 17, 2009

I'm using a WebBrowser Control and I created a html page that display the Web Browser version.I have IE 8 installed on my Vista and when I run my app WebBrowser that load the script, It's tell IE 7 version?How can I force WebBrowser Control to use the last IE installed?

View 2 Replies

VS 2008 Change The Application Version Without Publishing The Application?

Sep 23, 2010

Is it possible to change the application version without publishing the application? Because I'm going to make an auto updater which needs some version information to work, but I don't want to have an installer.

View 3 Replies

IDE :: Multiple Version Intallation In A System Through ClickOnce

Jun 5, 2009

Currently we are working on a desktop applicaiton for which we used ClickOnce deployment.Recently we have released a PROD version as BETA to few selected users.So they have the PROD version installed in their system.Now those users need to test the QA version as well as part of forthcoming releases.How they can have the both versions installed in a single system through ClickOnce?While preparing deployables, is there any configuration to achieve that?I was planning to specify the differenet target directories for different versions.But as per the following discussion it seems there's no way the target directory can be specified url...

View 2 Replies

IDE :: Why System.dll Is Not Referencing The Latest .Net Framework Version

Apr 25, 2010

I have a VS2010 solution (upgraded) that has two projects, an EXE and a DLL. In both the Target framework versions are 4.0. When one look at the references of the EXE project, one can see that the System.dll (and System.Core.dll and so for) references to the v4 version (the latest); however, in the DLL project the references points to the .Net Framework v2 version. Why is this happening? How can I make all my projects to point to the v4 libraries?

View 3 Replies

.net - Telerik Version Of System.windows.text Code?

Jun 8, 2012

I want to have a partial class to manage my focus between radtextboxes when a user presses the enter key and I am looking for the telerik interpretation of this line of code tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)?

Partial Public Class MstFileTruck Inherits Form
Private tbs() As Telerik.WinControls.UI.RadTextBox
Public Sub New()

[code]....

View 1 Replies

System.Data.OracleClient Requires Oracle Client Software Version 8.1.7?

Jan 15, 2009

I have a web site that I developed on Vista using Vb.net9. It makes a connection to Oracle. for the connection I use System.Data.OracleClient. It works fine on my machine, and our test server, but it does not work on the production server. We installed the Oracle Client 11 on the server. The error is System.Data.OracleClient requires Oracle client software version 8.1.7

We've tried, making a console app that opens the connection, connection runs fine, opens, displays a message and all is well there.Then we make a simple web form, put it in the directory of the program, just a button, opens the connection, try..catch, grabs error, same error.The console app was running under an Administrator, web site running under iwam. Is it possible that iwam has a different path?

View 5 Replies

IDE :: Visual Studio 2010, Target .net 3.5, Dll Fails On Load - System.Drawing, Version=4.0 ?

Aug 30, 2011

I have an desktop application that references several dlls. All are targeted for .Net 3.5, x86. The applicaiton has been deployed for several years and was upgraded from visual studion 2008 to 2010 last year. I have made several changes to the app since then (as recently as last Thursday) with out any issues. Now, everything builds, but when I run the application, I get a type initialiazer error when one of the projects is loaded by the main application.

The error messsage is {"Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.":"System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"}.

There were no changes to this project since the last successfuly deployment last week, but today I am getting this error.

View 14 Replies

System.Data.OracleClient Requires Oracle Client Software Version 8.1.7 Or Greater?

Oct 12, 2009

I am using VS 2008 with frame work 2.0. On my development machine I am using Oracle 9 as database. When I deploy my application where Oracle 9 is installed it works properly. but it gives error on oracle8 NT installed machine as follow.

"System.Data.OracleClient requires Oracle client software version 8.1.7 or greater "I can get rid from this error.

View 1 Replies

Deployment :: System.Data.OracleClient Requires Oracle Client Software Version 8.1.7 Or Greater

Apr 10, 2009

i was under the impression that using the System.Data.OracleClient namespace will allow me to deploy my application without having the client machine install any OracleClient software besides the .Net Framework 2.0 which if i'm not mistaken, contains the System.Data.OracleClient.dll.

but after creating a WinForm application and then publishing it thru ClickOnce , i found myself getting this error when running the application on the client machine. is this a normal behavior or did i do something wrong in the process?

View 1 Replies

IDE :: Warning 1 Could Not Load Type 'System.Object' From Assembly 'mscorlib, Version=2.0.0.0, Culture=neutral

Jun 22, 2010

I have a simple application, that was working just fine then all of the sudden I open the file and the design pages will not show up and I get the following warnings:

Warning 1 Could not load type 'System.Object' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' because the parent does not exist. G:ProgramsCONNS v 1.0ConnectionsFrontPage.Designer.vb 149 0

View 4 Replies

Get Version Of An Application

Nov 8, 2010

How can I get the versioning info which is located in the properties of a non-running application. In other words, something perhaps as simple as :[code...]

View 2 Replies

Microsoft Script Control, Version 1.0 X64?

Feb 22, 2012

I am using Microsoft Script Control, Version 1 on the application and it works fine on 32-Bit OS, but when i upgrade to 64-Bit OS it stops working and the only workaround is to build the application as x86 and the application will work fine on x64 OS but will run under 32 Bit process.

Now I am looking for alternative ActiveX or method to get my application work on native 64 Bit OS.

Is there a quick way of getting this fixed with minimum code change?

View 5 Replies

Pass Version Of Windows To A Control?

Aug 25, 2008

how to return the following operating system data to a control:1) Version of Operating System2) Version of Service Pack3) Version of .Net Framework

View 7 Replies

Displaying The Application Version?

Sep 14, 2009

I would like to display the application version as in Help -> About in microsoft office. It's going to be displayed in a label maybe. I have this code but it does not work, it always displays 1.0.0.0..... -.-

Version = My.Application.Info.Version.ToString

View 2 Replies

Publishing An Application In An Old Version Of .NET

Dec 30, 2010

I've written a really simple launcher app for my team at work to use. However I wrote it in VB.net Express 2010 so its using .NET 4. I need it to be compatible with older machines that are using .NET 2 or maybe 2.5. I don't want to force upgrading to a higher .net if its not needed. And in some cases we work on old machines that can't be upgraded. My app is really simple and I'll post the code if needed. I am still a noob, my coding is ugly, and this is a quick and dirty tool.

View 1 Replies

.net - Using A New Version Of A User Control WITHOUT Removing And Replace Each One?

Nov 6, 2011

I'm self-taught in VB.net, having been a VB6 developer for years. I'm now out of the field but I'm making a forms app that I need for my new business. I am using VB2008 Express, and I'll upgrade to later versions when necessary. Because I am self-taught I mostly work from examples and there's a lot about .NET I don't understand.

SITUATION:I've built a Usercontrol. (A custom datetimepicker which I call "datebox"). Then in my application project, I add it to the toolox, then plunk it on a form. It works great so I use it many times in my project, each time with a various properties. No problem so far.

[Code]...

View 1 Replies

VS 2010 Auto-increment Version Control

Apr 26, 2010

Since my VB6 days I've longed for this feature. Every time you build a version it increments by one. On VS2005/2008 I've seen a few 3rd party programs or tips and tricks to get something similiar. I mean who wants to see a version no. like 1.0.1234.5678789 I used to use autobuildversion but can't seem to get it working on 2010. Has anyone managed to get the auto increment to work in any shape or form. I can't find the AssemblyInfo.vb file to edit so my program is stuck on 1.0.0.1 unless I manually increment it? I mean is it so hard to implement a built in auto increment function, or am I missing something?

View 5 Replies

VS 2010 Simple Version Control Guide?

Apr 10, 2012

I'm a novice who does not need installers yet and does not collaborate and I was hoping someone might be able to point me to a simple guide for incrementing versions and backing up the source files so that if I ever needed to I could get back to the previous versions. I just don't want to get into Visual Source Safe, Team Builder, or other big hairy version management software. Also my VB Express book only talks about using the ClickOnce solution which doesn't seem like it's a fit for my needs. I'm thinking I should be able to do a build manually incrementing the version and manually archiving files or folders to a certain location.

View 4 Replies

Change Each Version Increment In Application?

Jul 12, 2010

Well I just did an update on my application-i fixed a few major bugs and minor bugs and did some UI enhancements- my old version was 1.0.0.0 should it now be 1.0.1.1 or 1.0.1.0 or 1.1.0.0 or 1.1.0.1? I need to know when I should change each point...Should my revision increment increase by one every sing time, even if i updated the build? The Minor? Major? Please Help-I want my application to be as professional as possible.

View 9 Replies

Creating A Trial Version Of VB Application?

Sep 25, 2010

I created an application in vb.net using visual studio 2010. I want to create an installation file of the application that will not be free with a license so I want to create a trial of 30 jours.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved