Vision And Parallel Computing?

May 26, 2010

i am trying to make a robot that i can talk to(not yet) and tell it to goto places 1st task it to figure out how to use an inbuilt webcam in my net book and do an image Recognition for walls stars eg 2nd task is to see if i can get it to use my server to help compute the images because my net book is very slow 3rd is speech to text now can all of these be done in vb.net?

View 2 Replies


ADVERTISEMENT

Parallel.For Termination - Service That Scans Network Folders Using A Parallel.for Method

Jan 16, 2012

I have a service that scans network folders using a parallel.for method. However recently I am finding if I stop the service then while windows says the service is stopped the process is still running in task manager. However it is at 0 cpu and the memory does not change. If I try and end the task (even a force in command prompt) it just says access denied and i have to reboot the server. What would be the best way to make sure everything terminates? I thought of adding a global Boolean that in the stop procedure it turns true and part of my parallel code will check for that and call s.stop.

View 1 Replies

Plug In For Vb In Order To Use .swf File To Do Flash On Vision Studio 2005?

May 18, 2009

i understand that i need to have plug in for vb in order to use .swf file to do flash on Vision studio 2005. can anyone let me know where to download that component for this.

View 4 Replies

Putting Flash File (swf) Into Windows Application In Vision Studio

May 20, 2009

i need to create a win app with a swf in it. how do i do that.

View 10 Replies

C# - A Value Larger Than ULong - Computing 100?

Aug 12, 2009

I'm trying to compute 100! and there doesn't seem to be a built-in factorial function. So, I've written:

Protected Sub ComputeFactorial(ByVal n As ULong)
Dim factorial As ULong = 1
Dim i As Integer
For i = 1 To n

[code]....

Unfortunately, running this with the value of 100 for n rseults in

Value was either too large or too small for a UInt64.

So, is there a larger data type for holding numbers? Am i mistaken in my methods?

View 5 Replies

C# - Heavy Computing On Remote Pc?

May 8, 2012

I love to experiment with linqpad, but now my task requires heavy computing power. Trying to do it on my computer is painful. My friend has a much more powerful computer than I -- can I execute some operations from my linqpad on his computer? I don't have RDP access, but I can run any .NET program on his computer.

If it is not possible, then is there any FREE service that provides computing power? Maybe a hosting trial or something. I know that Windows Azure offers a 30-day trial, but it has a very slow CPU module and in my country, MS partners cannot be expected to fix service sites when they go down.

View 2 Replies

Computing A Win/Loss Percentage?

Feb 19, 2009

I need to compute the percentage of games won and games lost. I keep getting errors and it's driving me up a wall. I've changed my code so many times that I don't really remember what it was like when I started.

Private Sub btnPercentage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPercentage.Click
Dim team As String

[Code].....

View 6 Replies

Computing Totals And Averages

Jun 14, 2010

How would you take a numerical input from 10 text boxes and total it up and send it to a label. Then average the 10 numeric text boxes and send it to its own label. I am not asking for any code, I just need a hint or two to jog my memory. If this is not clear for you, I'll provide more detail.

View 1 Replies

Distributed Computing With Mdf Files

Oct 16, 2010

I am using SQL EXPRESS EDITION 2005 and Created mdf data file using vb.net 2008. now i want to use this datafile in lan. i modified connection string "Data Source=.SQLEXPRESS;AttachDbFilename=ServerDataData1.mdf;Integrated Security=True;User Instance=True;Connect Timeout=60"it is showing security info error i want to use single database file for my application please help me with connection string. thank you

View 1 Replies

A-Level Computing Exam Arghhh

Mar 6, 2011

I have been given the prep material for my AS Level (Year 12) computer programming exam based around dice cricket. Written in VB 2008.

In the exam we are supposed to change bits based upon the scenario. The scenario and skeleton code are attached.

I have looked through the code so far and made some guesses to what I think may be on the test:

[code...]

if there is anything I am missing which they think I could be asked on the test. I then have to go away and figure out how to program.

So by asking on here, I am not trying to find out coding answers - I do want to figure that out myself. I just want to see if there is anything else I possibly could be asked?

View 9 Replies

Arrays / Lists And Computing HashValues

