Visual Basic Projects With Source Code

0 views
Skip to first unread message

Martha Vanschaick

unread,
Aug 5, 2024, 4:47:07 AM8/5/24
to surmeboxti
Ihave large visual basic 6 project with 50 forms and many modules. When i open a form i found some variables/functions used in that form is not originated there. Then how can i find out where it is first written without going through all codes.

The Goto definition SHIFT + F2 is what I use when working in a smaller project. However, if you want some real power, download and install MZ Tools or Agent Ransack. I personally use MZ Tools and it has some fantastic features for VB6 such as finding occurrences of variables, methods, etc plus a plethora more features that I know you'll find extremely useful.


Functions can also be declared at a global scope in .bas files as well. They were generally referred to as "modules" to differentiate them from the .cls files VB6 adopted in its own flavor of object programming. You'll also find Win32 API function declarations in there...


I recently moved my plug-in files (the visual basic project, source code, solution etc. files) around ( actually I uninstalled and reinstalled dropbox, which is where they were stored), and am now getting the following error when debugging using Visual Studio 2010:


Message: Transition into COM context 0x1df0238 for this RuntimeCallableWrapper failed with the following error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)).

This is typically because the COM context 0x1df0238 where this RuntimeCallableWrapper was created has been disconnected or it is busy doing something else. Releasing the interfaces from the current COM context (COM context 0x1df0180).


This may cause corruption or data loss. To avoid this problem, please ensure that all COM contexts/apartments/threads stay alive and are available for context transition, until the application is completely done with the RuntimeCallableWrappers that represents COM components that live inside them."


I am guessing this has more to do with your your plug-in is doing then with the fact your source code has been moved. RPC_E_DISCONNECTED errors occur when accessing COM/Interop components and DLLs. You might looking to this as you are trying to figure out what is wrong.


A client wants me to do some maintenance work to a VB 6.0 application (migration to .NET is also in the pipeline), but he doesn't have the development tools because he received just the source code and running application from the original programmer, who is no longer available.


Microsoft doesn't sell Visual Studio 6.0, as far as I know. How can I modify and compile the source code for a VB6 application without VB6? or Where do I get Visual Studio 6.0 if Microsoft is not selling it?.


Visual Basic 5 Control Creation Edition might be suitable to tide you over until you can get hold of a full version of VB6. There are limitations and it is 5 not 6, but depending on the scope and complexity of the application it might work for you as an interim measure.


