Upgrading From 2008 To 2010 VBScript_RegExp_55 No Longer Works?

Dec 2, 2010

There shouldn't be any problem whatsoever right?

VBScript_RegExp_55.RegExp
and
VBScript_RegExp_55.MatchCollection is gone

VBScript_RegExp_55 name space is still around but only contain interface globalObj and errObj.

View 9 Replies


ADVERTISEMENT

Sending Emails With Gmail And C# No Longer Works

Jan 28, 2012

When I try to send an email with Gmail using VB.Net or C# I keep getting the following message: Failure sending email - An attempt was made to access a socket in a way forbidden by its access permissions - Unable to access remote server. I have tried using several Gmail accounts including VB.Net code that worked in the past, like the following:

[Code]...

View 3 Replies

IDE :: "Find All References" Search No Longer Works

May 9, 2007

I've used the right-click "find all references" to quickly show find symbol results for objects, subs and functions in my projects. Today it stopped working in the main asp.net solution I'm working on (in other projects, "find all references" works without problem). Everytime I try to search I get "search found no results". If I right click on reserved words, matches are returned but any of my code returns nothing.

The project builds without issue and I can use the regular Find and replace dialog.

View 14 Replies

VS 2010 Upgrading To 2010 IDE But Target To Framework 3.5

Apr 14, 2010

I've developed an application using VB 2008 Express and there are some customers using it,of course they have framework 3.5 installed.Can I upgrade to VB 2010 but keep target of my project to framework 3.5 (there is a option on Compile tab to chose target framework version),is it a good idea or not ?

View 5 Replies

Form_Load Not Executing After Upgrading To VS 2010

Jun 19, 2010

I have a piece of code like...

If FRM_LOADED(lngID)
Then
FRM_X(lngID).WindowState = FormWindowState.Normal

[Code]......

and in VS 2008 the form (FRM_X ) loaded and invoked the Load method. After upgrading to VS 2010 the same code executes and displays the form but the Load method isn;t executed.

View 3 Replies

VS 2010 Random AccessViolationException's Since Upgrading?

Mar 2, 2011

We recently upgraded VS 2005 to VS2010 and converted an application seemingly without any problems. But when deployed to the customer they are getting intermittent errors at seemingly random places in the program which force the application to close and AccessViolationExceptions being logged to the Application Event Log.

The customer's site is a multi user environment with the application hosted on a server and users running the app via RDP. We get two errors in the event log:

Application: ContainerDepotSystem.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:

[Code]...

View 12 Replies

Upgrading An Old Access 2000 Database To (2010)

Dec 21, 2011

I am working on upgrading an old Access 2000 database to VB .NET (2010). There is one form that I am having trouble figuring out how to build so that it works similarly to the Access form. In Access, there is a header, detail and footer for this form. The objects in the detail section only need to be created once and Access will "copy" them for each record in the database and fill in the appropriate information (the form objects include buttons, textboxes, comboboxes, etc.).

How can I do this in VB .NET? Each different area that is chosen will have a different number of sections. I've thought about using a GroupBox, but I'm not sure how to make that work.

View 2 Replies

Upgrading From Vb6 To Visual Studio 2010 Beta?

Nov 20, 2009

I am trying to upgrade a project that was originally designed in Vb6 to Visual Studio 2010 beta. In my application, I communicate with a device that has embedded code through a serial port. My Vb6 project states the following and works: SerialPort.Output = Chr(&HAD) My new code in Visual Studio states:

[Code]....

I am using the MSComm controll. I have duplicated all the settings from the older program.

View 3 Replies

IDE :: Upgrading Project From Vb6 To Visual Studio 2010 Beta?

Nov 20, 2009

I am trying to upgrade a project that was originally designed in Vb6. I am trying to bring it forward to Visual Studio 2010 beta. One problem that I am having is that the testbox.locked property is no longer supported. What would be an appropriate property to use in this case?

View 2 Replies

VS 2010 Replacement For Image Control Array Upgrading From VB6?

Dec 23, 2009

I am upgrading my program from VB6 to VB2010. In VB6 I am using about 200 pictureboxes loaded at runtime starting with one of each different picture