Jun 13, 2010

I've had experience with using hashvalues from String objects. E.g., if I have StringA and StringB both equal to "foo", they'll both compute out the same hashvalue, because they're set to equal values. Now what if I have a List, with T being a native data type. If I tried to compute the hashvalue of ListA and ListB, assuming that they'd both be the same size and contain the same information, wouldn't they have equal hashvalues as well?

Assuming as sample dataset of 'byte' with a length of 5
{5,2,0,1,3}

View 3 Replies

C# - Computing EField Around A Point In A Ring?

May 31, 2011

I am trying to write code to compute the Efield on a point P in both the x and y direction, from a charged ring. double y_eField = (_ke_value * _dq * (Sin_angle) / (Math.Pow(r, r)));Problem I am having is the code seems to follow the equation as given but the result it outputs is not correct at all.

View 2 Replies

Coding Computing Project For A-Level?

Oct 24, 2009

I have just started coding my Computing project for my A-Level, and I will admit, I am far more experienced in VB6 than VB.NET (as embarrassing as that is to say).I get extra marks for making everything presentable, so was wondering if it was possible to add icons into .NET buttons. For example if I have a button to add an entry to the database, I want a nice Web 2.0 looking icon (for which I already have) next to the text on that button.

View 1 Replies

Computing Data Through Function X - VarZ

Dec 7, 2009

I have a server that runs a thread that computes some data through function X. Then I have a client that communicates with the server and gets results from function Y. Now, both function (X and Y) share a common variable lets say varZ. When function X populates varZ when the thread starts on the server, the results are not propagated on function Y when accessed by the client through Remoting. But on the server side the results are correct in function Y! It's almost like when client calls function Y, it has no idea what is happening varZ is as far as the value set by function X thread in the server.

View 2 Replies

Computing And Saving Column Rows On A Datagirdview

Jul 7, 2010

trying to understand DataGridView. I can sum columns with no problems and place the result in a textbox. My problem is multipling two column rows and saving it. I receive the following error when I go to save it. "Column mapping from source column failed because the data column is a computed column. So can I compute two column row to a third and save it, if so how. My code is below:

I save.[code....]

View 10 Replies

Error In The Code Computing Totient Function

Nov 24, 2010

i made application for computing totient function but it doesn't give me any result this is a code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

View 1 Replies

Error In The Code Computing Totient Function?

Jan 12, 2010

i made application for computing totient functionbut it doesn't give me any result

this is a code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[code]......

View 11 Replies

Making A Login Form On .net For A2 Computing Coursework?

Feb 4, 2010

I'm struggling with making a log in form on vb.net for my A2 computing coursework.

Public Class DbConn
Dim connection As OleDbConnection
Dim cmd As OleDbCommand
Dim dataReader As OleDbDataReader

[code].....

View 2 Replies

VS 2008 Arrays And Loops - Computing Average Monthly Rainfall

Dec 2, 2010

I need to create an console application that computes the average monthly rainfall, number of months with above average rainfall, and the number of months with below average rainfall, given the rainfall amounts for each month in a particular year. The program must read in and store in an array the monthly rainfall amounts entered by the user one by one.

So far this is what I have got
Const intMonths As Integer = 11 'Constant Month variable
Dim sngRainfall(intMonths) As Single 'Rain for the month
Dim intCount As Integer ' Loop Counter
Dim sngTotalRainfall, sngAvgRainfall As Single 'Total and Average Rainfall
[Code] .....

How to set this up properly and I am having a real hard time figuring out how to make the data go from this loop to another and add the data to the total.

View 15 Replies

Computing Totals : Have To Compute The Differences From Each Campus Enrollment By Semester In 1 2D Array?

Aug 2, 2011

