Graphing Technique Works In Head?

Oct 6, 2011

I am trying to create a graph that changes every second and just shows a 3 second history. In my head it would make sense to tie it into the T variable (Time in seconds), so I have form1 outputting T to a text box on form2 and then everytime that textbox changes it graphs the new chart.

The reason I am doing the step ladder approach is because I wanted the numbers to appear under the points as they travel. does this make any sense at all, or am I completely off base?

[Code]...

View 1 Replies


ADVERTISEMENT

Get Into A Game Using ReadProcessMemory Technique?

Sep 7, 2009

I would like to know how you can get into a game using the ReadProcessMemory technique. Could someone help me by telling me what information I need to get into the game and the code required.

View 5 Replies

Graphing From CSV?

Dec 3, 2010

I currently have an app that records several temperatures then logs them to a csv file every minute. I am thinking about adding some sort of graphing capability. Which direction should I look to accomplish this? I did a few searches but for some reason it wasnt pulling anything realavent up. Eventually I would want to have it autoscale based on max and min temps, as well as export the graph to a GIF to JPG. Need to figure out the plain graph first...

View 3 Replies

The Decoding Technique Used In Audio Decoders?

Oct 31, 2011

1.Converting a wav file to mp3

2.Create a mp3 player by use of a decoder for playing this mp3 file.

I want some help from the best audio programmer who can explain me the decoding logic used to play the mp3 file(Programatically) I am aware of the bit patterns and the data chunks of mp3.I have the knowledge of the data chunks used in mp3 and wav files .I have also used winmm.dll file earlier to ascend into and descend out of the data chunks of wave files.But don't know how the bits are played in a player.Now I need to convert the wav file into mp3 format by use of some encoder program.I came to know about some lame encoder program but am unable to get how to start understanding it's code.

View 1 Replies

Graphing Functions In VB?

Mar 7, 2010

Does VB.net have anything built in for graphing functions? Linear, quadratic, cubic, log, and absolute value functions would be my main needs. I would want to display the functions on a graph whose x- and y-axes both go from -10 to +10, with grid lines.

View 1 Replies

Best Technique For Sending Scheduled Email Reminders?

Mar 29, 2011

I've been thinking about this problem for a while now and I'm still not sure what is the best approach.Basically I've got several hundred email addresses stored in a Database, and every week I would like to automatically send these addresses a bulletin of information. I've accomplished this with a Stored Procedure and a Scheduled Job on the DB (Oracle), but I'm sure this could be achieved better with some VB.net solution.I've read about people writing a Windows Service, or creating a Console Application and using Windows scheduler. I'm swaying to wards the Windows Service approach but I'm not sure how to tell the service to send emails at a specific time every week. Any ideas, or is there a better approach?Also, what would be best? Send individual emails to the addresses in the emailing list, or send one email with every address added as a BCC?

View 2 Replies

Quick Technique Of Setting / Saving Variables

Dec 26, 2011

I know this is a VB.Net messageboard, but it can work with in all languages. Is there a quick way to complete a line (sample code):
//Setting variables set 1
a = e;
b = f;
c = g;
d = h;
.....

//Saving changes set 2
e = a;
f = b;
g = c;
h = d;
without having to type everything out...A technique using EXCEL or Notepad....Find and Replace. This would save a lot of time coding and becomes pain in the butt when you working with many variables.

View 4 Replies

Wrote Some Code To Encode Data Using Hashed Technique?

Mar 8, 2010

I wrote some code to encode data using hashed technique,

HTML
Dim strPlainText As String = "admin"
Dim hashedbytes As Byte()
Dim encoder As New UTF8Encoding()

[Code]...

View 3 Replies

Graphing And Rotating An Array Using VB10?

Apr 16, 2012

I had an assignment that I had done, which has been turned in, I was able to get it to graph, but it when it reaches the right side of the screen it drops off, when it is is adjusted using the velleman controls it jumps back up, hw would I fix this.

Here are the instructon for the assignment:

Write a program tat rads two analog inputs from a velleman board and plots the values on a rotating graph. The number of value plotted horizontally should be specified in a text box. Label the graphs vertical values in at least three places. Print the current voltage reading for each input in it's own lable. The graph should auto scale to fille the graph vertically and horizontally.

The two things that I couldn't get to work is the graph drops off the chart and I was unable to place the vertical values in three places.

Here is my code:

'Date: April 10, 2012
'Progammer: Cathy Hjelm
'Progam: wk8-1

[Code].....

View 3 Replies

Looking For Sample Code / Literature For Graphing

Sep 28, 2010

I recently aqquired VB 2010 Express but have limited programming experience.I am looking for sample code and/or literature which will show me how to plot a Y=f(X) curve - for example code which will plot a straight line, a parabola, etc.I need it as a template from which I can learn about how to build such a graphing program and then tailor one to my needs.

View 3 Replies

