473,320 Members | 1,870 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.

Public Shared Property

Al
I'd like to create Class Library in VB 2005, which has a property accessible
by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM

Private mMyProp As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

End Class

I compiled the project, created another project (Windows Forms) and added
this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
obj.MyProp = "Test"
MsgBox obj.MyProp
End Sub
Everything is fine so far.

But I wouldn't want to create an object, so I added for testing purposes
another Property as Public Shared:

Public Class COM

Private mMyProp As String

Private Shared mMyProp2 As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

Public Shared Property MyProp2() As String

Get

Return mMyProp2

End Get

Set(ByVal value As String)

mMyProp2 = value

End Set

End Property

End Class

I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.

Obviously I do not understand Shared stuff. What am I doing wrong?
I tried the same code with Early Binding and it did not work too.

So, how do I create and use properties without creating an object in the
client?

Thank you
Al
Jul 18 '06 #1
8 1992
The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.

You are supposed to access shared member through the class name.

Like: COM.MyProp2

Additionally, I am not sure why you are calling CreateObject? This is just a
..NET class. Use a constructor if you want an instance of it.

"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
I'd like to create Class Library in VB 2005, which has a property
accessible by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM

Private mMyProp As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

End Class

I compiled the project, created another project (Windows Forms) and added
this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
obj.MyProp = "Test"
MsgBox obj.MyProp
End Sub
Everything is fine so far.

But I wouldn't want to create an object, so I added for testing purposes
another Property as Public Shared:

Public Class COM

Private mMyProp As String

Private Shared mMyProp2 As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

Public Shared Property MyProp2() As String

Get

Return mMyProp2

End Get

Set(ByVal value As String)

mMyProp2 = value

End Set

End Property

End Class

I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.

Obviously I do not understand Shared stuff. What am I doing wrong?
I tried the same code with Early Binding and it did not work too.

So, how do I create and use properties without creating an object in the
client?

Thank you
Al

Jul 18 '06 #2
vul
Thank you, Marina.
How do I access shared member from an external program?
I wanted to make the property Shared to avoid creating Objects inside of DLL
by other Classes and Windows Forms. And inside of DLL this approach works.
But I need to access those properties from outside of DLL as well.

Al
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.

You are supposed to access shared member through the class name.

Like: COM.MyProp2

Additionally, I am not sure why you are calling CreateObject? This is just
a .NET class. Use a constructor if you want an instance of it.

"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
>I'd like to create Class Library in VB 2005, which has a property
accessible by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM

Private mMyProp As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

End Class

I compiled the project, created another project (Windows Forms) and added
this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
obj.MyProp = "Test"
MsgBox obj.MyProp
End Sub
Everything is fine so far.

But I wouldn't want to create an object, so I added for testing purposes
another Property as Public Shared:

Public Class COM

Private mMyProp As String

Private Shared mMyProp2 As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

Public Shared Property MyProp2() As String

Get

Return mMyProp2

End Get

Set(ByVal value As String)

mMyProp2 = value

End Set

End Property

End Class

I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.

Obviously I do not understand Shared stuff. What am I doing wrong?
I tried the same code with Early Binding and it did not work too.

So, how do I create and use properties without creating an object in the
client?

Thank you
Al


Jul 18 '06 #3
It doesn't matter what DLL the class is in. It's exactly the same.

"vul" <aa*@optonline.netwrote in message
news:Od**************@TK2MSFTNGP03.phx.gbl...
Thank you, Marina.
How do I access shared member from an external program?
I wanted to make the property Shared to avoid creating Objects inside of
DLL by other Classes and Windows Forms. And inside of DLL this approach
works.
But I need to access those properties from outside of DLL as well.

Al
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
>The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.

You are supposed to access shared member through the class name.

Like: COM.MyProp2

Additionally, I am not sure why you are calling CreateObject? This is
just a .NET class. Use a constructor if you want an instance of it.

