Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
variable
- Page 1
Re: How do I establish an open connection to an open web browser in C#?
Programming
Software Development
2 Months Ago
by pathofbuilding
To attach Selenium to an already open Chrome browser in C#, launch Chrome manually with debugging enabled using chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\SeleniumChromeProfile", then use ChromeOptions options = new ChromeOptions(); options.DebuggerAddress = "localhost:9222"; IWebDriver driver = new ChromeDriver…
Re: How do I establish an open connection to an open web browser in C#?
Programming
Software Development
2 Months Ago
by xivlauncher
You can also use SHDocVw or System.Diagnostics name spaces from C# to interact with an open web browser, or connect programmatically to an existing browser window using the UI Automation API. Of course, for deeper control over Chrome, you may need the Chrome DevTools Protocol.
Variable for + - * /
Programming
Software Development
15 Years Ago
by Darth Vader
I wonder for something. If it is possible to replace for example * with any kind of
variable
that holds either: + - * / Something like: [code]
Variable
= *; double Number1 = 5; double Number2 = 10; double NewNumber = 0; NewNumber = Number1 [B]
Variable
[/B] Number2; [/code]
Re: Variable for + - * /
Programming
Software Development
15 Years Ago
by Darth Vader
The
variable
should be changed during runtime of the code. [QUOTE=Sky Diploma;1026187]Well is it that you want the value of the
variable
to be changed at run-time or during compilation.[/QUOTE]
Re: Variable for + - * /
Programming
Software Development
15 Years Ago
by Sky Diploma
Well is it that you want the value of the
variable
to be changed at run-time or during compilation.
Re: Variable for + - * /
Programming
Software Development
15 Years Ago
by Darth Vader
… like this. Why I wanted to find any kind of
variable
is that code can be so much shorter if that…
variable???
Programming
Software Development
15 Years Ago
by girl.java
what is the main function for this
variable
in the code [CODE]int n= 1;[/CODE] [CODE]import …
Variable Variable Names
Programming
Software Development
20 Years Ago
by JimH
… char Inbuffer[2048]; printf("%s","
Variable
List: temperature, pressure, volume"); printf (&…quot;%s","Input
variable
name from list above:"); gets(Inbuffer); ScanError….... printf("%s","Input new value for
variable
:"); gets(inbuffer); ScanError=scanf("%d", …
variable array
Programming
Web Development
16 Years Ago
by R0bb0b
…theoretically this function will work accept the "
variable
array" part. And maybe that's … it. If you know what a
variable
variable
is: [CODE] $
variable
= "blue"; $$
variable
= "red"; //what …the same thing with an array: [CODE] $
variable
= "blue"; $$
variable
[] = "red"; //what I want …
Variable might not have been initialised
Programming
Software Development
14 Years Ago
by stephy1
I am retrieving values from database. I initialized a
variable
outside the loop. I am using while loop to …am assigning the record value to the
variable
initialized outside while. But It shows
variable
might not have been initialized error … in succeeding code wherever that
variable
is used. If I move them as class
variable
outside the method too i …
Re: Variable Variable Names
Programming
Software Development
20 Years Ago
by jwenting
make an hashmap of pointers to the variables with the name of the
variable
as the key. You can then simply look up the pointer by the name of the
variable
, dereference it, and you have your
variable
back.
Re: Variable Variable Names
Programming
Software Development
20 Years Ago
by Narue
>I need to assign a value to a
variable
named in a sting
variable
. Why? Most of the time this problem can be solved differently by looking at it the right way. Since this appears to be C, it takes quite a bit of work to solve it properly, and that would be a waste of time if you really want something simpler but can't see it.
Re: Variable Variable Names
Programming
Software Development
20 Years Ago
by JimH
… first impulse, but, would like to keep additional coding and
variable
space to a minimal. Is there any way to use… a string variabe as a
variable
name? However, I'll use your best advice. I haven…
Re: Variable Variable Names
Programming
Software Development
20 Years Ago
by Narue
>would like to keep additional coding and
variable
space to a minimal. To do a lookup table using … then the hash table is your best bet, likewise for
variable
space. Memory-wise you're looking at 60 string-value… there any way to use a string variabe as a
variable
name? No, not without a lot of framework in C…
Re: Variable Variable Names
Programming
Software Development
20 Years Ago
by JimH
[QUOTE=jwenting]make an hashmap of pointers to the variables with the name of the
variable
as the key. You can then simply look up the pointer by the name of the
variable
, dereference it, and you have your
variable
back.[/QUOTE] Thanx for suggestion. Gives me something to work on. :) JimH
Re: Variable Variable Names
Programming
Software Development
20 Years Ago
by JimH
[QUOTE=Narue]>would like to keep additional coding and
variable
space to a minimal. To do a lookup table using … then the hash table is your best bet, likewise for
variable
space. Memory-wise you're looking at 60 string-value… there any way to use a string variabe as a
variable
name? No, not without a lot of framework in C…
variable environment
Hardware and Software
Linux and Unix
19 Years Ago
by nik-
i try t set up a
variable
environment but i have problem. as root i do "name
variable
"=name
variable
; export name
variable
; PATH=..... but when i do reboot the variables is not there.i don't know how to save a
variable
. Do yoy have any suggestions?
Re: variable array
Programming
Web Development
16 Years Ago
by somedude3488
the syntax you are looking for is: [code] $
variable
= "blue"; ${$
variable
}[] = "red"; //print array to see if it worked (did for me) print_r(${$
variable
}); [/code]
variable might not have been initialized
Programming
Software Development
12 Years Ago
by MadJako
…); ^ MathNerd.java:100: error:
variable
thirdNumber might not have been initialized double…); ^ MathNerd.java:101: error:
variable
fourthNumber might not have been initialized double…
Re: variable might not have been initialized
Programming
Software Development
12 Years Ago
by MadJako
…secondNumber); ^ mathnerd.java:84: error:
variable
thirdNumber might not have been initialized double …thirdNumber); ^ mathnerd.java:85: error:
variable
fourthNumber might not have been initialized double fourNumber…
Variable equal to variable+string
Programming
Web Development
12 Years Ago
by fheppell
… this is from a GET query. I need the
variable
`$file_humanread`to be equal to whatever file is with humanname…, if file is equal to 'test', I need the
variable
$file_humanread to be equal to $test_humanread, which is set…file_humanread= $file, "_humanread" But when I echo the
variable
it comes out as: `_humanread` It should have echoed the…
Variable not recognised
Programming
3 Years Ago
by Bright_4
…out text message successfully on status update, but the
variable
$new_status does not get updated. I think within…brackets php is not recognising the $new_status as a
variable
. I notice that if i insert one apostrophe (')… just before $new_statusn like this '$new_status the
variable
turns green meaning it is recognised, however i get…
Re: Variable equal to variable+string
Programming
Web Development
12 Years Ago
by LastMitch
… as: _humanread It should have echoed the contents of the
variable
$test_humanread, which is 'Foo Bar' Can you post a little… form to get the the data or what is the
variable
in **$file**?
Variable Mysteriously Stops Echoing
Programming
Web Development
14 Years Ago
by Smudly
…inside an if statment where it needs to be. The
variable
is called $siteid. Inside my if statement I have …my database as it should. However, leaving it as the
variable
it will not work. Any help solving this mystery that… my head over for hours would be greatly appreciated! My
variable
echos correctly up until the line that says: // $siteid …
Variable onChange listener?
Programming
Software Development
4 Years Ago
by cqx9
… looking for a way to attach listener to a C#
variable
, so that every time its updated or read, it will… way to attach an actual listener to a
variable
which would update the
variable
as well as invoke an Event? Nobody ever… effort. // Downside: If I have to do this for every
variable
, if I will have to change a little bit of…
Re: Variable Question maybe a function..
Programming
Software Development
15 Years Ago
by shadwickman
…WhichCharacter() function. This is wrong because the
variable
you store it in is local only … options: # return the input so that the global
variable
# 'choice' (from mm.WhichCharacter()) stores it. …can use # if statements to make the 'player'
variable
# an instance of the proper class. if choice …
Re: Variable might not have been initialised
Programming
Software Development
14 Years Ago
by masijade
Then you may have [i]declared[/i] the
variable
outside the loop, but you didn't [i]initialise[/i] (…
Re: variable environment
Hardware and Software
Linux and Unix
19 Years Ago
by mittelgeek
Depends on what shell you using. The
variable
that is being changed needs to be included in the …
Variable passed to each() is not an array
Programming
Web Development
18 Years Ago
by assgar
…) I have attempeted to correct the error: "
Variable
passed to each() is not an array or object&… [146] => ) [choice] => Array ( [0] => A8 ) ) Warning:
Variable
passed to each() is not an array or object in…
Variable Question maybe a function..
Programming
Software Development
15 Years Ago
by Clueless86
…, I made a very simple function to keep track of
variable
Gold...Ok thats easy, everything works fine, except I made… the
variable
= 200 and when the function performs it adds like it… to it, and remember what I add and change that
variable
200 to whatever I add to it and so on…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC