Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Killa69

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,287

    Re: Retrieve Printer Name

    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...
  2. Replies
    14
    Views
    1,287

    Re: Retrieve Printer Name

    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...
  3. Replies
    14
    Views
    1,287

    Re: Retrieve Printer Name

    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.
    ...
  4. Replies
    14
    Views
    1,287

    Re: Retrieve Printer Name

    dglienna,

    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...
  5. Replies
    14
    Views
    1,287

    [RESOLVED] Retrieve Printer Name

    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...
  6. Replies
    6
    Views
    608

    Re: Create Lines on Form

    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...
  7. Replies
    9
    Views
    900

    Re: Displaying on a form

    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...
  8. Replies
    10
    Views
    2,058

    Re: Violation of primary key issue

    Simple DIY method.....

    either
    (a) Temporarily comment out the error handler.
    or
    (b) In the VB6 environment select options from the tools menu and on the general tab select 'Break On All Errors'...
  9. Replies
    5
    Views
    1,388

    Re: creation of xml doc with proper formatting

    Using your supplied code will generate the following XML file.

    <?xml version="1.0"?>
    <Root><ChildofRoot name="Jane Doe"><GrandChildofRoot>TESTVALUE</GrandChildofRoot></ChildofRoot></Root>


    If...
  10. Replies
    6
    Views
    2,432

    Re: Connect Access on remote server using ADO

    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...
  11. Replies
    5
    Views
    1,388

    Re: creation of xml doc with proper formatting

    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...
  12. Replies
    7
    Views
    2,582

    Re: Help on Run - time error 91

    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...
  13. Replies
    9
    Views
    2,645

    Re: Redirect Printer Output To Specific File

    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...
  14. Replies
    9
    Views
    2,645

    Re: Redirect Printer Output To Specific File

    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...
  15. Replies
    9
    Views
    2,645

    Re: Redirect Printer Output To Specific File

    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...
  16. Replies
    9
    Views
    2,645

    Re: Redirect Printer Output To Specific File

    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...
  17. Replies
    9
    Views
    2,645

    Redirect Printer Output To Specific File

    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.

    In more...
  18. Replies
    1
    Views
    1,818

    Re: VB6 - Pie Chart

    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?
    ...
  19. Replies
    1
    Views
    314

    Re: Error in searching a record

    Hi, Not sure without knowing the DB layout but probably need to change to....

    str = "SELECT * FROM student WHERE [s_no]= " & key
  20. Replies
    2
    Views
    682

    Re: Help on vb6 and .dll

    Hi,

    Need a bit more information....

    Questions:
    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,...
  21. Replies
    3
    Views
    745

    Re: Retrieve Modal Ownerform Name

    Hi,

    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...
  22. Replies
    7
    Views
    5,026

    Re: Print PDF Files

    Hi,

    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...
  23. Replies
    3
    Views
    745

    [RESOLVED] Retrieve Modal Ownerform Name

    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...
  24. Replies
    7
    Views
    5,026

    Print PDF Files

    Hi All,

    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...
  25. Replies
    3
    Views
    503

    Re: Validation Event

    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...
Results 1 to 25 of 51
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center