|
That's a HTML tag, it's only going to show an image in a web browser.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Is using the html namespace what you're looking for?
<html:img src="http://www.innnews.co.th/crime/47619.jpg" border="0" align="left" width="100" alt="sssss'">
|
|
|
|
|
Hi All
I have created a web service that receive data from an embedded device and dumps the data in a SQL2005 database.
I need now to read this data base and when a new user is added he or she must gets access to the reporting service of SQL2005.
I was thinking of writing a web method that will create the user as required. But I get a access denied error, which I understand, now the question
How do I side step this problem?
Progress is a process , so value it
|
|
|
|
|
Sorry here is the code
<webmethod()> _
Public Function Create_users_on_server(ByVal login As String, ByVal User_password As String, ByVal password As Integer)
Dim x As VariantType
Dim dirEntry As DirectoryEntry
dirEntry = New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer")
Dim entries As DirectoryEntries = dirEntry.Children
If password = (PassWordFactor * System.DateTime.Now.Day) Then
' Set login name and full name.
Dim newUser As DirectoryEntry = entries.Add(login, "User")
newUser.Properties("Description").Add(login)
' User must change password at next logon (1 - true, 0 - false)
newUser.Properties("PasswordExpired").Add(0)
' Password never expires.
'newUser.Properties("PasswordAge").Add(0)
' Set flags - User Cannot change password | Password never expires.
newUser.Properties("Userflags").Add(&H40 Or &H10000)
' Set the password.
Dim result As Object = newUser.Invoke("SetPassword", User_password)
x = newUser.Path
newUser.CommitChanges()
' Add user to the group "Members"
Dim grp As DirectoryEntry = dirEntry.Children.Find("Members", "group")
If (Not grp Is Nothing) Then
grp.Invoke("Add", New Object() {newUser.Path.ToString()})
End If
End If
End Function
Progress is a process , so value it
|
|
|
|
|
Hai Good Morning...
I need to update the xml file dynamically in vc++. i did parsing to the xml file then i displaying the parsed values in treectrl. now i am goin to edit the values in the ctrl...which means i will rename the values or deleting the values if i did these changes in treectrl i need to update the same values in XML file also....
any idea....
pls reply me
|
|
|
|
|
Hi,
I think that you should create DOM tree for your XML file and show it tree control. When you update anything in tree control, you should automatically update data in you DOM document. When you finish your changes (before you close your application, for example) you'll simple save DOM document. That's all. But if you have so big XML file this is not a good idea. You should use SAX to load you document and you should generate new XML file when you save changes.
I used these things in C#, but I think that there are some equivalents in C++. For example, I can recommend you Xerces. This is good cross-platform C++ library.
|
|
|
|
|
Hi,
Hi!
I’m writing an application that reads XML files that are auto generated form another application called Xapp.
My application is supposed to extract certain data from the generated XML files. Lets say that I need to extract the values from a number of caluclations done by Xapp called A and C in the example below.The calculations that aren't measured wont be listed so the files will variate quite much. A won't be present if its not calculated. What is the best and most dynamic way of extracting the data? I found the xmlreader abit to static. Is Xpath the right way? I’m developing in .Net 2.0
(very simplified example )
<Container>
<meaning>Calculations </meaning>
<Container>
<meaning> A</meaning>
<value>4.9</value>
</Container>
<Container>
<meaning> B</meaning>
<value>1.0</value>
</Container>
<Container>
<meaning> C</meaning>
<value>2.0</value>
</Container>
</Container>
Many Thanks
/Ibana
|
|
|
|
|
Personally, I'd build an XML serializable model to read XML into live objects. Then your controlling app can iterate through the graph to get whatever values you need, or you can alter the generated model to do calculations on itself. You can do this with XSD.exe or something like Skeleton Crew[^]. I'm not big on XmlReader or using XPath with XmlDocument, but they are also both reasonable approaches. If you only need the values from one type of node, maybe XPath would be less work. But if you are going to need anything else from your XML, you might want to look at a serializable model.
|
|
|
|
|
hello freinds,
I'm fresher and i'm trying to do a project of my own interest.THe project is to prepare microsite. The data is given as excel sheet and i need to convert that excel data into xml and using xslt i planned to show it in the web page. But i dont know how to convert excel data into xml.I want to know how to prepare dynamic xml file for the excel data.Pls tell me the code to convert into xml.I need the code to be work in jsp and the output xml code to be stored as file.
Awaiting ur reply soon.
knowledge seeking guy
|
|
|
|
|
Sir,
I am very new to Biztalk server development env. I have created a flatfile schema. When I say Validate Schema its giving all the records in the flatfile and they are correct. But when I say genenrate instance it is showing only dummy record, that too only one.
What I want to do is I have a flat file and that flat file data I want to process in some functoids in Biztalk maps. But its not giving what result I want pls. help me. Thank you.
Regards,
Aleem.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
hi can any one suggest me
how we can bind the xml code to web parts at runtime
Thanks
Mukkanti
|
|
|
|
|
Hi,
I think you should review XSLT trnsformation. If you're using ASP.NET, you can try <asp:xml> control. There is a good tutorial here
|
|
|
|
|
hai every one
i want run aspx page to remote iis
i should copy all source file and paste to remote iis machice
while run the project i will get below mention error
please give me the solution
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
thanks& regards
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
add this tag
<code><customErrors mode="RemoteOnly">
</customErrors></code>
inside the <code><system.web></code> tag
-- modified at 6:18 Friday 6th July, 2007
Regards,
Sylvester G
|
|
|
|
|
Hi There,
Found an xml article written in 2000 with following example:
XML:
<lineItems>
<lineItem>
<code>42AC5</code>
<title>Loopy Fruit Cereal</title>
<amount>12</amount>
<cost>4.25</cost>
</lineItem>
<lineItem>
<code>H343A</code>
<title>MicroSecond Rice</title>
<amount>14</amount>
<cost>2.35</cost>
</lineItem>
<lineItem>
<code>EA198</code>
<title>Crescent Toothpaste</title>
<amount>18</amount>
<cost>1.95</cost>
</lineItem>
</lineItems>
XSL:
You could then assign the total cost of the entire set of line items to a variable by using some of the built-in functions intrinsic to XPath:
<xsl:variable name="lineItemSubTotals">
<xsl:for-each select="//lineItem">
<subTotal><xsl:value-of select="number(amount)*number(cost)"/></subTotal>
</xsl:for-each>
</xsl:variable>
<xsl:variable name="lineItemsTotal">
<xsl:value-of select="sum($lineItemSubTotals/subTotal)"/>
</xsl:variable>
Implementing the above creates following error:
Reference to variable or parameter 'lineItemSubTotals' must evaluate to a node list.
Any suggestions?
-- modified at 3:02 Monday 25th June, 2007
|
|
|
|
|
The variable, $lineItemSubTotals, is a tree and not a node set (node list). Thus, you need to use "msxsl:node-set(string)":
<xsl:value-of select="sum(msxsl:node-set($lineItemSubTotals/subTotal))"
|
|
|
|
|
|
Hi everyone,
I am searching for a open source code project for bio-infomatic in vb 6.
Do you have any idea from where I can get that. Any website or link for that??
Waiting for the reply,
Thanks in advance.
--------------------------------------------------------------------------------------------------
Hiral Shah
India
|
|
|
|
|
You're probably not going to find it on the XML board...
|
|
|
|
|
hiral_shah wrote: open source code project for bio-infomatic in vb 6.
How you will get it in the XML forum.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
I have iframe in my page its load pdf file. when ever server event happen the iframes pdf get refreshed and its show first page of pdf. i want to avoid the pdf refresh and should show same page of pdf as it show before refresh.
haj
|
|
|
|
|
You need to ask this question in the Web Development forum.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
hello frnds,
i have a xml file which uses the dtd.
if i try to display a file by using IE and put the address like
"http://192.168.1.64/demoenu/m1/regional.xml"
then it shows an error says,
"can not view XML input using XSL style sheet"
and same file try to display using IE with the address like
\\ServerName\demoenu\m1\regional.xml
then it display well N good
why ???
where i am wrong.... Please Help
thankx in advance
-koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hello,
May be there IE can't find path to your DTD schema. If you have installed web-server and you can receive you DTD file from this server, may be you need to try something like
|
|
|
|
|
how to store the syncfusion datagrid related information (cell values,celltypes,column and row widths etc) in a xml?
Keshav Kamat
India
|
|
|
|