473,320 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Global Variables nott Global?

I have a Module that declares several arrays as public, some string, some
integers. I then have 2 forms. Form A is the main form, that loads on
start-up, and has a command button to open Form B. On form B there are
several text boxes where the array values can be changed, however when I
close B and go back to A, those values are lost. I thought Public meant
Public?

Larry L
Jul 17 '05 #1
13 4830
> I have a Module that declares several arrays as public, some string, some
integers. I then have 2 forms. Form A is the main form, that loads on
start-up, and has a command button to open Form B. On form B there are
several text boxes where the array values can be changed, however when I
close B and go back to A, those values are lost. I thought Public meant
Public?


Did you by any chance declare an array on either FormA or FormB with the
same name as the one you made Public in your Module?

Rick - MVP
Jul 17 '05 #2
In article <hu********************@comcast.com>, "Rick Rothstein" <ri************@NOSPAMcomcast.net> wrote:
I have a Module that declares several arrays as public, some string, some
integers. I then have 2 forms. Form A is the main form, that loads on
start-up, and has a command button to open Form B. On form B there are
several text boxes where the array values can be changed, however when I
close B and go back to A, those values are lost. I thought Public meant
Public?


Did you by any chance declare an array on either FormA or FormB with the
same name as the one you made Public in your Module?

Rick - MVP


Rick,

No, not at all. The A form reads values for the 3 arrays from a file in
Form Load and then shows itself. It's actually 6 items, with 3 pieces of
information each (1 string, 1 integer, and 1 Boolean). Those items are not
represented on form A. I then click form B to see 18 text boxes (6x3) with
those variable names, showing the values. I now see that the values in the
file are NOT shown there.

FYI, I had all this working fine on a single form, but it's cluttered, and
I wanted to move the variables input to another form (It will only be
needed at start-up).

Larry L
Jul 17 '05 #3
Where are you assigning the new values entered on Form B back into the
array? Global *is* global ... you've got an error somewhere.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:yH*******************@twister.socal.rr.com...
: In article <hu********************@comcast.com>, "Rick Rothstein"
<ri************@NOSPAMcomcast.net> wrote:
: >> I have a Module that declares several arrays as public, some string,
some
: >> integers. I then have 2 forms. Form A is the main form, that loads on
: >> start-up, and has a command button to open Form B. On form B there are
: >> several text boxes where the array values can be changed, however when
I
: >> close B and go back to A, those values are lost. I thought Public meant
: >> Public?
: >
: >Did you by any chance declare an array on either FormA or FormB with the
: >same name as the one you made Public in your Module?
: >
: >Rick - MVP
:
: Rick,
:
: No, not at all. The A form reads values for the 3 arrays from a file in
: Form Load and then shows itself. It's actually 6 items, with 3 pieces of
: information each (1 string, 1 integer, and 1 Boolean). Those items are not
: represented on form A. I then click form B to see 18 text boxes (6x3) with
: those variable names, showing the values. I now see that the values in the
: file are NOT shown there.
:
: FYI, I had all this working fine on a single form, but it's cluttered, and
: I wanted to move the variables input to another form (It will only be
: needed at start-up).
:
: Larry L
Jul 17 '05 #4
In article <xk****************@news04.bloor.is.net.cable.roge rs.com>, "Randy Birch" <rg************@mvps.org> wrote:
Where are you assigning the new values entered on Form B back into the
array? Global *is* global ... you've got an error somewhere.


Randy,

I definitely know I have an error! :-) I also know Public means it, but
can't see where the problem is. Here's what's happening -

The Program starts with Form A. In the Form A Load procedure it loads Form
B with Show. In the Form B Load procedure it calls a subroutine that reads
a file, assigning the values to the items in the 3 arrays (6 sets of 3
pieces ea). Those items do indeed show up in the text boxes of their name
on form B. However when I now go to Form A (whether or not I close B 1st)
and print the variables to a text box there (or try to use them), they are
all null. I'm lost?

Remenber this was all working fine, until I tried to move the text boxes
to a seperate form ("B"). The 3 arrays were always declared Public in the
..bas module of the project.

Larry L
Jul 17 '05 #5

"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:BF*******************@twister.socal.rr.com...
In article <xk****************@news04.bloor.is.net.cable.roge rs.com>, "Randy Birch" <rg************@mvps.org> wrote:
Where are you assigning the new values entered on Form B back into thearray? Global *is* global ... you've got an error somewhere.


Randy,

I definitely know I have an error! :-) I also know Public means it,

but can't see where the problem is. Here's what's happening -

The Program starts with Form A. In the Form A Load procedure it loads Form B with Show. In the Form B Load procedure it calls a subroutine that reads a file, assigning the values to the items in the 3 arrays (6 sets of 3
pieces ea). Those items do indeed show up in the text boxes of their name on form B. However when I now go to Form A (whether or not I close B 1st) and print the variables to a text box there (or try to use them), they are all null. I'm lost?

Remenber this was all working fine, until I tried to move the text boxes to a seperate form ("B"). The 3 arrays were always declared Public in the .bas module of the project.

Larry L


I think you have some "residual" code from the earlier version, which is
reloading the arrays after the Form B load event completes - perhaps. in
the Form A load event, after the call to show form B.

The fact that the values show in the textboxes means only that they were
in the array when you copied the array values to the textboxes, not that
they are still there.

Step through your program from the beginning of the Form A load event,
and examine the contents of one of the array values in the debug window
after every line of code. I'm sure you'll find the spot.
Jul 17 '05 #6
You asked if global meant global. I said yes. My reference to 'error' meant
either some code that is not adding the updated data to the array you
expect, or failing to add it at all. Do you have Option Explicit as the
first line in every form and module? If not add that, then hit Run / Start
with full compile and see if anything breaks.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:BF*******************@twister.socal.rr.com...
: In article <xk****************@news04.bloor.is.net.cable.roge rs.com>,
"Randy Birch" <rg************@mvps.org> wrote:
: >Where are you assigning the new values entered on Form B back into the
: >array? Global *is* global ... you've got an error somewhere.
: >
:
: Randy,
:
: I definitely know I have an error! :-) I also know Public means it, but
: can't see where the problem is. Here's what's happening -
:
: The Program starts with Form A. In the Form A Load procedure it loads Form
: B with Show. In the Form B Load procedure it calls a subroutine that reads
: a file, assigning the values to the items in the 3 arrays (6 sets of 3
: pieces ea). Those items do indeed show up in the text boxes of their name
: on form B. However when I now go to Form A (whether or not I close B 1st)
: and print the variables to a text box there (or try to use them), they are
: all null. I'm lost?
:
: Remenber this was all working fine, until I tried to move the text boxes
: to a seperate form ("B"). The 3 arrays were always declared Public in the
: bas module of the project.
:
: Larry L
Jul 17 '05 #7
In article <ne********************@comcast.com>, "Steve Gerrard" <no*************@comcast.net> wrote:


I think you have some "residual" code from the earlier version, which is
reloading the arrays after the Form B load event completes - perhaps. in
the Form A load event, after the call to show form B.

The fact that the values show in the textboxes means only that they were
in the array when you copied the array values to the textboxes, not that
they are still there.

Step through your program from the beginning of the Form A load event,
and examine the contents of one of the array values in the debug window
after every line of code. I'm sure you'll find the spot.


I added option explicit as Randy suggested, and indeed it led me to a
logic error that had to do with mis-placed code, but that part had nothing
o do with this problem. So I added a Watch on one of the array variables,
and stepped through it. When B opens, and the data file is read, that
variable correctly gets its value, which holds right up until the code
jumps back to Form A, at which point the watch says the value is <out of
context>.

I can't find any reference to that error, but now I think I see the
problem, so tell me if this is right. In the past (when it was all on the
same form) I've defined the arrays as public, and then named the text
boxes with those names Text1(1), Text1(2) etc. Now I see that when that
form loses focus or closes, those names are not available to Form B, even
they are Public? So I actually need to name the text boxes something
different and set the variables to their values after the file read when
form B opens?

Larry L

Jul 17 '05 #8
You can't name controls the same name as variables.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:8v*******************@twister.socal.rr.com...
: In article <ne********************@comcast.com>, "Steve Gerrard"
<no*************@comcast.net> wrote:
: >
: >
: >I think you have some "residual" code from the earlier version, which is
: >reloading the arrays after the Form B load event completes - perhaps. in
: >the Form A load event, after the call to show form B.
: >
: >The fact that the values show in the textboxes means only that they were
: >in the array when you copied the array values to the textboxes, not that
: >they are still there.
: >
: >Step through your program from the beginning of the Form A load event,
: >and examine the contents of one of the array values in the debug window
: >after every line of code. I'm sure you'll find the spot.
: >
:
: I added option explicit as Randy suggested, and indeed it led me to a
: logic error that had to do with mis-placed code, but that part had nothing
: o do with this problem. So I added a Watch on one of the array variables,
: and stepped through it. When B opens, and the data file is read, that
: variable correctly gets its value, which holds right up until the code
: jumps back to Form A, at which point the watch says the value is <out of
: context>.
:
: I can't find any reference to that error, but now I think I see the
: problem, so tell me if this is right. In the past (when it was all on the
: same form) I've defined the arrays as public, and then named the text
: boxes with those names Text1(1), Text1(2) etc. Now I see that when that
: form loses focus or closes, those names are not available to Form B, even
: they are Public? So I actually need to name the text boxes something
: different and set the variables to their values after the file read when
: form B opens?
:
: Larry L
:
Jul 17 '05 #9

"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:8v*******************@twister.socal.rr.com...
In article <ne********************@comcast.com>, "Steve Gerrard" <no*************@comcast.net> wrote:


I can't find any reference to that error, but now I think I see the
problem, so tell me if this is right. In the past (when it was all on the same form) I've defined the arrays as public, and then named the text
boxes with those names Text1(1), Text1(2) etc. Now I see that when that form loses focus or closes, those names are not available to Form B, even they are Public? So I actually need to name the text boxes something
different and set the variables to their values after the file read when form B opens?

Larry L


Just to expand on Randy's succinct answer, your text boxes are
essentially module level variables. I believe that in general, when
variables have the same name, the closest context rules, i.e. local
level overrides module level, and module level overrides global.
Although it is legal, it is considered bad form to have any variables or
controls with the same name, or to re-use any existing VB procedure
names. Your case is a perfect example of why.

It may also be that you are not clear that a variable and a text box are
two different things. You should be declaring an array, loading the
array from a file, and then explicitly assigning the array values to the
textboxes. There is no sense in which a textbox is "bound" to a variable
(although they can be bound to database fields, but that is a different
story).
Jul 17 '05 #10
In article <sN********************@comcast.com>, "Steve Gerrard" <no*************@comcast.net> wrote:

"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:8v*******************@twister.socal.rr.com.. .
In article <ne********************@comcast.com>, "Steve Gerrard"

<no*************@comcast.net> wrote:
>


Just to expand on Randy's succinct answer, your text boxes are
essentially module level variables. I believe that in general, when
variables have the same name, the closest context rules, i.e. local
level overrides module level, and module level overrides global.
Although it is legal, it is considered bad form to have any variables or
controls with the same name, or to re-use any existing VB procedure
names. Your case is a perfect example of why.

It may also be that you are not clear that a variable and a text box are
two different things. You should be declaring an array, loading the
array from a file, and then explicitly assigning the array values to the
textboxes. There is no sense in which a textbox is "bound" to a variable
(although they can be bound to database fields, but that is a different
story).


Steve,

When I started this, I created a textbox, copied and pasted it, and was
asked if I wanted to create an array. I said Yes, and went from there to
create 6 boxes. I then used those names in my other code as "variables"
(sure, I know the difference). Short, sweet, simple, and it worked
perfectly. I changed the text in a textbox, and the "variable" changed,
with no other code required. They weren't seperate entities having the
same name, they were the same thing. I'm not at all sure why that's
considered bad form? It seems to me to be more efficient.

The problem came when I seperated the form into two forms. I assumed that
since I'd declared the arrays (the text boxes) in a module as public, that
they'd be available in the other form, but obviously they aren't. Now much
as you suggested, I've declared another set of variables as arrays of the
same size, and assign the values in the text boxes to those variables,
change the variables, and the assign the values back to the text boxes.
Sure was easier before I split the forms!

Thanks so much to you and Randy for your help.

Larry L
Jul 17 '05 #11
What precisely do you mean when you say "I assumed that since I'd declared
the arrays (the text boxes) in a module as public, that they'd be available
in the other form"?

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:zu*******************@twister.socal.rr.com...
: In article <sN********************@comcast.com>, "Steve Gerrard"
<no*************@comcast.net> wrote:
: >
: >"Larry L" <la***@somewhereinhawaii.net> wrote in message
: >news:8v*******************@twister.socal.rr.com.. .
: >> In article <ne********************@comcast.com>, "Steve Gerrard"
: ><no*************@comcast.net> wrote:
: >> >
: >
: >Just to expand on Randy's succinct answer, your text boxes are
: >essentially module level variables. I believe that in general, when
: >variables have the same name, the closest context rules, i.e. local
: >level overrides module level, and module level overrides global.
: >Although it is legal, it is considered bad form to have any variables or
: >controls with the same name, or to re-use any existing VB procedure
: >names. Your case is a perfect example of why.
: >
: >It may also be that you are not clear that a variable and a text box are
: >two different things. You should be declaring an array, loading the
: >array from a file, and then explicitly assigning the array values to the
: >textboxes. There is no sense in which a textbox is "bound" to a variable
: >(although they can be bound to database fields, but that is a different
: >story).
: >
:
: Steve,
:
: When I started this, I created a textbox, copied and pasted it, and was
: asked if I wanted to create an array. I said Yes, and went from there to
: create 6 boxes. I then used those names in my other code as "variables"
: (sure, I know the difference). Short, sweet, simple, and it worked
: perfectly. I changed the text in a textbox, and the "variable" changed,
: with no other code required. They weren't seperate entities having the
: same name, they were the same thing. I'm not at all sure why that's
: considered bad form? It seems to me to be more efficient.
:
: The problem came when I seperated the form into two forms. I assumed that
: since I'd declared the arrays (the text boxes) in a module as public, that
: they'd be available in the other form, but obviously they aren't. Now much
: as you suggested, I've declared another set of variables as arrays of the
: same size, and assign the values in the text boxes to those variables,
: change the variables, and the assign the values back to the text boxes.
: Sure was easier before I split the forms!
:
: Thanks so much to you and Randy for your help.
:
: Larry L
Jul 17 '05 #12
(also in answer Randy's last question)

So you thought that if you started with say, Text(0) and Text(1) on a
form, you could then elsewhere declare Public Text(), and make the
textboxes be public. What you got instead was a separate array called
Text, and the subsequent confusion.

In fact, the textboxes on FormB are sort of public, in that you could
reference formB.Text(0) from code in FormA to get at one of the
textboxes. However, the textboxes on FormB are unloaded along with FormB
when it is closed, so they are never really global variables.

It may at first seem a pain to load values into variables, then "write"
the variables into textboxes, parse a user's edit, and "write" the new
value back to the variable. In the long run though, it allows much more
control over what happens with bad input, undo buttons, formatting
currency, etc. It also lets you change your mind about how to display
something (checkbox? list? grid?), without affecting how you use the
value in code. Once your programs start getting a little bigger, it is
the only way to fly.

Have fun.
Steve

"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:zu*******************@twister.socal.rr.com...
In article <sN********************@comcast.com>, "Steve Gerrard" <no*************@comcast.net> wrote:

"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:8v*******************@twister.socal.rr.com.. .
In article <ne********************@comcast.com>, "Steve Gerrard"

<no*************@comcast.net> wrote:
>


Just to expand on Randy's succinct answer, your text boxes are
essentially module level variables. I believe that in general, when
variables have the same name, the closest context rules, i.e. local
level overrides module level, and module level overrides global.
Although it is legal, it is considered bad form to have any variables orcontrols with the same name, or to re-use any existing VB procedure
names. Your case is a perfect example of why.

It may also be that you are not clear that a variable and a text box aretwo different things. You should be declaring an array, loading the
array from a file, and then explicitly assigning the array values to thetextboxes. There is no sense in which a textbox is "bound" to a variable(although they can be bound to database fields, but that is a differentstory).


Steve,

When I started this, I created a textbox, copied and pasted it, and

was asked if I wanted to create an array. I said Yes, and went from there to create 6 boxes. I then used those names in my other code as "variables" (sure, I know the difference). Short, sweet, simple, and it worked
perfectly. I changed the text in a textbox, and the "variable" changed, with no other code required. They weren't seperate entities having the
same name, they were the same thing. I'm not at all sure why that's
considered bad form? It seems to me to be more efficient.

The problem came when I seperated the form into two forms. I assumed that since I'd declared the arrays (the text boxes) in a module as public, that they'd be available in the other form, but obviously they aren't. Now much as you suggested, I've declared another set of variables as arrays of the same size, and assign the values in the text boxes to those variables,
change the variables, and the assign the values back to the text boxes. Sure was easier before I split the forms!

Thanks so much to you and Randy for your help.

Larry L

Jul 17 '05 #13
In article <3s********************@comcast.com>, "Steve Gerrard" <no*************@comcast.net> wrote:
(also in answer Randy's last question)

So you thought that if you started with say, Text(0) and Text(1) on a
form, you could then elsewhere declare Public Text(), and make the
textboxes be public. What you got instead was a separate array called
Text, and the subsequent confusion.
Essentially exactly what I thought, as I had declared the names in a
module, which as I understand it, runs before the forms are loaded, thus
my assumption that they were Public.
In fact, the textboxes on FormB are sort of public, in that you could
reference formB.Text(0) from code in FormA to get at one of the
textboxes. However, the textboxes on FormB are unloaded along with FormB
when it is closed, so they are never really global variables.
Actually I don't close A, I just make visible=false, so I apparantly could
indeed call on those values.
It may at first seem a pain to load values into variables, then "write"
the variables into textboxes, parse a user's edit, and "write" the new
value back to the variable. In the long run though, it allows much more
control over what happens with bad input, undo buttons, formatting
currency, etc. It also lets you change your mind about how to display
something (checkbox? list? grid?), without affecting how you use the
value in code. Once your programs start getting a little bigger, it is
the only way to fly.

Have fun.
Steve
Steve, it has indeed been some form of "fun" for all values of Fun=
Frustration with added learning! I actually learned to program on a
machine with 48k of memory and 100k floppys that had to hold all your code
and your data. We scrutinized every routine for maximum efficiency, which
I still do by nature. Todays paradigm is far different, and I haven't
written any code in 10 years. Vbasic was a real challenge to get my head
around, and I've tried to learn it from a couple of books, that suggested
the very methods that were failing for me.

I genuinely appreciate all your time, and for me at least it's actually
paying off. The project still has a way to go, but is working. Most of the
problems I now have are due to some complicated logic issues, and the fact
it must run on both 98 and XP, and it's using api calls that don't work
the same way on both, (like SetForegroundWindow).

I'm still ahving fun!
Larry L [in Honolulu]
"Larry L" <la***@somewhereinhawaii.net> wrote in message
news:zu*******************@twister.socal.rr.com.. .
In article <sN********************@comcast.com>, "Steve Gerrard"

<no*************@comcast.net> wrote:
>
>"Larry L" <la***@somewhereinhawaii.net> wrote in message
>news:8v*******************@twister.socal.rr.com.. .
>> In article <ne********************@comcast.com>, "Steve Gerrard"
><no*************@comcast.net> wrote:
>> >
>
>Just to expand on Randy's succinct answer, your text boxes are
>essentially module level variables. I believe that in general, when
>variables have the same name, the closest context rules, i.e. local
>level overrides module level, and module level overrides global.
>Although it is legal, it is considered bad form to have any variablesor >controls with the same name, or to re-use any existing VB procedure
>names. Your case is a perfect example of why.
>
>It may also be that you are not clear that a variable and a text boxare >two different things. You should be declaring an array, loading the
>array from a file, and then explicitly assigning the array values tothe >textboxes. There is no sense in which a textbox is "bound" to avariable >(although they can be bound to database fields, but that is adifferent >story).
>


Steve,

When I started this, I created a textbox, copied and pasted it, and

was
asked if I wanted to create an array. I said Yes, and went from there

to
create 6 boxes. I then used those names in my other code as

"variables"
(sure, I know the difference). Short, sweet, simple, and it worked
perfectly. I changed the text in a textbox, and the "variable"

changed,
with no other code required. They weren't seperate entities having the
same name, they were the same thing. I'm not at all sure why that's
considered bad form? It seems to me to be more efficient.

The problem came when I seperated the form into two forms. I assumed

that
since I'd declared the arrays (the text boxes) in a module as public,

that
they'd be available in the other form, but obviously they aren't. Now

much
as you suggested, I've declared another set of variables as arrays of

the
same size, and assign the values in the text boxes to those variables,
change the variables, and the assign the values back to the text

boxes.
Sure was easier before I split the forms!

Thanks so much to you and Randy for your help.

Larry L


Jul 17 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andrew V. Romero | last post by:
I have been working on a function which makes it easier for me to pull variables from the URL. So far I have: <script language="JavaScript"> var variablesInUrl; var vArray = new Array(); ...
17
by: MLH | last post by:
A97 Topic: If there is a way to preserve the values assigned to global variables when an untrapped runtime error occurs? I don't think there is, but I thought I'd ask. During development, I'm...
33
by: MLH | last post by:
I've read some posts indicating that having tons of GV's in an Access app is a bad idea. Personally, I love GVs and I use them (possibly abuse them) all the time for everything imaginable - have...
6
by: Generic Usenet Account | last post by:
Is it okay to return a local datastructure (something of type struct) from a function, as long as it does not have any pointer fields? I think it is a bad idea, but one of my colleagues does not...
23
by: Tim Anderson | last post by:
Is this expected behavior? Winform with button and listbox: Dim i As Integer For i = 0 To 50 Dim s As String If i = 1 Then s = "Only once?" End If
0
by: chrisoftoday | last post by:
I'm quite new to PHP so apologies if this is a really simple problem. I'm using a session variable to store a userID after login and trying to build a query using this variable. I have...
9
by: CDMAPoster | last post by:
About a year ago there was a thread about the use of global variables in A97: http://groups.google.com/group/comp.databases.ms-access/browse_frm/thread/fedc837a5aeb6157 Best Practices by Kang...
5
by: Sandman | last post by:
I dont think I understand them. I've read the section on scope in the manual inside out. I'm running PHP 5.2.0 Here is the code I'm working on: //include_me.php <?php $MYVAR = array(); global...
1
weaknessforcats
by: weaknessforcats | last post by:
C++: The Case Against Global Variables Summary This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.