Me and my team are working with arduino devices for a project and we need a way to talk and respond from arduino to visual studios. any coding out there to work on this because i can not seem to find any myself

Member Avatar
+0 forum 0

Hi i have the following code. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection Dim da As New OleDbDataAdapter Dim ds As New DataSet Dim dsnewrow As DataRow Dim cb As New OleDbCommandBuilder(da) Dim a As String con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\DB.mdb;Jet OLEDB:Database Password=123" con.Open() a = "select * from Login" da = New OleDbDataAdapter(a, con) da.Fill(ds, "Login1") dsnewrow = ds.Tables("Login1").NewRow() ds.Tables("Login1").Rows.Add(dsnewrow) dsnewrow.Item("Lid") = "test" dsnewrow.Item("Name") = Uname2.Text.ToString() dsnewrow.Item("Lps") = psw1.Text.ToString() dsnewrow.Item("Acces1") = Acs.Text.ToString() dsnewrow.Item("Date1") = DTp1.Value.ToString() [COLOR="Red"]da.Update(ds, "Login1")[/COLOR] Uname2.Text = "" psw1.Text = "" Acs.Text = "" DTp1.Value = Today() con.Close() …

Member Avatar
Member Avatar
+0 forum 4

Hi, I have searched for this for a long time, but cannot find the answer... sorry if it's simple or is on here already, I did look! Anyway - I'm trying to overlay text from a database on an image using php for use in banner ads for a client. So the add says, "I have earned [B]code from database[/B] so far!" I have got as far as laying the text on the image, and calling the text from the database works when the user is logged in, but when it's viewed remotely it just comes up with [B]$hits[/B] instead... …

Member Avatar
Member Avatar
+0 forum 2

Okay, i've just started python a few days ago, and i think i'm doing well considering how quickly I"ve been working, but I've reached a dead end!! I keep encountering an error when using the statement "from sys import argv" In the first code were I had this problem, I managed to modify it a bit so that it works, but not to what i would have hoped, here is the first code from sys import argv script, user_name = argv prompt = '> ' print "Hi %s, I'm the %s script." % (user_name, script) print "I'd like to ask …

Member Avatar
Member Avatar
+0 forum 3

Hello, I'm just working on a fibonacci numbers in 8086 assembly. However it is not working as I expected. All I want count from 0 to 100. If anyone knows, please help me, thanks. Here the code I have done so far: [CODE] org 100h mov al,0 mov bl,0 mov cl,100 mov ch,0 mov dl,1 mov dh,0 call fibonacci_loop ret fibonacci_loop: add al,dh add al,dl mov bl,al add dl,dh mov dh,bl add ch,1 cmp ch,cl jne fibonacci_loop ret [/CODE]

Member Avatar
+0 forum 0

i have finished writing my program, but teacher want me to write a checkbook balancing program of a user's account. It has to use getline () to read a line, which will contain either the word "withdrawal" or "deposit". After reading each pair of line, the program should compute and print new balance. I think i need to declare a variable to hold the running balance. The program must warn when the user if the withdrawal exceeds the balance. *input should be somthing like this: 1.deposit 2.100 3.withdrawal 4.12.34 5.withdrawal 6.49.00 7.deposit 8.7.01 *OUT PUT of the program should print …

Member Avatar
Member Avatar
+0 forum 2

Hi, I have created a site and on one page it uses 2 divs side by side to display text information. in the left hand div it contains 8 links. these links when clicked load up text stored in separate text files and display it in the right hand div. The code below was working when i ran it from my mac but when i try to load it off the webhost it fails to execute. [CODE=javascript]$(document).ready(function() { $("#mc").click(function() { $("#innertext").load('mc.txt'); }); $("#sd").click(function() { $("#innertext").load('sd.txt'); }); $("#ma").click(function() { $("#innertext").load('ma.txt'); }); $("#rtm").click(function() { $("#innertext").load('rtm.txt'); }); $("#cm").click(function() { $("#innertext").load('cm.txt'); }); $("#r").click(function() { …

Member Avatar
Member Avatar
+0 forum 6

Hey guys, I'm new to all this but basically I've been given the task to create a simple C# board game using the console screen. The game consists of a 36 square board and 2 players (player 1 & player 2). Both the players take it in turns to roll a single die and the number displayed indicates how many space along the board they can move. Once a player passes the original starting point they are rewarded 1 point, the first player to receive 5 points wins. The console screen should display (for both player each time a die …

Member Avatar
Member Avatar
+0 forum 27

got a api from an sms provider that looks like this CODE [url]http://www.frihost.com/api/send_sms.php?user=xxxxpassword=xxxx&to=1234&from=xxxx&content=hello&content_type=text[/url] am writing a php file for my sms site to send message so that the output would give something like the one above. Here is a look at my code: [CODE]<?php session_start(); include($HTTP_SERVER_VARS["DOCUMENT_ROOT"] ."/includes/config.inc.php"); if(isset($_SESSION['user_id'])){ $user_id = $_SESSION['user_id']; } else {redirect("login.php"); exit();} $to = $_POST['to']; $msg = $_POST['msg']; $num_rows = CountRecords("SELECT * FROM ".TBL_CREDITS." WHERE user_id = $user_id"); if($num_rows >0){ $result = selectFrom("SELECT * FROM ".TBL_CREDITS." WHERE user_id = $user_id"); if($result['credit'] < 1) { redirect("home.php?p=single&error=true"); } else { $username = 'private'; $password = 'private'; $to = $to; …

Member Avatar
Member Avatar
+0 forum 1

The End.