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

Search:

Type: Posts; User: masonad

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    2
    Views
    2,302

    Multiple Monitor Question

    Is there a way to easily allow a user to move a form that has its Window State set to Max from one monitor to another when a person is working with a dual monitor setup? Some code example would be...
  2. Replies
    2
    Views
    1,023

    Printer problems

    I am trying to allow a user to select a printer to print out a crystal designer report without changing the default printer setting. The code below works great for the print job but it changes the...
  3. Replies
    0
    Views
    614

    Outlook XP and Rich Text

    I'm trying to create an email with the Body in rich text format. The following code works great for Office 97 and 2K but on XP machines the rtf tags show up in the Body of the email. I'm not sure...
  4. Replies
    2
    Views
    622

    International Boolean

    When I make a call to a recordset with "select * FROM Table WHERE myfield = " & True I get an error from non-English computers. I then tried "select * FROM Table WHERE myfield = " & CBool(-1). I...
  5. Replies
    1
    Views
    589

    Executable behaving strangley

    I've had a couple of people using my application for the first time mention that when they open the program the computer tries to install MS Office or a 3D application. The program has been in use...
  6. Replies
    0
    Views
    618

    Working with EFT

    I have an application that tracks students. I would like to be able to integrate it with banking functions such as Electronic Funds Transfer (EFT). Basically, when money is paid to the students...
  7. Replies
    0
    Views
    1,003

    Mail Merge to existing Word Document

    I would like to be able to create a mail merge word document then call it up from my Visual Basic application and populate the database fields with my recordset statement. Does anyone have a good...
  8. Thread: email problems

    by masonad
    Replies
    1
    Views
    607

    email problems

    I was using ShellExecute for group emailing then found out that it fails after about 30 addresses in the "To:" section. Is there a work around to this problem?

    Next I tried the approach of...
  9. Replies
    5
    Views
    3,228

    Re: Disk or Network Error

    The database is Access XP and it is on the same PC. Upon further testing, the problem only occurs when going to runtime with VB. If I compile the program and run the exe from the same folder there...
  10. Replies
    5
    Views
    3,228

    Disk or Network Error

    When I try to open a large database (40,000 records) on one of my applications and order it by a non-index field I receive a run-time error 3043 "Disk or Network Error". The debugger stops on...
  11. Replies
    3
    Views
    2,668

    Re: Rename Registry Key

    It is for my VB program settings. The reason I need to do it is that I am changing the name of an application and would also like to change it in the registry without current users loosing their...
  12. Replies
    3
    Views
    2,668

    Rename Registry Key

    What is the simplest vb code method for renaming a registry key?
  13. Replies
    0
    Views
    727

    Column Formatting

    I would like to be able to add user defined mailing labels to my application. I am using Crystal Reports 7.0. Is there a way to be able to change the section format for column spacing? In other word,...
  14. Replies
    1
    Views
    1,183

    Crystal Report Column Formatting

    I would like to be able to add user defined mailing labels to my application. I am using Crystal Reports 7.0. Is there a way to be able to change the section format for column spacing? In other...
  15. Replies
    1
    Views
    4,809

    Load html into Richtextbox

    I would like to load an html file into a richtextbox and be able to view the html tags. Basically, I would like the richtextbox to do what notepad does when opening an html file. Right now, when I...
  16. Replies
    0
    Views
    603

    Count Occurrences of Bold, Etc.

    I'm trying to get a count of the number of times the font in a word document changes to bold, italic and underline. Is there some simple code to do this?
  17. Replies
    0
    Views
    1,279

    Printing Picture Box text

    I use the following code to paint the objects in a picture box as the picture box image so that I can next print it.

    picTemp(myIndex).AutoRedraw = True
    rv = SendMessage(picTemp(myIndex).hwnd,...
  18. Replies
    1
    Views
    1,430

    Get Word Document Line Count

    I'm trying to get a line count for various word documents though VB code. If I save it as a temporary .txt file the text file doesn't do a carrage return when it word wraps in a document and thus...
  19. Replies
    1
    Views
    519

    Tagging a Text File

    I have various text files that need to be associated with various screens for call-up through a listbox. Is there a way to tag text files so that they can be listed with their appropriate screen? ...
  20. Replies
    5
    Views
    838

    Re: Printing controls in a picturebox

    The code you attached was along the lines of what I need to do but I cannot figure out how to get there. Basically, I need to take the objects in one picture box and make them the picture of another...
  21. Replies
    5
    Views
    838

    Re: Printing controls in a picturebox

    The area I need to capture and send to the printer is larger than the screen. It will print out a complete 8.5 x 11 inch document. I'm working with the keybd_event API, setting the form to the size...
  22. Replies
    5
    Views
    838

    Printing controls in a picturebox

    In the following example, how does one setup the printer for printing a shape, Line and picturebox object.

    For each ctrl In myScreen.controls
    If ctrl.container.name = "myPictureBox" then
    ...
  23. Replies
    2
    Views
    784

    Get current Line

    I'm trying to read both binary and text information from a text file. The following code shows what I am doing but I need to be able to keep moving through the text. When I open for Input a second...
  24. Replies
    1
    Views
    681

    Position of Dragged Object

    Is there a way to get the object.left and object.top while dragging the object. I've been working with the GetCursorPos API but I get an inaccuracy of about 7 twips from the objects actual top and...
  25. Replies
    1
    Views
    1,387

    Resize Line Object at Runtime

    I need to be able to allow users to resize a line object on a screen at runtime. Is there a way to get the form mousedown event or an API to recognize a line object if a mousedown occurs within...
Results 1 to 25 of 72
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured