I have converted a small application from VB to VB.NET. There are complition errors saying
"PictureBox.Cls " method of PictureBox cannot be upgraded.
"PictureBox.Pri nt("Selected: Diamond") method of PictureBox cannot be upgraded.
May i know what is the equivalent for both in vb.net
thanks in advance
User Profile
Collapse
-
how to remove new line character
We display an expression in excel , in which there are also some small boxes being diaplayed in expression.
somes boxes are getting removed when we give
replace(string1 ,vbnewline,"")
but some are not.
Are there any other keywords like vbnewline which displays small boxes, which when given will remove the small boxes -
Last Accessed Date and Last Modified Date
How can we get the last accessed date and the last modified date of a file using VB6 -
How to access the node in xml
I have an xml file named Trees.xml.
now the xml file is as below
<////////xml///////>
<report xmlns="http://developer.cogno s.com/schemas/impromptu/report/1.0/" timeStamp="4652 E450" schemaVersion=" 1.0" fileFormat="3E7 A">
+<header>
+<layoutSpec>
-<queries>
-<query isTemplate="no" type="power">
... -
actually i have used the code
<//////code//////>
dim objRep as DOMDocument30
dim path as string
path= :c:\temp\report s.xml"
objRep.Load path
</////////////code////////>
but then its throwing an error "object variable or with block variable not set"......
What i need to do exactly is get the node called sort from the xml file and print... -
how to make an object point to a file
I have file in a path.
Eg: filename is donno.xml in "c:\temp" .
I have an object call objRep. How can make this object point to filename( donno.xml) -
ya now i have added Microsoft component needed for the same.
actually the code is written in a module and when i give
dim savefile as CommonDialog
objImpRep.Publi shXML savefile.Showsa ve
it is giviing an error......Leave a comment:
-
commondialogbox
I have a code
objImpRep.Publi shXML "c:\temp\abc.xm l" (where objImpRep is an object and publishxml is used to generate xml in the given path)
i have hardcoded the path and want a saveas dialogbox here. how do i include here. what is commondialogbox and how do i include that here. -
C# to VB.Net
can anyone help me out in converting the below code to vb.net
case "organizational Unit":
tmpNode = new TreeNode((strin g)child.Propert ies["name"].Value,(int)AdI mages.Ou,(int)A dImages.OpenCon tainer);
tmpItem = new ListViewItem(ne w string[] {
(string)child.P roperties["name"].Value,
child.SchemaCla ssName,
... -
move to next record in vb.net
I have been trying to display the records from SQL server in a sequential manner using vb.net, but only the last record is displyed. how to display ????? in vb we were using rs.MoveNext and how to use in this.
While dr.Read
TextBox1.Text = dr(0).ToString( )
TextBox2.Text = dr(1).ToString( )
End While
do help me out soon!!!!!!!!!!!
No activity results to display
Show More
Leave a comment: