Choice For Server Applications?
Apr 8, 2009
I am about to start developing my second application in VB2008. The need is that it has to run on a network enviorment, probably under windows nt, the database has to be on the server so everybody uses the same data. The database is suppose to contain a lot of data on many tables, whatīs the ebst way to go? Access, SQL, foxpro dbf? Also what kind of project am I suppose to start? a windows app? or some kind of .net app.? I am sorry if I am saying dumb stuff itīs just that I am a rookie. Have in mind that after I build the application, many users have to have access to it from different computers and I also want the database to be availbale for a future website with forms and queries and stuff taken from the same database, is ASP the best choice for that purppose?
View 6 Replies
ADVERTISEMENT
May 9, 2009
how to create a client/server... But I couldn't... I don't want anything fancy. Just want the client to send the server 4 numbers, depending on the user's choice; after that, the server would turn off the pc, restart it, etc. It all depends on the number received. Is there a rather "simple" way to do it? If it's not to much trouble you could use Atheist's example. (Btw I don't understand the code and, yes, I've checked on [URL])
View 9 Replies
Mar 12, 2010
I have four drop down lists here and I've assigned the datasource and displaymemberproperties so they are populated by a table. When I run the program and select a choice, all four of them get updated with the new choice.
View 3 Replies
Aug 15, 2011
how to connect different vb applications to a database server.like accessing data from one database by different applications...
View 4 Replies
Jul 25, 2009
am new to visual basic and I would like to learn socket programming, I've seen a lot of tutorials on the intenet and they worked, but when I come to add my own code like sending a file or excute a command etc, I realize am not able to. so am requesting a tutorial with DETAILED EXPLANATION on socket programing, both server and client, I might be asking for alot, but I need it
View 1 Replies
Mar 4, 2010
I am looking into writing a web-based vehicle tracking system. The framework I have in mind looks something like this:
Client application --- Database --- Database updater.
Client application: This would query the database for information and then display this information on a map.
Database: holds vehicle information such as speed, location, payload etc.
Database update: This application would need to continually check for information received from vehicles and then add that to the database.
I am confident that with my current skill set and some research and learning, I could write the client application and interface it to a database. However, I am at a loss as to how to write the database updater. Presumably, this would be an application running continually on the server, waiting for information to be received from vehicles and updating the database. Is this something I can do with ASP.NET and Visual Basic? Or would this require a different way of thinking than writing web pages?
View 2 Replies
Jul 22, 2010
I migrated some applications from Visual Studio 2005 to Visual Studio 2010. I develope using VB.NET in VISUAL STUDIO 2010 on a Windows 7 PC (32 bit). The applications writed in VB.NET - VS2005 run correctly in PC having XP, VISTA, WINDOWS 7 and Windows Server 2008. After the migration, the exe of these applications work correctly in PC having XP, Vista, Windows 7 but work stop immediatly on Windows Server 2008. The error returned is 'System.InvalidOperationException'. Seems that the application stop when attempt to evaluate the first global variable that meets. If i change the framework from 2.0 to 3.5, things don't change.
[Code]...
View 3 Replies
Jun 4, 2009
Is there any chance who can give me a sample code for client-server applications using vb.net 2008 express edition/professional edition?
1. What SQL Server should I use? Can we use SQL Server 2000 for Client-Server application as my back end database? and will use the vb.net 2008 express edition as front end?
2. If we use these two components (SQL Server 2000 (Back-end) + (VB.Net 2008 Frontend) do you think this will works properly?
3. If this is possible by accessing via code? then please send me connection string.
4. Is there any database server we can use? asides from sql server? where we can implement client-server applications? how about oracle? MySQL Database Server?
View 2 Replies
Nov 23, 2011
I would like to make a multi-socket TCP server (to accept multiple clients at the same time).I'm working with Visual Studio 2005 Express, maybe that's why files on CodeBank don't work..I found on the web an example about MultiThreaded Server Socket programming, but this is done for "Console application" in this way:
[Code]...
View 7 Replies
Sep 12, 2011
I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.
[Code]...
View 2 Replies
Feb 7, 2010
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
View 1 Replies
May 20, 2009
I'm developing a form that displays conference attendee data.I have a panel control on this form and would like to put a series of buttons at the bottom of this form that will open other forms in the panel. So for example, there would be a button to open the Address form, another button to open the Email form, and so on.There will be 10 buttons total. I have the Address and Email forms set up so far and it seems to work pretty slick.
Before I go any further, is this the best way to do this? FWIW, all forms will have a datarepeater control on them since there can be multiple addresses per attendee, multiple emails, etc.
View 9 Replies
Feb 17, 2011
I have a combo box which is set up with the follow properties and is populated with data and one blank row.
DropDownStyle = DropDownList
sometimes i get a message box even thought something is selected, what could be wrong?[code]...
View 4 Replies
Jan 6, 2012
I have created a small sql database using new data source. i have placed buttons to move to next,previous,first and last row but i am wondering if there is a way of making a button which would randomly pick a row with information from database or just make it randomize them before they are appearing on the screen.
At first i have tried creating random number generator and then joining it with the coulmns in the database. I failed in the end even though i thought it was going to work. Then i thought maybe i have to change the query as in, instead of "Select that and that and that from database" i thought i have to write "Select that and that from database sort by rand", i also saw that some people write limit 1 or more afterwards but i have no clue what it is and didnt use it. Anyhow i tried that query and it didnt work.
EDIT: I also thought about adding all questions into array, or use some sort of indexing, but i have to use database as the requirement.
Also if anyone would be willing to give me an advise of what is best book i could buy, which would cover databases in sql and some beginner/intermediate programming in visual basic.
View 1 Replies
Feb 17, 2009
I made a combo box and i need to know how to set one variable for each choice in the combo box. for example, my choices are poor, average, good, and superior. I want to set the "poor" variable as the poor option in the combo box and the "average" variable as the average option in the combo box and so on and so forth.
View 3 Replies
Dec 24, 2009
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
If CheckBox1.Checked = True Then
[code].....
View 4 Replies
Jun 1, 2012
Has anyone ever set up a Multiple choice test before?
View 4 Replies
Feb 24, 2009
I'm not great with VB and I'm having some trouble with my University assignment at the moment.I'm trying to code a multiple choice program with several forms with different questions and then a scoring form
I'm not sure how to tell VB what the correct answer should be and how to display the scores in another form, the answers need to show how many correct in each section out of how many the user attemped to answer, so they can check scores before completing all the questions.
View 5 Replies
May 13, 2012
I'm currently quite new to VB and am trying to create a multiple choice questionnaire for work. This is a depression survey in which there are 23 groups of statements with 4 options per group. Every time a patient clicks an option, the next set of 4 questions comes up on the screen.
I'm trying to convert the old VB4 code into the new VB 2010 code. Before we were using a control array and the code looks a little something like this[code]...
View 2 Replies
Jan 12, 2010
sample_form.rtf (1.48MB). Number of downloads: 36. I have a working form to give specific choices to the user and retrieve the user's choice. (See code below and attached image in WordPad file.) I know I can use a global ("Public") variable to pass the text of the three choices from the calling form to the called form, but is there a way to pass these from one form to the other exclusively? Of course, my main objective is to have as little memory being used as possible. I would like to make the form in my example (frmDialogChoice) a generic form that can display any set of three choices.
code within calling form:
Dim intSwitchToMake As Integer
Dim insFrmDialogChoice As New frmDialogChoice
insFrmDialogChoice.ShowDialog()
[CODE]....
View 5 Replies
Sep 10, 2010
No doubt a simple question, but I'm a beginner (I learnt GW BritingASIC in 3 months long ago - but after 6 months grappling with vb 2008 I am still bewidered).
I have written a program that asks the user at run time to choose 1 of 40 buttons. These are themselves defined at run time. Whichever button is chosen the same algoritm will run (using different data). Question: To save writing the same Button_Click routine 40 times, what code should I write - and where in the program - to detect which of the 40 the user has chosen?
View 2 Replies
Dec 20, 2010
How do I list the column name as a choice in a combo box?
View 2 Replies
Jan 17, 2012
I have a list of ID's which each ID represent an item in a game. For example, ID "4022" represents "Basic Wand" (Example). I have a list of ID's, now what I want to do is: Have a listview which has each line for an item. When you click on any item, the PictureBox will change according to your ID choice.
How can I use these ID's and store them for each item (text)?
View 2 Replies
May 10, 2009
I need a multiple choice quiz but I've ran into some problems. So far i have 5 arrays: one for the questions and four for the answers. The question is displayed in a label and the answers on radio buttons. Problem one: I am using a random number generator to pull them but this allows them to be reused. How do I stop repeats. Problem two, my grading isn't always working.
View 3 Replies
Apr 21, 2010
Like how can i make it so it changes the text box to anyone of these words randomly
bob
somethinghere
somethinghere
somethinghere
[code]....
View 4 Replies
Apr 10, 2009
I need my program to let the user choose a text file by browsing the computer then the file path of the file needs to be set as the New StreamReader path so that the computer can open the file.
[Code]...
View 1 Replies
Jan 5, 2012
The following code is a what I have done in order to show a MsgBox when an exit ITEM on a MenuStrip is clicked then it will give two different choices Yes and No. If Yes then it will close the application but if No then it should stay on the same page.
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitMenu.Click
MsgBox("Are you sure you want to exit the program?", MsgBoxStyle.YesNo)
If MsgBoxResult.Yes = True Then
Application.Exit()
End If
View 2 Replies
Nov 22, 2011
I wanted to have one choice enabled to the user(radio box) in two Groupboxes, is that possible? Is looping the why i should do it?
Public Class Form1
Inherits System.Windows.Forms.Form
Dim version As String
[code]....
View 3 Replies
Nov 3, 2011
I am in the process of creating an array for a set of multiple choice questions but I am having a few problems. I am an absolute beginner at VB and I am creating a quiz that users will select one of three possible questions and then depending on their answer a +1 value will be added to the score. However I do not know where my questions and answers are supposed to go, from what I have read online I have to use (0, 1) format to give possible answers but I do not know how I would make the questions and answers display in textboxes on my form. At the bottom of my code I have also included code to randomise the questions although I am unsure as to if it is correct. At the moment I can run my form fine without any problems but my main issue is to how I will get the questions and answers linked to my textboxes on my form.
Public Class frmTest
Private ran As Random = New Random()
Public intScore As Integer
Private Sub cmdStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdStart.Click
'Turns the message box invisible when start is clicked
lblMessage.Visible = False
[Code] .....
View 5 Replies
Apr 13, 2009
I want to create an application that simulates a DVD burner Users create a DVD with their choice of title and bonus materials. You create a class (DVD) to represent the DVD object and another class (Bonus) to represent bonus materials for a DVD object.
Outline:
DVD Information Bonus Material
Movie title: textBox Description: textBox
Minutes: textBox Minutes: textBox
Description: textBox
createButton Minutes: textBoxinformationButton
Description: textBox Minutes:text Box
TextBox: readonly
View 2 Replies