VS 2010 Find The Latest Technique Of Specific Logic Or Approaches?

Apr 25, 2011

link where Programmers like me who are new and not very proficient in Vb.Net and ASp.NET..

View 10 Replies

Graphing - Display A Line Chart Of Some Values

Jun 9, 2009

I have a program that is supposed to display a line chart of some values Im reading in from an XML sheet. The function that reads the data into arrays works fine. When I try to graph the values, all I get is a flat line.

View 15 Replies

Can't Add Javascript At Head Section Right?

Dec 14, 2009

can anyone show me samples or guide me to do a pop-up calendar after I click a button. The pop-up calendar is for the user to select their date of birth, so I would like it to customize the calendar also. And for my website I have master page, so I can't add javascript at the <head> section right?

View 6 Replies

Placeholder In Head Of A Page

Nov 1, 2010

I have a page that includes javascript which I only want to run under certain conditions. To do this I have placed the scripts into an asp: placeholder.This actually seems to work but when I run a debug on the page I get the following warning.Element 'placeholder' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.If I move the placeholders into the body of the page the warning goes, but that means I'm left with scripts in the body which I also want to avoid. Does anyone have any hints on the best practice for this scenario? [code]

View 3 Replies

VS 2008 Graphing Sum Of Account Balances From Multiple Individuals?

Nov 24, 2010

I have a graph that shows the balance of any number of individuals' accounts over time. The data is taken from a SQL datatable that contains the Individual's ID, Date&Time, and Account Balance.

The account balances of different individuals are not necessarily recorded at the same times. So for person1 I may have:

11/24/10 10:32:43 am - $150
11/24/10 1:47:13 pm - $180
11/24/10 5:15:34 pm - $140

[Code].....

So I want to graph the total between these two individuals, but the 'x-value' of their data points don't match up, so I can't simply add up the 'y-values' of corresponding points.

If I wanted to plot points showing the total between accounts, what should I do to achieve this? I would like this to work for not only 2, but any number of individuals.

The first thing I've decided is that I need to set an interval at which the total will be collected: every 10 min, every 1 hour, etc.

If I supply a date/time value as a parameter, how would I retrieve the most recent balance entry from each individual?

View 1 Replies

VS 2010 Graphing Collatz Cojecture - Class Assignment?

Feb 6, 2011

I am working on a programing project for my college class. The program is working fine except when it graphs the data on the panel it flickers and doesn't always do it smoothly. I'm sure there are more efficent ways of doing this, but this is what my class specifically wants. Also, it must run on the timer otherwise I would have made it calculate without delay. Here is the

Program
Public Class Form1
Dim n As Double
Dim myGraphics As System.Drawing.Graphics

[code]....

View 3 Replies

Banging Head Against The Wall Here. Oledb 4.0?

Nov 14, 2009

im having quite a lot of trouble trying to import data to sql from a csv. I am trying to do this via oledb 4.0

[Code]...

View 1 Replies

Respond To HTTP HEAD Requests Using ASP.NET?

Nov 24, 2011

I have a server making a head request to a database dump I've created. The remote server does this to make sure that it's not using excessive bandwidth when not necessary.However, due to some other circumstances outside my control this causes the script to be hit twice: once for the head request, and then another time to download the data.

What I'd like is to have the script I've written detect the head request, send back a couple of headers (e.g. last modified is right now, filesize different than before), and exit. Is there a way to do this?

View 1 Replies

Respond To HTTP HEAD Requests?

Dec 26, 2011

I have a server making a head request to a database dump I've created. The remote server does this to make sure that it's not using excessive bandwidth when not necessary.However, due to some other circumstances outside my control this causes the script to be hit twice: once for the head request, and then another time to download the data.

View 1 Replies

Set Head Tags In A Function In App_code?

Mar 11, 2010

The below function has to be put within my common functions file in app_code folder. how do I do it?It gives error like this:Reference to a non-shared member requires an object reference

