Program That Takes Data From A Survey In The Program?

Jul 7, 2010

I am working on a program that takes data from a survey in the program and needs to compile it into a PDF file. Optimally it would just be a snapshot of the filled out survey. I tried using the PrintForm component in the PowerPacks section, but I need a PDF not an EPS.

View 1 Replies


ADVERTISEMENT

Program Takes All Cpu?

May 10, 2010

A couple days, I figured up a working program and it was def. faster than what we needed. Now, adding a couple more loops, the program barely uses any memory, but the cpu used spikes up to 90+ and just letting it sit doesn't help.I tried taking out the couple loops I put in, but it does not revert back to being fast. It's nothing big, but since dealing with 1000+ excel files a day, I'd rather not do that by hand.

how many infinite loops vb.net can support without dragging down the system? I know, infinite loops are poor design, but it works.

View 11 Replies

Program That Takes A SSN Into A Number Field?

Oct 26, 2009

I am writing a program that takes a SSN into a number field.Issue is when a SSN is entered with a leading 0. Ex. 012-34-5678 The zero is cut off and turns it into an 8 byte field, which is not good for SSN obviously.What can I do to prevent this from happening?

View 10 Replies

Write A Program That Takes Three Values Then Uses Them At Once?

Jan 22, 2011

How would i write a program that takes three values X Y and Symbol. the program is supposed to display a rectangle which is X

View 1 Replies

Can't Get The Program To Work - Randomly Takes Characters?

Nov 20, 2009

I am not recieving any errors, but the program is not doing what I had expected. I wish to make a program that randomly takes characters (well, not completely randomly. I used the table of letter frequency from wikipedia and included that data in my program by figuring out the max for the random numbers from the percentages in the wikipedia chart.) and adds them to a long list of characters ands saves the file every 5 minutes. I have calculated the timer interval so that the number of miliseconds shown is equal to 5 minutes. I am getting the textwindow, and it is showing (rather rapidly, as I need it to be) a long random list of characters (including spaces). The problems are (A) I am having difficulty saving the text as a file. You'll find the code that is supposed to do that at the bottom. The other problem I am having is once so many characters are added, the ones at the top start disappearing. I would scroll to the top, and each time I did so the letters at the top had changed (this is all during the same test), but I need all characters to be stored when the file saves. Granted, I haven't actually seen one of the saved files as I have not figured out how to make that work. One other thing, not sure if it's important, I haven't run a published version yet. I've only been running the debug builds. Does that affect how it handles actions with files?

Module RandomModule
Dim X, Y, contents As Primitive
Sub Main()[code].......

View 4 Replies

Terminate Code That Takes Long In Program?

Oct 25, 2010

How to terminate function/code (not entire page) when it takes some time, for example, more than 1 sec?[code]...

I found the command "Server.ScriptTimeou", but it stops the entire page instead of one command.

View 2 Replies

Working On A Program That Takes Input From A Textbox?

Aug 31, 2011

I've been working on a program that takes input from a textbox, removes the punctuation, puts the words into an array (using the split method), and compares the array against a reversed copy of itself to determine if it is a word palindrome or not. I understand the logic, but I'm getting kind of caught up as far as what code to us. This is what I have so far, but no matter what I enter into the text box, nothing happens. I'm completely lost as to what I'm doing wrong.

[Code]...

View 4 Replies

Writing A Program Which Takes One Item From Each Of Two Lists?

Jun 11, 2011

I'm writing a program which takes one item from each of two lists and combines the items in one of three ways selected by the user. The results of the process are provided in either a summary form or a detailed form, again selected by the user. As it's currently developing, this program will contain six subroutines covering each of the six combinations of user selections, which are stored in three Booleans. Selection of the appropriate subroutine is done through traditional "if then else" coding.If I understand OO and Visual Basic (Express 2008) correctly, I could make the subroutines into different variations of one method, which when invoked would automagically use the correct coding depending upon the settings of the Booleans / properties. Assuming this is correct, the problem is that I have no idea how to actually set up code like this.

View 4 Replies

Make A Program That Simply Takes Current Date?

May 9, 2010

i need to make a program that simply takes current date and the input date (users birth date) from the user both as i integer then if the users is 18 or more then the back color turns green otherwise turns red.

Code:
Public Class Form1
Dim int_ThisDay, int_BirthDay, int_ThisMonth, int_BirthMonth, int_ThisYear, int_BirthYear, int_DifYear, int_DifMonth, int_DifDay As Integer

[Code]....

View 3 Replies

Make A Program That Takes Old Records From Access And Moves Them To MySQL?

Feb 2, 2012

I'm trying to make a program that takes my old records from Access and moves them to MySQL. Its supposed to take records from 3 different tables in Access to 3 different tables in MySQL. The first table is "Orders" and it sorts the ones to pull to the dataset, taxDS, by "Where Status = 'Waiting Payment' OR 'Cancelled'". Then the second table pulls its info(this is where i'm having trouble) by the "Control_Number" in the "Orders" table, so basically if the control number isnt already in the dataset its not going to pull the data into the new table "FNF Taxes".