"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
>>I'd like to create Class Library in VB 2005, which has a property
accessible by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM

Private mMyProp As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

End Class

I compiled the project, created another project (Windows Forms) and
added this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
obj.MyProp = "Test"
MsgBox obj.MyProp
End Sub
Everything is fine so far.

But I wouldn't want to create an object, so I added for testing purposes
another Property as Public Shared:

Public Class COM

Private mMyProp As String

Private Shared mMyProp2 As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

Public Shared Property MyProp2() As String

Get

Return mMyProp2

End Get

Set(ByVal value As String)

mMyProp2 = value

End Set

End Property

End Class

I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.

Obviously I do not understand Shared stuff. What am I doing wrong?
I tried the same code with Early Binding and it did not work too.

So, how do I create and use properties without creating an object in the
client?

Thank you
Al



Jul 18 '06 #4
Al
Could you give me the code for accessing property in DLL from external
program (VB client), please. Because I'm still confused.
Thank you
Al

"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:O%****************@TK2MSFTNGP04.phx.gbl...
It doesn't matter what DLL the class is in. It's exactly the same.

"vul" <aa*@optonline.netwrote in message
news:Od**************@TK2MSFTNGP03.phx.gbl...
>Thank you, Marina.
How do I access shared member from an external program?
I wanted to make the property Shared to avoid creating Objects inside of
DLL by other Classes and Windows Forms. And inside of DLL this approach
works.
But I need to access those properties from outside of DLL as well.

Al
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
>>The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.

You are supposed to access shared member through the class name.

Like: COM.MyProp2

Additionally, I am not sure why you are calling CreateObject? This is
just a .NET class. Use a constructor if you want an instance of it.

"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
I'd like to create Class Library in VB 2005, which has a property
accessible by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM

Private mMyProp As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

End Class

I compiled the project, created another project (Windows Forms) and
added this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
obj.MyProp = "Test"
MsgBox obj.MyProp
End Sub
Everything is fine so far.

But I wouldn't want to create an object, so I added for testing
purposes another Property as Public Shared:

Public Class COM

Private mMyProp As String

Private Shared mMyProp2 As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

Public Shared Property MyProp2() As String

Get

Return mMyProp2

End Get

Set(ByVal value As String)

mMyProp2 = value

End Set

End Property

End Class

I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.

Obviously I do not understand Shared stuff. What am I doing wrong?
I tried the same code with Early Binding and it did not work too.

So, how do I create and use properties without creating an object in
the client?

Thank you
Al



Jul 18 '06 #5
I did give you code. If your class name is COM, and the property is named
MySharedProp2, you would just say "COM.MySharedProp2".

That is all there is.

If you could create an instance of the class in the other program, then you
can certainly access a shared property.

It sounds to me like you are missing something else much more basic,
although what that is hard to say with the information you provided.

"Al" <al@newsgroups.comwrote in message
news:uU**************@TK2MSFTNGP04.phx.gbl...
Could you give me the code for accessing property in DLL from external
program (VB client), please. Because I'm still confused.
Thank you
Al

"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:O%****************@TK2MSFTNGP04.phx.gbl...
>It doesn't matter what DLL the class is in. It's exactly the same.

"vul" <aa*@optonline.netwrote in message
news:Od**************@TK2MSFTNGP03.phx.gbl...
>>Thank you, Marina.
How do I access shared member from an external program?
I wanted to make the property Shared to avoid creating Objects inside of
DLL by other Classes and Windows Forms. And inside of DLL this approach
works.
But I need to access those properties from outside of DLL as well.

Al
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.

You are supposed to access shared member through the class name.

Like: COM.MyProp2

Additionally, I am not sure why you are calling CreateObject? This is
just a .NET class. Use a constructor if you want an instance of it.

"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
I'd like to create Class Library in VB 2005, which has a property
accessible by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM
>
Private mMyProp As String
>
Public Property MyProp() As String
>
Get
>
Return mMyProp
>
End Get
>
Set(ByVal value As String)
>
mMyProp = value
>
End Set
>
End Property
>
End Class
>
I compiled the project, created another project (Windows Forms) and
added this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
obj.MyProp = "Test"
MsgBox obj.MyProp
End Sub
Everything is fine so far.
>
But I wouldn't want to create an object, so I added for testing
purposes another Property as Public Shared:
>
Public Class COM
>
Private mMyProp As String
>
Private Shared mMyProp2 As String
>
Public Property MyProp() As String
>
Get
>
Return mMyProp
>
End Get
>
Set(ByVal value As String)
>
mMyProp = value
>
End Set
>
End Property
>
Public Shared Property MyProp2() As String
>
Get
>
Return mMyProp2
>
End Get
>
Set(ByVal value As String)
>
mMyProp2 = value
>
End Set
>
End Property
>
End Class
>
I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.
>
Obviously I do not understand Shared stuff. What am I doing wrong?
I tried the same code with Early Binding and it did not work too.
>
So, how do I create and use properties without creating an object in
the client?
>
Thank you
Al
>




Jul 18 '06 #6
Al
I'm trying to use in client:
SharedTestDLL.COM.MyProp2 = "Test2"
MsgBox SharedTestDLL.COM.MyProp2
and get an error : Variable not defined.
I tried:
COM.MyProp2 = "Test2"
and
MyProp2 = "Test2"
with no succes either.
Maybe I need to declare some variable first then assign somehow the value,
but it looks like creating an object from my DLL class again. And you say I
should not do that (create an instance)
So, how the code in VB client should look in order to work with MyProp2
property wich is declared as Public Shared inside of DLL's Class?
Sorry for my stupidity.
Al


"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:uQ*************@TK2MSFTNGP05.phx.gbl...
>I did give you code. If your class name is COM, and the property is named
MySharedProp2, you would just say "COM.MySharedProp2".

That is all there is.

If you could create an instance of the class in the other program, then
you can certainly access a shared property.

It sounds to me like you are missing something else much more basic,
although what that is hard to say with the information you provided.

"Al" <al@newsgroups.comwrote in message
news:uU**************@TK2MSFTNGP04.phx.gbl...
>Could you give me the code for accessing property in DLL from external
program (VB client), please. Because I'm still confused.
Thank you
Al

"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:O%****************@TK2MSFTNGP04.phx.gbl...
>>It doesn't matter what DLL the class is in. It's exactly the same.

"vul" <aa*@optonline.netwrote in message
news:Od**************@TK2MSFTNGP03.phx.gbl...
Thank you, Marina.
How do I access shared member from an external program?
I wanted to make the property Shared to avoid creating Objects inside
of DLL by other Classes and Windows Forms. And inside of DLL this
approach works.
But I need to access those properties from outside of DLL as well.

Al
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.
>
You are supposed to access shared member through the class name.
>
Like: COM.MyProp2
>
Additionally, I am not sure why you are calling CreateObject? This is
just a .NET class. Use a constructor if you want an instance of it.
>
"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl.. .
>I'd like to create Class Library in VB 2005, which has a property
>accessible by external programs.
>I decided to include 1 Class with 1 property in this project.
>I placed this code in Class:
>Public Class COM
>>
>Private mMyProp As String
>>
>Public Property MyProp() As String
>>
>Get
>>
>Return mMyProp
>>
>End Get
>>
>Set(ByVal value As String)
>>
>mMyProp = value
>>
>End Set
>>
>End Property
>>
>End Class
>>
>I compiled the project, created another project (Windows Forms) and
>added this code to it:
>Private obj As Object
>Private Sub Command1_Click()
> Set obj = CreateObject("SharedTestDLL.COM")
> obj.MyProp = "Test"
> MsgBox obj.MyProp
>End Sub
>Everything is fine so far.
>>
>But I wouldn't want to create an object, so I added for testing
>purposes another Property as Public Shared:
>>
>Public Class COM
>>
>Private mMyProp As String
>>
>Private Shared mMyProp2 As String
>>
>Public Property MyProp() As String
>>
>Get
>>
>Return mMyProp
>>
>End Get
>>
>Set(ByVal value As String)
>>
>mMyProp = value
>>
>End Set
>>
>End Property
>>
>Public Shared Property MyProp2() As String
>>
>Get
>>
>Return mMyProp2
>>
>End Get
>>
>Set(ByVal value As String)
>>
>mMyProp2 = value
>>
>End Set
>>
>End Property
>>
>End Class
>>
>I also added the code to work with the second property in my client:
> obj.MyProp2 = "Test2"
> MsgBox obj.MyProp2
>I'm getting an error:
>Object doesn't support this property or method.
>>
>Obviously I do not understand Shared stuff. What am I doing wrong?
>I tried the same code with Early Binding and it did not work too.
>>
>So, how do I create and use properties without creating an object in
>the client?
>>
>Thank you
>Al
>>
>
>




