Click here to Skip to main content
12,304,589 members (68,032 online)

Visual Basic

 
QuestionSlow Ping and not guaranteed success Pin
Herboren10-Oct-12 5:44
memberHerboren10-Oct-12 5:44 
AnswerRe: Slow Ping and not guaranteed success Pin
Dave Kreskowiak10-Oct-12 8:13
mvpDave Kreskowiak10-Oct-12 8:13 
GeneralRe: Slow Ping and not guaranteed success Pin
Herboren10-Oct-12 11:33
memberHerboren10-Oct-12 11:33 
GeneralRe: Slow Ping and not guaranteed success Pin
Dave Kreskowiak10-Oct-12 13:01
mvpDave Kreskowiak10-Oct-12 13:01 
GeneralRe: Slow Ping and not guaranteed success Pin
Herboren10-Oct-12 16:20
memberHerboren10-Oct-12 16:20 
GeneralRe: Slow Ping and not guaranteed success Pin
Dave Kreskowiak10-Oct-12 23:50
mvpDave Kreskowiak10-Oct-12 23:50 
GeneralRe: Slow Ping and not guaranteed success Pin
Eddy Vluggen15-Oct-12 1:19
memberEddy Vluggen15-Oct-12 1:19 
QuestionFunction Not Found From Dll Component Pin
AmbiguousName10-Oct-12 1:57
memberAmbiguousName10-Oct-12 1:57 
AnswerRe: Function Not Found From Dll Component Pin
Eddy Vluggen11-Oct-12 0:08
memberEddy Vluggen11-Oct-12 0:08 
GeneralRe: Function Not Found From Dll Component Pin
AmbiguousName12-Oct-12 1:07
memberAmbiguousName12-Oct-12 1:07 
GeneralRe: Function Not Found From Dll Component Pin
Eddy Vluggen12-Oct-12 1:25
memberEddy Vluggen12-Oct-12 1:25 
GeneralRe: Function Not Found From Dll Component Pin
AmbiguousName12-Oct-12 1:54
memberAmbiguousName12-Oct-12 1:54 
GeneralRe: Function Not Found From Dll Component Pin
Eddy Vluggen12-Oct-12 2:10
memberEddy Vluggen12-Oct-12 2:10 
QuestionBlank Asp webpage. Pin
Member 94936398-Oct-12 0:08
memberMember 94936398-Oct-12 0:08 
Dear all,

The following script is not reading the xml data and translating it into the graph.

The output is currently showing a blank webpage, and I am not sure why is?
<BODY>
 
   <%   
   'In this example, we show how to connect FusionCharts to a database.
   'For the sake of ease, we've used an Access database which is present in
   '../DB/FactoryDB.mdb. It just contains two tables, which are linked to each
   'other. 

   'Database Objects - Initialization
   Dim oRs, oRs2, strQuery
   'strXML will be used to store the entire XML document generated
   Dim strXML
 
   'Create the recordset to retrieve data
    Set oRs = Server.CreateObject("ADODB.Recordset")
 
   'Generate the chart element
    'Generate the chart element
	strXML = "<graph caption='Deals Output report' subCaption='By Quantity' decimalPrecision='0' showNames='1'  numberSuffix=' Units'  pieSliceDepth='30' formatNumberScale='0'>"
	
 'Iterate through each factory
  strQuery = "select * from deal_price2"
  Set oRs = oConnection.Execute(strQuery)
 
  While Not oRs.Eof
 
  'Now create second recordset to get details for this factory
  Set oRs2 = Server.CreateObject("ADODB.Recordset")
  strQuery = "select sum(price) as TotOutput from deal_price where deal_id=" &  ors("deal_id")
  Set oRs2 = oConnection.Execute(strQuery) 
  'Generate <set name='..' value='..'/> 
  strXML = strXML & "<set name='" & ors("date") & "' value='" & ors2("TotOutput") & "' />"
 
	
 'Close recordset
  Set oRs2 = Nothing
  oRs.MoveNext
Wend
 
 'Finally, close <chart> element
  strXML = strXML & "</chart>"
Response.Buffer=true
response.write strXML
response.flush
'response.end 
  Set oRs = nothing
 
'Create the chart - Line Chart with data from strXML
 Call renderChart("MyWeb/includes/FCF_Line.swf", "", strXML, "FactorySum", 650, 450)
%>

Any help would be very much appreciated.

