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

Search:

Type: Posts; User: LeoKoach

Search: Search took 0.22 seconds.

  1. Replies
    4
    Views
    3,696

    Re: Printer's Portname (Solution)

    I found the code... This works just fine :)

    Dim strPrinter$
    Dim strPrinterPN$
    Dim objWMIService As Object
    Dim objPrinters As Object
    Dim objPrinter As Object

    Set objWMIService =...
  2. Replies
    4
    Views
    3,696

    Re: Printer's Portname

    I think I am going to need some help on "How to scan ports"...

    There's got to be an API or registery call or something to get this information.

    :\
  3. Replies
    4
    Views
    3,696

    [RESOLVED] Printer's Portname

    Hi all,

    Today's question, how can we get the name of the printer's port. When I use, Printer.Port, it gives me something like this "Ne01:"... although, when I go to the printers, and check the...
  4. Replies
    5
    Views
    1,018

    Re: Finding out default application (Update)

    Yes, FindExecutable is better way.

    Registry keys are changing from one system to another even same OS. It was a bad practice on my part, but I was in a hurry to find this solution. Below code...
  5. Replies
    5
    Views
    1,018

    Re: Finding out default application (Found a solution)

    Ok, I found a solution for my problem, and if you have any objectins, please let me know.

    Public Const DefProgExt As String =...
  6. Replies
    5
    Views
    1,018

    [RESOLVED] Finding out default application

    Hi,

    How can I find the default application of a file before I shell out and open it up?

    ie: "jpg" for "irfanview", "paint" or "windows image viewer". I would like to know which one was set to...
  7. Replies
    7
    Views
    1,256

    Re: Killing a file (Workaround)

    UAC is off. I used “timer” and “sleep” in the loop and without loop. Unless if I debug, or close the IDE, I can't delete the file. When I run the same code over and over again, it's random...
  8. Replies
    7
    Views
    1,256

    Re: Killing a file

    Actually I do have a routine with a function called forcetokill. Interesting thing is, even if I put a loop with a timer, it loops forever. If I stop it for debug, and continue a second or two later,...
  9. Replies
    7
    Views
    1,256

    [RESOLVED] Killing a file

    Hi,

    My question is about deleting a temp pst file that is created by our code in Vista environment.

    Code makes a copy of the system user profile pst with a different name, uses that file to...
  10. Replies
    4
    Views
    636

    Re: SQL DB Listing

    Thanks :)

    I will try to do better on my questions next time :)

    I much appreciated your help :)

    :)
  11. Replies
    4
    Views
    636

    Re: SQL DB Listing

    :confused:

    I think I understand the concept, but since the field is not string, how would I get the names listed again?

    Sorry if I am being dumb here, but this is my first time trying this...
  12. Replies
    4
    Views
    636

    SQL DB Listing

    :cool:

    If I know the name of the SQL server, how can I connect to it, and get a list of Databases using VB.NET code only... without any 3rd party objects.

    Thanks

    Leo
  13. OLE Object Field Copy to another Access Table

    Hi,

    I have the following code to copy fields into another Access Database Table. I am having hard time to copy teh OLE Object field which contains image information.

    MySqlText = "INSERT...
  14. Replies
    2
    Views
    1,596

    Aparently wrong formula

    Well, I got this code from verious places, and first code worked with a small bug in it... I checked and double checked, then I found this formula working a lot better...

    ColorVal =...
  15. Replies
    2
    Views
    1,596

    A tip (From RGB to HTML - Color Conversion)

    I research on this conversion, and found out some codes, then I put all them together myself... Following code does convert the regular Color input from Dialog box into HTML (HEX) code... Now, why it...
  16. Replies
    4
    Views
    1,108

    Didn't work...

    I keep trying thou... This is an interesting problem... Maybe very easy to fix.. But, we'll see...

    Leo
  17. Replies
    4
    Views
    1,108

    Tried it :(

    Not printing the whole thing :(
  18. Replies
    4
    Views
    1,108

    Form size against Screen Resolution...

    Lets see if anybody can handle this problem...

    I want to have a form sized larger then screen size. VB Is not letting me have taller form then current screen size, but I need to use one for my...
  19. Replies
    1
    Views
    517

    Last ADO Entry

    If I don't have any specific field that I can search for, how can select the last entry from a database table using ado.

    Thanks in advance.
  20. Replies
    3
    Views
    959

    Thanks :)

    Thanks :)
  21. Replies
    3
    Views
    959

    Creating Tables with ADO

    :confused: Hello again,
    I am here with anopther easy(!) question for most. What am I going to select from references to creat Access Table with ADO 2.7?

    Thanks a mil...

    Leo
  22. Thread: ADO Question

    by LeoKoach
    Replies
    2
    Views
    549

    Thanks :)

    Thanks :)
  23. Thread: ADO Question

    by LeoKoach
    Replies
    2
    Views
    549

    ADO Question

    :confused: Maybe this is a very simple question for many, but how can I call only unique names from one field using SELECT FROM WHERE ??? Little confusing? let me explain, I have a table, in that...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured