Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




VB Embedded Graph


All,

Still got a problem with a graph....
I have data constantly entering the PC and i want to create a graph against time with it.
Because the data is always entering the pc, the graph needs to have a varing number of rows i.e. ever new data point enters a new row to the graph...how do i do this???

Obviously when the number of data points reaches, say, 1000, i want the row count to start at 1 again.

PLeaseeeeeeeeeeeee help

Matt




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Mouse-over Graph Destroys Excel Graph - ? Virus
I have a bizarre problem with a graph in an Excel (Excel 97 SR-1) spreadsheet . When I pass the mouse cursor over the border of the graph, the plot area spontaneously starts to shrink and then the legend starts moving around the graph from corner to corner. It seems to me that the mouse-over has activated some code, but nothing that I have written. It has the smell of a virus infection. This happens only with this one graph and it is the only graph on the sheet that I have written a simple VB macro to rescale the axes of the graph. The macro takes values entered into cells in the spreadsheet and changes the scales. I suspect the macro has been infected by some virus and somehow it is activated by the mouse-over action. The mouse-over activation is what I see on web sites and software when you pass a mouse over an object and an information box appears or some other effect occurs. What type of software is behind this? Is this a VB function? Some code is being activated and is executing whenever the mouse passes over the border of the chart. Can anyone suggest what I could do to rectify this. I plan to take this spreadsheet to work and scan it for viruses. I may also manually re-type the macro and delete the one there now. Any other comments or suggestion would be greatly appreciated. Thank you.
RDR

MsChart Graph Similar Inputs, Different Points, Same Graph?
Could anyone tell me how to graph using MSChart? Thing is, im aquiring a set of data and need to graph them, but lets say, with the same set of data, but on a different numbering scale, i want the same graph to appear as it did with the previous set of data...For example, this might clear it up a bit, if u have a picture box and lets say u write ur name using the mouse/any other pointing device
Code:
dim x as long
dim y as long
x = 2345
y = 1234
Picture.picOutput.PSet (x, y)
'etc...

what i need is to graph these inputs to start with, so if anyone could tell me how to do that please, and second, as i said, if at the point in the picturebox PSet(1234, 2345) where the first contact of mouse/tablet with picturebox (starting to write the name)
and then at another time i start at PSet(456,294), in other words, is it possible to get a similar graph out of the two since they are both the same name, but are written at different points???
Thanks

Nitoor

How To Find Out Coordinates Of Mschart Where The Graph Is Starting Ie 0,0 In Graph
How to find out coordinates of mschart where the graph is starting ie (0,0) in graph.
Actually I need to draw a crosshair on the mschart linegraph. and I need to display the intersecting points value in the grpah.
ie If there are 3 series in mschart, by moving the crosshair in mouse move, I need to display the values of 3 series at that point . Any help can be appericiated.
Thanks in advance.[B][COLOR=blue]

Using Graph Control (Label Graph Axis)
I have problem with labels on the graph axis.
I use an extended graph control.
With a 3D graph the value axis ie. y-axis is labeled atomatically.
But I don't really know how to label the x and z axis in a good way. Now I use LabelText and ZLabelText but they set a label for the point defined by thispoint property and this make a label for each point in the graph. That can't be read because there comes up to many labels. I wan't to now how I can set the labels in a clever way like the y-axis does.
eg.
If my x-values begin with 41.3 and ends with 93.7 I would like to get labels on the axis like: 40, 50, 60, 70, 80, 90, 100. But it seems like this can't be done when I have to use thispoint to set a label and the points may not be natural numbers like 40, 50 etc.

Would be grateful for answers
Thanks

Display Graph Values Of A Graph
Hello all...

I'm graphing data and it creates this really long graph (width wise). How can i make it so that if i hover over a point and it will show me a popup or show the value a textbox with my mouse. I put the X/Y axis with values but u have to keep scrolling back to the beginning of the graph to see around what value it is.
How can i implement it to show the values. Or is there another easier way to do this?

