Search:

Type: Posts; User: seaweed

Page 1 of 13 1 2 3 4

Search: Search took 1.02 seconds.

  1. Replies
    8
    Views
    678

    Re: How can I manipulate external .exe ?

    One other thought...

    Some .exe's have a command line interface in addition to a windows UI. You might try starting the .exe from a command line and pass it the /? or -? switch to see if it has a...
  2. Replies
    8
    Views
    678

    Re: How can I manipulate external .exe ?

    Also, some executables are written for COM (or OLE), and you can program against their object models (perhaps this is where Hack was headed...), like Excel and Word. ...
  3. Replies
    8
    Views
    678

    Re: How can I manipulate external .exe ?

    Have you tried using SendKeys? It's pretty basic, but it works. http://www.developerfusion.com/show/57/

    Also, you can simulate keyboard events using Windows APIs....
  4. Replies
    7
    Views
    4,345

    Re: a delete escape character?

    Not sure if this helps, but you can use the Range object to delete text in Word (Set the range to the signature that you want to delete, and call the Delete method of the Range). There's an example...
  5. Replies
    3
    Views
    780

    Re: Catching Setting Before Event

    Interesting. The only event I could find that captures the state before the SelectedIndexChange event is the KeyDown event. So if the user only uses the arrow keys to move through the ListBox, that...
  6. Replies
    7
    Views
    1,279

    Re: Sting formating and Concatenation

    I agree with Wossname, but the English major in me would make the following addition:

    Console.WriteLine("Hello {0}. You are {1} year{2} old.",
    name, age.ToString(), age == 1 ? "" : "s");
  7. Replies
    4
    Views
    658

    Re: Please Help: VB to C#

    I realize your question was already answered, but here is a way to discover the answer yourself...


    Drag/drop the control onto a form (make sure it's selected)
    View the Properties window
    ...
  8. Replies
    7
    Views
    4,345

    Re: a delete escape character?

    Can you be more specific about what you are trying to accomplish? There may be a better solution for what you are trying to do just by using some of the methods in the string class.
  9. Replies
    14
    Views
    865

    Another idea

    This may not be faster (in fact, it's probably slower), but it's another way to do it using the Scripting.Dictionary object to hold setting/value pairs.

    You will need to add a reference to the...
  10. Replies
    14
    Views
    865

    Two ideas

    1. It may be faster to use the registry to store and retrieve your settings (I think registry i/o is faster than file i/o, but I'm not certain). You could also include a function to export these...
  11. Your code works fine for me

    I copied your code and it works fine for me.

    I started with a blank form, added a timer and a picture box. Then set the timer interval to 2500. I commented out references to frmConfig (seemed...
  12. LOL! Thanks for the answer, Steve, but that was...

    LOL! Thanks for the answer, Steve, but that was a year and a half ago or more.

    I have a new job now... :)
  13. Or, you can leave the BorderStyle set to Sizable,...

    Or, you can leave the BorderStyle set to Sizable, but set the
    Caption to an empty string and ControlBox = False. This will give you a Sizable form with no title bar.
  14. Thread: SQL Order

    by seaweed
    Replies
    1
    Views
    350

    You almost got it...just add DESC to the end of...

    You almost got it...just add DESC to the end of your string
    SELECT * FROM Contact ORDER BY ContactNo DESC
  15. Replies
    13
    Views
    1,215

    Check out AppForge, also: ...

    Check out AppForge, also: http://www.appforge.com/
  16. Replies
    12
    Views
    1,018

    Whatever you did to this workgroup file is...

    Whatever you did to this workgroup file is probably the culprit.

    What is a workgroup file, and what is it used for? And what did you do to it?
  17. Replies
    12
    Views
    1,018

    One last suggestion: Try re-installing your data...

    One last suggestion: Try re-installing your data access components. You can do this from Microsoft's website:

    http://msdn.microsoft.com/library/default.asp?url=/downloads/list/dataaccess.asp
    ...
  18. Replies
    12
    Views
    1,018

    You can look at your driver settings in the...

    You can look at your driver settings in the registry, too. The key is:

    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\

    You should have a sub key for each driver installed on your sytsem. Find...
  19. Replies
    12
    Views
    1,018

    Try this. Right click on your desktop and...

    Try this. Right click on your desktop and choose New > Text Document Rename the file to "Test.udl" Double-click it to open "Data Link Properties" dialog In the first tab (Provider), choose...
  20. Replies
    12
    Views
    1,018

    Wierd. It works when compiled, or when you leave...

    Wierd. It works when compiled, or when you leave out the password?

    I don't know. It works fine on my machine the way it is (except I changed the database to NWIND.mdb).

    What if you change...
  21. Replies
    2
    Views
    452

    To help you, it would be nice to see the code...

    To help you, it would be nice to see the code that's not working correctly.
  22. Thread: Creating Icons

    by seaweed
    Replies
    13
    Views
    1,096

    There is another good one here:...

    There is another good one here:
    http://www.axialis.com/iconworkshop/index.html

    They offer a free trial period.
  23. Go to your first post, click "edit", and add...

    Go to your first post, click "edit", and add [Resolved] to the subject.
  24. Replies
    4
    Views
    623

    Oops...forgot the mouse-down state. This is a...

    Oops...forgot the mouse-down state. This is a little better:
  25. Replies
    4
    Views
    623

    Here's one way to do it.

    Here's one way to do it.
  26. Replies
    9
    Views
    1,251

    What was your solution?

    What was your solution?
  27. Replies
    9
    Views
    1,251

    I think you might be confusing a String with a...

    I think you might be confusing a String with a non-numeric character. ALL characters are strings. Some are numeric, some are alphabetic, and others are symbols. Infact, the Text property of the...
  28. Replies
    9
    Views
    1,251

    IsNumeric works on strings, so it shouldn't be a...

    IsNumeric works on strings, so it shouldn't be a problem.
  29. Replies
    9
    Views
    1,251

    It shouldn't be a problem if the values in the...

    It shouldn't be a problem if the values in the combo box are numbers. Where are you putting the code? Private Sub Combo1_Change()
    If IsNumeric(Trim(Combo1.Text)) = False Then
    MsgBox "...
  30. Replies
    2
    Views
    1,116

    You said the first half of your problem was...

    You said the first half of your problem was solved on your last thread, so here's how to solve the second half (getting the share name of mapped drives).

    This requires a reference to Microsoft...
  31. Here are two functions that might help. One...

    Here are two functions that might help. One returns the name of the next cell to the right (or left), and the other returns the name of the next cell below (or above).

    Will this help you?Option...
  32. Replies
    5
    Views
    989

    Have you tried using the registry? In Windows...

    Have you tried using the registry? In Windows 95, 98, and Millenium, there is the following key:

    HKLM\Security\Access\

    And each sub key under this key represents a shared folder. Since I...
  33. Thread: error 302?

    by seaweed
    Replies
    2
    Views
    606

    It's an application-defined or object-defined...

    It's an application-defined or object-defined (custom) error.

    How do you find out? Go to the Immediate window (Ctrl-G) and type:err.raise 302
  34. Replies
    4
    Views
    521

    You are discovering the beauty of procedures. ...

    You are discovering the beauty of procedures. Most of your code should be written in subs or functions. Then in your event handlers you call the functions.

    Normally you don't want to put a...
  35. Replies
    4
    Views
    521

    The same way you get it in the event - pass it as...

    The same way you get it in the event - pass it as a parameter.
  36. Thread: wide inputbox

    by seaweed
    Replies
    6
    Views
    512

    yes

    yes
  37. Replies
    26
    Views
    1,236

    You can either shut down your machine (which will...

    You can either shut down your machine (which will close network connections), or if you have a network connection icon in your system tray (looks like 2 computers, next to the clock), you can right...
  38. Replies
    11
    Views
    744

    Cool. Hopefully you thought of a better, shorter...

    Cool. Hopefully you thought of a better, shorter name for the function, too. That was ridiculously long! Sometimes I get carried away with readability... :)
  39. Replies
    26
    Views
    1,236

    Cycle means power it down and then back up again...

    Cycle means power it down and then back up again (disconnect your dsl connection in windows, disconnect the power supply to your dsl modem, wait 10 seconds, reconnect dsl power supply, re-establish...
  40. Replies
    11
    Views
    744

    I forgot something very important here. Change...

    I forgot something very important here. Change the function definition like so (add ByVal before the string argument):Private Function ReplaceNumberOnesWithTwos(ByVal StringIn As String) As...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width