Multiple Client Windows Form Application Using Visual Basic Express 2005?
Jul 30, 2009
I am making a server - multiple client windows form application using Visual Basic Express 2005.
I was wondering if there was a way that I could debug multiple instances of the client at the same time?Ashray Lavsi If my post answers your Question, don't forget to "Mark it as Answer"
View 6 Replies
ADVERTISEMENT
Jun 23, 2010
I have a Visual Basic 2008 Express Edition application that operates as a front end for iSeries V6r1. The application was developed on a windows 7 machine. Users load the application from a shared folder on a server. Currently, there are 2 Vista, 3 windows 7 and 4 XP users. All had no problem in loading application, all users except 3 of 4 XP users can run the application with no problems. However, 3 of the XP users receive the following error message when they perform any action that tries to connect to the iSeries:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
All 4 XP users are on same service pack
View 8 Replies
May 3, 2010
does any body have the link for the offline installer of vb2005
View 1 Replies
Jul 31, 2011
Were can i find instructions on the use of the IDE? My problem is that after writing code, in a botton for examle, I can't return to my Form.
View 2 Replies
Mar 15, 2012
I am trying to get my program to run at windows startup. Not just load the VB project but to run it.
So that the user just turns on the computer and the project is up and running.
I have seen and tried lots of code suggestions (all different) none seem to work!
View 6 Replies
Mar 10, 2009
I would like to ask how to connect our application to connected computers in a LAN.Will I use the winsock control?How can I run queries using a server database?Any answers are welcome.
View 3 Replies
Jan 18, 2012
As the title says, I have a program written in VB.net 2010. When I use the publish feature it creates a manifest and setup file that install the program nicely on another PC, but I think the security settings are somehow wrong because it sits there for ninety seconds upon launch. The program works fine on the computer that built it. There is no CPU usage while it is sitting around.
View 1 Replies
Aug 15, 2011
i am new with SQL server 2005 and visual studio 2008.how do i connect the forms and the tables in the database
View 4 Replies
Apr 4, 2006
hope I am not too short in this question but I am quite pissed off here
View 1 Replies
Mar 10, 2011
When I click a Button I what to save all the textBox's text on my form. The code I have Is Below.
In My settings Have I got to List each textBox. Like TextBox1, TextBox2, TextBox3. ect..
IE: My.setting. textBox1 = TextBox1.text (In settings TextBox1: have it as string: User)
IE: My.setting. textBox2 = TextBox2.text (In settings TextBox2: have it as string: User)
Or can I have just one TextBox In my settings, that save's all the TextBox's 1 to 8 on my form
[Code].....
View 7 Replies
Apr 1, 2011
I'm working on my first Visual basic program and I've hit a snag. I want to make a working search form that pulls data from an access database that i already have linked into my visual basic program.
Basically when they click search, i wan't it to check the textbox (lets say firstName.text box for now) for there name, then find all the entries in my database that have those names and display them in a grid.
View 10 Replies
Jan 4, 2011
I hope someone can help with a very frustrating problem I'm trying to solve in one of our Windows Forms apps written in Visual Basic 2005 and running on Windows XP SP3.
The app is essentially quite simple in concept but there is lots of code and data, however, the problem does show itself consistently. The app does the following:
1) Startup
2) Choose Access database to load data from
3) Load the data into memory as a series of collections of objects
4) Do lots of number crunching
5) Fails when entering a particular sub for the first time with an Access Violation Exception
The most difficult aspect of this problem is it only shows itself when compiled in Release mode. It doesn't show itself when running in Debug mode either within Visual Studio or running outside Visual Studio. I assume this is due to the extra 'padding' in a debug exe which is masking the effect of bad code causing the error. The problem is made worse in that the 'standard' build target machine where the problem shows itself only has a copy of Visual Basic 2005 Express so as a result I have been debugging the app at runtime using WinDbg which is tricky but sort of fun (for a nerd!).
I have read / researched extensively on the internet for solutions and as a result have tried the following but all without success:
a) checked for any badly declared DLLs (p/invoke) but the app doesn't use a single one.
b) checked for any COM references / interop. There were two references which were rarely used so I removed them and commented out the code that referenced them but the exception was still raised.
c) I've tried adding my own trace code in the problem area and the line prior to calling the Sub runs but the first line of the Sub never executes due to the Access Violation exception being raised.
d) I have used WinDbg to set breakpoints around the problem area at runtime which has confirmed 'c' above that the sub never executes.
e) I have used WinDbg to double check the addresses of the parameters passed into the Sub are correct as they seem to correctly point to the same address as the local / module level variable that was passed in.
f) I have checked all of the extensive data loading is not eg leaving DataReader objects open etc.
g) I have tried compiling the code in VS 2008 on a different machine targeting the 2.0 framework but the bug still showed itself.
View 18 Replies
Apr 4, 2011
In a label box, I want to list a couple of websites, email address along with some text. How do I go about it?
Potential uses- As a Help > About dialog box where websites, email of the author can be listed.
To make things as easy as possible for the user, and encourage visiting of the mentioned websites.
Simple text will be ignored, while standard blue color, underlined text with hand mouse-cursor will need no thinking on user's part.
View 1 Replies
Oct 4, 2011
We are installing our application on windows 7. The application utlizes a Acces database. The application locates the database by looking in the registry under at HKEY_LOCAL_MACHINE / SOFTWARE / WOW6432NODE / COMPANY NAME / SOFTWARE NAME /STARTUP. When i install the application on windows 7 it places the a database where installshield directs it to and writes the path to the registry. However, somehow local copies of the database are showing up under the user profiles. (Example: c:/users/profilename/AppData/Local/VirtualStore/Program FIles (X86)/Company/SoftwareName/Data). We recently changed it to store the information in c:/ProgramData/Company/software however the same issue occurs and its creating local copies of the database and when the application runs it points to the local copy of the database. What we need is for all users to be pointed to and use the same database in ProgramData, is there something we are missing to accomplish this?
View 10 Replies
May 1, 2011
My students did a tutorial in HTML Help Workshop to add Help files to a VB 2008 Windows application. They zipped the files and uploaded them to our class web site.
I downloaded them at home, unzipped, and tried to check, but every one shows Table of Contents or Index and cannot find the .htm documents for the topic. The same thing happened in my office. However, these projects work correctly in our classroom
lab and do display the .htm files.
View 4 Replies
Oct 23, 2010
I am a novice in programming and wrote several simple Windows Forms applications. I need to play mp3 file in Windows 7 x64 application.
Could you, please, explain in simple words, how to call MediaElement.Play() method from Windows Forms?
View 8 Replies
Apr 18, 2010
Application based on Visual Basic 2008 and SQL Server 2005 using ODBC.
View 1 Replies
Jan 12, 2012
I've managed to find from other questions some data that allows me to achieve the next code:
Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("user32.dll")> _
[Code]....
My problem is that I can't manage to find the DOS console window.
The question in C# Embedding a DOS console in a windows form
View 1 Replies
Apr 9, 2012
I have read a few chapters, and researched a few websites but none of which fulfil my question, which is where should I put this If statement
Public LoginName As String
Public Password As String
LoginName = txtUserName.Text
Password = txtPassword.Text
[Code]...
The idea is once the user has finished inputting text into both text-boxes the image on the button changes from a no-go to a green-submit button but unsure what declaration it would go under and which element. I have tried several form elements and declarations but not having the desired effect that I would like
View 3 Replies
Nov 1, 2011
Is it possible to connect to a database on SQL Server R2 Express from Visual Basic Express? I am following a set of tutorial videos done in SQL Server 2005, but cannot seem to connect to create the database. I have created the database in SQL Server R2 Express, but cannot connect. Is there a work around?
View 4 Replies
Feb 2, 2010
How can I save the design page of the form? I can only save the code
View 1 Replies
Feb 26, 2011
Iam developing a Windows application using Visual Basic 2008 with a SQL Server database. Throughout the program I give the user as many options as possible and have no problem with either the database or the windows forms. The program does not initially require a Login and I want toprovide the User with the opportunity to add a Login to the system. The default Login form is perfectly satisfactory.
The problem is that I can't figure out how to program the change sothat the Login from isopens the program rather then th form designated as the StartUp form. this forum I am able to prgrammatically change the form but I can't figure out how to make the requirement a permanent factor. I tried using a Constant, but if the User wants to change, you can't change the constant. Its an apparantly simple yes/no situation but if I set a varable to yes and then change it to no the next time the program runs, the change will be lost.
View 6 Replies
Aug 7, 2009
I am building a VB 2008 Express Edition application.I have built a database (with a single table) using SQL Server Compact 3.5 and have connected it to the project. I am able to view and edit the data using a DataGridView on a second form (tutorial made this very easy). I need to work with the data in the table within the application. how to easily load the entire table into an array or even read the table a row or cell at a time so that I can make all of the data available for manipulation within the application (the tutorials only seem to show how to display the data).
View 7 Replies
Nov 17, 2008
Is there any way to add command line arguments to a vb express Windows form application?
View 9 Replies
Mar 24, 2012
I was a COBOL programmer agout 15 years ago and I am now just getting into Visual Basic. The owner of a local business has asked me to write a program to perform what I think is a simple task. In the past the business would process payroll checks and print them in-house. Now they are using direct deposit. Checks are no longer printed. The check stub though is printed. This stub is then carried to each of 10 locations across West Tennessee and distributed to the employees.
This is my task: capture the stubs to a file (PDF, XPS) and email it to each employee. This way the employee will recieve the stub on the same day the deposit is made. I can capture the output file (the stubs) and save it as a PDF file or a XPS file. I can send an email from within a program. What I don't know how to do is open the PDF or XPS file, read the email address and insert the page into the email body.
View 4 Replies
Apr 26, 2010
I have been given a task to:Develop a program where a child will be presented with picture of a fruit (one of five possible fruit) on the screen at the click of a start button. The child will then try to recognise the fruit and write its name in a specified place on the screen. On the click of a check button the name of the fruit written by the child will be checked by your program and if correct will reward the child with a suitable message. If the name presented by the child is not correct, a suitable message should be presented on a red background with the correct name of the fruit included in the message.
so far I have managed to create a form with 5 different fruit pictures and a text box below them. a button at the bottom of the form then checks the results and presents a message box to tell them if they have passed or failed.
[Code]...
View 1 Replies
May 13, 2012
I have a chart wich contains a series and I want to determine whether the points are inside or outside the series area.
So I thought that I should find the two X values for the series at the Y value of the point and check if the X value of the point is between them.
View 5 Replies
Jan 9, 2010
I too have recently downloaded VB 2008 Express, but when I try to register it after the live.co.uk sign in all I get is a blank web page. How can I get registered ????
View 1 Replies
Mar 21, 2010
Does anyone have any idea when Visual Basic 2010 Express will be available?
View 1 Replies
Dec 13, 2011
I'm creating a project with my pc under xp and wondering whether the build will install and run under vista?
View 2 Replies