Jul 18 '06 #7
Al
Sorry, I misled you.
I'm using VB6 client. Probably this is the problem. I just tried to use VB
2005 client and after I added a reference to SharedTestDLL, I got an access
to COM class and its shared property.
Is Late Binding possible to access that shared property?
I have a reason to use VB6 with Late Binding (long explanation)
So I need somehow to find the way to work with properties of DLL from VB6
client.
I also have a reason to create DLL in VB 2005, not in VB6.

Al

"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:uQ*************@TK2MSFTNGP05.phx.gbl...
>I did give you code. If your class name is COM, and the property is named
MySharedProp2, you would just say "COM.MySharedProp2".

That is all there is.

If you could create an instance of the class in the other program, then
you can certainly access a shared property.

It sounds to me like you are missing something else much more basic,
although what that is hard to say with the information you provided.

"Al" <al@newsgroups.comwrote in message
news:uU**************@TK2MSFTNGP04.phx.gbl...
>Could you give me the code for accessing property in DLL from external
program (VB client), please. Because I'm still confused.
Thank you
Al

"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:O%****************@TK2MSFTNGP04.phx.gbl...
>>It doesn't matter what DLL the class is in. It's exactly the same.

"vul" <aa*@optonline.netwrote in message
news:Od**************@TK2MSFTNGP03.phx.gbl...
Thank you, Marina.
How do I access shared member from an external program?
I wanted to make the property Shared to avoid creating Objects inside
of DLL by other Classes and Windows Forms. And inside of DLL this
approach works.
But I need to access those properties from outside of DLL as well.

Al
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:e7**************@TK2MSFTNGP04.phx.gbl...
The problem is you are still accessing the property through the object
reference 'obj', which you presumably never instantiate.
>
You are supposed to access shared member through the class name.
>
Like: COM.MyProp2
>
Additionally, I am not sure why you are calling CreateObject? This is
just a .NET class. Use a constructor if you want an instance of it.
>
"Al" <al@newsgroups.comwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl.. .
>I'd like to create Class Library in VB 2005, which has a property
>accessible by external programs.
>I decided to include 1 Class with 1 property in this project.
>I placed this code in Class:
>Public Class COM
>>
>Private mMyProp As String
>>
>Public Property MyProp() As String
>>
>Get
>>
>Return mMyProp
>>
>End Get
>>
>Set(ByVal value As String)
>>
>mMyProp = value
>>
>End Set
>>
>End Property
>>
>End Class
>>
>I compiled the project, created another project (Windows Forms) and
>added this code to it:
>Private obj As Object
>Private Sub Command1_Click()
> Set obj = CreateObject("SharedTestDLL.COM")
> obj.MyProp = "Test"
> MsgBox obj.MyProp
>End Sub
>Everything is fine so far.
>>
>But I wouldn't want to create an object, so I added for testing
>purposes another Property as Public Shared:
>>
>Public Class COM
>>
>Private mMyProp As String
>>
>Private Shared mMyProp2 As String
>>
>Public Property MyProp() As String
>>
>Get
>>
>Return mMyProp
>>
>End Get
>>
>Set(ByVal value As String)
>>
>mMyProp = value
>>
>End Set
>>
>End Property
>>
>Public Shared Property MyProp2() As String
>>
>Get
>>
>Return mMyProp2
>>
>End Get
>>
>Set(ByVal value As String)
>>
>mMyProp2 = value
>>
>End Set
>>
>End Property
>>
>End Class
>>
>I also added the code to work with the second property in my client:
> obj.MyProp2 = "Test2"
> MsgBox obj.MyProp2
>I'm getting an error:
>Object doesn't support this property or method.
>>
>Obviously I do not understand Shared stuff. What am I doing wrong?
>I tried the same code with Early Binding and it did not work too.
>>
>So, how do I create and use properties without creating an object in
>the client?
>>
>Thank you
>Al
>>
>
>