Thanks
Laura

Error:Change Y-axis Of Scale Of "Microsoft Graph 2000" Graph
Error:Change y-axis of scale of "Microsoft graph 2000" graph


A graph object can be accessed (to change the scales) this way in an Excel application.
With ActiveSheet.ChartObjects("Chart 2").Chart.Axes(xlValue)
.MaximumScale = 15
.MinimumScale = 5
End With

What is the equivalent in an Access 2000 application or Visual basic? I am trying to change the max and min on the y-axis (of a linear graph OLE Class: Microsoft graph 2000 chart and class: MSGraph.Chart.8) based on the data I am plotting. Each of the code (tries) below gives me an error such as “object doesn’t support this property of method”

With Me.[ContractLinearGraph].Axes(2)' this blows up
'With Me.[ContractLinearGraph].axes(xlvalue) ' this blows up
'With Me.[ContractLinearGraph].Chart.Axes(xlValue)' this blows up
'With Me.Application.ChartObjects("ContractLinearGraph").Chart.Axes(xlValue) ' this blows up

If bPlottable Then
.MinimumScaleIsAuto = False
.MaximumScaleIsAuto = False
.MinimumScale = CDbl(yaxisMinimum)
.MaximumScale = CDbl(yaxisMaxmum)
End If
End With

Embedded Visual Basic Vs Embedded Visual C++
Hi,

Other than language syntax difference, which one is preferred to use? What are the difference and benefits?
Thks...



Edited by - roniwu on 10/7/2005 8:47:14 AM

Embedded VB
Anyone know of a good reference for winsock in vbce?

EMbedded VB?
Does anyone know of a good site for tutorials on learning eMbedded VB for making programs for Pocket PCs? I notice a lot of the commands have different syntax from VB 6 - but are still quite similar i just need something to help me get the hang of it

thanks

XP Embedded XPe
Hi

I have an app on VB6 that is running on a XPe platform, however now I need to make a new program and I was wondering of moving to RealBasic (due to the single file compiler, etc) but I don't seem to get anywhere running it, not even a demo app built from RealBasic.

Has any of you got experience with RealBasic and XPe?

A bit of advice here, do you think is a good move to switch to RB or I'm better off with VB6 for embedded devices?

I have been looking into .NET but with an overhead of 50MB.... not good.

Thanks

Ed

Embedded For/next
i'm making a program that will calculate compound interest based on the time

i have the first one like this

P = 25
R = 0.05
T = 100

For x = 1 To T
I = P * R
txt1.Text = P
P = P + I
Next x

the interest is calculated by years. now how can i embed another loop in there that will calulate by the months?

VB Vs EMbedded VB
For those who want to check out eMbedded VB 3.0, but want to avoid some pitfalls have a look at:

Frequently Asked Questions (FAQ) About eVB

INFO: What Does Visual Basic Have That VBCE Doesn't Have?

Additional sites:
vbce.com
www.devbuzz.com

Embedded VB
Just bought myself a nice CASIO EM-500 with Windows CE 3

Happy me, happy me.

After some browsing on the Microsoft site I downloaded the FREE "eMbedded Visual Basic".
That's looking real cool at first sight...
There are some nice controls and everything looks and feels like VB6, but it isn't.

I tried to convert a project I made with VB6. It took me a few days to realize that MVB3 is nothing more (or less) than VBScript with an IDE and some nice controls.
So you only have one variabele type: Variant, a pitty when you have binary files, like I have for my project

The generated code is (like the old vb3) interpreted by the VBScript engine and not compiled at all, goodbye "speed"

OK enough, I think I have to switch to MVC3, which is also !free! But I don't want C I would like to stick with VB ...

That's all ... see you later in an other forum...

EMBEDDED EXE
I am trying to create a new frame for an existing program that I do not have the code for. I want it to run within my application, as if it is a part of my app. Any tips?

