473,569 Members | 2,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP! XSLTranform and XMLTextWriter Error

I have tried everything with this!

I get an error stating "Index was outside the bounds of the array"

My code looks like this....

xmlDoc = New XmlDocument()
xmlDoc.Load("xm l.doc")

xslDoc = New XslTransform()
xslDoc.Load("xs l.doc")

Dim TWrtr As New XmlTextWriter(" c:\somelocation .doc",
System.Text.Enc oding.UTF8)

xslDoc.Transfor m(xmlDoc, Nothing, TWrtr)
TWrtr.Close()
xmlDoc = Nothing
xslDoc = Nothing

i do not want to post the XSL/XML as it has customer data in it and it
is extremely long.

I have tried other XSL/XML with this code and it works just fine.

The XSl and XML is under 2 GBs so I know that is not the problem.

If anyone has any solutions to this, please let me know.

Thanks,
Nov 12 '05 #1
12 2123
I can't see anything wrong with your code, although it would be more
effcient to use the XPathDocument class in place of the XmlDoxument. This
suggests that there is something wrong with the Xml / Xsl file.

Have you tried performing the same Xml / Xsl translation using XmlSpy (or
other) application?

Pete

"Amanda" <de*****@hotmai l.com> wrote in message
news:55******** *************** ***@posting.goo gle.com...
I have tried everything with this!

I get an error stating "Index was outside the bounds of the array"

My code looks like this....

xmlDoc = New XmlDocument()
xmlDoc.Load("xm l.doc")

xslDoc = New XslTransform()
xslDoc.Load("xs l.doc")

Dim TWrtr As New XmlTextWriter(" c:\somelocation .doc",
System.Text.Enc oding.UTF8)

xslDoc.Transfor m(xmlDoc, Nothing, TWrtr)
TWrtr.Close()
xmlDoc = Nothing
xslDoc = Nothing

i do not want to post the XSL/XML as it has customer data in it and it
is extremely long.

I have tried other XSL/XML with this code and it works just fine.

The XSl and XML is under 2 GBs so I know that is not the problem.

If anyone has any solutions to this, please let me know.

Thanks,

Nov 12 '05 #2
I would guess you've got some faulty xpath inside your xsl. It is worth
downloading a good xpath tester eg Nauman Leghari's
http://www.axisebusiness.com/nleghari/visualxpath.zip
"Amanda" <de*****@hotmai l.com> wrote in message
news:55******** *************** ***@posting.goo gle.com...
I have tried everything with this!

I get an error stating "Index was outside the bounds of the array"

My code looks like this....

xmlDoc = New XmlDocument()
xmlDoc.Load("xm l.doc")

xslDoc = New XslTransform()
xslDoc.Load("xs l.doc")

Dim TWrtr As New XmlTextWriter(" c:\somelocation .doc",
System.Text.Enc oding.UTF8)

xslDoc.Transfor m(xmlDoc, Nothing, TWrtr)
TWrtr.Close()
xmlDoc = Nothing
xslDoc = Nothing

i do not want to post the XSL/XML as it has customer data in it and it
is extremely long.

I have tried other XSL/XML with this code and it works just fine.

The XSl and XML is under 2 GBs so I know that is not the problem.

If anyone has any solutions to this, please let me know.

Thanks,

Nov 12 '05 #3
Amanda wrote:
I get an error stating "Index was outside the bounds of the array"


I remember there was some bug in XslTransform with such symptom. Upgrade
to the latest .NET and try to minimize your stylesheet so we can get
some repro.

--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Nov 12 '05 #4
I am able to do an xml/xsl translation through XML Spy. I DID have to
change the settings of XML Spy to Microsoft XML Parser and v 3.0.

I thought that might be the issue, but I was able to Load everything
in VB.net. I just can't do the XSL Transform. It may still be the
issue, but I am not that experienced in XSL/XML to know how to test if
that is the issue or not.

Any help is greatly appreciated with this! Thanks.

Below is just the top layer of my XSL.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:msxsl="ur n:schemas-microsoft-com:xslt">

<xsl:output indent="yes" method="html" doctype-public="-//W3C//DTD
XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

</xsl:stylesheet>
Nov 12 '05 #5
Amanda wrote:
I am able to do an xml/xsl translation through XML Spy. I DID have to
change the settings of XML Spy to Microsoft XML Parser and v 3.0.

I thought that might be the issue, but I was able to Load everything
in VB.net. I just can't do the XSL Transform. It may still be the
issue, but I am not that experienced in XSL/XML to know how to test if
that is the issue or not.