Jul 18 '06 #8
"Al" <al@newsgroups.comschrieb:
I'd like to create Class Library in VB 2005, which has a property
accessible by external programs.
I decided to include 1 Class with 1 property in this project.
I placed this code in Class:
Public Class COM

Private mMyProp As String

Public Property MyProp() As String

Get

Return mMyProp

End Get

Set(ByVal value As String)

mMyProp = value

End Set

End Property

End Class

I compiled the project, created another project (Windows Forms) and added
this code to it:
Private obj As Object
Private Sub Command1_Click()
Set obj = CreateObject("SharedTestDLL.COM")
I am wondering why you are using 'CreateObject' instead of 'New
SharedTestDLL.COM'.
But I wouldn't want to create an object, so I added for testing purposes
another Property as Public Shared:

Public Class COM

Private mMyProp As String

Private Shared mMyProp2 As String

Public Property MyProp() As String
Your property declaration is lacking the 'Shared' keyword.
I also added the code to work with the second property in my client:
obj.MyProp2 = "Test2"
MsgBox obj.MyProp2
I'm getting an error:
Object doesn't support this property or method.
Type 'obj' as 'COM' instead of 'Object'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jul 18 '06 #9

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

Similar topics

3
by: Joe Fallon | last post by:
I have a Shared varibale in a base class and all the Shared methods in the sub-classes use it (and CHANGE it). I thought I was saving myself the "trouble" of Dimming this variable inside each...
10
by: darrel | last post by:
I'm still trying to sort out in my head the differences between public and shared when referring to declaring properties or variables. This is my understanding: shared - akin to a 'global'...
13
by: MJ | last post by:
as topic, if i wan to create an array where the content of the array can be edited by form1 and form2, how i going to do it? for example the content of array is {1,2,3} form2 change the content...
4
by: Chris | last post by:
Hello, I'm just getting started with VB and am new to the group, so please excuse what may seem to be a rudimentary question. I've been writing basic programs and have noticed that the...
9
by: Stefan De Schepper | last post by:
Should I use: Private m_Name As String Public Property Name() As String Get Return m_Name End Get Set(ByVal Value As String) m_Name = Value
27
by: thomasp | last post by:
Variables that I would like to make available to all forms and modules in my program, where should I declare them? At the momment I just created a module and have them all declared public there. ...
2
by: Jon Paal | last post by:
In a 2.0 vb code class, I have a private property and a shared public function The property value has already been passed into the class, now I am trying to use a public finction which also needs...
8
by: Al | last post by:
I'd like to create Class Library in VB 2005, which has a property accessible by external programs. I decided to include 1 Class with 1 property in this project. I placed this code in Class:...
3
by: jbeteta | last post by:
Hello, I have a problem declaring variables. I need to create an object oRpte as ReportClass on WebForm1.aspx and be able to use its value on WebForm2.aspx. For declaring the property oRpte()...
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
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.