Embedded WMP In VB .NET
I can embed WMP 9 onto my Form for pocket PC application witten in Visual Basic .NET??
I tried to use Windows Media Player Object which is in the COM components (for toolbox) but is not possible to stick onto Form!!! Icon is in the toolbox but I cannot drop onto Form !!! It's seem to me that it's not allowed to use WMP for pocket pc application !!!!

I have all these packages installed already :
.NET Framework 1.1
.NET Framework SDK 1.1
Microsoft pocket pc 2003 SDK
Visual Studio .NET enterprise
WM encoder 9 series
WM encoder 9 series SDK
WM format 9 series SDK
WM player 9 series SDK
WM player for pocket PC SDK

Embedded
I have created a small update tool for my software which remove some old DLLs and replace with new DLLs. Right now I am giving one folder with that tool which has all the new DLLs. Is there any way in VB6 that I can embedded all the DLLs in one executable as a resource file so that I have to give only one executable as an update tool

Plz Help

Embedded XP
Does anyone have experience with Embedded XP? If so I am considering using it and have questions regarding the stability, HD space required, RAM required, etc.

thans for any help with this
kevin


__________________

EMbedded VB
Just want to get an idea of how many of you guys are using eMbedded VB?


Regards,
Bruce.

Embedded VB
Embedded VB

I am planning to make some embedded application whit embedded visual basic. Is there somone that knows where i can get some low cost windows ce evaluation kits or single board pc's? Is vb .net a difference whit .net embedded?

EMbedded VB
Are there any good sites where I can learn how to use the eMbedded VB to develop applications for the Pocket PC? Is there a forum here or any tutorials?

Embedded Vb
DOes anyone know of a good place to get help for using embedded vb

thanx

EMbedded VB 3.0: GIF && JPG
Hello guys....

There are any of U know eMbedded VB 3.0. I need help on it. How to display picture (GIF & JPG format) in PictureBox?

TQ

Embedded VB
Can I access pocket excel or pocket word document list from the embedded VB application

Embedded XP
Does anyone have experience with Embedded XP? If so I am considering using it and have questions regarding the stability, HD space required, RAM required, etc.

thans for any help with this
kevin

Embedded VB
Hello.
I am trying to debug a COM object that is being used by an Embedded VB app.
The debug page in Embedde Visual Studio has the following fields:
3) Local executable (full path to my COM dll)
2) Remote executable - which is supposed to be full path to executable that calls the DLL.

The problem is, evb apps are interpreted. So I cannot specify it as a remote executable. I tried putting in the path to runtime environment (pvbload.exe) but that didn't work either.

Any hints/tips ?

Embedded VB
Hi, I am looking for a way to parse word docs into text files in the pocketpc environment, any ideas?

Thanks,Kyle

EMbedded VB
Hi,
I am working on a application development on Windows CE. I am using eMbedded Visual Basic. I have encountered a problem. I want to launch another application from my eMbedded VB application. "Shell" function does not work in eMbedded VB. Can any one help me in this regard?

Thanks in advance

Embedded Video?
Hi, I'd like to know if you can play a video (specifically an AVI) that's been embedded into the program. This would make updating easier on me and the users of my program, and would keep people from changing the video. I can already embed the video using Resource Hacker, but I don't know how to play it in VB. Anyone have ideas?

Using An Embedded Resource
VB.NET

I'm working on a simple card game to hone my programming skills. I have created a resource file called cards.resx. I have also compiled it into cards.resources. My problem is, What code do I need in order to access the bitmaps of the individual cards in the resource file?

All the cards in the resource file are named as follows :AceSpades.bmp, KingHearts.bmp, etc.

If I try to add it to the Solution Explorer it only gives me the option of selecting the resx file. I have added it to my project and in the properties I have changed the "Build Action" property to "Embedded Resource". I can see that the resulting EXE file size is larger so I am assuming it has embedded the resx file. I just need to know how to pull the bitmaps back out.

Thanks for any help you can give me.

Marty

How Do I Set An Embedded Doc To Read Only
Is there a way, through VBA or otherwise, to switch an embedded OLE object ( a word doc) between editable/uneditable?

In other words, can I determine who can and cannot edit an embedded doc?

Embedded Object
hi expert.. How can i embedded an excel spreadsheet in word document?

-----------
|
|
|word ==> Textbox value
-----------
(Enter)

When i press enter button the textbox value will be inserted within the excel spreadsheet cells. How can i do that? also how can i do that repeately like this..

if button is clicked for the 1st time the value will be inserted in range A1
if button is clicked for the 2nd time the value will be inserted in range A2
if button is clicked for the 3rd time the value will be inserted in range A3
if button is clicked for the 4th time the value will be inserted in range A4
and so on..

please help me.. thank you

Embedded Controls
Can anyone tell me how to get embedded controls to work?... I have always used userforms but would now like to switch to using embedded controls on a excel spreadsheet. I have inserted several TextBoxes and would, if you can imagine this, like to enter text, then hit the enter key and move to the next textbox to...you guessed it...enter more text...problem is I can enter text but thus far the only way I have been able to get to the next textbox is to select it with a mouse...

Help...Anyone?

Excel Embedded In OLE Box
Hi,

I have an OLE box and a save button on my VB form with the following code


Code:

Option Explicit

Const OLE_CreateEmbed As Long = 0
Const OLE_Activate As Long = 7
Const OLE_Close As Long = 9

Dim WithEvents LGRExcel As Excel.Workbook
Dim shtLGR As Excel.Worksheet

Private Sub cmdSave_Click()

Dim FileNum As Integer

'get file number
FileNum = FreeFile

'Open the file to be saved
Open "C:WebLOLERLGR.xls" For Binary As #FileNum

'Save the file
oleExcel.SaveToFile FileNum

'Close the file
Close #FileNum
'oleExcel.SaveToFile "C:WebLOLERLGR.xls"

End Sub

Private Sub LGRExcel_SheetChange(ByVal Sh As Object, _
ByVal Target As Excel.Range)
If Val(Right(Target.Address, 1)) < 3 Then

'do nothing

Else

MsgBox "Changed Range = " & Target.Address & vbCr & vbCr & _
"New Value = " & Target.Text

End If

End Sub

Private Sub oleExcel_GotFocus()

oleExcel.Enabled = True
oleExcel.SourceDoc = "C:WebLOLERLGR.xls"
oleExcel.Action = 0

With oleExcel.object

.ActiveSheet.Range("A2").Value = "Item Description"
.ActiveSheet.Range("B2").Value = "Detailed Description"
.ActiveSheet.Range("C2").Value = "Item Code"
.ActiveSheet.Range("D2").Value = "SWL"
.ActiveSheet.Range("E2").Value = "Serial No."
.ActiveSheet.Range("F2").Value = "Model"
.ActiveSheet.Range("G2").Value = "Plant ID"
.ActiveSheet.Range("H1").Value = "Details of Manufacture"
' shtLGR.Range("H2").Value = "Name"
' shtLGR.Range("I2").Value = "Certificate No."
' shtLGR.Range("J2").Value = "Date"
' shtLGR.Range("K1").Value = "If Load Tested"
' shtLGR.Range("K2").Value = "Proof Load"
' shtLGR.Range("L2").Value = "Load Test Certificate No"
' shtLGR.Range("M2").Value = "Status"

' With shtLGR.Shapes
'
' .AddLine(0,0,74,74)
'
End With

End Sub
If I type something in the embedded excel sheet and press the save button, it saves the file as Excel file. When I try to open the Excel file there is an error message "This file is not in a recognizable format" and if I press "OK" button in the message it shows the file with lots of characters which are not typed.

In my references "Microsoft Excel 11.0 Object Library" is ticked. I am working on Windows XP professional with MS-Office 2003

What is the problem. Can anyone please help

Regards

Varrey

Embedded HTML
I have just recieved a rather strange request for an existing application. One of my users wishes for me to include a HTML page in my application on a form. Essentailly they want my form to load a html page and allow the page to interact with the application much like the digital dashboard does in outlook e.g. Show a list of tasks in the html page and allow the user to start the task form by clicking on a task in the html page.
I have never done anything like this before and are hoping some of the gods in this forum have some ideas on how this can be accomplished?

Embedded Player?
I am working on a new video codec currently (not in VB - obviously).

I am going to release it with its own personal player like Quicktime and DivX do, but this will be a standalone player.

I have noticed many webpages such as movie trailers and such like have integrated (or embedded movie players). Such as when i click a .mov link in IE, it goes to a new window with an integrated mediaplayer (for this example, Quicktime).

Is it possible to create an embedded player like this in Visual BASIC?

Is the actual quicktime and mediaplayer embedded control just an activeX object added to a webpage? I am new to this kind of web development.

I dont follow understand how you could create something like this.

I mean are their any examples of embedded video players in VB? even using MCI would be usful.

Thanks in advance

Embedded HTML
Is it possible to have part of my UI with HTML enabled and is able to play flash in the embedded vb?

Embedded Graphics?
It's me again! (I hear ya screaming: nooooo

I wonder if there's a way to embed graphics into your application rathen then open them with LoadPicture("full path")?

regards, Legshot

Log File In Embedded Vb
Hi,

Can anyone tell me how i can log (in a file) the x and y coordinates when a user clicks on a picture box in embedded visual basic 3.0?

thanks

Vb Embedded Mp3 Player?
would something like this be possible... I'm already working on the form and stuff... but how do you, with a file list box, access a remote server????



--
Alex K.

Embedded VB Question
I have just recently started to use eVB. I note that it has very few intrinsic controls (pretty much just textbox, timer, listbox, picturebox and a couple of others). Is there anyway to add more tools to the toolbox? IN particular, i'm look for the menubar one that is in regular VB as I find it difficult to code one at runtime.
Thanks

Datafile With Embedded VB
I need to know how i create,read,write sequential datafiles in embedded Visual Basic (Windows CE "Palm PC")

Embedded VB 3.0 Startup
I have writen a small program for my CE devices. I have notice that with eVB3.0 you can not make an .exe. My question is how can I get my program to startup everytime the unit get power on? ANy help would be GREAT!!

Embedded Tools For VB
I am trying to use Embedded tools for Vb on a CE device. Are commands like "unload me" Different then in VB6.0? Would anyone know when I can find some good help files on this. Thanks

Row Number Embedded In SQL...
Hello All,

I do believe it is possible to embed a row number in a SQL call so
the first field is a row number:

SELECT
what?? As SN,
Col A,
Col B
FROM
SomeTable

Yields:
SN ColA ColB
1 xXx yYy
2 aAa bBb

and so on...

Thanx In Advance,
->Noah

My VB App On Windows Embedded Or CE ?????
Hello...

I know NOTHING about this...but I was ask if our Visual Basic application that now runs on Windows 200 Pro or Windows XP Pro....can be made to run on Windows Embedded or Windows CE. So..that is my question. Help.

Thanks!

EXE Embedded VB6 Run-time
Hi everyone!

Many year ago ...
I've once heard, that a tools let you Embed VB6 Run-Time into the Exe, is anyone of you where can I find this tools ??

Is my question, is clear enough?

thanks

Embedded Video
I want to embed video in my application with "windows media player 6.2". You know, the old simple on. I used to have some code, but lost it and am having trouble finding some more examples.

Embedded Zip File
I have an app that has an embedded zip file. I would like the application to copy the zip file to the workstation when the app is run. Any ideas?

Embedded Resources In VB6
Had a quick question, only wanted to know if this was possible or not and perhaps a pointer/link or two.

Do Embedded Resources exist in VB6? And if they do, how are they accessed? In VB.NET, I'd use System.Reflection to do this. How about in VB6?

Copyright © 2005-08 www.BigResource.com, All rights reserved