VS 2010 Make RealTime Run Scripter?

Dec 31, 2009

i am trying to make a simple scripter. my scripter has a Run button to run the written scripts in a RichTextBox.But in new version of my program i want to make a RealTime run scripter, So don't need to a run button and scripts should process when user type in richtexbox. a way that i had used in my program is this :

ileOpen(1, "c:windowsmagico(test).txt", OpenMode.Output)
PrintLine(1, frmMain.page_script.txtScript.Text)
FileClose(1)

[code].....

View 7 Replies


ADVERTISEMENT

VS 2010 RealTime Run Scripter?

Feb 19, 2010

i am trying to make a simple scripter. my scripter has a Run button to run the written scripts in a RichTextBox.But in new version of my program i want to make a RealTime run scripter, So don't need to a run button and scripts should process when user type in richtexbox. a way that i had used in my program is this :

On Error Resume Next
FileOpen(1, "c:windowsmagico(test).txt", OpenMode.Output)
PrintLine(1, frmMain.page_script.txtScript.Text)

[code]......

View 1 Replies

Make Graphic Show In Realtime As It Is Being Drawn?

Dec 14, 2011

I am working with a very simple (so far..) little program where i use som trig to create a circle using pixels created vith the Ellipse-comand "(x, x, 1, 1)" etc.

But I want to se when the graphics is drawn, just not the finished circle, how do I do that?

I use the "Paint" version of the form. I am a beginner so excuse my poor skills. Shouldn´t this be a very simple little problem?

I work with Visual Basic 2008 Express

View 9 Replies

VS 2010 TabControl In Realtime?

May 12, 2011

I have hit a brick wall with my latest project.In essence the entire tab control is created on the fly, i have successfully added any number of tabs with the tabpage title being filled correctly. my problem however is when i add the content itself to the correct page, i have no item displayed on any tabs and however i can retrieve the contents and change them with code.

My code takes a pricelist xml file from my works website and my code is supposed to allow this content to be edited and returned to the server with adjusted prices to reflect updates in our costing. All the code works except the part to display the data, and consequently the code to use this data to update the array used for the xml while the program is running is not written.

[Code]...

View 2 Replies

VS 2010 - Realtime Audio / VST Effect / Minimize ?

Feb 13, 2011

What I want to do, for one, is record audio through a microphone input, then play it back with only a few milliseconds delay. Maybe a way to do this would be to record, say, 200 milliseconds, save it to a temp folder, play it, then delete and repeat? I don't know. Would my idea work? Second, I want to use a VST dll file as an effect on this audio. I have absolutely no clue as to how I could do this. (Third one is optional, not really needed, but would be nice. you don't have to answer this third one) Third, I want to minimize the feedback. An idea of mine is maybe a frequency cut off, anything above avg human voice frequencies?

View 2 Replies

Write Info To Website - Noob Scripter

Aug 9, 2010

Ok, so someone I know said in order to do this, I need to do WebRequests.So I have this site for example: [url]Say I want to post to that textbox("Hello"), then I want to click the button. So far, this is all I know [url]

View 3 Replies

Reading From CMD Into Textbox - Realtime

Jan 29, 2012

i wanted to make a pinging program that could send pings to websites, i have all the code written, i just cant get it to display what is going into the cmd in a text box.... The reason i am having trouble with this is because the code says " output = (process.StandardOutput.ReadToEnd)" it will only display it in the text box AFTER the code has finished....

[Code]...

View 5 Replies

Redirecting Stdout In Realtime?

Sep 29, 2010

I am writing an application in VB .NET which calls external executables (written in C++)and passes them some command line arguments. What I need to do is read back their stdout outputs inealtime , i.e. as they run.I am currently using the ProcessStartInfo class and setting the RedirectStandardOutput property to true and reading it back in from a StreamReader. However, I cannot read this back in realtime. Once the process finishes, the StreamReader will allow me to

View 12 Replies

Transferring Audio In Almost Realtime?

Aug 8, 2010

I'm currently working with a project where I need to transfer the internal audio (sound from the computer) to another computer and play it back there.

