I can't get a image to display as either the background image or wall paper. Image is in the directory that the program is running / debugging from. Code is:
' Create a MultiChart
Dim m As MultiChart = New MultiChart(700, 550)
Dim x As Long
Call m.setRoundedFrame()
'Call m.setBackground(&HCCCCFF, &H0)
'Call m.setBackground(&H800000FF, &H800000FF)
' Call m.setSearchPath(Server.MapPath("."))
Call m.addText(1, 10, "Conditions At " & theDateTime, "arialbi.ttf", 14)
Call m.addText(425, 5, "Tower Wind Speed and Direction", "arialbi.ttf", 10)
Call m.addText(425, 260, "Site 2 Wind Speed and Direction", "arialbi.ttf", 10)
strPath = Server.MapPath("netcam.jpeg")
'Call m.setBgImage(strPath)
Call m.setWallpaper(strPath)
Call m.addChart(450, 25, c)
' Put the left char at (0, 25)
Call m.addChart(450, 280, c1)
Rest of code...
Any help you can provide is appreciated. The image does not display.
Bob Karpovich
AAQS, Inc. |