[VB] Error '713' VB6

Solved
Helard -  
 sapime -
Hello everyone,

I created a VB program with an Access database and the ability to edit. When I preview before printing, I get a message like "Error '713'."

I looked it up on the Microsoft site and manually added MSDBRPTR.DLL, MSDERUN.DLL, MSSTDFMT.DLL, MSDATREP.OCX, and MSBIND.DLL, but it still doesn't work. Have you faced this kind of problem and what should I do?

Thank you in advance

Stef

7 réponses

Gunshot97one
 
Yes, I have the same problem as you and I'm still at the same level. Have you already found the solution? And the software works perfectly on the development workstation.
1
sapime
 
In which folder do we add the DLLs?
0
Nabil ASBAI
 
Hello,
On my part, after manually adding the necessary DLLs, I had to register them as follows:

start --> run -->

C:\WINDOWS\system32\regsrv32.exe "the path where you pasted your DLL"
1
Polux31 Posted messages 7219 Status Membre 1 204
 
Hello

3 years later .... strong ... very strong ...
--
“What is well conceived is clearly stated, and the words to say it come easily.”
Nicolas Boileau
0
Anonymous user > Polux31 Posted messages 7219 Status Membre
 
But he did well to respond... Because when others like me encounter the same problem. And since regsrv32.exe is not on the machine, I suppose I need to include it in the package? Furthermore, what should I put in my installation notice? Please execute the setup file. Then click on start, run, regsrv32.exe msstdfmt.dll? That's neat. I understood while reading msdn that I needed to switch to visual studio. Oh great, my VB code in visual studio is full of errors and uncompileable. Or I can make a program that runs regsrv32.exe... manually... why not, but that's not great... the worst part is that I can't find a better solution on the internet!
0
hanouda0901 Posted messages 3 Status Membre
 
I found the answer, but it's useless every time you install the exe on a new PC, you need to add the DLLs in regsvr32, and here's the method:
1. Open the Start menu and then run Run (or use the Windows + R key combination)
2. Type sendto in the Run dialog box
3. Right-click and select New > Shortcut
4. Click Browse to select the Regsvr32.exe item, then click OK

- In Windows XP, it is located in the folder "C:\Windows\System32\"
- In Windows 2000, it is located in the folder "C:\Winnt\System32\"
- In Windows Me/98, it is located in the folder "C:\Windows\System\".

5. Click Next, enter the name of the shortcut, and then click Finish.

From now on, you can register a DLL or an ActiveX control through the "Send to" menu.

Here is the link that helped me find this thing. http://astuces.microcoms.net/windows/personnaliser/02.html
If you have any other solutions, send them to me.
And thank you.
0
Archi-dessin Posted messages 281 Registration date   Status Membre Last intervention   25
 
Hi,
the problem is that your program does not find the database at the location specified in the print preview procedure
and to find out
click on the print button
0
cloom
 
Thank you very much, I have the same problem when testing the software I am developing on another machine (Windows LSD SP3).

It's great that you responded after all this time, proof that it has helped quite a few people!

Kudos to you!
0
skyla
 
I would also like to clarify that this is manual, but in general, when you need to deliver your application, you will need to include all the references and components that accompany your software. The list of necessary files is available once the packaging is complete in the Setup.Lst file that is created.
0
Anonymous user
 
Eventually, what I did was use the packaging and deployment assistant from VB. It does everything, even if everyone says it's useless! I quite like it! I'm on vacation this afternoon!
0
charlie6
 
Thank you 1000x!
For your information: under Wine1.1.2 running on Linux (ToutouLinux4.1.2), the program originally running under Windows launches correctly; and during a selection in the menu, message "error 713 MSSTDFMT.DLL missing or...".
Resolved by running 'wine regsvr32.exe msstdfmt.dll' (without quotes) in a terminal (or console) located in c:\windows\system32\; response = 'msstdfmt.dll registered'
It's won! and the software works...yessss...!
Have fun! charlie
0