473,721 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Class not getting built

I have the following class in my VS 2008 project that has a namespace of
MyFunctions.

*************** *************** ***
Imports System
Imports System.Text.Reg ularExpressions

Namespace MyFunctions

Public Class BitHandling

'*----------------------------------------------------------*
'* Name : BitSet *
'*----------------------------------------------------------*
'* Purpose : Sets a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H80000000 Or Number
Else
Number = (2 ^ Bit) Or Number
End If
BitSet = Number
End Function

'*----------------------------------------------------------*
'* Name : BitClear *
'*----------------------------------------------------------*
'* Purpose : Clears a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitClear(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H7FFFFFFF And Number
Else
Number = ((2 ^ Bit) Xor &HFFFFFFFF) And Number
End If

BitClear = Number
End Function

'*----------------------------------------------------------*
'* Name : BitIsSet *
'*----------------------------------------------------------*
'* Purpose : Test if bit 0 to bit 31 is set *
'*----------------------------------------------------------*
Public Shared Function BitIsSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Boolean
BitIsSet = False

If Bit = 31 Then
If Number And &H80000000 Then BitIsSet = True
Else
If Number And (2 ^ Bit) Then BitIsSet = True
End If
End Function

End Class

Public Class Strings

'*----------------------------------------------------------*
'* Name : StripHtml *
'*----------------------------------------------------------*
'* Purpose :Strip HTML tags from Text *
'*----------------------------------------------------------*
Public Shared Function stripHTML(ByVal strHTML As String) As String
'Strips the HTML tags from strHTML

Dim strOutput As String
Dim objRegExp As New Regex("<(.|\n)+ ?>", RegexOptions.Ig noreCase)

'Replace all HTML tag matches with the empty string
strOutput = objRegExp.Repla ce(strHTML, "")

'Replace all < and with &lt; and &gt;
strOutput = strOutput.Repla ce("<", "&lt;")
strOutput = strOutput.Repla ce(">", "&gt;")

stripHTML = strOutput 'Return the value of strOutput
End Function

End Class

End Namespace

*************** *************** ****

In my default.aspx.vb I have:

Imports MyFunctions

But I am getting an error:

*************** *************** *************** ****
Namespace or type specified in the project-level Imports 'MyFunctions'
doesn't contain any public member or cannot be found. Make sure the
namespace or the type is defined and contains at least one public member.
Make sure the alias name doesn't contain other aliases.
*************** *************** *************** ****

