Developing A Program Flow Graph For A Program
Nov 20, 2009[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.
View 8 Replies[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.
View 8 RepliesI have been trying to learn how to program a flow chart and am stumped. I want to know how to get the example code from the book that I got at the library to calculate the outcome. I have been at this for days in my spare time and can't figure it out. I tried to apply the examples to my code and got part of it figured out now I am confused on breaking the code down so that I can assign a room if the age is less than 21. Do I just code it the same but change the greater than less than cymbal? I have attached another photo of the code that I have put in Vb for my forum and came up with it between the example in my book and the examples posted on my post. I am getting errors and don't know why.
View 4 RepliesI would provide my code but I made it so complicated I don't really want to show it. I want to start over.I would like to create the most simple way to begin parsing the text file below beginning with the line - 1, EVENT parsing this comma delimited portion.I would like to
1. NOT include the comments and
2. NOT parse the Array1 and Array33 portion of the file
3. Put it into a collection based on the AlarmLog class provided below.
#TestFile.txt
#comments
#comments
[code]....
I am trying to play some WAVs within Media player and am confused at the order my code performs tasks in.
I need to use Windows Media player as my WAVs are 8 channel and just playing the WAV without using media player doesn't seem to support this.
I have a form with a button and a media player component on it
Her's my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWindowsMediaPlayer1.URL = ("C:ASOwl1.Wav")
[Code]....
I'm developing a program that is similar to ATM but I can not keep track of various clients so that each may have their account
View 7 RepliesWhy am I getting a request to configure DAO when I start a program I am developing in VS 2008? After I execute several cancels, the program runs fine.
View 1 RepliesWe currently have some big projects coming up which we will be creating in visual studio using vb.net There will need to be most likely three developers working on different parts of a particular project at any one time.I was just wondering if there is any sort of platform we can use so this is possible as currently each person is using a different copy of the work and then we are transferring this over onto a master copy.
View 5 Repliesdeveloping a program in Visual Basic 2010 to help with my study in school. I would like to develop a program whereby the user is asked to input the correct answer to a question; if the answer is correct the next question comes up if it is incorrect the user must try again until the correct answer is given. I would like to have quite a few questions (around 50).
View 6 RepliesI'm in the process of developing a construction estimating program with vb 2008. Most of the programming I'm able to work myself through, but the problem and question that I have is I would like to incorporate a part of the program where I can import pdf, jpegs, tiffs of blueprints and have the ability to then set the scale, take area and length calculations, and basically do quantity takeoffs.
View 8 RepliesI'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]....
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.
I am developing a program that populates a rich text box and from a click event on a listbox. The data that is being loaded into the rich text box is located in a richtextformat file located on the hard drive. I noticed that when I entered a URL into one of the richtextformat files that it appeared that I was able to click on the text as if it were a link. So I wondered if it was possiable to click on that URL and open a web browser from the loaded richtextformat file? I have read several articles in regards to opening hyperlinks in rich text boxes which can open a web browser with a given URL.
View 1 RepliesI am working on developing a livestock judging program for a 4-H project that will present you with a group of animals and you order the animals from best to worst by typing the placings in a text box (i.e. "1234").
When I type in the placings incorrectly, it comes up with the message box that it is supposed to, but when I type in the correct placings, it shows the message box that it is supposed to but then shows the message box that is supposed to show when you type in the placings incorrectly.
This is the code I have so far:
CODE:
The code in question is in place, and it works. The project is all but wrapping up. That being said, I would love to find a better way to run this section of code in an x64 system so I have the solution ready for future projects. What I currently have in place is as follows:
Function TimeDelay(vDelay)
Dim vTimmer, vTargetTime
vTimmer = TimeValue(Now)
[CODE]...
Now I know the easy way to achieve my goal would be to use the timer object in Visual Studio. The problem I ran into is I was developing an automated command line program. As such there was nothing I could attach the timer to (that I'm aware of). I just needed to pause the program for a few seconds to allow the DTSX package (SSIS file if you're not familiar) to load the file before I remove it from the staging folder.
While I was doing research for this issue I came across the old Sleep() function (referenced to a library in kernel32 as I understand it...never used this before either). When I tried to use this on my current system (64-bit system) I received stack overflow errors. Additional research lead to something called wow64, but I did not have enough time to fully research what this is / how to use it.
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.
View 2 RepliesIs it possible to output a graph drawn in vb.net and plotted with data to a pdf file format? or any microsoft office format?
View 3 Replieswhere to find sample system with complete flow, database structure and data flow.. just for reference purpose.. system like inventory, payroll, accounting, billing and etc..
View 10 Repliesis it possible by 1 program to save settings to another program without running the program that is being edited?
View 6 RepliesI am making a program that NEEDS to be password protected, so i made a textbox with a code so that when the user enters the right password it lets you in. But if the user/person enters a wrong password 2X it will kick you out. So is there a way to keep the
View 3 RepliesI wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.
View 5 RepliesIf e.CommandLine.Count > 0 Then
Dim IncomingCommand As String = e.CommandLine.Item(0).ToString
If IncomingCommand.Substring(0, 2) = "-1" Then
form1.close()
End If
End If
I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.
Ok major problem with a paint program i am making. When i have a window overlap or anything and move to side of screen and minimize and maximize i lose whats in the picturebox...Here is an example of the code I use to draw a line after click a button:
Private Sub btndraw_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlinedraw.Click
lxs = txtslinelocationx.Text
lxe = txtelinelocationx.Text[code].....
Here is a picture of my program running: How do I stop everything being deleted when things pass it...? how can i add a save feature to this program?
I have my rpg, still, first time working on it n ages, and I want each user to be able to set their own personalized picture background for the game...
each character in the game has its own dedicated folder for each file that the character has relating to it...
what I want to know how to do, is to have my game copy the loaded/chosen background image to their respective characters data folder, and have the game reload/reset the games default background image, to the one piced by he player...I am having a hard time figuring out how to do this however...I've tried a lot of different things...and nothing is working yet...
here is my example code right now:
[Code].....
I am creating a very simple Voting System, that will be use on electing new set of officer in a teacher cooperative...
So I have to create two separate program, a Server Program that will manage all the information in the election and a Client Program where voters will vote their selected candidate...
The election officers wanted that the Server Program will display the Voting Results at real time... So when the Voter finished voting, The Voting Result displayed by the Server Program will also be updated every time the Client Program Insert the data to Database....
An action listener in Server Program that will execute if new data is inserted in a Table in the Database made by the Client Program...
Is there a way i can execute a CLI program and have it output or return what the CLI program sais, such as ping etc.
View 3 Replieshow i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
View 20 RepliesI've been working on a program that generates a batch file, then when you press a button, it executes that batch file. There are multiple batch files attached to each item in the list box.
[code]...
The only thing that it does when I press the button, is starts the batch file, then goes to function searchtitle, which executes the batch file again when it finds out it didn't work properly.The button text doesn't change, none of the items are being added to my first list box, and I can't do anything to the window after pressing the button. It constantly opens the batch file every 5 seconds or so.
How can you add a image where when you double click on the icon and the program starts it shows a picture before the program loads. Like Photoshop startup or the new 2010 visual Basic express start up
[Code]...
I have a procedure at the end of my console application that ask the user to either hit enter to end the program, or type s to perform another search. The issue I'm having is no matter what the user types in the program end. What I would like to happen is if the user types s, then the program starts over and lets the user perform another search. The program is procedural and I need to find a way to start back off at the top of the program which ask the user to type a name to search.
[Code]....
Anyway, I'm a teacher and am writing a program that simply shows kids a word on a flashcard. There are 2 buttons, 1 to read the word and 1 to go to a new work. There are going to be 300 words. Really I'm just testing it right here. What I want to know is should I be inputting all the words right into the code like I did with "hi" and "not 1" (Don't ask. those are just the 2 random words I picked to test this out with). OR is there a better way (maybe somehow to type all the words on a text file and have the program randomly pull one of them (I don't know how to do this).
Here is the code so far:
Public Class Form1
Dim word
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[CODE]...