Thanks in advance for your help.
AnswerRe: Blank Asp webpage. Pin
Cloud Cray8-Oct-12 7:49
memberCloud Cray8-Oct-12 7:49 
GeneralRe: Blank Asp webpage. Pin
miss7869-Oct-12 1:14
membermiss7869-Oct-12 1:14 
GeneralRe: Blank Asp webpage. Pin
Dave Kreskowiak9-Oct-12 1:51
mvpDave Kreskowiak9-Oct-12 1:51 
GeneralRe: Blank Asp webpage. Pin
Dave Kreskowiak9-Oct-12 1:55
mvpDave Kreskowiak9-Oct-12 1:55 
GeneralRe: Blank Asp webpage. Pin
miss7869-Oct-12 3:54
membermiss7869-Oct-12 3:54 
QuestionQuestion about variables in Classic ASP VBScript Pin
Diego Carrion7-Oct-12 5:32
memberDiego Carrion7-Oct-12 5:32 
AnswerRe: Question about variables in Classic ASP VBScript Pin
Zac Greve7-Oct-12 6:10
memberZac Greve7-Oct-12 6:10 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Diego Carrion7-Oct-12 6:19
memberDiego Carrion7-Oct-12 6:19 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Wes Aday7-Oct-12 6:38
memberWes Aday7-Oct-12 6:38 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Diego Carrion7-Oct-12 7:02
memberDiego Carrion7-Oct-12 7:02 
GeneralRe: Question about variables in Classic ASP VBScript Pin
ChandraRam7-Oct-12 20:55
memberChandraRam7-Oct-12 20:55 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Diego Carrion8-Oct-12 2:20
memberDiego Carrion8-Oct-12 2:20 
GeneralRe: Question about variables in Classic ASP VBScript Pin
ChandraRam8-Oct-12 2:23
memberChandraRam8-Oct-12 2:23 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Diego Carrion8-Oct-12 2:26
memberDiego Carrion8-Oct-12 2:26 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Zac Greve7-Oct-12 6:39
memberZac Greve7-Oct-12 6:39 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Dave Kreskowiak7-Oct-12 8:15
mvpDave Kreskowiak7-Oct-12 8:15 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Diego Carrion7-Oct-12 9:25
memberDiego Carrion7-Oct-12 9:25 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Dave Kreskowiak7-Oct-12 10:11
mvpDave Kreskowiak7-Oct-12 10:11 
GeneralRe: Question about variables in Classic ASP VBScript Pin
Diego Carrion7-Oct-12 10:23
memberDiego Carrion7-Oct-12 10:23 
Questionerror Pin
uday87227-Oct-12 3:22
memberuday87227-Oct-12 3:22 
AnswerRe: error Pin
Richard MacCutchan7-Oct-12 4:47
mvpRichard MacCutchan7-Oct-12 4:47 
GeneralRe: error Pin
OriginalGriff7-Oct-12 5:44
mvpOriginalGriff7-Oct-12 5:44 
GeneralRe: error Pin
Richard MacCutchan7-Oct-12 6:39
mvpRichard MacCutchan7-Oct-12 6:39 
QuestionSQL Query for dates Pin
SPSandy7-Oct-12 2:17
memberSPSandy7-Oct-12 2:17 
AnswerRe: SQL Query for dates Pin
Richard MacCutchan7-Oct-12 4:50
mvpRichard MacCutchan7-Oct-12 4:50 
AnswerRe: SQL Query for dates Pin
Eddy Vluggen8-Oct-12 2:37
memberEddy Vluggen8-Oct-12 2:37 
GeneralRe: SQL Query for dates Pin
Johan Hakkesteegt10-Oct-12 23:38
memberJohan Hakkesteegt10-Oct-12 23:38 
GeneralRe: SQL Query for dates Pin
SPSandy15-Oct-12 4:32
memberSPSandy15-Oct-12 4:32 
AnswerRe: SQL Query for dates Pin
Eddy Vluggen15-Oct-12 4:54
memberEddy Vluggen15-Oct-12 4:54 
GeneralRe: SQL Query for dates Pin
SPSandy15-Oct-12 6:05
memberSPSandy15-Oct-12 6:05 
QuestionConverting fromVB.NET to C Pin
Member 94911027-Oct-12 1:54
memberMember 94911027-Oct-12 1:54 
AnswerRe: Converting fromVB.NET to C Pin
Wes Aday7-Oct-12 1:57
memberWes Aday7-Oct-12 1:57 
QuestionAdditional properties or methods into midi form of VB6.0? Pin
Member 24584675-Oct-12 20:37
memberMember 24584675-Oct-12 20:37 
AnswerRe: Additional properties or methods into midi form of VB6.0? Pin
jan212r5-Oct-12 23:14
memberjan212r5-Oct-12 23:14 
GeneralRe: Additional properties or methods into midi form of VB6.0? Pin
Member 24584676-Oct-12 3:54
memberMember 24584676-Oct-12 3:54 
AnswerRe: Additional properties or methods into midi form of VB6.0? Pin
Eddy Vluggen6-Oct-12 3:50
memberEddy Vluggen6-Oct-12 3:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160530.1 | Last Updated 31 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid