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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 =...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.