I thought of transferring the audio with a TCP server-client connection since I already have the knowledge of how to do that.

My problem now is that I don't know how I would capture the internal audio and how to be able to play it back as a stream on the target computer. I have searched a bit and many people recommend using MCI but I'm not sure if this will work on an "almost realtime audio stream" connection.

So my question is: What is the best way to grab the audio from the computer and then play back the data on another computer (as a stream)? I want to do it in realtime and not "recording" the sound and then send it to the target computer.

View 4 Replies

C# - Show Realtime Memory Usage In A .net App?

Jul 31, 2011

You can easily get the memory usage of the current process using workingset64 However I could not find any event like OnMemUsageChanged so I can display a little mem usage meter that displays live/real time the mem usage value. Updating in a timer every second can be done but looks inefficient. Is there anyway I can get an event or callback every time the mem usage changes ?

View 1 Replies

Realtime Compare Keypress Value To An Existing Value?

Mar 10, 2011

Is there a way to detect whether the value the user is entering using keypress method is within the lower and upper limits?For example, the lower limit is 30 and the upper limit is 112 and the current value the user enter is 33 so the next digit is not allowable because it will exceed the upper limit. On the other hand if the user's current value is 11 the next allowable digit is either 0 or 1 but not above I am current using the below method to allow only numbers. Can i expand this code to meet the above requirement?

If Not "1234567890".Contains(Char.ToUpper(e.KeyChar)) AndAlso e.KeyChar <> vbBack Then
e.Handled = True 'When a wrong value is Entered
End If

[code].....

View 6 Replies

Writing To Text Resource At Realtime?

Nov 23, 2011

I have a text file that is going to store some data in this current project. Instead of having it stored on a location on the PC (like C:Test.txt) - I wanted it to be a .txt resource of the application.Using a streamwriter isn't working when I'm attempting to write to the file. This following code runs without error however when I exit the application and look at the text resource file it remains blank instead of showing "Testing".

Dim Writer As New System.IO.StreamWriter(My.Resource.TXTRESOURCE)
Writer.WriteLine("Testing")
Writer.close()

View 1 Replies

.net - Change The ReadOnly Attribute In Realtime For Use With PropertyGrid?

Apr 11, 2011

I got a properties class that I send to a PropertyGrid. I want to change the [readonly] attribute of some properties in realtime. Below is an example of such a property in vb.net...

<CategoryAttribute("Graph Limits"), _
Browsable(True), _
[ReadOnly](False), _
BindableAttribute(False), _

[code]....

View 2 Replies

.net - Deal With Output From A Secondary Process In Realtime?

Apr 27, 2012

I am trying to write a VB .NET program that runs a Perl script and reads and uses the standard output. I'd like to be able to handle each line separately as it is printed, and update my program display accordingly. Here's some code I have "written" (read: "mostly copied off the internet"):

Private WithEvents pscript As Process
Private Sub myProgram_Load(sender As Object, e As System.EventArgs) Handles Me.Load
pscript = New Process()

[Code]....

This works with one problem: the program waits until the test script has run to completion, and then fires several OutputDataReceived events one after the other. This means that when I make it use the real script, it's likely to do nothing for as much as several hours, and then have to deal with, like, 5,000 events at once, despite the fact that stuff was being printed at fairly regular intervals throughout that time.

Is there any way I can make it deal with each line of text when it is written, instead of all of it at once at the end?

View 2 Replies

How To Synchronize Near Realtime Reads From A Sql Server Table

Sep 12, 2011

We have a reporting app thats needs to update it's charts as the data gets written to it's corresponding table. (the report is based off just one table). Currently we just keep the last read sessionid + rowid (unique combo) in memory and a polling timer just does a select where rowid > what we have in memory (to get the latest rows added). Timer runs every second or so and the fast sql reader does it's job well. So far so good. However I feel this is not optimal because sometimes there are pauses in the data writes due to the process by design. (user clicking the pause button on the system that writes data). Meanwhile our timer keeps hitting the db and does not get any new rows. No errors or anything. How is this situation normally handled. The app that writes the data is separate from the reporting app. The 2 apps run on different machines. Bottomline : How to get data into a c# app as and when it is written into a sql server table without polling unnecessarily.