Imports System.Data.OleDb
Imports MySql.Data.MySqlClient
Public Class Backup

[code]....

So now after my 3rd edit and no answers, I'm finally at the point where I'm only stuck on my For..Next statement not working, How can i get this statement to run for each 24,000 controlnumbers?

View 7 Replies

Write A Program That Takes A String Of Bits And Encrypts It Using DES Encryption?

Feb 19, 2010

Alright, So ive returned to using vb after several years now. Ive programed in VB6.0 years ago and I was quite proficient at it. However after returning to vb (now using Visual Studio 2010). Either Ive forgotten everything, or something has changed. For a university project. Im trying to write a program that takes a string of bits and encrypts it using DES Encryption.

[Code]...

View 3 Replies

VS 2008 Make A Program Which Takes A Bunch Of Inputs (Name, Age, X2 Score Results)?

Mar 12, 2011

I've recently started programming for Visual Basic Express - 2008, and I'm currently trying to make a program which takes a bunch of inputs (Name, Age, x2 score results) and then turns this into an output at the end which varies depending on the score results.

I've stumbled upon a small hinderance, which is that the very final stage which has a Console.Writeline does not appear after testing the program. So, everything else functions fine, but as soon as it gets past the "Console.WriteLine("All pupils have been calculated, the results are...")" command the program closes itself.I'm not looking for much help, just wondering exactly what is causing this to happen. I also realise that my coding is sub-par and is coded in a slightly odd fashion, but I'd rather just get this one to work and use the mistakes from this one to correct my future work.

View 5 Replies

Create A Program That Takes An Amount Entered By The User And Then Convert It Into Half Dollars?

Oct 13, 2010

Im trying to create a program that takes an amount entered by the user and then convert it into Half Dollars, quarters, dimes, nickles, and pennies when the calculate button is clicked. Each coin has its own function and is shown in separate text boxes... right now i cant get it to work correctly. When i try to get half dollars to work it rounds up and then the rest of the coins say 0. How should i do this?

View 5 Replies

VS 2010 Make A Program Which Access The Internet And Takes The Source Code From The Webpage

Mar 6, 2011

I've been trying to make a program which access the internet and takes the source code from the webpage. I've copied this code from the internet:

[Code]...

View 2 Replies

Forms :: Listbox - Program That Takes Common Applications And Installs Them Silently Using Batch Files

Aug 21, 2010

I'm making a program that takes common applications and installs them silently using batch files. Someone would select the programs they would want to install and my program will write a giant batch file and execute it to install whatever they want. Heres the problem, After the user selects the programs they go into either one or two lists. Non Silent Installer List Or Silent installer list.

Some programs I have simply won't go silently so from there they can choose in what order they want to install these programs. Then there is a combo box that tells weather you want to install non silent programs first or last. From there you hit add to batch file and it would add everything in listbox1 and listbox2 in order. Listbox1 would contain just the text "MalwareBytes" for example. Along with Novell Groupwise and Firefox. How do I get that to add to the Batch List as a code and in order? So the user wants Malware bytes added first to the batch file. How do I add that to my batch list as a completely different code?

[CODE]..............

View 8 Replies

Write A Program In VB 2008 Express That Takes An User Entry From A Textbox And Strips Out All The Spaces?

May 10, 2011

I need to write a program in VB 2008 express that takes an user entry from a textbox and strips out all the spaces, changes it to either all upper case or all lower case then checks to see if it is a palindrome. I must also include a loop structure and a decision structure. I have seen bits and pieces of code but I do not really know how to put them together. Basically I need it from the button click to the end. ?

View 3 Replies

Php - Get Data From A Survey Paper Document?

Feb 24, 2012

i know it could sound as a silly question but i was wondering if there's a way to get data from a survey on paper though: i mean, let's say i have a survey on paper with questions and some checkbox that the user will tick and i want to get its data scanning the document and save it as pdf, if it's possible, or jpg or doc, whatever. Then with PHP or whichever language you suggest, try to get the data in some way from the scanned document and put it to a DB.

View 2 Replies

Program First Open And Saving Data When Program Is Closed?

Nov 19, 2011

I am currently working on a menu driven console program that so far has 4 menu options of checking internet connection, decrypting/encrypting a message, calculator, and a logout, and i am wondering about a few current things.

1. How do i make it to where, when a program starts for the first time, it asks for a user to enter in his data, like signing up for a site for the first time?

2. How do i make it to where the program will save the data entered, and does not delete when the user closed the program.

3. How can i make it to where when a user signs in, his/her data is read correctly? Like an array search for a multidimensional array.For my "New user" sign data i created a function...

Function createNewUser() As String()
Dim name As String
Dim userName As String[code]...

