I'm using the code below in my old VB6 application to show a graph of the current upload speed of the application. Image of the graph is at the bottom of this post.
I'd like to convert it to .NET, but I'm not really sure how to do it. Expecially the Polygon API is giving me headaches. I guess I can use DrawPolygon, but I'm having problems with the second parameter (converting Pts to System.Drawing.Point) and also the third parameter that DrawPolygon doesn't have. I'm not looking for anything fancy like the chart control, but like to get the graph as shown in the image below.[code]....
[code]using this program i want to devlope a program flow graph.pls help me its so urgentand after that can i calculate the no. of independent paths of this program.
I have a microcontroller communicate to PC. I programed the microcontroller. One of the microcontroller functions is received analog signal from a sensor. I want to program graph which will display an analog signal from the microcontroller. I have the microcontroller communicate to the PC just fine. I could display the signal using a label.
What I would like help with is this (This is new to me):
1-How can I make a graph similar to oscilloscope graph like the picture. Add two trackbars, one for the vertical (value) and one for the horizontal (time)axis (for Y and X). So I could move the graph point. Up, down and sideways.
2-The graph point will move vertically upon the change of the value of a TextBox1. I will change that later to the signal I recieve.
3-The time interval is adjustable via TextBox2.
4-How to analyze the data What I thought of is save the data (the value from the two TextBoxes time and value) will be saved to text file so I could analyze the data.
Is there a way to get Visual.net to display the sound coming in the microphone as a graph on the screen? for example it would show the frequency and intensity of the waves.
This is going to be a lot to ask, but I'd like to convert my old GW-BASIC program to a command line program with arguments. I'd like it to operate as follows:
elapse [drive:][path]filename This is my old code.
5 CLS 10 OPEN "G:Calc.txt" FOR INPUT AS #1 20 WHILE NOT EOF(1): INPUT #1, A$, B$ 30 IF MID$(A$,3,1)=":" THEN C$="DOUBLE DIGIT":GOTO 50 40 IF MID$(A$,2,1)=":" THEN C$="SINGLE DIGIT":GOTO 120
I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.
I have a few questions reguarding converting a Access program to a sql/vb.net program. I know these are vague questions, so feel free to give vague answers.
NOTES: I have a solid unstranding of SQL and VB.net. i have little Access experience, but i would be working with the individual who created the access program. I also don't have alot of experience in converting on program from one language to another. Most of my experience is in new programing.
[Q1] Is their a general rule of thumb when converting/recodeing on how long it should take? i.e. if this project would take me 40 hours to write my self from scratch it would take me 30 hours to recode into another language?
[Q2] What type of problems do i need to look out for when working on projects of this nature and being inexperinced?
I have developed some programs for processing and issue-coding electronic documents. I am teaching myself how to work with SQL Server because I want these programs to work with electronic documents imported into SQL Server as opposed to messing around in a folder stuck on the desktop, for example. From there I want to expand on the program so that it is a network enabled program.
I'm trying to convert a program from VB6 to DOT NET. In my original program I have a menu array which was simple to create.I simply named each menu element the same name and assigned each a different Index property.In DOT NET, there is no Index property and trying to create a second menu item with the same name generates an error. I have been unable to find any info that helps me transfer the functionality to DOT NET.
Can someone help with my struggle to make the leap to DOT NET?I'm also trying to convert use of the MSHFlexGrid in VB6 to the DataGridView tool in DOT NET and this is driving my to distraction. I've figured out some things already with lots of web searches but selecting a column to sort and sorting it still eludes me.
I have this code that gets the hostname,IP and MAC address of computers under a certain domain name. but it is in C#. i am required to run the code under vb.net.[code]...
I've been trying to convert a little code snippet from C# to VB, but it s too hard for me.The problem is that it�s using Delegate and event handling[code]...
I tried the code below to convert it to c#. But i am getting many errors when i use it.Like error related to || and && symbols using in c# version.[code]...
Can anyone can convert this SQL script in to a visual basic source code?..I know how can i do that in executing a stored procedure without parameter.But I have a hard time doing it with stored procedure with parameter.[code]....
Am converting a VB6 project to VB.Net and need help with "AS ANY" type declaration in a function declaration.
Example:Declare Function BtrCall Lib "wbtrv32.dll" Alias "BTRCALL" (ByVal op%, ByVal PB$, db As Any) as integer
I know As Any is invalid in VB.Net
Most of the calls to this function will pass a String for the 3rd parameter however, there are two instances in my code where a User Defined Type /Structure is passed rather than string value.
I have managed to take a screenshot of my computing using VB and I have stored it as a bitmap. I want to convert this bitmap (quickly!) to an array of rgb values.[code]...
"Here's the code from kaymaf's first post. I used a website to convert it from C# to VB.Net. If you can't get it to work, post again and we'll try something different."[code]...