can i use a variable inside quotations<Resolved> -
Hi Friends,
I am new in this forum and stuck with a problem.I am developing a phone book *** dialer in VB 6.0 so that one can dial the numbers in his phone book database by landline connection.
The standard way to dial any phone number using ms communication control is
MSComm1.Output = "ATDT 9829446425" & vbCr
where 9829446425 is the phone number to be dialed.
Remember: "The Phone number is inside the quotations."
but i want to use it in a database application so i want the number to be stored in a variable i.e
MSComm1.Output = "ATDT
Variable_Name " & vbCr
My Question is:: Is there any way to Use a
Variable_Name inside quotation marks???
I will be highly grateful to get any sort of help in this regard.My e-mail address is
mohit_ranka@yahoo.com.
Regards
Mohit Ranka
Placeing Quotations inside Quotations -
Is it possible to place quotations in a sentence thats in quotations
For example:
Code:
TextBox2.Text = "My name is "Sunshine" today"
What is the proper way to place quotations inside quotations
can i use a variable inside quotations<Resolved> -
Hi Friends,
I am new in this forum and stuck with a problem.I am developing a phone book *** dialer in VB 6.0 so that one can dial the numbers in his phone book database by landline connection.
The standard way to dial any phone number using ms comm
Replacing Quotations with Quotations *RESOLVED -
lets say i have the following in a string...all of this "counts"
i want to replace the instances of the single quotations, with double quotations, so that the string looks like this....all of this ""counts""
i know its String.Replace method, but i ca
Probable an easy select problem -
Morning All,
I have the following sql statement which although is selecting a few fields it is still relativley simple
Code:
Me.SqlSelectCommand1.CommandText = "SELECT Quotations.[Enquiry Number], Quotations.Price, Quotations.NeworRecon AS Co" & _
&qu
how to put quotations inside quotations -
how do I do something like this:
MsgBox "This is "a test""
without getting an error? I want to put quotes " inside the MsgBox quotes "
thanks in advance!
Add quotations as part of a string*RESOLVED* -
I want my string/message box to have quotations in it. How can this be done?
strip quotations from string -
I am pulling a strings out of a comma delimited file. Some of the text contains quotations and when I pull it in its puling in the quotations which is stopping me from comparing to other data. Does anyone know a way to strip off the quotes or the first and last letter in a string? I
Put quotations in label -
How do you put quotations inside of a label? I need it to work where I can launch a shell command from the label as well.
Ive tried doing the following
lblshell.caption = "'" & "'" & applicationpathtofile & "'" & "'" but it
How to output to a file without quotations or spaces -
The only two way I know how to output to a text file is using Print or Write, but these commands yield only lines of text with spaces or quotations. Is there an another command which will output just the string without any spaces or quotations?
[2008] display varying picture with substring -
I'm trying to display a picture inside of a picture box with a url using substring.
While testing it out i just made a text box that displays the source of the webbrowser page with the picture.
The problem is the image url is inside quotations.So, it confuses vb since i have it in like
Philosophic quotations -
Does someone know a good (preferably long) site for philosophic quotations?
File data type *resolved* -
Hey guys!
I want to put a file inside of a variable....to send it trought winsock...
so I did
dim test as file
*now here, how should I put for example a file like c:\test.txt inside of the variable test...*
so.. I will be able to transfer to other computer using winsock1.
quotations -
Good evening...question for all of you: I've got an app that works with an Access db...pretty much a data entry program. When I have a text box that sends its value to the db it works fine...unless there are quotations or apostrophes. How can I deal with these in code so they don't
Make variable available inside function -
I declare and set a variable ($level) on each and every page.
of course this variable is available in all my included files, so that is fine.
but just now i start including files with functions inside, and realized (after hour or two scratching my head) that such variables are no
javascript variable inseide php script -
I have a problem about the javscript variable inside the php script.
i have a javascript inside the php
<SCRIPT SRC="../javascript/variable.js"></script>
i can use the variable at the frist time example a="my name";, but if i change the variable ins
question about variable [resolved] -
hey
lets say i declare a string called test
inside test there is no data at all..
lets say i want to put a data inside.. and save the data permanently.. how do i do it?
i mean eventhough i open and close the program the data inside will not change..
Drawing monthly reports -
hi guys,
i want to draw a report for quotations for each month from an access database table which contains all quotations made from the time the program was installed. i want the user to click on the month e.g September, then a report is generated for the month of September. Note t
vb6 variable and mysql problem -
so i am connecting to a databse and it pulls information based off the user id which is a text input in the program but i cant seem to get it to recognize the variable here is my code..i am guessing it has something to do with thw quotations here strSQL = "SELECT * FROM resumemain
Variable Replace -
Looking for a quick way to substitute the contents of a variable into another variable when the name exists inside the variable.
A = " blah blah blah <B> blah blah blah"
B = " haha"
C = " blah blah blah haha blah blah blah"
I can do this with
HTML2XML converter -
the html 2 xml converter that i'm designing has a problem..
in XML the tag attributes r to b within quotations..
what i do is in VB i first load the html page into the Web Browser which i'v place in the form though it's hidden..
i then proceed to use the outerHTML property lik
write a string to file without quotations -
I am writing a string to a file, but the output shows quotations around the string. How can I write a string without the " "
Static variable doesn't work with DLL -
Can anyone tell me whether static variable works inside a DLL?
I found that following code is showing same value of i when the function
is inside in a DLL but works fine in a frm or bas file.
public sub StatVar
static i as integer
i=i+1
msgbox i
end sub
Is it due to wrong r
passing a variable as a parameter -
i need to enter a variable in a parameter, however by default, it uses the value of the variable, and not the variable itself. In visualbasic, this is resolved by putting byref variablename. What is the equivilent of that in java?
how to assign a form name to a variable -
Hi
I placed a form inside div and give name and id to that form.
In form inside i write a function and inside the function i will put a frame
like
document.writeline("<iframe id=" ' +rte + ' "></iframe>");
Inside div i put a function li
[2008] Export data of variable to global -
Yes, I have a variable inside a sub that I need to either copy to a public variable outside of the sub or somehow make it public?
What's the easiest way to do this?
Grab everything inside picture box and then move it to a smaller.......... [resolved] -
I am creating a skin editor for my mp3 player , but when the user creates his skin i want the program to generate a preview thumbnail of the entire skin , this skin is created inside a picture with imageboxes inside them, how can i grab everything inside it and create a smaller thumbna
Using a variable outside of a function -
can anyone help me on how to use a variable oution of a function.
for example
i have a variable name $none outside of a function and i want to use that variable inside that function, it returns and empty string when i tried it.
How to insert to a Bit field in sqlserver 2000 -
each time i try to insert a True/false value into a bit field in sql server i get the following error message
Syntax error converting the varchar value 'False' to a column of data type bit.
How do you insert to a bit field, should the variable have quotations around it in the sql
Picture Event Adress -
Hi all.
I have a picture box which I put a picture in it with the help of 5 different events!
For example event 1 will put a picture. If the user does somthing else, it will trigger event 2 and the picture will be updated. and so on.
Instead of making a variable, and putting
ofstream: checking size of associated file <resolved> -
How can I peak at the data inside an ofstream object when it's associated with a file? I want to do this so I can make sure that the data inside a file can be stored inside a buffer (char string) safely. Thanks.
EDIT:// brevity
how to insert quotes into strings (resolved) -
like if i wanted to have a variable called
strMonkey = " "hello" "
is it possible to have quotes inside?
vbYellow, vbGreen, etc. into a variable *RESOLVED* -
I've looked, but I cannot find something that I think would do the trick. I want the user to be able to choose a color, then store that color in a variable.
The problem is, what type of variable is it?
After some more looking in the object explorer.. I found it as a ColorConsta
variables and loops... -
if i have a loop and an if...then statement inside that loop with a variable being dimmed inside the if...then, will that waste memory?
[resolved]Progress Bar inside a ListView Item -
Does anyone have any idea how they make a progressbar inside a list view item?
Like this:
Putting a string within quotations -
I have the following code, but am unable to figure out how to put my appropriate strings within the quotations effectively.
Code:
Private Sub cmdSend_Click()
With Inet1
.Protocol = icFTP
.URL = "xxx.xxx.xxx.xxx"
.UserName = "xxx"
Inside or outside the firewall. -
Hi,
Is there a way to determine if a user is connecting to a website from inside or outside a firewall?
Right now I'm simply comparing the server variable REMOTE_ADDR to a list of IPs for our internal computers but this needs continual maintanance.
Thanks,
Al.
[2008] Limit the Scope of Shared Variable -
I built a control that extends the TextBox control.
The control has a shared class level variable inside it.
At present what happens is that there is one instance of the variable for all controls on all forms. (Just what we should expect from shared variables)
Now what I want is
Variable initialisation [Resolved-Work around] -
Is there anyway to know if a variable has a value set by me or does it just have a default value from being declared?
Thanks
RESOLVED >> Setting Focus -
Why is it I can't get the focus to land on a radio button inside a frame when focus is set in code?
For example, say you have these controls in the following tab order:
1 - txtboxA,
2 - a frame with 2 radio btns inside (tabs 3 and 4) , and
5 - txtbox(B)
On the validate of t
Is there a whenever..* Resolved * -
In Cobalt you could use the whenever statement to check the value of a variable for a condition and when that condition is met something is done.
Is there anything like this in VB so that you can check a value of a variable at anytime in the porgram and when it has reached a certai