Public Sub setHeadTags(ByVal title As String, ByVal description As String, ByVal keywords As String)
Dim metaDescription As HtmlMeta = DirectCast(Page.Master.FindControl("metaDescription"),

[code].....

View 2 Replies

Add A Property Meta Tag Programmically To Head Section

Jun 9, 2011

I would like to add the following meta tag below but do it dynamically when the page loads so that in case we do not need to add it we will not. <meta property="example" content="example" />This is in VB.Net with Visual Studio 2008.

View 1 Replies

Javascript - ASP - Using Head.js In Master Page, ResolveUrl

Jan 13, 2011

I'm trying to use head.js in my master page, and unfortunately. I can't seem to get the syntax down as I need to use ResolveUrl. Here's what I have:

head.js("<%= ResolveUrl("~/js/jquery-1.4.2.min.js") %>","<%=
ResolveUrl("~/js/jquery.jstree.min.js") %>");

Any suggestions? This doesn't work. By "doesn't work", I mean that the head.js call doesn't recognize the quotations I'm using. It isn't loading the files basically because I have some sort of incorrect syntax that the VS 2010 isn't telling me.

View 2 Replies

VS 2008 Getting Head Around Objects / Storing Them In Code

May 5, 2011

I'm trying to get a complete understanding of Objects . Namespaces etc and think I'm pretty close.I've created A basic Vehicles class and a car class that inherits Vehicle.Through user input I've created several cars and displayed the information in a listview.My question is what is the best way to store my cars (don't say garage!) so that if a user clicks on the associated entry on the list box that they can then alter that specific instance.

View 5 Replies

VS 2008 Head Spinning With Webbrowser And Proxies?

Jan 23, 2010

I have 5 proxies, 2 of them are standard and 3 of them requires a username and password.

Im using a webbrowser control. Can anyone point me to the right direction as to what codes i need to implement for both standard proxies and the ones that have user names and passwords?

View 2 Replies

Using Content Place Holder Within Head Section Of Master Page?

Dec 29, 2010

Can we use Content place holder within the head section of a master page?
For example :
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="server">
</asp:ContentPlaceHolder>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>

View 3 Replies

Link From Button - When Sheet1 Is Selected, It Works, But When Sheet2 Is Selected, Not Works

Jan 5, 2012

I have a spreadsheet with this code:

'insert link
sheet1.Hyperlinks.Add(sheet1.Range("P1"), "http://http://www.vbforums.com", "")
the code of the button (ribbon)

[CODE]...

When I press the button, it connects to the web site. when the sheet1 is selected, it works, but when the sheet2 is selected, not works, why? the path is sheet1,What's wrong?

View 2 Replies

Buffer/Array - Safe Application That Contains 3 Threads - Data Acquisition And Decoding - Data Graphing - FFT And Filtering

Aug 26, 2009

I am trying to write a thread safe application that contains 3 threads : -

1 - Data acquisition and decoding
2- Data graphing
3 - FFT and filtering

Thread 1 is collecting bytes from the serial port and converting them int integers (so taking two bytes) after is has captured 64 Bytes and converted into 32 integers, it then needs to pass the array to the graphing thread.

The graphing thread then plots the data and waits for more data.

Thread 3 also waits until thread one has collected 2023 integers and takes these and performs some FFT calculations (which take time).

My question is how do i share the arrays between the three threads without deadlocking the program? as the serial thread will be flying around reasonable fast (1000 bytes per second) so it will synclock onto the shared buffers for most of the time.

Originally i was going to use two synchronised queues, so when thread 1 has collected 32 bytes it queues the data into the graph queue, and once it has collected 2023 it queues the data into the FFT queue.

Then thread 2 and 3 can simple dequeue the data.

However using queues has the overhead of casting the data in and out, and as i know the data type i was planning on using two arrays :-

Dim GraphArray() as ushort
Dim FFTArray() as ushort

Then Thread 1 adds data to each thread, and thread 2 and 3 simple wait until the correct amount of data is available before removing the data. my question is there an array type that allows me to remove x amount of data from an array?

Because i cannot do this easily with the ararys defined as above (GraphArray, FFTArray), as i was planning on making them 1mByte and allowing thread 1 to fill them Knowing they should never overflow and then let thread 2 and 3 remove x amout of bytes at a time unless there is a better way of doing it

View 13 Replies

Graphing "peak" Times From Database

Oct 16, 2009

I have a database that has alarms, times/dates of the alarms, etc. What I am wanting to do is somehow graph the times these alarms come in so I can see where the peak times are for certain alarm types (fire, burglar, communication trouble, etc)

[Code]...

View 7 Replies

Code That Doesn't Works Runtime But Works Step By Step?

Jun 26, 2010

this is my code:

Dim WB As WebBrowser
WB = GetPage("http://speed.travian.ir/a2b.php?z=" + VillageID.ToString + "&c=" + Type.ToString + "&" + AttackParams)

[code].....

View 9 Replies

"Simpleton Technique" Is The Term Used To Call "opening A Single Instance Of A Form"?

Dec 10, 2009

I'm not sure if "Simpleton Technique" is the term used to call "opening a single instance of a form", so please, by all means, correct me if I'm wrong.I opened a child form using the simpleton technique. The situation is like this:

I have three forms (frmUserProfileManager, frmUserInfo, and frmUAC), and all are child forms of the MDI form, MDIMain.You first access frmUserProfileManager using the menu bar. It opens the form using the simpleton technique:

[Code]...

I think maybe it has something to do with the event (MDIMain_Load)? I feel as if the program is only making a child instance of the frmUserInfo once (since the program only loads MDIMain once). And after I close it (frmUserInfo), it loads outside the MDI. Another thing, how do you kill forms that were hidden using .hide()? Is .dispose() applicable?

View 12 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved