Program That Collects Response Data As Part Of A Psychology Experiment?

Apr 5, 2009

Have a program that collects response data as part of a psychology experiment and i want the output text files to show up on the users desktop so that they can find them easily and e-mail them to me. I'm using Parallels on my Mac to run windows XP and found the files in a desktop folder but they were not on the desktop. Am I coding this right?

HTML
My.Computer.FileSystem.CreateDirectory("C:Desktop" & Participant)
FileOpen(2, "C:Desktop" & Participant & "IRAP output.txt", OpenMode.Append)

[code].....

View 7 Replies


ADVERTISEMENT

Requesting Assistance With VB Psychology Experiment

Apr 4, 2009

I'm creating a VB program to run a psychology experiment and I'm pretty close to done but am running into a few problems. The experiment consists of 8 phases that display on a single form but with different stimuli (pictures and text) being displayed on the form. So for example, at the top of the form would appear "dog" and below that in the center of the screen would appear the word "cat" and then the subject would select one of two option buttons, one being on the bottom left of the screen and one being on the bottom right of the screen.

One option button is labeled "Similar" and the other is labeled "Opposite". I also have corrective feedback displayed after each choice is made. Here are the things I have not figured out

[Code]...

View 6 Replies

TCP Data Arrival Function - No Server Response The Program Starts To Crash And Doesn't Work

Dec 11, 2009

Im using TCP cliente to connect and receive data from my server. To read received data im using this code:

[Code]...

It works fine when server response is detected but when there is no connection or there is no server respone the program starts to crash and doesn't work, so i have to break the debuggind process.

View 2 Replies

Collects And Saves Clipboard To Files?

Oct 5, 2010

I have a big problem So im making a clipboard application, that collects and saves clipboard to files, so i can use saved clipboard later.I have this code. It works perfectly, but..Because of the headnler set to ME (or form1) this code dosn't work when form is not visible or active But i need this code to work when form is hidden.. Because my app is running in system tray.

[Code]...

View 1 Replies

VS 2005 - Experiment With COM Ports?

Mar 4, 2010

I want to experiment with COM ports but I'm stuck trying to figure out the COM port on my laptop. When I run the following program:

[code]...

PCI expansion card with my wireless internet card in there the hp manuals also say that my laptop should have a PS/2 mouse or keyboard slot but i dont see it anywhere. what ports could "COM3" be refering to?

View 6 Replies

.net - Tcp Client Not Receiving The Entire Data Response Data From Server?

Apr 19, 2011

I have a small program which is a tcp client. I send a string from this client to a device over ethernet (it acts as the tcp server). As soon as the device recieves the input string it will respond back with response data. My problem is i am not getting the entire response data back from the server. (device).

Dim serverStream As NetworkStream = clientSocket2.GetStream()
Dim outStream As Byte() = System.Text.Encoding.ASCII.GetBytes("my-cmd")
serverStream.Write(outStream, 0, outStream.Length)

[code]....

View 4 Replies

Get A Program Made W/ Vb To Click On A Certain Part Of The Screen Outside Of The Program?

Jun 22, 2010

I was wondering can you get a program made w/ vb to click on a certain part of the screen outside of the program? and also, can you copy information from outside the program in another window and store it in the program as a variable.

View 1 Replies

Unable To Get Web Service Response In Program?

May 1, 2010

Unable to get web service response in vb.net

View 1 Replies

Have Program To Give Response When 2 Keys Are Pressed?

Sep 4, 2011

I am wondering on how to write the code such that the program will respond when 2 arrow keys are pressed at the same time. In other words, I would like to have the program to behave like a racing game.

View 1 Replies

Program Not Updating Screen - No Response To User Input

Jan 2, 2012

I have a program written in VB 2010 express under windows xp which does some heavy number crunching combined with serial communication. When it "gets too busy" it does not update the screen anymore (done simply with Textbox.text = "any text") and it does not respond to user input in any text box. Not even to a click on any text box. Is there a way I can get the program to do screen update and respond to user input while it is busy?

View 3 Replies

.net - Accessing More Data From A 403 Response?

Nov 4, 2009

I've an application that's uploading data to a server. Occasionally the server returns a 403 response from a call to HttpWebRequest.GetRequestStream(). The response contains more data than simply the response code, but I can't figure out how to access it. Is there a way to do this?

View 2 Replies

Raw Data In HTTPRequest/Response

Nov 11, 2010

Background information: I am simply using Fiddler2 to monitor my HTTP connections.

When I am posting data, there is no actual post data. The data I enter into the web page is only in the hex view or the raw data. How can I send a request using raw data or whatever method with a webrequest?

View 4 Replies

Linking Multiple Forms - How To Program Response Radio Buttons

Nov 29, 2009

I have 1 project with about 7 forms. On each form I have 6 x 4 responses radio buttons (i.e. a multiple choice quiz). If the correct response is selected, the examinee gets 1 point, else 0. At the end of the quiz, the examinee can click a button that will add up all the correct responses & display the % correct. How do I program the button to do this given that data are on 7 different forms? [URL].

View 13 Replies

Making The Program Response To The Enter/return Key Inside A Textbox?

Feb 14, 2009

I'm looking for a solution for making the program response to the enter/return key inside a textbox. After browsing the forum I end up with this

Private Sub TextBox1_KeyPress(ByVal Keyasii As Integer)
If Keyasii = 13 Then
Label1.Text = TextBox1.Text
End If
End Sub

As this seems to be the answer to the problem, I still can't make it work. I just get a 'beep' and nothing happens.

View 2 Replies

Get Element Data From Soap Web Response?

Jun 1, 2012

I'm trying to get data from a webservice, returning just one result, the number of a given item in stock.

I'm successfully getting a result, but need to strip all the XML code from it to simple return the number, the XML being returned looks like:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

[Code]....

With just a couple of tweaks to get the data correctly, most notably changing the content type to application/soap+xml and passing the data as XML.

I am using VB with ASP.NET 2.0.

View 1 Replies

VS 2008 - HTTPWebRequest / Response Send XML Data

Jul 29, 2009

This is the short instruction:
1) Make a single HTTP-POST request to the following URL in XML format.
[URL]={password}&user={username}
2) The xml form field that is posted should be named "createorder".
I don't get the last part with naming the xml form field. What the xml form field means (stands for) in this context?

View 3 Replies

Opening Serial Port And Reading Ok Response Data

Dec 21, 2010

Is there any other way to access a serial port using visual basic.net 2010? I followed the steps in this site, [URL] but I just got this output Open the serial port. Send the attention command to the modem. Wait for data to come back to the serial port... and stopped there. I can't get the Read the OK response data in the serial port. Close the serial port. And I was thinking, because it is very much easy to access serial port in vb6, so can I just use vb6 and then connect to visual basic.net? it is like a language inside a language.

View 3 Replies

Get Values From A Column And Put Them In Another Part Of Program?

Nov 15, 2009

I am working on a program where the user inputs values, then the program calculates those values and outputs the sum. When the user hits the button exit then those values entered by the user are saved. When the user starts the program again, the values are still there. I wrote the code and everything works fine. I am saving those values in notepad... and the program grabs the input in notepad and outputs those values to the program. But here comes the problem:

Lets say the user wants the information in a certain column to be added to another column somewhere in the program. Is that possible ? And if it is can it be done when I am saving those values in notepad ?

View 1 Replies

Program Duplicate Part Of Itself In Another Location

Feb 16, 2011

ok so i have done some searching and i can't seem to find any topics on this subject maybe im not searching for the right topic but here is my problem maybe someone could give me some advise: im writing a program that has a "main" .exe on any system. it will run and do what i am asking it to so far but my problem is i need it to generate a copy of only a portion of itself it has to generate a form and a login form to export in any specified location for transfer and travel and make it "run-able" without the main being present

[Code]...

View 1 Replies

Put An Amount In Program Part Of Check Box And Add Them Up

Jun 10, 2011

Im trying to make a fast food program on which the user will input the amount that he has, then he will click on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I got an idea on what to do (they will check on what they want and the program will add up the total and there is only one of each item), but im confused on how to put the amount on where the check boxes (in the program area and not the text area) and add them together. After that all I need to do is add everything up, with sales tax, and tell the user if he has enough money or not. But what im confused on is how do I get the check boxes to a amount of money and add them up (all the ones hes checked) I just dont know how to code this part of the program, once I get one done all I have to do is the same for each one, and everything showed be easy after that. But how do I put an amount on a check box and add them all up?

View 5 Replies

Multi Form / Part Application Need To Make Part Protable For Transfer

Feb 22, 2011

im making an application in vb.net (duh!) anyway i have created and coded the whole project and it performs exactly as i want it to (i dont need code help). my problem lies with the fact that my project is 2-3 parts

1.a setup form that gathers inital data about the enviroment stores this data encrypted in a config file. after inital setup this form is not displayed again. but needs to be run on both computers

2. the second form is the real application form im in the process of turning this part in to a background service anyway this form is the one that establishes the connection between two nodes it works correctly

3. the config files

anyway here is my problem i want to make this application distributional with just one file the (.exe) and have this .exe make everything else happen. it runs the setup form and creates the first config file which it does then it needs to produce a copy of just the second form and the config file to transfer to workstation #2 that will run independtly without the whole application which i cant make happen then it needs to turn both workstations application on by only starting one on either computer and invoke the other computer to start its corrosponding app also no idea how to make this happen any ideas or suggestions as to where to look to try to find my answers.im thinking i might need to make two seperate applications (a setup app, and the running app) and include them both in a project and use the setup.exe to to package them together this is a little side project that im making for my self to use to make programming a little easier so i plan on giving it out to some fellow students to test and tell me what they think so im not really worried about ease of use or complicated procedures yet but if it turns out to work and actually be of use to anyone else i would be willing to rewrite it to distribute to the masses but for now i just want it to work for me.

View 4 Replies

VS 2008 - Quick Webbrowser - Get Value Part From Source And Have It Printed Out To A TextBox On Program

Mar 13, 2010

I am using a Webbrowser in my program.

In the page source of a certain URL is the following: <input type="text" name="email" maxlength="50" value="email@email.com">

I'm trying to get the value part from the source and have it printed out to a TextBox on my program. I'm not sure how to do this but I tried. I made a new HtmlElement called email. Then I did email = WebBrowser1.Document.All.Item("email") However, when I try to add it to my textbox it doesn't work.

View 9 Replies

VS 2005 Transfering Data From One Part To Other Of Database To Other?

Jul 19, 2009

The form is like this:A database contains six columns:"From Bank","From Account","From Balance","To Bank","To Account","To Balance"On transfer button click,The balanced will be transfered and added to the "To Balance" of "To Account"i did the code for form load but i cant get throught the transfer money

Imports System.Data
Imports System.Data.OleDb
Public Class Form1

[code].....

View 32 Replies

.net - Clear Part Of The Data From A Two-dimension Integer Array?

Feb 3, 2011

If my array is A(i,j) can I use Array.Clear to zero all of the elements for i=2, for example. It does not work as I expected.

View 1 Replies

Clear Part Of The Data From A Two-dimension Integer Array?

Jul 19, 2011

If my array is A(i,j) can I use Array.Clear to zero all of the elements for i=2, for example. It does not work as I expecte

View 7 Replies

Parsing Data From The Selective Part Of A Text File?

Apr 30, 2008

show the code

View 3 Replies

Seconds Part Of Imported DateTime Data Disappearing

Jul 28, 2010

I am importing data from CSV file into a dataset using OLEDB data adaptor.I created a query with query builder to extract the desired data then copied the text generated into my code. Everything works as it should exepct that the seconds part of a datetime column is missing when the code is run.The odd thing about this is that the seconds part appears when i execute the query in query builder.[code]

View 3 Replies

VS 2010 ListView - Program Ignore The Response Of The User In Checking The Checkbox Instead It Leaves The Checkbox Uncheck

Jan 2, 2012

I have a ListView with Checkboxes in vb.net and what I want to do is when the user check the checkbox, the program ignore the response of the user in checking the checkbox, instead it leaves the checkbox uncheck.

View 4 Replies

VB 2005 - Socket Send Only Few Peaces Of Data And Loose A Big Part Of It

Nov 25, 2009

i'm developing a server application using vb.net and i'm facing a problem. in fact i have a huge data to send to the client via the socket so i use a loop to divide the data and send each part the problem is that when i proceed with the sending the socket send me only few peaces of the data and loose a big part of it. i tried to flush the buffer after each sending but i didn't find how to do it so i used a system.threading. thread sleep between each socket send. it works when i don't have huge data but it blocks my server when the number of packets increases. is there a solution that would replace the. sleep one without blocking the application?

View 1 Replies

Server Response Was Successfully Sent To Client Without Client Response Back?

Apr 21, 2010

i made a tcp/ip application using the .NET TcpListener class, my problem is that sometimes (about 30 / 4000) the connection between the client and the server got interrupted in the middle and the server response to the client is lost.is there a way to know if the server response was successfully sent to the client without the client response back?

View 9 Replies







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