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

Search:

Type: Posts; User: duplincomputers

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    721

    Error Trap

    this is code i am useing in my program to load a picture if for some reason the picture is deleted or moved the program will give a error and close down what i need for this to do is have a error...
  2. Re: how to use printer to print a datagrid

    im useing this code to load to excel first is there a way to make it load excel without useing the path to it

    Shell """" & "C:\Program Files\Office10\excel.exe" & """" & " " & _
    """" &...
  3. Replies
    9
    Views
    912

    Re: Need Help Printing A Listview

    thank you that worked perfect did what ya said opened up the vba got the code thanks alot but i do have one last question if you could be so generious i want to open the excel document after the...
  4. Replies
    9
    Views
    912

    Re: Need Help Printing A Listview

    this is the code im useing for the search it works but i cant make the feilds larger in excel

    [
    Private Sub Command4_Click()

    Screen.MousePointer = vbHourglass

    Dim objXcell As...
  5. Replies
    9
    Views
    912

    Re: Need Help Printing A Listview

    printing to excel would be the perfect way to do this can ya give any suggestions and thanks for the help in advance
  6. Replies
    9
    Views
    912

    Need Help Printing A Listview

    been working on my program for quite a while now and the only thing stopping me from completeing this work is printing out a search with the listview look the lines and so forth this is my code im...
  7. Replies
    10
    Views
    908

    Re: security question???

    the file opens when the program runs that file is only for to see if the drive is plugged in this worked perfect thanks so much again i cant say it enough i also hope this with others that want to...
  8. Replies
    10
    Views
    908

    Re: security question???

    ok tried that this is my code thats working not sure how to add that in



    Private Sub Form_Load()
    Close
    Timer1.Enabled = True
    Command19.BackColor = &H8000&
    0
    Dim i As Long, a As String, k...
  9. Replies
    10
    Views
    908

    Re: security question???

    i am so happy that worked it read the file from the jumpdrive perfectly and wont work if its out thank you so muc i get the error when its out



    run time error '76':
    path not found

    ...
  10. Replies
    10
    Views
    908

    Re: security question???

    ok think i found a way to do this just need some help with the open input line this is the code



    Const DRIVE_REMOVABLE = 2
    Const DRIVE_FIXED = 3
    Const DRIVE_REMOTE = 4
    Const DRIVE_CDROM = 5...
  11. Replies
    10
    Views
    908

    Re: security question???

    ok thats a good idea what i came up with today is i want to program to run and install to the C:\ drive but the setup will come on a USB Jump Drive how can i make it find the usb jump drive on my...
  12. Replies
    10
    Views
    908

    security question???

    the software im writeing i want it to install from a cd and be able to make the program run only while the cd is in the drive make it read a file or something from cd when it saves a record ,it can...
  13. Re: Changeing the color of a button in a text field

    i got it to work thanks guys this is the commands i use



    If Val(ppower.Text) > 0 Then Command10.BackColor = vbBlue Else Command10.BackColor = &H8000000F
    If Val(pcredit.Text) > 0 Then...
  14. Re: Changeing the color of a button in a text field

    ok thank you this code works



    Private Sub pcredit_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyReturn Then
    If Val(pcredit.Text) > 0 Then Command75.BackColor = vbred...
  15. Re: Changeing the color of a button in a text field

    this is the code for the credit text field



    Private Sub pcredit_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyReturn Then
    ccity.SetFocus
    End If
    SaveCurrentRecord...
  16. Re: Changeing the color of a button in a text field

    yes i know that what i was trying to do the button is normaly vb gray if a amount goes into the owed field it will automaticaly change the color to red thanks again for the help
  17. Changeing the color of a button in a text field

    in my program there is a section for credit there are fields like amount ,amt paid ,amt owed if the amount owed if greater than 0 i would like for it to turn a button red so it will show if the...
  18. Re: Printing a Form in the center of the page

    ok added this code it prints a blank page the name of my form is clients do i need to place this in my code????
  19. Re: Printing a Form in the center of the page

    added this but cant figure out how to put it in the center i know this is close i added this so it would print landscape and my form called family it works but just in the top left corner


    ...
  20. Printing a Form in the center of the page

    my form dosent fill the screen when i print is there any way to center it this the code i use



    Private Sub Command8_Click()
    SaveCurrentRecord
    Printer.Orientation = vbPRORLandscape...
  21. Replies
    4
    Views
    600

    Re: Setting the screen to 1024x768

    Oh thank you figured it out this looks so much better
  22. Replies
    4
    Views
    600

    Re: Setting the screen to 1024x768

    i got it to work here the code





    'Changes resolution on the fly, without rebooting
    'Call with:
    'Call ChangeRes(800,600)
    'or Call ChangeRes(640,480) for example
  23. Re: How can the user insert their picture?

    i use this for adding a picture to a form

    Dim Path$
    Dim Filename$

    Private Sub Dir1_Change()
    File1.Path = Dir1.Path
    End Sub

    Private Sub Drive1_Change()
  24. Re: Limit Number Of vb setup Installation on client machine

    My cousion is useing a program that uses a floppy disk for protection you can set how many times they install from a floppy then when they have used up their times use a debug command to format...
  25. Replies
    4
    Views
    600

    Setting the screen to 1024x768 Please Help!!

    In my program screen has to be set at 1024x768 some people use other res how can i set the screen when the program starts to 1024x768
    thanks for any help
Results 1 to 25 of 49
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center