View 4 Replies

Show Realtime Cpu Usage Via Unix Using Top Command

Mar 19, 2012

currently i am working on a project to help our customers troubleshoot our products, our products have the availabilty to be access via telnet, i can use the top command to show

top provides an view of processor activity in real time. This utility reads the status for all processes in /proc each <seconds> and shows the status for however many processes will fit on the screen. This utility will not show processes that are started after program startup, but it will show the EXIT status for and PIDs that exit while it is running.

I am looking to but this into my project in real time and show a graph do you think this can be achived ?

View 3 Replies

VS 2008 - Realtime Microphone Playback (Like Amplifier)

Mar 13, 2011

I need to make an application that plays the microphone line in the same time I speak to it, somewhat like an amplifier, so I can talk to the microphone without recording and my speakers play that sound at the same time! Its pretty difficult for me because I am really new at this type of applications and off course I don't have any idea about microphone line in volume control coding too!

View 2 Replies

VS 2008 : Draw Realtime Line Picturebox?

Apr 30, 2009

how to draw in realtime? I have this code in a timer:

Dim picBoxWidth As Integer = PictureBox1.Size.Width
Dim picBoxHeight As Integer = PictureBox1.Size.Height
Dim halfWidth As Integer = PictureBox1.Size.Width / 2
Dim halfHeight As Integer = PictureBox1.Size.Height / 2

[code]....

this would draw a graph, and when x has counted to 1000 it should start again. The center cross is written, but no graph.

View 5 Replies

VS 2008 Socket Connection For Realtime Data?

Feb 28, 2011

i need a little advice/help here. There is a particular scenario that is coming up and I am clueless as to how to go about it."I will soon have a lease line through which I will get realtime stock market data. This data will be available every second and it will contain prices of stocks. Now assume I am able to get that data on my local computer. How can I transmit data so that users can get that data through my software.

For e.g. assume it's 11 AM. Now if you select a stock e.g. Google, then my program should fetch data for google till 11 AM and also show new data every second or so with minimum lag. Something like a terminal where you see stock prices getting updates every second. In my case I need to get past data and show current data which get updated at short intervals."

Now I have a linux vps webserver which hosts my site. (I get one or two static ip free) What to do so that data goes from my local computer to my server and then my program (developed in vb.net) is able to get it and show it to end user. This whole system should such that its fast (real-time) and delay is minimum.

View 6 Replies

Redirect Console Output To A Form's Textbox In Realtime?

May 26, 2007

send the text from a certain line in the hidden console window to a textbox in the form, but I need this output while the console application is still running in a hidden window. Since I am going to have multiple instances of this console application running, I have assigned their processes to an array and each have a separate "hidden" console window. After I launch these applications (with different arguments assign to them), they require no input and will run until I ".kill them" using the GUI.The console application was written in the old C and it's source code scares me.

I am creating this GUI "bolt on" application for it in VB.NET 2005 to clean up desktop space (save me from 30 console windows) and to be able to start, stop, and monitor them from a single clean GUI.Attempted solutions:I have reviewed the information [URL]But again, that just tells me how to capture the output of it after the console application has exited, which I already know how to do and I do not wish to kill the application just to see a certain line of it's output as it would obviously interrupt what it is doing.

View 5 Replies

Running A DOS Command And Show Output In Textbox Realtime?

May 25, 2010

I want to run some dos commands (eg: a ROBOCOPY) and show the output from this realtime in a text window to show the user something is happening.The command may take a number of minutes so it's important the output is showing in the VB application realtime, and not just all at the end. Obviously the user will wonder what is happening during this time.

View 19 Replies

The Right Direction Access.log File RealTime Watcher / Monitor

Mar 15, 2009

Here is my stuck in a rut kind deal.I am using Visual Basic Express Editoin 2008. (Most of these forums and samples and stuff is either C# VB 2005). I just want to simply know how I can "View or Monitor" the access.log file that is on my server?

[Code]...

View 1 Replies

VS 2008 Ways To Enhance Comobox Width In Realtime?

Oct 10, 2009

I have the following problem: I have a combobox in my application. Sometimes the data inside are too wide to be displayed (see here). Is it possible to use tooltiptext to display the whole data line if the user stands on this line? Or perhaps sending the whole data to a right-click context menu? If so - how?

View 1 Replies

Redirect And Parse In Realtime Stdout Of An Long Running Process?

Apr 12, 2010

This code executes "handbrakecli" (a command line application) and places the output into a string:

Dim p As Process = New Process
p.StartInfo.FileName = "handbrakecli"
p.StartInfo.Arguments = "-i [source] -o [destination]"

[code].....

View 1 Replies

Optimal Use Of Realtime Application List(of T) Avoid Internal Redim Of When One Extra Element Is Added Or Removed?

May 30, 2012

I am working on a realtime application where the data is addded to a List(of T) all the time. MB per minute

Elements older than X minutes shall be removed from the beginning of the list to free memory.

As far as i can understand will there be an internal (slow) redim when i add each element after i have reach the number defined with the Capasity metod. (I set that quite big from the start, but the data speed is unpredictable so it can be exceed)

What happens each time i remove and element from the beginning of the list , seems like it takes a lot of time, ? new redim ?

What is the most CPU fficient way of removing 1 or many elements from the beginning of such a list?

View 7 Replies

Detecting Change In Database / Displaying Word 'change' On Screen In Realtime For Any Client Connected

Nov 30, 2010

Can someone please help me create a very very simplistic sample page as the chat page included is too coomplete. something as simple as detecting a change in the database and displaying the word "change" on screen in realtime for any client connected.and I tried creating a global.asax file into which I added in the line mentioned in the link above, but it does not seem to like the word "Setup" in the line [code]

View 2 Replies

Make An App Using 2010?

Oct 27, 2010

I'm trying to make an app using visual studio 2010, I have this excel formula that will calculate a 6 Digit code from a 11 digit serial number.The excel is pretty old and it consts of math operations such as RIGHT, LEFT, MID and POWER I managed to "translate" that to Microsoft.VisualBasic.Right, Microsoft.VisualBasic.Left, Microsoft.VisualBasic.Mid and Math.Pow but i'm not sure if i did it right, since is not giving me the result i'm looking for, instead of a 6 digit number is giving me something like this: 9.9E+52

Here's the code I made for the vB

Microsoft.VisualBasic.Right((Math.Pow(2, 5 + (Microsoft.VisualBasic.Left((Microsoft.VisualBasic.Left(txtESN.Text, 3)), 1) + Microsoft.VisualBasic.Right(Microsoft.VisualBasic.Left(txtESN.Text, 3), 1) + Microsoft.VisualBasic.Mid(Microsoft.VisualBasic.Left(txtESN.Text, 3), 2, 1))) - 1) * ((Microsoft.VisualBasic.Right(txtESN.Text, 3)) + 199) * (23 + (Microsoft.VisualBasic.Left((Microsoft.VisualBasic.Right(txtESN.Text, 8)), 1) +

[code]....

View 5 Replies

VS 2010 - Make Changes To DLL ?

May 28, 2011

I am having problem with compiling the DLL. Here is the scenario: Let's say I have created a DLL and App1 is using it. the application will monitor a folder for several hours. The dll and the app1.exe is copied to C:foder1 directory. The application is running without any problem. Let's say I need to make changes to that DLL. If I open the DLL project in my Visual studio and compile it, it says that the file is currently used. DLL project is stored in different path. let's say in D: drive. Why it says the dll is used? The app1 should use the DLL in C:folder1.

View 2 Replies

How To Make Binder Fud In VB 2010?

Jan 18, 2012

source codes for vb 2010 the binder coding and how to make them fud?

View 6 Replies

How To Make Crypters In Vb 2010

Jan 18, 2012

any1 give me tut and vb 2010 codes for crypter coding i am having problem with finding codes and then next problem is that source undector???

View 5 Replies







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