Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: three57m
  • Content: Threads
  • Order by date
  1. three57m

    Print from Printer Object to Picturebox

    Is it possible to print the contents of the printer object to a picturebox? [bigears]
  2. three57m

    PictureBox RTB Preview

    Ok here is the situation. The code below is close "I THINK" , but I cannot seem to get the picturebox to accurately display what the printer would print with accurate margins etc.. note: everything is set to twips and as the msdn states 1440 twips = 1 logical inch so the goal is to display 1...
  3. three57m

    Richtextpox adding newline HOW CAN IT BE STOPPED?

    OK Instead of going into great detail explaining the problem I set up a quick easy example so others can test. Just follow the commented test instructions. Any help would be greatly appreciated [yinyang] 'TO TEST 'Add 2 Richtextboxes 'SET SCROLL BARS TO BOTH FOR YOUR CONVENIENCE 'Add 2...
  4. three57m

    Copying Code with IE 8 Format Problem

    Users of the new IE 8 may have noticed that copied code snippets from tek-tips lose their formatting when pasted. To fix this IE 8 has a compatibility button next to the refresh button, click the compatibility button and your copied code will now paste with formatting intact. [thumbsup2]
  5. three57m

    File location not directory or path

    Is there a way to get the location data of a file, for example if i place a file on my desktop in the top right hand corner, is there a vb6 way to delete that file and then recreate it in that exact location ie...top right hand corner ?
  6. three57m

    Convert VB6 Function to PHP

    Can anyone assist with converting this VB6 function to PHP Private Function GenerateKeyNumber(MyName as String) As Long Dim i As Integer Dim S As String * 1 Dim key As Long key = 0 For i = 1 To Len(MyName) S = Mid(MyName, i, 1) key = key + Asc(S) Next i...
  7. three57m

    BobRodes

    Wow, just noticed BobRodes is number 1 on MVP list. Congrats, but will it hold?
  8. three57m

    Regex find sentence

    Hi Does anyone know of a regular expression pattern to find sentences. I came up with this one based on several web searches. However it only finds one sentence even though i have global set to true. "[a-zA-Z].*([.!?]\s|[.!?])" I am using like so: MyRegExp.IgnoreCase = True MyRegExp.Global...
  9. three57m

    Richtextbox + Commondialog margins and detect user settings

    Question1: Why does the printer commondialog take so long when closing after clicking print. Question2: Using the code below (or not) how can i detect if a user has chosen the selected text option or all text option in the commondialog. I am aware that richtextbox1.selprint commondialog.hdc...
  10. three57m

    mousewheel smallchange

    Does anyone know how to change hypetias code at thread222-902639 to allow a smallchange in scrolling. my understanding is that the default change is 3 lines can this be manipulated?
  11. three57m

    Match case in string

    Is there a way to change the case of a string similar to the "StrConv Constant" vbProperCase but to convert the case anyway I need. for example: specialcasestring = "myCaSe" if not stringcheck = specialcasestring then make string same case Note it may seem that I should just use If...
  12. three57m

    Where to start converting vb6 controls to .net

    Really new to .net. Where do i even begin to upgade vb6 controls ActiveX to work with vb.net apps. For example I have an rtf to html converter created in VB6 and need to upgrade it to work in .net, however I do not see an activeX control project type listed in my .net ide.
  13. three57m

    Reqex leading white spaces

    I am working on a project using richtextbox as usual. I am trying to figure out a regex pattern to match the leading white spaces on each line of text. I have messed with different variations of the white space pattern with no success. Tried: .pattern = "\s" 'matches all white spaces so no...
  14. three57m

    Disable text select

    Does anyone know of a simple way to disable text selecting. The problem is I have a menu that does not use <a href"#"> </a> it looks something like this: <td nowrap style="cursor:pointer"><div>&nbsp;&nbsp;Updates</div></td> So when a user clicks sometimes the text becomes highlighted. This does...
  15. three57m

    Third Party Control EULA

    I recently purchased a third party OCX control that contains the following statement in the EULA. "You are required to ensure that the software is not distributed in any form that allows it to be reused by any application other than that with which you distribute it." How can I insure this...
  16. three57m

    Save Scroll info of richtext

    I am trying to find out if there is a better way thru API to get the y value of the vertical scroll bars position when. The APIs I have tried maxed out at around 65000. Here is an example of code I am testing now. And still hitting the 65000 barrier. I have also tried the EM_GETSCROLLPOS...
  17. three57m

    TOM BeginEditCollection UNDO

    Can anyone point me in the right direction here. Using the Text Object Model I try to use BeginEditCollection method of TOM and get an error. My goal is to use the multiple Undo Redo feature. The Error I recieve "Object does not support this method". This confuses me because it is a choice in...
  18. three57m

    Detect Pop-Up Menu Clicks

    Is there any way to detect the users choice "delete" or "paste" operation that a user performs using a text box's or rtb's default pop-up menu. So as to detect that delete was clicked. Maybe an API call
  19. three57m

    Reverse Find for Richtext

    I am trying to figure out why this code will not step through and find text if settingQ is not zero Public Sub prevFindTextInstrQ(strToFindQ As String, settingsQ As Long) Dim entireStrQ As String 's_startQ is public declare long 'setting options for reverse find 'allmatches = 0...
  20. three57m

    DVD burning software

    Does anyone know of software that does not compress or otherwise mess with your files before burning them to dvd. I am trying to make a clean exact backup of over 1 million .png image files on 2 dvds and nero cant cope with the size and just crashes, roxio wants to compress everything. I think...

Part and Inventory Search

Back
Top