I am trying to use VB6 and ADODB to maintain Access database file.
I can add first record using the VB code shown below, However, if I use the same logic next time around I get following error: Argument are of wrong type, are out of acceptable range, or are in conflict with one another.
Any...
I have written an simple VB6(on XP platform) application with form property ShowInTaskbar set to TRUE. however, application doesn't appear on taskbar under Windows XP.
Any idea????
Thanks in advance.
Hi, I am using an API WNetAddConnection2 to map a drive and am getting return code 1219, does anyone know how to resolve this code in to a meaningful error message?
Thanks in advance
How would I go about writing a VB application with PDF viewer to view PDF documents. Is there any samples out there? or can someone shed some light on how to go about doing this?
Thanks in advance.
Debugging Code with Error Handlers
When you are debugging code, you may find it confusing to analyze its behavior when it generates errors that are trapped by an error handler. You could comment out the On Error line in each module in the project, but this is also cumbersome.
Instead, while...
I am trying to use KILL statement/function in VB 6, but error trapping not working. file is not on the system. Code is failing in Debug mode with error code 53 as expected and I can't get pass the kill statement/function. Any pointers???
snippet of the code
Private Sub Command1_Click()...
In your text file, if Each line has Carriage Return and/or line feed, then you can open the file in VB and using read and instr$ function count no. of carriage Return or line feed in the file, this should give you the total no. of records in the file. you will have to read this file in hex mode...
Thank you for quick response.
Hwoever, I can launch word application and the document, but i am trying to print this document without user intervention.
Hi,
I want to launch a word application to print a document which does not have .DOC extension, although it is a word document. I have tried using ShellExecute method unsuccessfully.
Can anyone help????
Thanks in Advance
Hi,
I want to launch a word application to print a document which does not have .DOC extension, although it is a word document. I have tried using ShellExecute method unsuccessfully.
Can anyone help????
Thanks in Advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.