But the above, namespace does exist and has public members (all of which
give me errors in my code saying that they are not declared?

I tried putting this file in the root as well as the under a folder called
"Classes" as I had it in my 2003 project and I also tried putting it in the
App_Code folder. None of which worked.

What am I missing?

Thanks,

Tom

Sep 13 '08 #1
5 1637
I need to find out why this is not compiling.

I can't go any further without it. I am getting "not defined" errors for
all the functions in this class.

This is just a class not an aspx.vb page. And it is included in the
project.

It is a very simple Web Site project with very little in it at this point.

It has the App_Code, Images, and CSS folders and default.aspx is in the
root.

I have put my BitHandling.vb in the root and in the App_Code folder and it
seems to ignore it.

Why is that?

Thanks,

Tom

"tshad" <tf*@dslextreme .comwrote in message
news:uE******** ******@TK2MSFTN GP05.phx.gbl...
>I have the following class in my VS 2008 project that has a namespace of
MyFunctions.

*************** *************** ***
Imports System
Imports System.Text.Reg ularExpressions

Namespace MyFunctions

Public Class BitHandling

'*----------------------------------------------------------*
'* Name : BitSet *
'*----------------------------------------------------------*
'* Purpose : Sets a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H80000000 Or Number
Else
Number = (2 ^ Bit) Or Number
End If
BitSet = Number
End Function

'*----------------------------------------------------------*
'* Name : BitClear *
'*----------------------------------------------------------*
'* Purpose : Clears a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitClear(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H7FFFFFFF And Number
Else
Number = ((2 ^ Bit) Xor &HFFFFFFFF) And Number
End If

BitClear = Number
End Function

'*----------------------------------------------------------*
'* Name : BitIsSet *
'*----------------------------------------------------------*
'* Purpose : Test if bit 0 to bit 31 is set *
'*----------------------------------------------------------*
Public Shared Function BitIsSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Boolean
BitIsSet = False

If Bit = 31 Then
If Number And &H80000000 Then BitIsSet = True
Else
If Number And (2 ^ Bit) Then BitIsSet = True
End If
End Function

End Class

Public Class Strings

'*----------------------------------------------------------*
'* Name : StripHtml *
'*----------------------------------------------------------*
'* Purpose :Strip HTML tags from Text *
'*----------------------------------------------------------*
Public Shared Function stripHTML(ByVal strHTML As String) As String
'Strips the HTML tags from strHTML

Dim strOutput As String
Dim objRegExp As New Regex("<(.|\n)+ ?>", RegexOptions.Ig noreCase)

'Replace all HTML tag matches with the empty string
strOutput = objRegExp.Repla ce(strHTML, "")

'Replace all < and with &lt; and &gt;
strOutput = strOutput.Repla ce("<", "&lt;")
strOutput = strOutput.Repla ce(">", "&gt;")

stripHTML = strOutput 'Return the value of strOutput
End Function

End Class

End Namespace

*************** *************** ****

In my default.aspx.vb I have:

Imports MyFunctions

But I am getting an error:

*************** *************** *************** ****
Namespace or type specified in the project-level Imports 'MyFunctions'
doesn't contain any public member or cannot be found. Make sure the
namespace or the type is defined and contains at least one public member.
Make sure the alias name doesn't contain other aliases.
*************** *************** *************** ****

But the above, namespace does exist and has public members (all of which
give me errors in my code saying that they are not declared?

I tried putting this file in the root as well as the under a folder called
"Classes" as I had it in my 2003 project and I also tried putting it in
the App_Code folder. None of which worked.

What am I missing?

Thanks,

Tom

Sep 13 '08 #2
I did try to run a makeBitHandling .bat file from the console and put the
..dll into a bin folder that I created which is how I did it in VS 2003.

vbc /t:library bitHandling.vb /r:system.dll
attrib ..\bin\bitHandl ing.dll -r
copy bitHandling.dll ..\bin\*.*

The .bat file wouldn't work correctly. It gave me the error:

'???vbc' is not recognized as an internal or external command,
operable program or batch file.

Not sure what the prefix characters are but if I copy the lines and paste
them into the console, it works fine and puts the .dll file into the bin
folder.

Now when I type in:

Imports MyFunctions

It recognizes it. When I type it "Imports ", Intellisense shows MyFunctions
in the list - so it does see it.

but all the functions: BitClear, BitSet and BitIsSet all show as undefined.
And you can see the class below where all the functions are private.

Why doesn't the program see them????

Thanks,

Tom
"tshad" <tf*@dslextreme .comwrote in message
news:ew******** ******@TK2MSFTN GP03.phx.gbl...
>I need to find out why this is not compiling.

I can't go any further without it. I am getting "not defined" errors for
all the functions in this class.

This is just a class not an aspx.vb page. And it is included in the
project.

It is a very simple Web Site project with very little in it at this point.

It has the App_Code, Images, and CSS folders and default.aspx is in the
root.

I have put my BitHandling.vb in the root and in the App_Code folder and it
seems to ignore it.

Why is that?

Thanks,

Tom

"tshad" <tf*@dslextreme .comwrote in message
news:uE******** ******@TK2MSFTN GP05.phx.gbl...
>>I have the following class in my VS 2008 project that has a namespace of
MyFunctions .

************** *************** ****
Imports System
Imports System.Text.Reg ularExpressions

Namespace MyFunctions

Public Class BitHandling

'*----------------------------------------------------------*
'* Name : BitSet *
'*----------------------------------------------------------*
'* Purpose : Sets a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H80000000 Or Number
Else
Number = (2 ^ Bit) Or Number
End If
BitSet = Number
End Function

'*----------------------------------------------------------*
'* Name : BitClear *
'*----------------------------------------------------------*
'* Purpose : Clears a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitClear(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H7FFFFFFF And Number
Else
Number = ((2 ^ Bit) Xor &HFFFFFFFF) And Number
End If

BitClear = Number
End Function

'*----------------------------------------------------------*
'* Name : BitIsSet *
'*----------------------------------------------------------*
'* Purpose : Test if bit 0 to bit 31 is set *
'*----------------------------------------------------------*
Public Shared Function BitIsSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Boolean
BitIsSet = False

If Bit = 31 Then
If Number And &H80000000 Then BitIsSet = True
Else
If Number And (2 ^ Bit) Then BitIsSet = True
End If
End Function

End Class

Public Class Strings

'*----------------------------------------------------------*
'* Name : StripHtml *
'*----------------------------------------------------------*
'* Purpose :Strip HTML tags from Text *
'*----------------------------------------------------------*
Public Shared Function stripHTML(ByVal strHTML As String) As String
'Strips the HTML tags from strHTML

Dim strOutput As String
Dim objRegExp As New Regex("<(.|\n)+ ?>", RegexOptions.Ig noreCase)

'Replace all HTML tag matches with the empty string
strOutput = objRegExp.Repla ce(strHTML, "")

'Replace all < and with &lt; and &gt;
strOutput = strOutput.Repla ce("<", "&lt;")
strOutput = strOutput.Repla ce(">", "&gt;")

stripHTML = strOutput 'Return the value of strOutput
End Function

End Class

End Namespace

************** *************** *****

In my default.aspx.vb I have:

Imports MyFunctions

But I am getting an error:

************** *************** *************** *****
Namespace or type specified in the project-level Imports 'MyFunctions'
doesn't contain any public member or cannot be found. Make sure the
namespace or the type is defined and contains at least one public member.
Make sure the alias name doesn't contain other aliases.
************** *************** *************** *****

But the above, namespace does exist and has public members (all of which
give me errors in my code saying that they are not declared?

I tried putting this file in the root as well as the under a folder
called "Classes" as I had it in my 2003 project and I also tried putting
it in the App_Code folder. None of which worked.

What am I missing?

Thanks,

Tom


Sep 13 '08 #3

"tshad" <tf*@dslextreme .comwrote in message
news:uE******** ******@TK2MSFTN GP05.phx.gbl...
>I have the following class in my VS 2008 project that has a namespace of
MyFunctions.

*************** *************** ***
Imports System
Imports System.Text.Reg ularExpressions

Namespace MyFunctions

Public Class BitHandling

'*----------------------------------------------------------*
'* Name : BitSet *
'*----------------------------------------------------------*
'* Purpose : Sets a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H80000000 Or Number
Else
Number = (2 ^ Bit) Or Number
End If
BitSet = Number
End Function

'*----------------------------------------------------------*
'* Name : BitClear *
'*----------------------------------------------------------*
'* Purpose : Clears a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitClear(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H7FFFFFFF And Number
Else
Number = ((2 ^ Bit) Xor &HFFFFFFFF) And Number
End If

BitClear = Number
End Function

'*----------------------------------------------------------*
'* Name : BitIsSet *
'*----------------------------------------------------------*
'* Purpose : Test if bit 0 to bit 31 is set *
'*----------------------------------------------------------*
Public Shared Function BitIsSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Boolean
BitIsSet = False

If Bit = 31 Then
If Number And &H80000000 Then BitIsSet = True
Else
If Number And (2 ^ Bit) Then BitIsSet = True
End If
End Function

End Class

Public Class Strings

'*----------------------------------------------------------*
'* Name : StripHtml *
'*----------------------------------------------------------*
'* Purpose :Strip HTML tags from Text *
'*----------------------------------------------------------*
Public Shared Function stripHTML(ByVal strHTML As String) As String
'Strips the HTML tags from strHTML

Dim strOutput As String
Dim objRegExp As New Regex("<(.|\n)+ ?>", RegexOptions.Ig noreCase)

'Replace all HTML tag matches with the empty string
strOutput = objRegExp.Repla ce(strHTML, "")

'Replace all < and with &lt; and &gt;
strOutput = strOutput.Repla ce("<", "&lt;")
strOutput = strOutput.Repla ce(">", "&gt;")

stripHTML = strOutput 'Return the value of strOutput
End Function

End Class

End Namespace

*************** *************** ****

In my default.aspx.vb I have:

Imports MyFunctions

But I am getting an error:

*************** *************** *************** ****
Namespace or type specified in the project-level Imports 'MyFunctions'
doesn't contain any public member or cannot be found. Make sure the
namespace or the type is defined and contains at least one public member.
Make sure the alias name doesn't contain other aliases.
*************** *************** *************** ****

But the above, namespace does exist and has public members (all of which
give me errors in my code saying that they are not declared?

I tried putting this file in the root as well as the under a folder called
"Classes" as I had it in my 2003 project and I also tried putting it in
the App_Code folder. None of which worked.

What am I missing?
Try adding this attribute to the system.web/compilation element in your
web.config

defaultLanguage ="VB"

Note your .vb file should be placed in the App_Code folder, remove it from
the root.

--
Anthony Jones - MVP ASP/ASP.NET

Sep 14 '08 #4
Anthony Jones wrote:
"tshad" <tf*@dslextreme .comwrote in message
news:uE******** ******@TK2MSFTN GP05.phx.gbl...
>I have the following class in my VS 2008 project that has a
namespace of MyFunctions.

************** *************** ****
Imports System
Imports System.Text.Reg ularExpressions

Namespace MyFunctions

Public Class BitHandling

'*----------------------------------------------------------*
'* Name : BitSet *
'*----------------------------------------------------------*
'* Purpose : Sets a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H80000000 Or Number
Else
Number = (2 ^ Bit) Or Number
End If
BitSet = Number
End Function

'*----------------------------------------------------------*
'* Name : BitClear *
'*----------------------------------------------------------*
'* Purpose : Clears a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitClear(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H7FFFFFFF And Number
Else
Number = ((2 ^ Bit) Xor &HFFFFFFFF) And Number
End If

BitClear = Number
End Function

'*----------------------------------------------------------*
'* Name : BitIsSet *
'*----------------------------------------------------------*
'* Purpose : Test if bit 0 to bit 31 is set *
'*----------------------------------------------------------*
Public Shared Function BitIsSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Boolean
BitIsSet = False

If Bit = 31 Then
If Number And &H80000000 Then BitIsSet = True
Else
If Number And (2 ^ Bit) Then BitIsSet = True
End If
End Function

End Class

Public Class Strings

'*----------------------------------------------------------*
'* Name : StripHtml *
'*----------------------------------------------------------*
'* Purpose :Strip HTML tags from Text *
'*----------------------------------------------------------*
Public Shared Function stripHTML(ByVal strHTML As String) As
String 'Strips the HTML tags from strHTML

Dim strOutput As String
Dim objRegExp As New Regex("<(.|\n)+ ?>",
RegexOptions.I gnoreCase) 'Replace all HTML tag matches with the empty
string
strOutput = objRegExp.Repla ce(strHTML, "")

'Replace all < and with &lt; and &gt;
strOutput = strOutput.Repla ce("<", "&lt;")
strOutput = strOutput.Repla ce(">", "&gt;")

stripHTML = strOutput 'Return the value of strOutput
End Function

End Class

End Namespace

************** *************** *****

In my default.aspx.vb I have:

Imports MyFunctions

But I am getting an error:

************** *************** *************** *****
Namespace or type specified in the project-level Imports
'MyFunctions ' doesn't contain any public member or cannot be found.
Make sure the namespace or the type is defined and contains at least
one public member. Make sure the alias name doesn't contain other
aliases. *************** *************** *************** ****

But the above, namespace does exist and has public members (all of
which give me errors in my code saying that they are not declared?

I tried putting this file in the root as well as the under a folder
called "Classes" as I had it in my 2003 project and I also tried
putting it in the App_Code folder. None of which worked.

What am I missing?

Try adding this attribute to the system.web/compilation element in
your web.config

defaultLanguage ="VB"

Note your .vb file should be placed in the App_Code folder, remove it
from the root.
I did that and it doesn't compile.

If I compile the program by hand and put the dll into the bin folder - it
works fine. All the errors that use the functions go away. When typing in
Imports - MyFunctions shows up fine in the list.

But if I delete the dll and put the same BitHandling.vb into the App_Code
folder - nothing happens and I get errors for all the BitHandling functions
and MyFunctions is now not in the Intellisense list when typing in Imports.

I also added this line into the system.web node of the web.config file:
<compilation defaultLanguage ="VB" debug="true">

But that didn't help either.

Thanks,

Tom
Sep 14 '08 #5
tshad wrote:
Anthony Jones wrote:
>"tshad" <tf*@dslextreme .comwrote in message
news:uE******* *******@TK2MSFT NGP05.phx.gbl.. .
>>I have the following class in my VS 2008 project that has a
namespace of MyFunctions.

************* *************** *****
Imports System
Imports System.Text.Reg ularExpressions

Namespace MyFunctions

Public Class BitHandling

'*----------------------------------------------------------*
'* Name : BitSet *
'*----------------------------------------------------------*
'* Purpose : Sets a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H80000000 Or Number
Else
Number = (2 ^ Bit) Or Number
End If
BitSet = Number
End Function

'*----------------------------------------------------------*
'* Name : BitClear *
'*----------------------------------------------------------*
'* Purpose : Clears a given Bit in Number *
'*----------------------------------------------------------*
Public Shared Function BitClear(ByVal Number As Integer, _
ByVal Bit As Integer) As Long
If Bit = 31 Then
Number = &H7FFFFFFF And Number
Else
Number = ((2 ^ Bit) Xor &HFFFFFFFF) And Number
End If

BitClear = Number
End Function

'*----------------------------------------------------------*
'* Name : BitIsSet *
'*----------------------------------------------------------*
'* Purpose : Test if bit 0 to bit 31 is set *
'*----------------------------------------------------------*
Public Shared Function BitIsSet(ByVal Number As Integer, _
ByVal Bit As Integer) As Boolean
BitIsSet = False

If Bit = 31 Then
If Number And &H80000000 Then BitIsSet = True
Else
If Number And (2 ^ Bit) Then BitIsSet = True
End If
End Function

End Class

Public Class Strings

'*----------------------------------------------------------*
'* Name : StripHtml *
'*----------------------------------------------------------*
'* Purpose :Strip HTML tags from Text *
'*----------------------------------------------------------*
Public Shared Function stripHTML(ByVal strHTML As String) As
String 'Strips the HTML tags from strHTML

Dim strOutput As String
Dim objRegExp As New Regex("<(.|\n)+ ?>",
RegexOptions. IgnoreCase) 'Replace all HTML tag matches with the
empty string
strOutput = objRegExp.Repla ce(strHTML, "")

'Replace all < and with &lt; and &gt;
strOutput = strOutput.Repla ce("<", "&lt;")
strOutput = strOutput.Repla ce(">", "&gt;")

stripHTML = strOutput 'Return the value of strOutput
End Function

End Class

End Namespace

************* *************** ******

In my default.aspx.vb I have:

Imports MyFunctions

But I am getting an error:

************* *************** *************** ******
Namespace or type specified in the project-level Imports
'MyFunction s' doesn't contain any public member or cannot be found.
Make sure the namespace or the type is defined and contains at least
one public member. Make sure the alias name doesn't contain other
aliases. *************** *************** *************** ****

But the above, namespace does exist and has public members (all of
which give me errors in my code saying that they are not declared?

I tried putting this file in the root as well as the under a folder
called "Classes" as I had it in my 2003 project and I also tried
putting it in the App_Code folder. None of which worked.

What am I missing?

Try adding this attribute to the system.web/compilation element in
your web.config

defaultLanguag e="VB"

Note your .vb file should be placed in the App_Code folder, remove it
from the root.

I did that and it doesn't compile.

If I compile the program by hand and put the dll into the bin folder
- it works fine. All the errors that use the functions go away. When
typing in Imports - MyFunctions shows up fine in the list.

But if I delete the dll and put the same BitHandling.vb into the
App_Code folder - nothing happens and I get errors for all the
BitHandling functions and MyFunctions is now not in the Intellisense
list when typing in Imports.
I also added this line into the system.web node of the web.config
file: <compilation defaultLanguage ="VB" debug="true">

But that didn't help either.
I was able to get this to work using the App_Code as was suggested and
adding the a few lines to the web.config file.

I was also able to get both my vb and cs files to compile (only in the web
site project but on in a Class Library) by setting up 2 folders in the
App_Code folder and pointing at the in the web.config file as suggested by
others.

Thanks,

Tom
Thanks,

Tom

Sep 14 '08 #6

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

Similar topics

2
9599
by: Fernando Rodriguez | last post by:
Hi, I need to traverse the methods defined in a class and its superclasses. This is the code I'm using: # An instance of class B should be able to check all the methods defined in B #and A, while an instance of class C should be able to check all methods #defined in C, B and A. #------------------------------------------------
6
3409
by: ryan.d.rembaum | last post by:
Hello, I have code that I wish to use in many web applications. Basically sort of stand utility stuff. So from Visual Studio Project I select add a component and chose Component Class. Lets say I enter code at the end of this question in to the code section. How then would I reference this in a new Web Application (or in the same web application for that matter?)
16
1989
by: Ajay | last post by:
Hi all, i want to know when i create a class.what all it contains.I know the following things are there by default if i do not declare them by myself.Please tell the other things that are left. 1. constructor 2.Destructor 3.Copy constructor 4. Assignment operator
7
1909
by: Andrew Robert | last post by:
Hi Everyone, I am having a problem with a class and hope you can help. When I try to use the class listed below, I get the statement that self is not defined. test=TriggerMessage(data) var = test.decode(self.qname)
4
3692
by: Chuck Chopp | last post by:
I have an application that I originally built using Visual Studio .NET 2003 as native C++ . This application includes a template class that was derived from the string class that's part of the C++ STL. Specifically, it extends the class with some additional methods to support changes in encoding as well as sprintf-style in-place formatting. Now, I've been asked to provide a version of the application running on Linux. I'm using GCC as...
14
2634
by: lovecreatesbea... | last post by:
Could you tell me how many class members the C++ language synthesizes for a class type? Which members in a class aren't derived from parent classes? I have read the book The C++ Programming Language, but there isn't a detail and complete description on all the class members, aren't they important to class composing? Could you explain the special class behavior in detail? Thank you very much.
16
1785
by: Robert Dufour | last post by:
Here's the class code snippet Imports System.Configuration.ConfigurationManager Public Class Class1 Public _strTestSetting As String Public Sub SetTestsetting()
2
2628
by: Jeff Johnson | last post by:
Disclaimer: I am extremely new to Web services and may very well be doing the wrong thing! Background: I have a Web service and a Windows Forms client app (VS 2005). The Web service exposes a method to accept a ScheduleEntry object, which is a class I have written. I felt doing this would be cleaner than passing 7 or 8 parameters, but I've run into some problems. First, I learned that declaring classes in Web services isn't such a...
21
5192
by: Nikolaus Rath | last post by:
Hello, Can someone explain to me the difference between a type and a class? After reading http://www.cafepy.com/article/python_types_and_objects/ it seems to me that classes and types are actually the same thing: - both are instances of a metaclass, and the same metaclass ('type') can instantiate both classes and types. - both can be instantiated and yield an "ordinary" object - I can even inherit from a type and get a class
0
8730
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8007
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.