Well, can you at least provide full exception info including stack trace?

--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Nov 12 '05 #6
I actually figured out the problem for the most part.

The XSL had JavaScripts in it which XMLTextWriter could not handle

Now I am using

Dim xmlDoc As New MSXML2.DOMDocum ent()
Dim xslProc As MSXML2.IXSLProc essor
Dim xslTemp As MSXML2.XSLTempl ate
Dim Doc As New MSXML2.FreeThre adedDOMDocument ()
Dim fso As Scripting.FileS ystemObject

fso = New Scripting.FileS ystemObject()

xmlDoc = New MSXML2.DOMDocum ent()
xslTemp = New MSXML2.XSLTempl ate()
doc = New MSXML2.FreeThre adedDOMDocument ()

doc.async = False
Doc.load(("xsl. doc")
xslTemp.stylesh eet = doc
xmlDoc.load("xm l.doc")
xslProc = xslTemp.createP rocessor
xslProc.input = xmlDoc
xslProc.transfo rm()

file = fso.CreateTextF ile(c:\someloca tion.htm", True)

file.writeline( CStr(xslProc.ou tput))

The only problem with this is that I want to be able to create many
different document types - PDF, DOC, TXT, and HTML. With the file
scripting object I can't do this, can you think of a better solution.
Or can TextWriter handle JavaScripts?

Nov 12 '05 #7
de*****@hotmail .com wrote:
Or can TextWriter handle JavaScripts?


TextWriter has nothing to do with JavaScript, it's just a writer that
can write a sequential series of characters.

--
Oleg Tkachenko [XML MVP]
http://blog.tkachenko.com
Nov 12 '05 #8


I've got the same problem:

Here's the XML file:

------------------------------------------------

<query>
<selectSet>
<select visible="N">
<columnName>arp r_field_oid</columnName>
<columnAlias>re sult_key</columnAlias>
<indexName>ARPR _FIELD281390</indexName>
<resourceOid> 0</resourceOid>
</select>
<select visible="Y">
<columnName>arp r_field_name</columnName>
<columnAlias>fi eld_name</columnAlias>
<indexName>ARPR _FIELD281390</indexName>
<resourceOid>20 00910</resourceOid>
</select>
<select visible="Y">
<columnName>d_a rpr_main_field_ name</columnName>
<columnAlias>ma in_field_name</columnAlias>
<indexName>ARPR _FIELD281390</indexName>
<resourceOid>20 01005</resourceOid>
</select>
<select visible="Y" translate="Y">
<columnName>arp r_field_type_cd </columnName>
<columnAlias>ar pr_field_type_c d</columnAlias>
<indexName>ARPR _FIELD281390</indexName>
<resourceOid>20 01032</resourceOid>
</select>
</selectSet>
<sortSet>
<sort>
<columnName>mai n_field_name</columnName>
</sort>
<sort>
<columnName>arp r_field_type_cd </columnName>
</sort>
<sort>
<columnName>fie ld_name</columnName>
</sort>
<sort>
<columnName>res ult_key</columnName>
</sort>
</sortSet>
<fromSet>
<from>
<tableName>arpr _field</tableName>
<indexName>ARPR _FIELD281390</indexName>
<alias>a</alias>
</from>
</fromSet>
<whereSet>
<where>
<indexFrom>ARPR _FIELD281390</indexFrom>
<columnFrom>del eted_flag</columnFrom>
<operator>=</operator>
<value>N</value>
<dataType>Chara cter</dataType>
</where>
<where upper="Y" wildcard="Y">
<indexFrom>ARPR _FIELD281390</indexFrom>
<columnFrom>arp r_field_name</columnFrom>
<operator>=</operator>
<value>gg</value>
<dataType>Varch ar2</dataType>
</where>
</whereSet>
</query>

------------------------------------------------

Here's the XSLT file:

------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by hairul
(iPerintis Sdn Bhd) -->
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:search="I PSearch">
<xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"
omit-xml-declaration="ye s"/>
<xsl:key name="from_inde xname" match="/query/fromSet/from"
use="./indexName"/>
<xsl:param name="inWildcar d">*</xsl:param>
<xsl:param name="outWildca rd">%</xsl:param>
<xsl:param name="hint"/>
<xsl:template match="/">
<xsl:apply-templates select="./query"/>
</xsl:template>
<xsl:template match="query">
<xsl:apply-templates select="./selectSet"/>
<xsl:apply-templates select="./whereSet" mode="from"/>
<xsl:apply-templates select="./whereSet"/>
</xsl:template>
<xsl:template match="selectSe t">
<xsl:value-of select="'SELECT '"/>
<xsl:value-of select="concat( $hint,' ')"/>
<xsl:apply-templates select="./select"/>
</xsl:template>
<xsl:template match="select">
<xsl:variable name="alias">
<xsl:choose>
<xsl:when test="./columnAlias != ''">
<xsl:value-of select="concat( ' AS ',./columnAlias)"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="''"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:choose>
<xsl:when test="./functionName">
<xsl:value-of select="concat( ./functionName, ' (')"/>
<xsl:apply-templates select="./functionParamSe t"/>
<xsl:value-of select="concat( ')', $alias)"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="concat( key('from_index name',
../indexName)/alias, '.', ./columnName, $alias)"/>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="position( ) != last()">
<xsl:value-of select="','"/>
</xsl:if>
<xsl:value-of select="' '"/>
</xsl:template>
<xsl:template match="function ParamSet">
<xsl:apply-templates select="./functionParam"/>
</xsl:template>
<xsl:template match="function Param">
<xsl:variable name="quote">
<xsl:choose>
<xsl:when test="./dataType != 'Integer'">
<xsl:value-of select='"&apos; "'/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="''"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:choose>
<xsl:when test="./indexName">
<xsl:value-of select="concat( key('from_index name',
../indexName)/alias, '.', ./columnName)"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="concat( $quote, ./value, $quote)"/>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="position( ) != last()">
<xsl:value-of select="', '"/>
</xsl:if>
</xsl:template>
<xsl:template match="whereSet " mode="from">
<xsl:choose>
<xsl:when test="count(./where) > 0">
<xsl:choose>
<xsl:when test="count(./where[./indexTo]) > 0">
<xsl:value-of select="'FROM '"/>
<xsl:apply-templates select="./where[./indexTo]" mode="from1"/>
<xsl:apply-templates select="./where[./indexTo]" mode="from2"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="concat( 'FROM ',key('from_ind exname',
../where/indexFrom)/tableName, ' ' ,key('from_inde xname',
../where/indexFrom)/alias,' ')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template match="where" mode="from1">
<xsl:value-of select="'('"/>
</xsl:template>
<xsl:template match="where" mode="from2">
<xsl:variable name="tmp_value 1">
<xsl:if test="position( ) = 1">
<xsl:value-of select="concat( key('from_index name',
../indexFrom)/tableName, ' ' ,key('from_inde xname', ./indexFrom)/alias,'
')"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="tmp_value 2">
<xsl:call-template name="wherex">
<xsl:with-param name="indexFrom ">
<xsl:value-of select="./indexFrom"/>
</xsl:with-param>
<xsl:with-param name="columnFro m">
<xsl:value-of select="./columnFrom"/>
</xsl:with-param>
<xsl:with-param name="outerjoin ">
<xsl:value-of select="./@outerjoin"/>
</xsl:with-param>
<xsl:with-param name="indexTo">
<xsl:value-of select="./indexTo"/>
</xsl:with-param>
<xsl:with-param name="columnTo" >
<xsl:value-of select="./columnTo"/>
</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="concat( $tmp_value1,' ',$tmp_value2,' ) ')"/>
</xsl:template>
<xsl:template name="wherex">
<xsl:param name="indexFrom "/>
<xsl:param name="indexTo"/>
<xsl:param name="columnFro m"/>
<xsl:param name="columnTo"/>
<xsl:param name="outerjoin "/>
<xsl:choose>
<xsl:when test="$outerjoi n = 'Y'">
<xsl:value-of select="' LEFT JOIN '"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="' JOIN '"/>
</xsl:otherwise>
</xsl:choose>
<xsl:value-of select="concat( key('from_index name',
$indexTo)/tableName, ' ' ,key('from_inde xname', $indexTo)/alias,' ON
')"/>
<xsl:value-of select="concat( key('from_index name',
$indexFrom)/alias,'.',$colu mnFrom,' ',./operator,'
',key('from_ind exname', $indexTo)/alias,'.',$colu mnTo)"/>
</xsl:template>
<xsl:template match="whereSet ">
<xsl:choose>
<xsl:when test="count(./where[not(./indexTo)]) > 0">
<xsl:value-of select="'WHERE '"/>
<xsl:apply-templates select="./where[not(./indexTo)]"/>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template match="where">
<xsl:choose>
<xsl:when test="./operator = 'IS NULL' or ./operator = 'IS NOT
NULL'">
<xsl:value-of select="concat( key('from_index name',
../indexFrom)/alias, '.', ./columnFrom, ' ',./operator, ' ')"/>
</xsl:when>
<xsl:when test="./value">
<xsl:variable name="tmp_value ">
<xsl:call-template name="replace-substring">
<xsl:with-param name="text">
<xsl:value-of select="./value"/>
</xsl:with-param>
<xsl:with-param name="from">&am p;apos;</xsl:with-param>
<xsl:with-param name="to">'</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="value">
<xsl:choose>
<xsl:when test="./dataType='Integ er'">
<xsl:value-of select="$tmp_va lue"/>
</xsl:when>
<xsl:when test='substring (./value, 1, 1)="&apos;"'>
<xsl:value-of select="$tmp_va lue"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select='concat( "&apos;", $tmp_value, "&apos;")'/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:choose>
<xsl:when test="./@truncate = 'Y'">
<xsl:value-of
select="concat( 'CONVERT(dateti me,CONVERT(varc har(20),',
key('from_index name', ./indexFrom)/alias, '.', ./columnFrom, ', 106))
',./operator, ' ', $value)"/>
</xsl:when>
<xsl:otherwis e>
<xsl:call-template name="checkUppe r">
<xsl:with-param name="left" select="concat( key('from_index name',
../indexFrom)/alias, '.', ./columnFrom, ' ')"/>
<xsl:with-param name="value" select="$value"/>
<xsl:with-param name="operator" select="./operator"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwis e>
<xsl:call-template name="checkOute rJoin">
<xsl:with-param name="left" select="concat( key('from_index name',
../indexFrom)/alias, '.', ./columnFrom, ' ')"/>
<xsl:with-param name="value" select="concat( key('from_index name',
../indexTo)/alias, '.', ./columnTo)"/>
<xsl:with-param name="operator" select="./operator"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="position( ) != last()">
<xsl:value-of select="' AND'"/>
</xsl:if>
<xsl:value-of select="' '"/>
</xsl:template>
<xsl:template name="checkUppe r">
<xsl:param name="left"/>
<xsl:param name="value"/>
<xsl:param name="operator"/>
<xsl:choose>
<xsl:when test="./@upper = 'Y'">
<xsl:call-template name="checkGrou p">
<xsl:with-param name="left" select="concat( 'UPPER(',
normalize-space($left), ') ')"/>
<xsl:with-param name="value">
<xsl:call-template name="upper-case">
<xsl:with-param name="text" select="$value"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="operator" select="$operat or"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwis e>
<xsl:call-template name="checkGrou p">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="string( $value)"/>
<xsl:with-param name="operator" select="$operat or"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="checkGrou p">
<xsl:param name="left"/>
<xsl:param name="value"/>
<xsl:param name="operator"/>
<xsl:choose>
<xsl:when test="./@group = 'Y' and $operator = '='">
<xsl:call-template name="checkWild card">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="concat( '(',
search:ConvertG roup($value), ')')"/>
<xsl:with-param name="operator" select="'IN'"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="./@group = 'Y' and $operator != '='">
<xsl:call-template name="checkWild card">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="concat( '',
search:ConvertG roup($value), '')"/>
<xsl:with-param name="operator" select="'NOT IN'"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwis e>
<xsl:call-template name="checkWild card">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="$value"/>
<xsl:with-param name="operator" select="$operat or"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="checkWild card">
<xsl:param name="left"/>
<xsl:param name="value"/>
<xsl:param name="operator"/>
<xsl:choose>
<xsl:when test="./@wildcard = 'Y' and contains($value , $inWildcard)">
<xsl:call-template name="checkOute rJoin">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="transla te($value, $inWildcard,
$outWildcard)"/>
<xsl:with-param name="operator" >
<xsl:choose>
<xsl:when test="$operator = '='">LIKE</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="$operat or"/>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwis e>
<xsl:call-template name="checkOute rJoin">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="$value"/>
<xsl:with-param name="operator" select="$operat or"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="checkOute rJoin">
<xsl:param name="left"/>
<xsl:param name="value"/>
<xsl:param name="operator"/>
<xsl:choose>
<xsl:when test="./@outerjoin = 'Y'">
<xsl:call-template name="checkOper ator">
<xsl:with-param name="left"
select="concat( 'ISNULL(',$left ,',',$value,')' )"/>
<xsl:with-param name="value" select="$value"/>
<xsl:with-param name="operator" select="$operat or"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwis e>
<xsl:call-template name="checkOper ator">
<xsl:with-param name="left" select="$left"/>
<xsl:with-param name="value" select="$value"/>
<xsl:with-param name="operator" select="$operat or"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="checkOper ator">
<xsl:param name="left"/>
<xsl:param name="value"/>
<xsl:param name="operator"/>
<xsl:choose>
<xsl:when test="./operator = 'IN' or ./operator = 'NOT IN'">
<xsl:value-of select="concat( ' ', $left, $operator, ' (', $value,
')')"/>
</xsl:when>
<xsl:otherwis e>
<xsl:value-of select="concat( ' ', $left, $operator, ' ', $value)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="upper-case">
<xsl:param name="text"/>
<xsl:value-of select="concat( 'UPPER(', $text, ')')"/>
</xsl:template>
<xsl:template name="replace-substring">
<xsl:param name="text"/>
<xsl:param name="from"/>
<xsl:param name="to"/>
<xsl:choose>
<xsl:when test="contains( $text,$from)">
<xsl:value-of select="substri ng-before($text, $from)"/>
<xsl:copy-of select="$to"/>
<xsl:call-template name="replace-substring">
<xsl:with-param name="text" select="substri ng-after($text,$fr om)"/>
<xsl:with-param name="from" select="$from"/>
<xsl:with-param name="to" select="$to"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwis e>
<xsl:copy-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

------------------------------------------------

Here's the code:

------------------------------------------------

Private Function BuildSQL() As String
Const THIS_ROUTINE As String = "BuildSQL"

Dim objQuery As New XmlDocument
Dim objXSL As New Xsl.XslTransfor m
Dim swTemp As New IO.StringWriter
Dim objXMLNav As XPath.XPathNavi gator
Dim objXSLArgList As New Xsl.XsltArgumen tList
Dim szXSLFile As String

'LogTrace(IPLog Level.IPLogLeve lLow, m_szSessionID,
THIS_SUBSYSTEM, THIS_CLASS, THIS_ROUTINE, "Entry")

BuildSQL = ""

Try
objQuery.Load(" XMLFile.xml")

objXMLNav = objQuery.Create Navigator
objXSL.Load("XS LTFile.xsl")

objXSLArgList.A ddExtensionObje ct("IPSearch", Me)
objXSL.Transfor m(objXMLNav, objXSLArgList, swTemp, Nothing)

BuildSQL = swTemp.ToString ()
Catch
With Err()
.Raise(.Number, .Source, .Description)
End With
End Try

'LogTrace(IPLog Level.IPLogLeve lLow, m_szSessionID,
THIS_SUBSYSTEM, THIS_CLASS, THIS_ROUTINE, "Exit")
End Function

