VB compile error and which reference should be import - vb6

TagPath = Left$(CurDir, 2) & "\his\users\program\"
hello, everyone. When I run start VB program use VB6.0 have a error message “compile error:can't find project or library” and target is about CurDir, but I don't know what reference need to be import. I'm very appreciate it if someone could help me. thank you very much.

Related

Run-time error ‘713’: Class not registered looking for object with clsid : {59245250-7A2F-11D0-9482-00A0C9111OED}

I´ve got an old programm, which is using access as DB. So far I could install it but on start I get the following error:
Run-time error ‘713’: Class not registered looking for object with clsid : {59245250-7A2F-11D0-9482-00A0C9111OED}
The programm was written in VB but I´ve got no source code.
May someone help me?
EDIT:
I´ve searched the regrestry because the moste solutions about this error are pointing to the regrestry but the key was not found and I dono what to do in this case.
Msbind.dll is not registered on your machine. This dll is a part of VB6. You can install VB6 or find this dll, copy it on your machine and register manually (regsvr32 /i Msbind.dll).

VB6 project issue which applying DAO3.6 library

I have an VB6 application.
When trying to Start it prompts an error ActiveX component can't create object
The program is failed in below line
Set GCIWCon = CreateObject("Dbsecurity.database")
I have checked that DAO3.6 library is existed and below line can be executed
CreateObject ("Excel.Sheet")
Thus, I assumed that DAO3.6 is working properly, but the object "Dbsecurity.database" is not found.
I do have a rough idea about the DAO library but I have no idea what is missing in order to make the issued line work.
Can anyone suggest what the object "Dbsecurity.database" can be and how to include it in the VBA?
Thanks

opp_run error on omnetpp IDE

I'm working on a veins project at the moment and everything went fine till today.
I had the need to add a new module to the ' veins/src/veins/modules ' directory so I simply created a new folder and put some .ned files and relative header/source files in there. I got some errors after doing that but nothing special (I was probably doing something wrong and compiler didn't like it). I then decided to delete the folder and try again maybe the day after.
After doing so I re-run the same exact simulation and omnet/IDE started showing this, not being able to launch:
<!> Error: Cannot load library '../../src//libveins.so': ../../src//libveins.so: undefined symbol: _ZN8Flooding6finishEv
End.
Simulation terminated with exit code: 1
I've tryed a fresh clean and rebuilt the whole veins project but that didn't help.
I googled this error but couldn't find anything similiar to my case.
Thanks in advance for your help.
Best regards.
c++filt _ZN8Flooding6finishEv shows that the missing symbol is
Flooding::finish(). It seems that you have a deceleration of this
method but missing a corresponding implementation. I'd assume your
module was called Flooding and you did not delete all of it when
starting over.
Julian Heinovski
Running the same configuration on Windows showed that it was indeed Flooding::finish() not implemented (that's probably because it's automatically demangled on Windows). I just deleted the declaration and solved my little inattention.

Visual Studio 2015 error: exe_main.cpp not found

I am new to using Visual studio for Fortran programming.
Just as I start to step into the line-by-line debugging of the code, an error occured, and it crashed out. The error informs that "exe_main.cpp" file could not be found.
Would you please guide me how can I overcome this problem?
Shall I download such a file and replace somewhere, or any other solution.
Thank you so much in advance.
When you run a Fortran program from Visual Studio, there is actually a C "wrapper" that calls the Fortran main program. What seems to have happened here is that your program finished execution, returned to the main() wrapper (exe_main.cpp) and got an error (perhaps because stack was corrupted or something else.)
You don't need the source to exe_main.cpp and should ignore that. If you can provide more details on "crashed out", we can probably help with that problem.

Adding VBA reference in VB6.0

I have a old VB 6.0 application written by someone else. When i compile the application, it throws error on every line of code where VBA reference is required so fro e.g. it throws an error in the following lines:
Left$, Chr, Trim$
As soon as I prefix it with VBA.Left$, the error goes away. I was looking at the list of project References and saw only one missing reference called "Microsoft DTS run time 1.0". Where can I get this reference from and how can I add this in VB application. Also, is there any way, I can add VBA reference to VB application. I am running this VB application on XP machine.
any help will be appreciated.
Then you should install Microsoft DTS runtime:
How to: Install Support for Data Transformation Services Packages:
https://technet.microsoft.com/en-us/library/ms143755(v=sql.105).aspx
After, add the VBA reference (if is missing)
If you look at your list of Available References, you should see one for Visual Basic For Applications. Make sure this is checked and you will be good to go.
If there is more than one reference for VBA, select the one for msvbvm60.dll.

Resources