I have everything except the calculation for the increase or decrease in enrollment. Not sure how to handle this in a 2D array. (online class is not

Module Module1
Dim campus() As String = {"Decatur Day ", "Decatur Evening ", "Huntsville Day ", "Huntsville Evening ", "Distance Learning "}
Dim semester() As String = {"Fall 2010 Semester: ", "Spring 2011 Semester: "}

[code]....

View 5 Replies

Complete My "home Work" Assignment For My A-Level Computing?

Feb 4, 2009

I'm not looking for anyone to complete my "home work" assignment for my A-Level computing as I've done this now and I think it's impressive. What I am now looking for is help in extending what I have done and making it better.

History:I have built my application in Visual Basic 2005 Express Edition. It is a Console Application. After filling in the questionnaire the user gets given results and all this information is stored in a .txt document (Notepad). I want the data that is put in to the application to send infomation to the user's e-mail address. I have been looking around the internet and it says it could do it but it needs Outlook express.

View 3 Replies

C# - Parallel Programming In TPL?

Dec 2, 2010

im using tasks parallel library in .net 4.0 i want to have the ability to specify a task for each core independant of the other cores. usually in TPL, i create a task and i tell it to run in parallel, i have no control over the number of threads created nor can i control the number of cores to participate in the parallel task. also, i cant specify each particular core a different task.i'd like to know how to achieve this in TPL if it is possible.

View 3 Replies

Doing Parallel Processing In VB?

Nov 11, 2009

Is there any way of doing parallel processing in VB.net. Like running a IF-ELSE and CASE in parallel.

For example i'm incrementing a counter in a IF-ELSE statement. And for each count i need to display some thing using a case statement.

View 11 Replies

How To Use Parallel.ForEach

Apr 15, 2010

tell how to form this to the correct Syntax?ere the sample in sequential form:ForEach ctrl AsCheckBoxIn tblCKBoxCollection.Controlsctrl.Checked =

View 1 Replies

Parallel Programming In .net 4.0

Mar 31, 2011

I have been reading up on the parallel programming and even now still a little confused on the whole concepts. Lets say I have a single project with about 5 classes that interact and have local variables in methods and variables accessible to all methods in a single class and even 1 or 2 variables accessible to all classes accessed through instantiation. Now using threads I know that global variables would be overridden by multiple threads if there were no locking applied but local variables to a method/function do not, right?

So if I ran the project multiple times meaning as a new process, the methods and variables would be thread safe right and no data corruption occurs? So to implement parallel programming using the task factory, if I created a project that basically creates tasks and each task is basically running an instance of another project, then shouldn't the variables and data be thread safe and safe from corruption? But what if I had the output files and they named by Output & datetime.now.tostring, would there be conflict issues and I ask this knowing that I have seen this happen when trying it. [Code]

View 1 Replies

2 Threads Not Working In Parallel?

Sep 28, 2010

I have 2 threads in my Program. Here is code for both of them

Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click

[Code]...

StartReceiving is working fine but StartWriting is called only once and that msgbox in startWriting is never called, any suggestions on this

View 7 Replies

Add Rows To A Datatable With Parallel.for?

Jul 13, 2010

I have this sub :

Private Sub error_out(ByVal line As Integer, ByVal err_col As Integer, ByVal err_msg As String)
Dim ln = t_erori.Rows.Add

[Code]....

I suspect this is because it's trying to add the same row twice.
How can i make this work ? Or what else method could I use to do this ?

I need this datatable because my app is writing some results in there, but any other method to store the results that works with parallel.for would be ok.

View 2 Replies

Parallel Event Update UI

Nov 26, 2010

I have a class written in C#. In it I want to run a certain function in parallel on a list. After it completes on each item I would like to update a progress bar. However, I get very odd behavior from my program. It executes the event and reaches my sub but never proceeds to actually execute any code. Instead it just freezes. (I've mixed vb.net and c#. It will be rewritten at some point)[code]So for some reason I get it to enter progressBar Counter on each item in the list but it never exists. Instead it just keeps the form frozen.

View 2 Replies

Parallel For Loops Framework 4

Jan 11, 2011

Im trying to learn how to use a Parallel.For loop. Ive got a big for loop, that i need to run parallel, and am trying to use a Parallel.For loop for the first time. When I try using this code, I get that it cant be called using these arguments. The old way to write this would be:[code]I dont need to return anything to the for loop, Im just trying to iterate m, running in parallel. Where am I going wrong?

View 5 Replies

Print To Parallel Port In Net?

Dec 31, 2008

I use the following code to print to the receipt printer on the parallel port in vb 6.0, but it seems that it doesn't work on vb.net.[code]...

View 2 Replies







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