473,651 Members | 3,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A question about strange code?

I have signed up to a dotnet hosting account and I have a dotnet app
called CommunityServer , which allows me to setup my own news
forums. The path of one of my forums (the third one) is

http://.../communityserver/forums/3/ShowForum.aspx

I have looked in my ftp space, and although I was able to find
ShowForum.aspx, I was not able to fing a subdirectory "/3" -
this is my first question, i.e. were is it.

The second question is, assuming I do find the correct ShowForum.aspx
file, I would like to add to it some code of my own, however, when I
looked at this file I couldn't understand one bit of code, and as far as
I understand asp/x this is a very strange file, it goes like this:

<%@ Page SmartNavigation ="False" Language="C#" enableViewState = "false" %>
<%@ Register TagPrefix="CS" Namespace="Comm unityServer.Con trols"
Assembly="Commu nityServer.Cont rols" %>
<%@ Register TagPrefix="CSD"
Namespace="Comm unityServer.Dis cussions.Contro ls"
Assembly="Commu nityServer.Disc ussions" %>
<%@ Import Namespace="Comm unityServer.Dis cussions.Compon ents" %>
<%@ Import Namespace="Comm unityServer.Com ponents" %>

<CS:MPContain er runat="server" id="MPContainer " ThemeMasterFile =
"ForumMaster.as cx" >
<CS:MPContent id="bcr" runat="server">
<CSD:ThreadVi ew runat="server" id="Threadview1 " />
</CS:MPContent>
<CS:MPContent id="rcr" runat="server" >
<div class="CommonSi debar">
<div class="CommonSi debarArea">
<h4 class="CommonSi debarHeader"><C S:ResourceLabel runat="server"
ResourceName="S hortcuts" id="Resourcelab el7"/></h4>
<div class="CommonSi debarContent">
<CSD:ForumLinkB ar runat="Server" ID="Forumlinkba r1"/>
</div>
</div>
<div class="CommonSi debarArea">
<h4 class="CommonSi debarHeader">
<cs:ResourceCon trol ResourceName="P opularTags" runat="server" />
</h4>
<div class="CommonSi debarContent">
<CS:TagCloud
TagCloudCssClas ses="CommonTag6 ,CommonTag5,Com monTag4,CommonT ag3,CommonTag2, C
ommonTag1" runat="server" id="TagCloud" MaximumNumberOf Tags="25"
ShowTagCounts=" false" IgnoreFilterTag s="true"
CssClass="Commo nSidebarTagClou d" />
</div>
<div class="CommonSi debarFooter">
<a href="<%=SiteUr ls.Instance().T agsHome %>"><cs:Resourc eControl
ResourceName="V iewAllTags" runat="server" ID="Resourcecon trol2"
NAME="Resourcec ontrol2"/></a>
</div>
</div>
</div>
</CS:MPContent>
</CS:MPContainer>

Does anyone know what all these xml means, and how can I add, for
example, a bit of code that just prints "hello world" to the screen.
I know this is c#, but I think if I have the vb answer I would be able
to convert to c#.

Tia.
Aug 23 '07 #1
1 1924
Witthi,

This is a dotnet vb language code newsgroup.
What you show us is the XML code around an ASPX webpage.

Probably you get more and maybe better answers in the newsgroup.

microsoft.publi c.dotnet.framew ork.aspnet

success

Cor
<Witthischree f in bericht news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>I have signed up to a dotnet hosting account and I have a dotnet app
called CommunityServer , which allows me to setup my own news
forums. The path of one of my forums (the third one) is

http://.../communityserver/forums/3/ShowForum.aspx

I have looked in my ftp space, and although I was able to find
ShowForum.aspx, I was not able to fing a subdirectory "/3" -
this is my first question, i.e. were is it.

The second question is, assuming I do find the correct ShowForum.aspx
file, I would like to add to it some code of my own, however, when I
looked at this file I couldn't understand one bit of code, and as far as
I understand asp/x this is a very strange file, it goes like this:

<%@ Page SmartNavigation ="False" Language="C#" enableViewState = "false"
%>
<%@ Register TagPrefix="CS" Namespace="Comm unityServer.Con trols"
Assembly="Commu nityServer.Cont rols" %>
<%@ Register TagPrefix="CSD"
Namespace="Comm unityServer.Dis cussions.Contro ls"
Assembly="Commu nityServer.Disc ussions" %>
<%@ Import Namespace="Comm unityServer.Dis cussions.Compon ents" %>
<%@ Import Namespace="Comm unityServer.Com ponents" %>

<CS:MPContain er runat="server" id="MPContainer " ThemeMasterFile =
"ForumMaster.as cx" >
<CS:MPContent id="bcr" runat="server">
<CSD:ThreadVi ew runat="server" id="Threadview1 " />
</CS:MPContent>
<CS:MPContent id="rcr" runat="server" >
<div class="CommonSi debar">
<div class="CommonSi debarArea">
<h4 class="CommonSi debarHeader"><C S:ResourceLabel runat="server"
ResourceName="S hortcuts" id="Resourcelab el7"/></h4>
<div class="CommonSi debarContent">
<CSD:ForumLinkB ar runat="Server" ID="Forumlinkba r1"/>
</div>
</div>
<div class="CommonSi debarArea">
<h4 class="CommonSi debarHeader">
<cs:ResourceCon trol ResourceName="P opularTags" runat="server" />
</h4>
<div class="CommonSi debarContent">
<CS:TagCloud
TagCloudCssClas ses="CommonTag6 ,CommonTag5,Com monTag4,CommonT ag3,CommonTag2, C
ommonTag1" runat="server" id="TagCloud" MaximumNumberOf Tags="25"
ShowTagCounts=" false" IgnoreFilterTag s="true"
CssClass="Commo nSidebarTagClou d" />
</div>
<div class="CommonSi debarFooter">
<a href="<%=SiteUr ls.Instance().T agsHome %>"><cs:Resourc eControl
ResourceName="V iewAllTags" runat="server" ID="Resourcecon trol2"
NAME="Resourcec ontrol2"/></a>
</div>
</div>
</div>
</CS:MPContent>
</CS:MPContainer>

Does anyone know what all these xml means, and how can I add, for
example, a bit of code that just prints "hello world" to the screen.
I know this is c#, but I think if I have the vb answer I would be able
to convert to c#.

Tia.

Aug 23 '07 #2

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

Similar topics

25
3717
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's machines. The code opens MS Word through Automation and then opens a particular Word doc. It's still working fine on most machines; but on one or two of them, the user is getting an Automation Error. The code used is as follows: Dim objWord As...
8
2227
by: Harvey Twyman | last post by:
I have code written under the CCS 'C' Compiler to run on a PIC microcontroller. Code Extract: ------------------------------- char a,b,c; ------------------------------- c = ( a == b ); -------------------------------
16
1967
by: Ronny Mandal | last post by:
Hi! I am writing a program that'll read binary integers from a file, put them into a dynamic array. THe array is first declared int* a = malloc( sizeof( int ) * N ) <-- N is the number of slots. When N is odd, the program will work just fine, however when N is even, it will not work.
3
1065
by: Ross Holder | last post by:
Am trying to bind a textbox ASP.NET web control to an UPDATE stored proc in the codebehind and can't seem to get it working. I'm using a dataview, which a SELECT stored proc populates in the codebehind. So the class I built to read from the database is fine. But for some strange reason, the dataview never seems to get passed the user input form the textbox back to the dataview, and thus the update logic while working just fine as far as I can...
36
2515
by: utab | last post by:
Dear, I have experince in C( numerical projects, like engineering problems, scientific applications) I have the basic notion of C++ also, I have read Accelerated C++ until Chapter 7, however it seems that it discusses the std and the other part of the language with your own abstractions. Is that better to read a book first on the basic concepts of C++ language (but not the C part) that gives the basics as if the reader is a beginner...
4
4889
by: Kürþat | last post by:
Hi all, I do some drawing in a form's paint event handler and I have a button on that form. Whenever the mouse enters or leaves the button Form's paint event occurs. Isn't that a strange behavior? Is it possible to prevent that? Thanks.
90
3408
by: John Salerno | last post by:
I'm a little confused. Why doesn't s evaluate to True in the first part, but it does in the second? Is the first statement something different? False print 'hi' hi Thanks.
20
3534
by: liujiaping | last post by:
I'm confused about the program below: int main(int argc, char* argv) { char str1 = "abc"; char str2 = "abc"; const char str3 = "abc"; const char str4 = "abc"; const char* str5 = "abc";
14
3317
by: blumen | last post by:
Hi all, I'm a newbie in VB.Net Programming.. Hope that some of you can help me to solve this.. I'm working out to read,parse and save textfile into SQL Server. The textfile contains thousands of rows with about 50 coloums every row.. Everythings goes well until I found one textfile with some strange character...seems to be Japanese character(because it's a Japanese company who owns this textfile)
0
8361
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8807
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
8701
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...
1
8466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7299
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
6158
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...
0
5615
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1588
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.