View 2 Replies

VS 2010 : Program To Save Settings To Another Program Without Running The Program That Is Being Edited?

May 5, 2012

is it possible by 1 program to save settings to another program without running the program that is being edited?

View 6 Replies

VB 2008 Check For Data And Make The Program Stay There Until The Data Is Input?

Aug 3, 2010

I have a program for school project that has input fields for Name, Address, City, State and Zip. I need to error check so that the fields are not empty.I have used If statements that check to see if the fields are empty and shows a message box if they are but if I leave the whole form empty and click the button that activates it, all the if statements go- one by one instead of pausing for the user to input the required data.How do I check for data and make the program stay there until the data is input? I have tried TRY/CATCH but it won't catch this type of error.

this is the

'This program computes customer's bills at the pizza shop for all combinations of
'crusts, toppings, sizes and discounts
Option Strict On
Public Class PizzaForm

[code].....

View 10 Replies

Export Data From Access Table Data To Excel Using Program?

Sep 30, 2010

I've tried exporting data from an Access 2003 database to Excel in VB.NET using the following [code]...

View 4 Replies

Takes Data And Writes It To A MS Excel Spreadsheet?

May 25, 2007

I have a program that currently takes data and writes it to a MS Excel spreadsheet. (automatically opens the program, creates the cells, and fills them with data)

I would like to add an additional feature to my program that offers support for OpenOffice.org's 'Calc' spreadsheet program. (so users without MS Excel can use the application) So I am basically asking if anyone knows how to automate OpenOffice 'Calc' from VB.net. (I am using Visual Studio 2005)

I have searched on the OpenOffice forums but no one seems to know the vb.net code for this. So I was wondering if anyone here has done this, or would know how to do this.

View 3 Replies

.net's ListBox Data(large) Takes Too Much Time To Show Up?

Jun 24, 2012

I ran into a problem where the listbox is taking awfully long time to show up. This is not the same in java(It took very very less time - one second max). So, is there any remedy to this??, any other form control??, or some other way?? imports System.Threading imports System.Windows.Forms

[Code]...

View 1 Replies

If Wrong Password X2 Than Close Program And Block User From Opening Program For 180 Seconds?

Sep 2, 2011

I am making a program that NEEDS to be password protected, so i made a textbox with a code so that when the user enters the right password it lets you in. But if the user/person enters a wrong password 2X it will kick you out. So is there a way to keep the

View 3 Replies

VS 2010 Program Crashes As Published Executable, Not As Program Running In Studio Or Express?

Jun 6, 2012

I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.

View 5 Replies

Command Line Strings - Make The Program Close If The -1 String Is Sent With The Program

Feb 25, 2010

If e.CommandLine.Count > 0 Then

Dim IncomingCommand As String = e.CommandLine.Item(0).ToString

If IncomingCommand.Substring(0, 2) = "-1" Then

form1.close()

End If

End If

I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.

View 1 Replies

Forms :: Paint Program (graphics Disappearing) - Add A Save Feature To This Program?

Jul 22, 2010

Ok major problem with a paint program i am making. When i have a window overlap or anything and move to side of screen and minimize and maximize i lose whats in the picturebox...Here is an example of the code I use to draw a line after click a button:

Private Sub btndraw_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlinedraw.Click
lxs = txtslinelocationx.Text
lxe = txtelinelocationx.Text[code].....

Here is a picture of my program running: How do I stop everything being deleted when things pass it...? how can i add a save feature to this program?

View 5 Replies

Program Saving User Selected Image And Reloading It Upon Program Load

Jul 4, 2012

I have my rpg, still, first time working on it n ages, and I want each user to be able to set their own personalized picture background for the game...

each character in the game has its own dedicated folder for each file that the character has relating to it...

what I want to know how to do, is to have my game copy the loaded/chosen background image to their respective characters data folder, and have the game reload/reset the games default background image, to the one piced by he player...I am having a hard time figuring out how to do this however...I've tried a lot of different things...and nothing is working yet...

here is my example code right now:

[Code].....

View 3 Replies

Update Server Program When Client Program Added Record To Database?

Aug 18, 2010

I am creating a very simple Voting System, that will be use on electing new set of officer in a teacher cooperative...

So I have to create two separate program, a Server Program that will manage all the information in the election and a Client Program where voters will vote their selected candidate...

The election officers wanted that the Server Program will display the Voting Results at real time... So when the Voter finished voting, The Voting Result displayed by the Server Program will also be updated every time the Client Program Insert the data to Database....

An action listener in Server Program that will execute if new data is inserted in a Table in the Database made by the Client Program...

View 11 Replies

VS 2008 Execute A CLI Program And Have It Output Or Return What The CLI Program Saids Such As Ping Etc?

Apr 25, 2009

Is there a way i can execute a CLI program and have it output or return what the CLI program sais, such as ping etc.

View 3 Replies







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