Type: Posts; User: Killa69
Search took 0.01 seconds.
September 20th, 2011, 11:46 AM
Thanks guys for your efforts, I have used a bit of WOF's idea with the WIN32_Printer collection (Network Property) to let me know if it is a network printer and then build the printer desciption...
September 14th, 2011, 02:28 PM
OK, Thanks for your help.
I will have to go back to the drawing board and check the API. Your idea with the string manipulation wont help in this scenario as the printer could have been called...
September 14th, 2011, 01:07 PM
Thanks for this dglienna, but this brings us back to the original problem which is that the DeviceName function is returning the network path and not the name as displayed in the control panel.
September 14th, 2011, 11:29 AM
I am sorry if I did not make myself clear. I have a number of printers installed on my PC. Some of these printers are local and some are network printers. All of these printers are...
September 14th, 2011, 10:21 AM
OK, This should be very simple but.....
Does anybody know how to retrive a list of the names of the currently installed printers. This seems simple enough using the printers collection and the...
June 12th, 2011, 06:01 PM
DataMiser is right about the Line method of the form.
Remember if you are going to use this method you should set the AutoRedraw property of the form to true, otherwise any lines drawn are cleared...
April 7th, 2011, 03:26 PM
An alternative, is to have a multi line textbox on the frame filled with spaces corresponding to the number of rows/columns required. Then you can use string manipulation to implant text into the...
April 6th, 2011, 03:31 PM
Simple DIY method.....
(a) Temporarily comment out the error handler.
(b) In the VB6 environment select options from the tools menu and on the general tab select 'Break On All Errors'...
April 6th, 2011, 02:36 PM
Using your supplied code will generate the following XML file.
<Root><ChildofRoot name="Jane Doe"><GrandChildofRoot>TESTVALUE</GrandChildofRoot></ChildofRoot></Root>
April 5th, 2011, 03:04 PM
This needs to be done in two stages.
Firstly you need to have permission to the network share. This can be easily done by opening the shared folder in Windows Explorer or via Network...
April 5th, 2011, 02:24 PM
Agree with Hannes who is indeed Great, please use code tags.
If you are looking for something that will generate a more readable format for your XML file ie each node on a seperate line and...
April 4th, 2011, 12:48 PM
Looks like the problem is that the database object referred to by 'db' hasn't been opened. The fact it is coming up with error 91 means that db has been defined as a database but either hasn't been...
March 10th, 2011, 09:23 PM
I am sorry if I have failed to explain the problem clearly, but I need my program to tell the printer which file to print to, my program uses this printer output file to generate the PDF file, so...
March 10th, 2011, 03:14 PM
GremlinSA: Could you give me some more details, I am not actually directly accessing any printer objects, it is Microsoft Access that is sending the report to the printer driver and the printer...
March 10th, 2011, 03:10 PM
Dglienna: Sorry but the problem with the multiuser environment is that multiple machines are trying to write to the same file at the same time so a file move operation would not be possible. I...
March 10th, 2011, 10:57 AM
Dglienna: I need to know if it is possible to change the name of the printer output file from within my VB6 project. Ideally I would use a randomly generated output file name each time as the files...
March 10th, 2011, 08:28 AM
Hi, having nightmares with PDF again......
What I basically need to do is to set a printer in Windows to print to file and then programatically set the output file name at runtime.
March 10th, 2011, 07:50 AM
If there is no error being generated then I am assuming that the picture box is 'blank' if you run from form load.
Have you tried setting the AutoRedraw property of the picturebox to True?
March 10th, 2011, 07:39 AM
Hi, Not sure without knowing the DB layout but probably need to change to....
str = "SELECT * FROM student WHERE [s_no]= " & key
November 10th, 2010, 12:24 PM
Need a bit more information....
How are you 'deploying' the program.
What is the name of the DLL.
As a start, you may be able to set up another user profile on your machine,...
November 10th, 2010, 12:19 PM
Thanks for the help, I finally found a solution to this. I still don't know why there isn't an OwnerForm Property but anyway....
In your module Declarations.
Public Declare Function...
November 10th, 2010, 12:05 PM
I eventually gave up on this, but as a pointer I don't think the shell and wait will work because Adobe wasn't terminating after the executing the print command. I think this is only possible...
November 8th, 2010, 10:14 AM
I am hoping this is a simple question but I have been struggling to find any details for this.
I have a form that is being shown modal from a number of other forms within my application. Each form...
April 26th, 2010, 07:53 AM
Been having nightmares with this one so any help would be greatly appreciated.
Using VB6 I am trying to print multiple existing PDF files to the default printer ideally as a silent...
February 18th, 2010, 11:56 AM
Thanks Dglienna, found solution, I didn't know that the CausesValidation event applies to the control that receives the focus so this does the job fine. I tried using the LostFocus event but that...
Click Here to Expand Forum to Full Width