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 SkipVought 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: *

  1. pozitron969

    How to use input in directory search

    Hello, You should be able to concatenate the name variable with the two halves of the respective strings. I am a relative new comer to the language but I believe this is how you would do what you want name = input() // or use name=raw_input() if you need to have special characters in the user...
  2. pozitron969

    2-D "for/while" statement

    Hello, I am a newcomer to the Python language, so I could be completely wrong. I did find this example that looks like you can define a multi-dimensional array. I don't know if this example requires the Numeric Module or not but worth a try anyway...
  3. pozitron969

    Replace Statement Causing Pain

    Thank you all for your help. I decided to use the Where 1=1 method. Since this is just a simple webpage that only I am going to use I probably won't invest much more effort into the development than this. Thank you again for your help.
  4. pozitron969

    Replace Statement Causing Pain

    Hello, I am trying to use the Replace Statement to clean up a portion of a SQL statement that I use. Snippet: sSQL = "SELECT dbo.FTMILog.Time,dbo.FTMILog.Message, dbo.FTMILog.LogLevel FROM dbo.FTMILog WHERE dbo.FTMILog.Message LIKE '[sMess]' AND dbo.FTMILog.Time > '[sFromDate]' AND...
  5. pozitron969

    My.Settings Question - vb 2005 Express Beta 2

    Hello, I am trying to read a couple settings from the My.Settings object. I have two settings defined in the Project Properties: -DefaultApp is a User scope string with an initial value of "Web" -DefaultTopMost is a User scope boolean with an initial value of False When I step through the...
  6. pozitron969

    Windowshade mode?

    Hello, Here is an article that describes how to add an additional button to the titlebar. I realize that you said you are going to only use the default title bar, but with this example it would be possible to read the current theme settings and use those to construct the custom button. Hope...
  7. pozitron969

    Macros not saved with Protected Word Doc

    Yes, we have a mapped drive location where the doc template is stored and the template is also stored on the intranet site. ie: P:\doc\templates\opsrundoc_template.dot So as long as the template is always located in the path above any docs that were created from the template should always use...
  8. pozitron969

    Macros not saved with Protected Word Doc

    Thank you! Well, it looks like you are right. I renamed the template to a new name and extension. I opened an example of the document that I created and the macros were gone. This template is posted to our developers on our intranet site, so more than likely the template and the resulting...
  9. pozitron969

    Macros not saved with Protected Word Doc

    Hi, Thank you for your response. While I was originally creating the template I always stored them in the Document itself, not the Normal.dot. I have also tried importing the .bas file into the Project(OpsRunDoc_Template) project in the VBA Project Explorer. The template filename is...
  10. pozitron969

    Macros not saved with Protected Word Doc

    Hello all, I have created a Word 2003 doc template that uses tables to organize Form elements. I have a series of macros that are used to add rows to the tables and insert or delete various form elements. The macros are executed by the MacroButton Field. The macros will automatically...
  11. pozitron969

    Word 2003 Forms Fields & Macro Question

    Thank you very much. That did it! Hope you have a great day. Andy
  12. pozitron969

    Word 2003 Forms Fields & Macro Question

    Hello all, I am creating a form to document the autmoated processes we do at work. I have created a doc that has a series of nested tables. The File information section contains a text form field and four check box fields, for filename, Read, Write, Update and Delete information. I have...
  13. pozitron969

    Centering an Image Box

    Hello, I wrote an ActiveX control that loads an image and tries to center the image box on the screen. Unfortunately it seems to be giving me odd results. Sometimes the image is centered (I think), others it will be centered on the right hand side of the image, and still others it will center...
  14. pozitron969

    Formatting Text in Outlook

    Hello, Does anyone know how to use VBScript in Outlook forms to set only a part of the text in the Item.Message text field to be bold. Unfortunately I haven't been able to find any documentation on the methods that Item.Message supports. I am hoping to find a SelStart, SelLength, SetBold...
  15. pozitron969

    FileWriter or Scope question

    That did it. Thanks again. -pozitron969
  16. pozitron969

    creating class problem

    From what I understand VB5/6 won't allow you to do overloading, which is what you are trying to do. (right?) Although VB.Net will.
  17. pozitron969

    how i put a given no. of blank spaces after a word

    VB has two functions that let you do this as well. (code is in blue) 1) Space function: Return a string of spaces equal to the number it is passed. sResult = "myString" & Space(10) 2) String function: Return a string of a defined character equal to the number it is passed. sResult =...
  18. pozitron969

    Hello all, How does one update i

    Ok, that will work and I may end up doing that. One last nit picky detail though. If I delete the element, won't the original position of the element be lost. If I delete the element and add it again the new element will be appended to the bottom of the collection instead of the original...
  19. pozitron969

    Hello all, How does one update i

    Sorry, I just reread your previous post and noticed that you said that it seems that I was trying to write all of the properties of the myMedia into only one of the properties of the myPlaylist element. I am basically trying to do the opposite of this procedure (with the exclusion of the call...
  20. pozitron969

    Hello all, How does one update i

    Yes, the myMedia class has both properties and procedures. I was hoping to be able to update each of the properties in the temporary variable before writing it back to the collection. Possible? Hope so...

Part and Inventory Search

Back
Top