Search:

Type: Posts; User: shragel

Page 1 of 13 1 2 3 4

Search: Search took 1.59 seconds.

  1. Re: (REOPENED) Changing WebBrowser control contents before 1st render

    Thanks. Exactly what I needed.
  2. Replies
    11
    Views
    18,795

    Re: Passing a array to the Case statement - VBA

    Case IIf(InStr(CountryList, ct_name) > 0, ct_name, "No Match")
  3. Replies
    0
    Views
    687

    Conditional Mail Merge

    I am trying to create a page break if a certain field Changes. But i cannot get this to work. Why? This is what i did and word is hanging.

    This is done in VB6 calling aord with automation.

    ...
  4. Thread: Pass Arguments

    by shragel
    Replies
    15
    Views
    1,513

    Re: Pass Arguments

    Thanks, in the end i used he option it said there in more information..
  5. Thread: Pass Arguments

    by shragel
    Replies
    15
    Views
    1,513

    Re: Pass Arguments

    Did you ever figure this out, how to pass a string?
  6. Replies
    8
    Views
    1,215

    Re: explorer.exe

    use the commondialog
  7. Replies
    2
    Views
    2,180

    Re: get number of processors using VB6

    Or use the Environ("NUMBER_OF_PROCESSORS")
  8. Replies
    62
    Views
    44,718

    Re: Redirect Process Input/Output with Windows API

    Is there a way to modify the startinconsolesession.exe to login a user if no console is running?
  9. Replies
    71
    Views
    94,689

    Re: Resizing form and textboxes ...

    This is a control.

    Here is the code.



    Private Declare Function LockWindowUpdate Lib "user32" _
    (ByVal hwnd As Long) As Long

    Dim lpara As Long
  10. Replies
    4
    Views
    700

    Re: [2005] Image Converter

    But is system.drawing.bitmap better than system.drawing.imaging?

    With what?
  11. Replies
    4
    Views
    700

    Re: [2005] Image Converter

    I am new to .net. I used vb6 until now. Is system.drawing.bitmap better? Can it also handle multi page tiffs?
  12. Replies
    4
    Views
    700

    [2005] Image Converter

    I use the following code to convert a tif to multiple JPEG's.

    The jpeg's or coming out a liitle bit squashed the hieght. Is anything wrong with the code?

    Thank for your help.



    Imports...
  13. Replies
    4
    Views
    5,093

    Re: Arabic Font in VB6

    You must set the default ansi code page to arabic.
  14. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    But will it put the cursor at the correct place where the user clicked? Just curious, But I don't think I will subclass for this alone (They will have to live with it)
  15. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    But i still want to allow them to type text, just it should not highlight by default.
  16. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    What would that help. that will completely block the entering of text.
  17. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    Yes, but i had the same question so instead of starting a new thread i continued a old thread.
  18. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    Because when someone clicks somewhere in the combo box just to change a letter or two the whole gets replaced.
  19. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    Just add a text box and a combo box to a new project. Then click with the mouse on the text box and click with the mouse on the combo box. See the difference. Can the combo box not highlight the same...
  20. Replies
    18
    Views
    7,250

    Re: Combo Box-Don't highlight text On Click

    Does anyone know a answer to this question. is there any way that it shouldn't highlight the whole text when it receives focus?
  21. Replies
    13
    Views
    1,325

    Re: CreateNewDocument in Word 2007

    RobDog888 You are a expert in office. You must be able to figure out a solution.

    It will be a help to hundreds of people.

    (Actually MS KB on how to create mail merge doesn't work because of...
  22. Replies
    13
    Views
    1,325

    Re: CreateNewDocument in Word 2007

    So again, how would i have the user enter the label number and get the correct label.

    How would i query the XML?

    Did anyone do it. I am having more and more customers migrating to office 2007.
  23. Replies
    13
    Views
    1,325

    Re: CreateNewDocument in Word 2007

    But how would i allow the user to select whichever label he wants. until now he just entered the label number.
  24. Replies
    13
    Views
    1,325

    Re: CreateNewDocument in Word 2007

    I understand, But it doesn't help me figure out which label id to use. The user types in 5160, now what? Is there anyone out there with working code?
  25. Replies
    13
    Views
    1,325

    Re: CreateNewDocument in Word 2007

    So how do you do that?

    And does this mean we need different version for each version of word.
  26. Replies
    13
    Views
    1,325

    Re: CreateNewDocument in Word 2007

    This is the label name. It worked in all versions of word.

    Look Here
    ...
  27. Replies
    13
    Views
    1,325

    CreateNewDocument in Word 2007

    When calling CreateNewDocument with the label name of 5160 from vb the word uses the wrong 5160 (It takes the one from Avery with continuous printer).

    Does any one have any updated code that will...
  28. Re: First Letter Capital, Leave the rest

    Thanks ZeeZee, Lintz.

    Hack
    Just read again the question.
  29. [RESOLVED] First Letter Capital, Leave the rest

    What code do i use to make the first letter capital but leave the rest of the letters alone (So i cant use StrConv because that converts all the other letters to lowercase).



    thIs shouLd BecomE...
  30. Thread: Listbox??!!

    by shragel
    Replies
    18
    Views
    1,062

    Re: Listbox??!!

    Instead of

    List_Add(0).AddItem SqlString

    You can use

    Call SendMessage(List_Add(0).hwnd, &H180, 0, ByVal CStr(SqlString))

    This will add to the listbox a item even if the lentgh of...
  31. Thread: Listbox??!!

    by shragel
    Replies
    18
    Views
    1,062

    Re: Listbox??!!

    and you can always get the list index with a simple one line sendmessage API.
  32. Thread: Listbox??!!

    by shragel
    Replies
    18
    Views
    1,062

    Re: Listbox??!!

    Also each row is limited to 1024.

    But if you use api its unlimited.
  33. Thread: Listbox??!!

    by shragel
    Replies
    18
    Views
    1,062

    Re: Listbox??!!

    Unlimited. But listcount and listindex support only 32K, it starts going minus after that. But you can use the API directly.
  34. Replies
    3
    Views
    1,033

    Re: OpenDataSource Format Options from vb6

    No Word Experts Here?
  35. Replies
    6
    Views
    662

    Re: Help With SQL Query

    The "latest" alphabetical one?
  36. Replies
    6
    Views
    662

    Re: Help With SQL Query

    Thanks all

    robbedaya:

    the problem is it returns the biggest customer name Max(customername) even if it isn't the same as the max(datesold)

    szlamany:

    What happens when two people ordered...
  37. Replies
    3
    Views
    1,033

    Re: OpenDataSource Format Options from vb6

    Does anyone know?
  38. Replies
    6
    Views
    662

    Help With SQL Query

    I have a inventory Table with a list of item numbers.

    I also have a sales table showing all sales. The following field are in the sales table

    Quantity
    DateSold
    ItemNum
    CustomerName
  39. Replies
    3
    Views
    1,033

    Re: OpenDataSource Format Options from vb6

    What I figured out already is that after clicking one Left-to-Right it is saved for next time, and its only reset if you change the language in the language settings again.

    I did a registry...
  40. Replies
    3
    Views
    1,033

    OpenDataSource Format Options from vb6

    I am automating a mail merge from vb6 when running the following code

    MyWord.ActiveDocument.MailMerge.OpenDataSource Name:= STemp & ".txt", Format:=wdOpenFormatUnicodeText,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width