Many textbooks on Visual Basic 6 frequently included a fairly usable version if VB (I can't recall the exact name offhand, perhaps VB 6 student edition?) that allowed the compiling of .exe files. VB 5 textbooks usually bundled VB 5 CCE, VB 4 books bundled VB 4 WM, neither of these are suitable replacements for a production VB 6 app IMHO, especially their lack of ability to create .exe files.


Visual Basic support in Mono is relatively new. The Visual Basic runtime has been available for Mono for a while, and with the release of Mono 1.2.3, the Visual Basic support is complete, with the introduction of a self-hosting compiler and class libraries for Visual Basic development on any of the Mono supported systems.


Having a native compiler for Visual Basic not only allows developers that wish to complete develop in a Mono supported platform, but also allows applications that depend on the CodeDOM (ASP.NET for example) to be developed using Visual Basic. Something that before the availability of the compiler was not possible.


A new Visual Basic.NET framework is under development, and it consists of two components: a new VB.NET compiler written in VB.NET (developed by Rolf Bjarne Kvinge) and a new VB.NET runtime developed completely in VB.NET under development at Mainsoft by Rafael Mizrahi and Boris Kirzner.


The new runtime is being developed in VB.NET and does no longer require the ILASM and Perl hacks that were required to implement the Visual Basic runtime as we did in the past. The new runtime also contains a large collection of regression tests to ensure that the quality of the runtime, something that we did not have in the past.


Vbnc is a CIL compiler for the Visual Basic.Net language, written in Visual Basic.Net. The compiler is targeting the 2.0 version of the CIL language, and due to the implementation of the reflecion api in .NET it is currently impossible to generate 1.0 assemblies.


A compiler is a computer program that translates text written in a computer language (the source language) into another computer language (the target language). The most common reason for wanting to translate source code is to create an executable program. By creating the Visual Basic compiler, the Mono Project has developed a program, written in Visual Basic itself, that can translate Visual Basic language into computer language that will allow the application to be executable across across multiple platforms, including Linux.


This is a milestone step forward in the Mono project. There are a huge number of developers worldwide who write using Visual Basic and this VB compiler makes it possible for those developers to write applications that run on Linux without needing any specific Linux expertise. Also, developers can now do Visual Basic development *in* Linux as opposed to using Linux only as a deployment target.


No. The Mono project is sponsored by Novell, but it is not part of the technical cooperation agreement announced between Novell and Microsoft in November 2006. Mono developers have been working on the compiler for some time. It is a significant technical achievement. Since it is open source, the technology is available for others to use.


There are certain API calls that are Windows-specific which we have mapped to Linux, but the majority of applications do not depend strongly on Windows. The one bit that is not supported are COM components, since Linux has no equivalent to COM. If a Visual Basic application requires COM or ActiveX controls, those will not run.


This Barangay Management System in VB.Net and MySQL Database Projects with Source Code is free to download and can be used by those programmers who want to develop a barangay management system.


A Point of Sale and Inventory System project in vb.net using visual studio has a Barcode support Inventory system, Point of Sales, Stock Master (Stock in and Stock Out of Items), Item Category master, and the likes.


This Evaluation System Project is used to evaluate the subject of every student to find out whether they have taken already the subject that they enrolled in or if they need to take the pre-requisite before enrolling in a subject.


I don't see exactly what is your problem. It's very simple to interface vb.net (or other language) with an arduino. You just have to send by serial connection keywords or a character to the arduino and it reacts in function of them.


I am an beginner with programming, more an electronics guy.

If anyone got time,and have an idea how to do this, please do this for me.

I have been strugling with this for 2 month.

I have wired everything up, Arduino to sensors, arduino to servo's, arduino to 15 A Pololu MotorDriver and then to 2X 12V drill motors, basically a fully completed robotic tank with CO2 Air rifle for an turret////but I can not control anything////.

I managed to control my motors via Firmata, then tried it with my servos, but they were very shakky,and I would like to push a button to move my servo's, and not move an sider to send PWM to arduino. A simple sketch just for these 5 buttons functioning will be appreciated.


A slider can take on any value in it's range. So, it's range is typically set to match the necessary output. In the case of a slider controlling a servo, the range of the slider is typically 0 to 180. Whenever the slider is moved, the new value is sent, and the receiver moves the servo to that new position.


Buttons on the other hand offer discrete events. YOU have to decide what the servo should do when a button is pressed. Should the value to be sent be increased by 1? By 5? By 14? By 22? Decreased by 7?


Once YOU decide that, then buttons can replace sliders. You also need to decide if you are going to keep track of the servo position in the PC application of in the Arduino. If the PC keeps track of the value, then it should send that value every time a button is pressed.


That was the easy part, now I need to add support for an second servo "tilt servo" on pin 10, I can copy the code & buttons from the pan buttons and use them for the tilt buttons, but not sure how to link it to the scetch from the C# app, as the same servo on Pin 9 would probabbly move when I press the Tilt (up/Down Buttons). ( for source code & =164 for original Scetch)

Can anyone please help with this?

Thanks :-[


I am an beginner with programming, more an electronics guy.

If anyone got time,and have an idea how to do this, please do this for me.

I have been strugling with this for 2 month.

I have wired everything up, Arduino to sensors, arduino to servo's, arduino to 15 A Pololu MotorDriver and then to 2X 12V drill motors, basically a fully completed robotic tank with CO2 Air rifle for an turret////but I can not control anything////.

I managed to control my motors via Firmata, then tried it with my servos, but they were very shakky,and I would like to push a button to move my servo's, and not move an sider to send PWM to arduino. A simple sketch just for these 5 buttons functioning will be appreciated.

Thanks for the repy.

3a8082e126
Reply all
Reply to author
Forward
0 new messages