|
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
|
|
|
|
|
Hi,
A section of my XML file looks like this:
<Products>
<Product>
<ID>SKU001</ID>
<ProductName>Yellow Marker</ProductName>
<ListPrice>45.0</ListPrice>
<Status>1</Status>
</Product>
<Product>
<ID>SKU003</ID>
<ProductName>Blue Marker</ProductName>
<ListPrice>10.45</ListPrice>
<Status>1</Status>
</Product>
</Products>
The tags in the Product tag are the names of my table fields. This file is used to import data into the product table. So I just loop through the elements, check the ID, and update that record.
I have to do a couple of checks. I do a check to see if the <ID></ID> tag is empty because this is my primary key, then it displays an error message. But what happens if there is no ID tag for a particular records, maybe for some or other reason it was not entered into the XML file. How do I check to see if a particular tag exists? Like for example:
<Product>
<ProductName>Blue Marker</ProductName>
<ListPrice>10.45</ListPrice>
<Status>1</Status>
</Product>
This is how I loop:
Dim productNodes As XmlNodeList
Dim productNode As XmlNode
Dim baseDataNodes As XmlNodeList
doc.Load(strPathFile)
productNodes = doc.GetElementsByTagName("Product")
For Each productNode In productNodes
baseDataNodes = productNode.ChildNodes
For Each baseDataNode As XmlNode In baseDataNodes
Next
Next
Please can some one help me.
Regards
ma se
|
|
|
|
|
Normally, you create a schema that checks your XML document for invalid structure. However, you can do the following:
XmlNodeList nodes = doc.SelectNodes("/Products/Product[not(ID)]");
if (nodes.Count > 0)
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
<USA>
<State>
<Name>Alabama</Name>
<Counties>
<1>Autauga
<2>Baldwin
<3>Barbour
</Counties>
</State>
<State>
<Name>Alaska</Name>
<counties>
<1>Aleutians East
<2>Aleutians West
<3>Anchorage
Friends this my Xml file I had attached all States names to DropdownList And My problem is when
particular state is selected in Dropdown list how can I retrive Counties to a particular state
plse suggest me an example
came out of hardwork
|
|
|
|
|
The structure of your XML is flawed. It should look something like this:
<code><usa>
<state name="Alabama">
<county name="Autauga"/>
<county name="Baldwin"/>
<county name="Barbour"/>
</state>
<state name="Alaska">
<county name="Aluetians East"/>
<county name="Aluetians West"/>
<county name="Anchorage"/>
</state>
</usa> With this structure, when a state is choosen you can use the XPath:
/usa/state[@name='Alaska']/county/@name
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Thak u for ur suggestion
came out of hardwork
|
|
|
|
|
Hi all,
I need to use mssoapclient30 to reach a web service which use complex types as parameters and return types. There write in mssoap toolkit documantation use Type Mapper, but could not get understand how to write this file and how to call it in code.
Basiclly I call a service method
var Client = WScript.CreateObject("MSSOAP.SoapClient30"); <br />
Client.mssoapinit("http://abc.com/service.wsdl","","",""); <br />
<br />
var sid = Client.MethodName("abc..."); <br />
<br />
.<br />
.<br />
.
and I don't know what will be if the parameter description says
<complexType name="Alert">
<all>
<element name="tag" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
<element name="msg" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
</all>
</complexType>
as parameter to pass method and return type in wsdl.
karanba
|
|
|
|
|
I need a loop that will reach every XML nodes through XPath in C#
|
|
|
|
|
Then you'd be looking for a recursive loop.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
* Reading: Developer Day 5
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
I believe using the XPath expression "//*" will do the job if you mean "looping elements".
-- modified at 19:32 Thursday 21st June, 2007
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
If you are searching for any type node (this includes elements, text nodes, comments, etc.) and attributes, this works:
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
is it possible to insert an image into excel xml file generated by xslt. and i have 64 bit encoded string for an image how can i generate an image using xsl into excel xml file
can any body have an idea pls help me
Thanks in advance
raja
|
|
|
|
|
I have MS Excel 2003 and I cannot even save an image in a Xml Spreadsheet. As far as I know, in order to get that to work, you will have to write a macro (in Excel) that converts a 64-bit encoded string into a graphic, hide the string, and insert the graphic.
Geo
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
hi george,
thanks for your response,
pls help me i am new to xml and computer field can u please explain me where can i get the material for to do this
thanks
raja
|
|
|
|
|
In Excel 2003, the macro language is VBA. So, you will need to find code for Visual Basic that does a conversion from a 64-bit encoded string to the graphic format of your choice. Anyway, you will need to learn how to use VBA in Excel. I have never attempted to do such a thing. Thus, you need to do some Googling.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
thank you george.
if i have any problem 'll let you know
thanks
raja
|
|
|
|
|
Hello,
I am developing a VB .Net 2005 project.
I have a problem, i have a app.config file which I have entered connection strings and other setting from the project properties tab. This has automatically generated the app.config file for me.
I have edited the app.config myself and entered a new section which I did manually. However, now that I have done this the existing code in the app.config doesn't work.
Summary: If I add my own manually entered config sections with what has been automatically generated. But parts don't work.
If I just add my own manually entered and commit out the rest my own manually works fine.
It doesn't work with both. I was thinking of adding a new app.config file, which has the default name of app1.config.
But I am sure how I would reference each one when the program runs.
The config file is below, my manual section is the appUpdater, at the bottom.
Is there a way that I can include my own manual entered sections?
<code>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="CodeRed.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="CodeRed.My.MySettings.ServiceMasterConnectionString"
connectionString="Data Source=dev01;Initial Catalog=ServiceMaster;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.diagnostics>
<sources>
<!-- This section defines the logging configuration for My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information" />
</switches>
<sharedListeners>
<add name="FileLog"
type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
initializeData="FileLogWriter"/>
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<applicationSettings>
<CodeRed.Mail>
<setting name="MailSetting" serializeAs="String">
<value>MAPI</value>
</setting>
</CodeRed.Mail>
</applicationSettings>
<userSettings>
<CodeRed.My.MySettings>
<setting name="MailSetup" serializeAs="String">
<value />
</setting>
</CodeRed.My.MySettings>
</userSettings>
<!-- My manaul settings -->
<configSections>
<section name="appUpdater"
type="Microsoft.ApplicationBlocks.ApplicationUpdater.UpdaterSectionHandler,Microsoft.ApplicationBlocks.ApplicationUpdater" />
</configSections>
<appUpdater>
<UpdaterConfiguration>
<polling type="Seconds" value="120" />
<logListener logPath="G:\Reality Solutions Projects\CodeRed Application\CodeRed\UpdaterLog.txt" />
<downloader
type="Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader"
assembly="Microsoft.ApplicationBlocks.ApplicationUpdater,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"/>
<validator
type="Microsoft.ApplicationBlocks.ApplicationUpdater.Validators.RSAValidator"
assembly="Microsoft.ApplicationBlocks.ApplicationUpdater,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null">
<key>
<RSAKeyValue>
<Modulus>4+xKqMoUfQDi+6ckQGHdPgW/QFPxR27VbRldQqAeftE1Xzbb5sOFdehaUF98oAisifDtn8D/UJ1WwK0wpOPLYtxyU2Nzsn6eOSJ12hnGVzgxq64F+Lz3tcMF4ji1RE8EWD8pn1yVGHjoowW2dKmlcumv1r7/vW7ZlhiEOrBL/AU=</Modulus>
<Exponent>AQAB</Exponent>
</RSAKeyValue>
</key>
</validator>
<application
name="CodeRed"
useValidation="true">
<client>
<baseDir>G:\Reality Solutions Projects\CodeRed Application\CodeRed</baseDir>
<xmlFile>G:\Reality Solutions Projects\CodeRed Application\CodeRed\AppStart.exe.config</xmlFile>
<tempDir>G:\Reality Solutions Projects\CodeRed Application\CodeRed\newFiles</tempDir>
</client>
<server>
<xmlFile>http://localhost/ServerNorthUpdater/Manifest.xml</xmlFile>
<xmlFileDest>G:\NorthUpdater\Manifest.xml</xmlFileDest>
<maxWaitXmlFile>60000</maxWaitXmlFile>
</server>
</application>
</UpdaterConfiguration>
</appUpdater>
</configuration>
</code>
|
|
|
|
|