I've given a VisualBasic Software, written in VB5. Now the whole thing should run under Windows 7, so it needs to be converted to VB8 or VB9. It seems that most of the API of VB changed a lot in these years, so for me it seems quite impossible to run just a few code upgrades and everything is fine...
The biggest Problem are Forms. There are a lot of Forms in this Software, which are declared inside .frm files and begin always like this:
[Code]...
It seems for me that this Stuff was generated with an UI-Layouter, so none self written code is in there.Is it possible to run this code in VB8/9 or even rewrite it that VB8/9 understands it? I'm currently very pesimistic and think that the whole software needs to rewritten...
I'm developing a new SOA system right now, and would like to use WSDL2.0, but I heard some clients are still connect using VisualBasic and WSDL1.1 (mostly from excel sheets and stuff). So I was wondering if VisualBasic also supports WSDL2.0, or if it's all 1.1
I know WSDL2.0 will work with C#,Java,and most other typical application programming languages, and these languages will be used by most of our clients, but I don't want to alienate our VB users, so that's why I'm asking.
I am almost done cleaning the code. It is a huge project and I only have 35 errors left. I have opened a new thread as this is no longer only about IsNumeric. All errors relate to the following Microsoft.VisualBasic keywords:
If i draw a printform into my form from Visualbsic. poerpacks toll box then i get two errors:Error 1 'PrintForm' is ambiguous in the namespace 'Microsoft.VisualBasic.PowerPacks.Printing'. C:UsersAlvinDocumentsVisual Studio 2008Projects[code]....
When click on this error i Get: Me.PrintForm1 = New Microsoft.VisualBasic.PowerPacks.Printing.PrintForm(Me.components)
Second error
Error:PrintForm' is ambiguous in the namespace 'Microsoft.VisualBasic.PowerPacks.Printing'. C:UsersAlvinDocumentsVisual Studio 2008Projects isskov calculator[code].....
i need to add vscroll control to a form in VB.net and i need to use it to scroll the form where i need to add more controls in the form where the size of form not able me to add them ? and i need to know how to make the scrolling to show more controls in the form ?
I typically develop in C# and am quite accustom to using System.IO. I recently ran across the FileIO library and have found that some of the advantages (such as sending an item to the recycle bin) are quite nice to have. Especially in the program I am currently working on.My question is, Does System.IO out perform the VisualBasic.FileIO?My program I am writing will be copying literally TB's worth of information onto server towers. I want to make sure I do not lose any time due to the library I am using.
how to program the datetimepicker in visual basic windows form such that when the user clicks on a certain date and time, to choose from this date and time TO this date and time then he will be able to view the data from the database within that time frame. I am new to visual basic and have totally no clue as to how to program the control.
I have a method which takes a stored procedure name and a Microsoft.VisualBasic.Collection? I am referencing a vb project in which I have to pass in a collection to this method, but the current project I am in is in c#, so I am unclear what I can pass into the method?
Here is the vb call:
public void CallStoredProc(string spName, Microsoft.VisualBasic.Collection params);
In my c# app, I need to call this an pass in the appropriate c# object to params.
I am trying to use my .NET DLL library that is compiled in VIsual Studio 2008 in Linux. Now for that they have this Mono CLI implementation but unfotunately they have not fully implemented Microsoft.VisualBasic library as of yet. So when i try to call certain methods from my DLL i get this error: "Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.".
But not every function in my DLL crashes with this error. I found out that it is because this error only occurs when i use VisualBasic functionality. But the problem is that many things that come from this library are default things that you can do when using VB .NET.
Is there any way i can completely remove VIsualBasic functionality from my code in my DLL library?
I read in another post that setting Option Strict On is a good place to start but i still get the error even after doing that. Additionaly, i have unchecked VisualBasic namespace and removed it from references.
I want to get this Assembly version, I have an old application and lost the source code. When I try to disassemble with reflect it ask for Microsoft.VisualBasic Version=7.0.3300.0 Where I can find it?
I use VS 2008, .net 3.5, C# projects. I need do the same functionally like Microsoft.VisualBasic.FileIO.File System.DeleteDirectory. Anyone says referencing the Microsoft.VisualBasic is often undesirable from within C#. Any association with VB from within C# code strikes me as undesirable. Using FileSystem class, this is a perfectly fine solution, but I prefer not references Microsoft.VisualBasic library. That one I would avoid.
Is a VisualBasic 4-byte single precision floating point variable the same format as Visual-C++ float?
I need to send floating point values from an embedded PowerPC written in gcc C++ to a VisualBasic GUI,and want to first test it by simulating the embedded using Visual-C++.software developer
I've got a .NET solution that I've just upgraded from VS2008 to VS2010. It contains three web projects and two straight VB projects. The web projects all depend on (and have a reference to) one of the VB projects called BusinessLogic.All projects are targeted at .NET 2.0, but VS2010 is raising the following build warning:
The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: BusinessLogic, Version=1.0.4419.22315, Culture=neutral, PublicKeyToken=null. The dependencies are: Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.
When I start my application I get the following error:
method not found microsoft.visualbasic.msgboxresult
I have tried repairing my .NET installation.
Note: This error only occurs on one machine. On every other machine it works fine which makes me think something with the .NET assemblies was corrupted. It was working fine on the broken machine a few days ago.
I have application file and when clicked on it the application should be launched. I have used visualBasic.Command() to get the path where this file is present. In this path i get ("~") and because of this the .swf file is not getting loaded in the application. Is there any way to get the proper file path in which we don't see "~".
When ever I start a blank WPF project in Visual Basic 2010 (SP1) I get the following error:
Type 'Microsoft.VisualBasic.CompilerServices.DesignerGenerated' is not defined.
The error comes from the auto-generated code in MainWindow.g.i.vb - when I try to add a reference to Microsoft.VisualBasic, it says I can't because it will be added at runtime.
I want to see the source code of Microsoft.Visualbasic.Financial.IRR how would i break it and how would i seee the sorce code of IRR method of financial class?System{" df -k | awk '{sum += $4 }i; END {print sum} '"};
above line is not useful I've tried to view it using different software but it will not work for me is there any software that will view it source code.
I'm having trouble with a more complex program, so I've created a simple program to highlight my issue (see code block below). When I declare a Collection generically (like I have below) and try to call IndexOf, I get the following compiler error:
'IndexOf' is not a member of 'Microsoft.VisualBasic.Collection'. (BC30456)
If I instead declare my Collection as a collection of strings (Public mycollection As New Collection(Of String)), I then have access to the usual methods, but the .Add method then only allows a single string to be passed to it. This means that I can't use a key, which seems to be the point of a collection. Is there any way to have a general, keyed collection that can use IndexOf?
Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Collections.ObjectModel
I'm a beginner to Visual Basic. In here I want to recreate a piggy bank which tells me how much money do I have. I created a function but the program tells me :
I developed one application in VB.Net 2010. It worked fine on my laptop. Now when I run this on another PC, it just crashes and give windows error as below.
[CODE]..........................
Along with this.
[CODE]......................
This application required .Net framework 4 & Oracle 9 ODBC drivers, which I installed on new PC.
I am not able to figure out what is the problem exactly, however it seems something with .Net framework itself.