Change text in %%GLOBAL_YouSave%% - bigcommerce

As I am new to Big commerce, so not getting how to change the global variable text.
Currently the global variable %%GLOBAL_YouSave%% display text as "You Save ", but we want to display the text "You are saving on RRP"
Could anybody please help.

Related

A program that can display charts with data entered from textbox

i want to create a program,whereby my users can enter data through text boxes and it shows on the chart. And they can store it so that the next time the program
is opened it displays their data. How do i go about the saving the data and entering data through text boxes.
You can just set all de userinput in a string. For storing that string you can maybe put it in a text-file.
My.Computer.FileSystem.WriteAllText("C:\TestFolder1\test.txt",
"This text will be added to the text file",True)
You can output the userinput back again by reading from the text-file.
My.Computer.FileSystem.ReadAllText("C:\test.txt")
And set it in a label.

VB.NET add text to the front of text

I am trying to add text to current text that is in a textbox using a checkbox. Once the checkbox is checked, it will "add" the text to the textbox before the text already in the textbox.
example:
if the textbox said "Jake", it would say "Hello Jake" once the checkbox was checked.
EDIT: sorry for the quick question. I'm in a hurry. But the only method I could think of was concatenating and appending text. As far as I know append() adds only to the end, and concatening isn't the logical approach. I don't have a coded example because I dont even know how to approach this issue. thanks.
It's getting a thumbs down because its so simple, but not. I'm using multiple checkboxes. So one needs to be in the very front, one in the center, etc. Each checkbox injects text into the textbox a certain way. I can do this with nested if statements, but then we got a mess.
Try using this code :
if chbHello.Checked then
txtName.Text = chbHello.Text + " " + txtName.Text
Note : if the checkbox is the trigger put this code in the checkbox.
All it does is see if the checkbox was checked or not.
When its checked just concatenate the text of the textbox and the checkbox with the
checkbox first.

How to Open Notepadd ++ With Textbox.text?

I have a small program that I am working on that grabs a script within an object model. I can get the script to display in the text box and I can get notepad++ to launch on button click.
What I would love to do is have the text from the text box open inside notepad++ so that i may edit the script.
Does anyone out there have any ideas?
Save the text from your text box to a file, like this:
System.IO.File.WriteAllText("path and name of text file.txt", textBox1.Text)
Now you can force the user to use Notepad, by doing this:
Process.Start("path to notepad.exe", "path and name of text file.txt")
Or you can have the system determine what the user's preferred application (say they have Notepad++) is for a .txt by doing this:
System.Diagnostics.Process.Start("path and name of text file.txt")

Adding text to an existing textbox in a word document VB.Net

My company creates a welcome packet for each new employee. In this packet, it's our job to list their name, job title, etc. We use a template for this; just a page within the word document that has textboxes for each field.
Is it possible to add info to those existing textboxes? If not, how can I re-create the page in the document with new textboxes? It's the 3rd page.
I don't know if this is even possible, but if it is please let me know.
Assume your textbox is called Textbox1. To add text to it simply write:
TextBox1.text = Textbox1.text & "String here"
Alternatively, if you want to wipe it out completely, go for
Textbox1.text = "String here"
Hope this helps!

Storing a hidden, non-editable variable in a form. Word 97 Compatible

I need a non-editable field in a word form that can be read in vba.
Currently I use a text field, which is hidden. As in:
ActiveDocument.FormFields("DocID").Select
Selection.Font.Hidden = false
//do read then re-hide it.
However users can still 'tab' in to this text field and overwrite the document ID that is there and thus invalidate the vba macro. And unfortunately that is what happens.
I can set the text field property 'Fill-in enabled' to false which gives the desired effect in the form, i.e the user cannot edit it. However now this text field cannot be read in vba.
ActiveDocument.FormFields("DocID").SomeProperty
//throws error 'The requested member of the collection does not exist'
So my question is, is there a way I can store a hidden variable in a word form that can be read in a vba macro?
Unfortunately this has to be a Word-97 compatible solution.
You could use custom document properties instead, see here:
http://msdn.microsoft.com/en-us/library/aa537154(v=office.11).aspx