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
ADVERTISEMENT
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
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
Dec 29, 2010
I have a program originally compiled in VS2008 on a WindowsXP Pro box. The program uses Microsoft DAO 3.5 Object Library to access an Access database.
When I try and run the program on Windows XP (any version) it runs just fine. If I try and run in on Vista (any version) it doesn't work. When I try and run it on Windows 7 Pro, it runs fine. I really want it to run on Windows 7 Home Premium, but I get an interop error anytime I try and access the database.
View 3 Replies
Dec 29, 2010
I have a program originally compiled in VS2008 on a WindowsXP Pro box. The program uses Microsoft DAO 3.5 Object Library to access an Access database.When I try and run the program on Windows XP (any version) it runs just fine. If I try and run in on Vista (any version) it doesn't work. When I try and run it on Windows 7 Pro, it runs fine. I really want it to run on Windows 7 Home Premium, but I get an interop error anytime I try and access the
View 3 Replies
Aug 24, 2009
My app currently loops the progres bar(to show sending of image) rather then work like a percentage progbar. This is becaus ei do not fully understand how to go about this.Whats the best way to add a progbar(well recode mine) to work as a percentage complete? Since it's a httpwebrequest thats being sent im not sure what else to google for on a tutorial
View 6 Replies
Jan 21, 2010
While DataReader.Read
Dim Foo as New FooBar
Foo.Property = "Test"
Loop
In VB.net, does this create a new Foo instance every for every loop? Or just one Foo instance with block level scope? Do all blocks (If..EndIf, For..Next) work the same in this regard?
View 3 Replies
Jul 2, 2010
In Key Press Event i have put the logic of search in textbox, when i press enter key it will take the values from textbox and brings the data in DataGrid.In another event of GotFocus there is an logic of autocompletestring collection from Table. If i type a in that textbox it will shows all the suggested string in that.If i comment the logic of GotFocus Event for textbox for autocomplete suggestion then only then Key Press events work else its not working.
Code:
Private Sub CustomerName_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles CustomerName.KeyPress
If e.KeyChar = Chr(13) Then
[code].....
View 4 Replies
Apr 1, 2012
I am creating an Excel add-in written in VB.NET. I would like to bind KeyDown and KeyUp events to the spreadsheet to record when the user presses and releases the arrow keys while navigating the spreadsheetIdeally, these events would be built into Excel alongside the native SheetActivate and SheetSelectionChange events, for example. Alas, they are not.
View 1 Replies
Jan 6, 2010
In Visual Basic 2008, there's two different ways that I know of to accomplish the same thing:The Dim on the member level:
Dim counter1 as integer = 0
Dim counter2 as integer = 180
Public Sub SampleSub1()
[code].....
View 1 Replies
Mar 18, 2011
I have created a simple program which uses a two tier structure of SQL Tables.At the top level, one record holds the date of the activities and linked to it using its primary key as a foreign key, three subordinate tables hold time stamped records.The issue I have been unable to solve is that before adding any of the lower level records for a given date, a newly added top level record must be saved to the database.Doing this manually is simple - but can I rely on my users to remember to do this before they start plugging in the lower level data?I thought not, so I am looking to save the top level automatically.I've failed miserably but I refuse to believe that it's not possible.
View 14 Replies
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
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
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
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
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
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
Feb 12, 2011
I have multiple level of For Each and in each level, i have a Linq that is the 'In' criteria as in:
[Code]....
It will go inside each for (because the value is not nothing), however, it will only loop (next) in the very inner 'For Each t In tFor'. After it is finish inner loops, the outer Fors' or Next will not execute... even thought there are more than one values in that 'In'... like 'sFor' or 'fFor'. i've noticed while debuging, while break at the for (for example 'sFor', before stepping in), i get the error message:
"Enumeration yielded no results" when i expand the result for that variable and it will not step into it. but if i do not expand the result, it will step in. It seem that some how, once an element is accessed for that 'In' collection, it breaks (meaning does not loop for the rest of the elements) the next for that collection is this a bug or am i missing something in Linq? BTW: i believe it has something to do with the SqlDataReader in the Linq. I'm working with IAsyncResult.
View 5 Replies
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
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
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
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
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
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
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
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
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
Nov 10, 2009
U0161 import a Platinum level Advisor .jar to use with this Platinum level product key.How I can get this and import it to continue my completion of setup of mysql download?From where I can download that file?To enable this application, please provide a MySQL Enterprise Product Key or your MySQL Enterprise credentials.
View 1 Replies
Jun 21, 2010
Does anyone have any experience with UDP on a home network + particularly any experience with tinyUDP (attached)? i tried running it on my network + it doesn't receive the messages.
View 6 Replies
Oct 17, 2009
Ok here is what i m trying to do.I have one pc at home which is always running and then i want to connect to that PC from my Office. For example i wanna built some VB.net program that i use from Office which sends signal/Message to the PC running at Home(There will be a VB.net program at HOME pc also which is always waiting for the incoming messages) and gets the response from that PC at home.
In General i want that my program(vb.net) at Office communicates with my Program(vb.net) at home even if there is nobody at home, so that i can share some files or may be perform some other operations at home pc even if i m away.
View 14 Replies