Private Sub Form_Load()
Image1(0).Top = 2340
Image1(0).Left = Screen.Width - 1300
Image1(0).ZOrder 0

[code]....

What can i use instead of control arrays in VB2010 to get the same functionality as in VB6, or does VB2010 use control arrays?

View 3 Replies

Sql - Upgrading Old Crystal Reports Project To Visual Studio 2010?

Jan 5, 2012

I have to update and old VB project made with Visual Studio 2005 that uses Crystal Reports to Visual Studio 2010. I've installed the Crystal Reports plugin for VS 2010. I can compile the program under VS 2010 but when I run it and try to generate a report I get many errors popping up from the Crystal Reports Viewer. When I compile and run the project in Visual Studio 2005 (with the old Crystal Reports plugin that comes with it) everything works fine.

The problem is caused by SQL Expressions that are SELECT statements that are not enclosed in parenthesis. This is a problem because there are ~250 SQL Expressions like that in the report file (and it's not the only report with this problem). When I look at the .rpt file in Crystal Reports 10 and use Database -> Show SQL Query the SQL Expressions have parenthesis around them despite there being no parenthesis around these statements in the SQL Expression Editor. When I do the same in Crystal Reports 2008 the SQL Expressions don't have the parenthesis included.

Is there a way to make Crystal Reports 2008 or the plugin in for VS 2010 automatically include the parenthesis around SQL expressions, or was this feature removed? If it was removed, is there anyway to enclose the SQL expressions in parenthesis other than editing each one manually?

View 1 Replies

VS 2010 - String Length No Longer Available

Jul 17, 2011

I have an API that loads into memory from a button click. It can then either load an approx 10MB txt file (ASCII comma delimited characters/decimal list as a string) or live timed data from the internet. The idea is to be able to view the data in a text box. From there I can see what I am doing as far as spitting that info into a datagridview or database. The data is completely out of order in the txt file but has various Getinfo Functions / DLL's accessed via button clicks that split the data into its correct format to display in the text box. The problem I am having is not having fixed length strings in VB 2010. I don't know enough to work out if there is a simple work around or something more complicated required. Everything I have tried has left the textbox empty.

VB 2005 code that works:
Option Strict Off - I want to solve with this ON
Option Explicit On - I want to solve with this ON
Imports VB = Microsoft.VisualBasic
Private Sub Command3_Click(ByVal eventSender As System.Object, ByVal eventArgs As
[Code] ....

View 13 Replies

Upgrading VB6 Raster Map To VB 2008?

Dec 15, 2009

a while ago I developed an interface that shows raster maps under VB 6.0 (see, for example, slide 5 "Forest Stand Development" on [URL]

I would like to rewrite the code in VB 2008 (or download open source code) to transfer everything to VB 2008. But rather than just putting a picture control on a form as I did before under VB6, I would like to learn and adopt some new technology while continuing to use classic Windows form coding. WPF technology (see [URL] is way over my head.

View 1 Replies

VS 2008 Upgrading From Put To FilePut

May 28, 2009

I recently upgraded an application that creates several report files, that are read by an older VB6 application that i cannot upgrade. I've gotten everything working (faster than i expected) except the new FilePut. I'm saving the ubound of an array, which is a UDT, Then saving the array itself(which again, is a UDT)No matter what I do, the file is about 7 b larger, and doesnt want to read in at all in VB6. For example, I put an 32 bit integer into the file, say 4000, VB6 reads it as 3948395 or so, it seems its padding the file at the beginning or something.

And Yes, i've tried microsofts ArrayIsDynamic function, but it seems to have made no difference at all.

View 1 Replies

VS 2008 Error Upgrading Vb 6 Code?

Dec 17, 2009

I'm trying to upgrade sum vb 6 code to vb.net 2008 but I'm getting an error.'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.How can I fix this.

Public Declare Function EnumChildWindows Lib "user32" (ByVal hWndParent As Integer, ByVal lpEnumFunc As Integer, ByVal lParam As Integer) As Integer

[Code]...

View 2 Replies

VS 2008 Upgrading From Vb6 To .net08 Express?

Aug 19, 2009

this is my first try with .net 08 express. i have up graded my project from ((vb6 + ado) & access03)to .net express 08 every thing is almost fine except that the functions i defined with in the standard modules are
becoming inaccessible to the program. there are 4 modules & more than 25 functions & other constants , sub,public variables are defined

View 3 Replies

IDE :: Upgrading App Deployed As A Remote App On Server 2008

May 20, 2010

I have a vb.net app that is installed on server 2008 and registered as a remote app with approximately 70 users accessing it. There is an issue that when I put a new version of the app on the server, every user must remote desktop in and run setup.exe before the app will update to the newest version. If they try to run it without doing this step first, the app just runs the previously installed version under their login.

View 2 Replies

Upgrading To Visual Studio 2008 From 2003

Jul 24, 2009

I am in process of upgrading to Visual Studio 2008 from 2003. Most of the upgrade is easy except this one issue:When application is trying to Decrypt encrypted data from database, it is throwing following error. This code works fine with Visual Studio 2003.[code]

View 3 Replies

.net - Visual Studio 2010 Debugger Is No Longer Stopping At Errors

Jul 11, 2011

I was woking on a windows app today when my errors were no longer being displayed as they usually would, instead the debugger just jumps out of the method. It works in other projects, I have put this: 'Dim i as Integer = "A"' in as my first line to try and raise an error but it just exits the sub on that line.

The output window makes a note of the exception but the usual popup trace does not appear, any ideas how I get it back??

View 3 Replies

2003 Upgrading To 2008, Implement The New Data Features In An Application?

Dec 17, 2008

I am upgrading from Visual Studio 2003 to Visual Studio 2008. ow I should upgrade my project.My project is in Visual Basic.Net, and using an Access 2003 Database. I have four datasets, MainDataSet (for the main data tables) LookupDataSet (for lookup tables States, Countries, Colors, etc) OneFormDataSet (data used on only one form) and ReportsDataSet (data used for reports).I have one form "OleDbAdpatForm.vb", that has all the OleDbDataAdpaters for my project. It also has the DataSets and the OleDbConnection.I have public functions that enable me to load the data tables.

I have a LoadTable function when I can pass a column and a value, and the SQL select command is updated with a WHERE or HAVING, so only the requested data is selected. I also can pass the whole "WHERE ..." part of the SQL select command, so I can have multiple parameters in the SELECT command.On my other forms, I have copies of the DataSets, so I can design grids/controls. In the form_Load events, I manually bind the controls to DataSets and tables in located "OleDbAdpatForm.vb", so all forms are using the same data tables, and changes made to data in one form are reflected in data in other forms.The VS 2008's DataSources, BindingSources and TableAdapters seem much easier to use. how I should implement the new data features in my application?

View 2 Replies

VS 2008 - No Longer Compress Images In Resources Folder

Jun 5, 2010

Recently I uninstalled and reinstalled Visual Studio 2008. Before that, Visual Studio compress images that I put in the Resources folder. In this folder I put images in PNG format for use in the project. When I was compiling the project, the executable was of a size much smaller than the sum of the bytes of the images as they were compressing in the compilation. The sum of the size of the images gives a 47MB, and the file compiled with the images was around 3.5 MB. But now the images are not compressed. For the resulting executable with the build is about 48 MB ... I'm deducing the problem is because the images were not compressed ...is it so?

View 5 Replies

VS 2008 Async Socket Connections - Clear Out No Longer Useful Sockets From The Server?

Dec 18, 2009

I have been developing an async socket connection server and client program. I have been testing it, and noticed that if I connect to the server from my client and then disconnect. Upon reconnecting I am on a different port(local IP still). This is fine, however when I go to send a message, and the server trys to update all the clients, it eventually hits clients that do not exist anymore. I get the SocketException 10054, and upon connecting/disconnecting enough, it no longer works at all. My question is how do I clear out these no longer useful sockets from the server? I am doing currentsocket.Shutdown(SocketShutDown.Both); and then a currentsocket.Close(); after that. When a user disconnects.

[Code]...

View 1 Replies

VS 2010 Set Form Size Longer But After Building Project Form Re-sizing

May 1, 2010

I'm trying to set form size longer, but after building the project form resizing.

View 1 Replies

VS 2010 : Code Only Works In One Form?

Jun 16, 2012

It is a word scrambler in which the user must guess the word that is scrambled. It is not completed obviously but the code only works with one form. As soon as I include other forms for title screens and the likes, the code doesn't work at all.Here it is (This is the multiform version):

Imports System.Text
Public Class Form3
Public word As New List(Of String)

[code]...

View 3 Replies

VS 2010 : HttpWebRequest In A Loop Works Only Once?

Jan 5, 2012

I�ve had success using the GET method to retrieve a series of web pages but my new challenge requires me to use a POST > GET combo. I can get it to work once just fine but no more. I get the feeling that something isn�t closing or completing properly. When I try to do the second GetRequestStream() I can see from my sniffer app that nothing is being sent so when the next command to stream the POST data to the request session it fails. I removed it all from the loop and simplified it as much as possible. Can someone tell me why it fails?

Also as a general question is my tack or reusing WebRequests viable? Or is there a �best practice� for looping a POST > GET combo? I�ve been assuming that since nothing in the WebRequest changes besides the post data I�m sending, even its length remains the same, that I should be able to re-use it.

Dim Cookie As New CookieContainer
Dim encoding As New UTF8Encoding
Dim byteData As Byte()

[code]....

Note: The section after the �Experimental comment is a surrogate for the second iteration of the loop. The GET that normally follows the POST section has been removed.

View 1 Replies

VS 2010 Code Works In One Program But Not The Other?

Nov 23, 2010

I have a program that uses the mouse to find window captions. I made a test program that just does that and it works fine. I copied and pasted the code into my other program and it doesn't work. The mouse position changes, but it will only get the caption of a window if it is at the top of the screen. It seems that only the Mouse.X position is changing, but I put the MousePosition.X and Y in a label and they are both changing. Can anyone explain why this is happening?

[Code]...

View 6 Replies

VS 2010 Hotkey Works Once Then Stops?

Oct 26, 2011

vb
<System.Runtime.InteropServices.DllImport("user32.dll")> _
Private Shared Function GetAsyncKeyState(ByVal vkey As System.Windows.Forms.Keys) As Short
End Function

[code]....

I run the debugger and hit the P key the programs hides, but when i go to hit L key i hear a bing and nothing happens.

View 4 Replies

VS 2010 Script Only Works When Use MsgBox()

Jan 2, 2012

Taking the following

vb.net
Dim ImageMagick As String = ""
Dim convert As String = ""
Dim mogrify As String = ""

[Code]...

When I run it, it works because I have MsgBox() in there (at the end of the script). As soon as I remove MsgBox() it stops working properly, why?

What it should do: When the program loads, it will call my sub, the sub will check to see if the two files exist, if they don't exist a folder dialog box is opened and you select the folder that they are in, it will then call it's self again and do the same thing. If the files do exist it should continue with the program.

The Problem is, that it only works the way I want when I have the MsgBox() function there otherwise it only works if you select the correct folder the first time the dialog pops up.

View 3 Replies

VS 2010 Works On Win XP - Dosent Work Windows 7

Nov 4, 2010

I have an app that moves the mouse, and does a click on the screen however, it seems to work great on windows XP machines, and when i try it on my windows 7 box, the window dosent close, or do anything..

I typically will hit my "execute" button, that will minize the window, then i place my cursor where i want it to go, and hit space bar, and it should move my mouse up a few spaces, click, and move to the next.. But again, winXP it works fine, win7 dosent do anything.

Imports System.ComponentModel
Imports System.Runtime.InteropServices
Public Class Form1

[Code].....

View 6 Replies

VS 2010 - Email Client That Works With IMAP And POP3

Jan 25, 2011

I'm trying to make a email client but my biggest problem is finding a component that is (preferably) free. I need one that works with IMAP and POP3. Also would be nice if it could handle sending emails (Via SMTP). It would also be great if it worked with gmail.

View 13 Replies







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