------------------------------------------------

I'm using .NET v1.1.

It will work in XMLSpy but not when with XSLTransform.

An MS bug?

Wan Yussman

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #9
Wan Yussman wrote:

It will work in XMLSpy but not when with XSLTransform.

An MS bug?


You know, it's quite big stylesheet. Why don't you tell us what exactly
doesn't seem to be working as you expect?

--
Oleg Tkachenko [XML MVP, MCP]
http://blog.tkachenko.com
Nov 12 '05 #10

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

Similar topics

21
6505
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help Workshop program: hcw.exe that's included with Visual Basic. This exact same file compiled perfectly with no notes, warnings or errors prior to...
9
4390
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with the microsoft HTML workshop utility, lets call it c:\path\help.chm. My question is how do you launch it from the GUI? What logic do I put behind...
4
3335
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to cmd.Cmd but I would also like to get the man-page-like help for classes and functions. Does anyone know how to do that? Thanks. Sarir
2
6423
by: Sudheer Kareem | last post by:
Dear All Please tell me how to assosiate help files with my Vb.net Project. Regards Sudheer
7
5351
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available from clicking on many of the available topics (mostly methods but some properties are also unavailable). This same problem occurs with many, if not...
5
3253
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time using "F1" help within the VB IDE. Is this expectation achievable In trying to test my help file in the IDE, I have a solution with 2 projects:...
8
3210
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both including search the internet for help, but the help is worthless. Any ideas?
10
3343
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably the worst I ever seen. I almost cannot find anything I need, including things I
1
6117
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve default property of object Label. Click for more:...
0
2862
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application calls MS Excel, so the scenario is that I am supposed to see the Excel Menu bar, FILE EDIT VIEW INSERT ... HELP. I am able to see the menu bar, but in...
0
7609
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...
0
8118
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...
1
7666
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...
0
7964
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...
0
6278
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...
1
5504
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...
0
3651
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...
1
2107
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
0
936
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...

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.