Build A Database Application For One Of Assignments?
Jun 3, 2011
I'm a Quite new to Visual Basic 2008. I have to build a database application for one of my assignments and one of the problems I'm having is to build a form that will be used to search a customer from a Customers table. The database is from access2007.
I have to have 4 radio buttons on the form which will be the options to search the customer by, so I can search by Customer ID, Customer Name, City and postcode. When I select one of those options I need to enter the phrase I'm looking for within a text box I have called TextBoxSearch then press a command button to perform that search but I'm not sure how to do this.
The customer ID is the 1st row, Customer name is the 3rd row, City is the 4th row and the postcode is the 5th row. How do i tell the program to go to that row and grab the detials based on the text entered from the text box? and display only those detials on the datagrid view?
View 1 Replies
ADVERTISEMENT
Mar 3, 2010
I'm trying to build an application to monitor a site to build statistics from the data being read. This HTML looks like this.
<div id="history">
<h4>HISTORY</h4>
<table border="0" cellspacing="0" cellpadding="0">
[code]...
Now I can read the html and put the text anywhere, I just don't how to read specific parts so I can separate the data out.
View 17 Replies
Mar 7, 2009
I just created a simple application. I Builded that using build->build myapp. I got .exe of that application. i runned. all went fine. but when i closed that app, even after closing it is in memory. it is still running. how to deploy it properly?
View 12 Replies
Mar 1, 2011
Take a look at this VB.NET code:
list = GeoController.RegionByCountry(country, language)
Region.allByLanguage(key) = list
In C#, I could write this in one line:
[code].....
View 3 Replies
May 31, 2011
I am trying to work with classes and variables and don't seem to understand some behavior that is going on.
first off the class
Public Class csSession
Public ID As Integer
Public Name As String
End Class
Usage and behavior (example code)
Dim S1 as new csSession
Dim S2 as new csSession
S1.ID = 1
S1.Name = "1st Session"
S2 = S1
S2.ID = 99
When I assign S2 = S1 all the values of S1 passes to S2 but also there is a "link" or bond between the two variables now. If I change the values of S2 this automatically changes the values of S1!! Why does this happen and how can I prevent it? I just want to pass the variables values contained S1 to S2.
View 12 Replies
Sep 18, 2010
It's been a long time since I have been on this forum. I have been incredibly busy lately, anyway, does any one knows how to use the "Ctrl+Alt+]" to align assignements in VB.Net 2010. It is a part of the "Productivity Power Tools" from Microsoft. I cannot get it to work even though I can see that the keys are assigned to it.
View 6 Replies
Sep 16, 2011
I'm running VB2008 on Windows 7; I've written out a ver simple piece of code:
Option
Explicit
On
Module
[code]....
When I run or debug the code, it asks for the First Number and then just completes the running of the program without asking for the second number and uses some random number. The console.readline() doesn't work either, the console window just disappears.
View 2 Replies
Mar 10, 2012
i want to build an application in VS 05, and I want to include a "Settings Menu" in it.I want to know how to make it work, I mean if you check a checkbox to dissable/enable something from that application.
View 2 Replies
Jan 8, 2009
in visual studio 2008 express edition that won't need to link to Net Framework for example simple code in standard module: [code] I Unchecked "Use Net Framework" but after i builded and run the code above(on another Computer), it asked for Net Framework.
View 8 Replies
Feb 4, 2011
As the title above, I am wondering how to build an application without an icon in vb express, or i need to use visual studio to do this.
for the above problem, I used to delete the icon manualy after the build process using visual studio resources editor.
View 10 Replies
Oct 14, 2009
Im trying to build my first N-Tier web application. And it seems like im doing it wrong. Ive been kinda working out of this book, but to me it doesnt seem like the right way to do this. In the book the guy builds User and Data centric objects but everywhere I see ntier everyone is always talking about BLL and DAL ive seen nothign on UC and DC objects.Right now I have Interfaces and serializable structures, user and data centric objects. The data centric object does all the validation and connecting to the db, as well as returns any violated rules, but when I once i started pulling it all together it just doesnt seem right.Ive already wrote a ____ load of code and now am kinda stuck. I dont know if i am doing this right and dont want to continue writing any code if this is all messed up.Ive been reading as much as humanly possible and im still just a little confused. I mean I understand the concepts of seperating the logic into different layers and tiers and all that but as far as my implementation of that I just feel somethings a bit off.
View 3 Replies
Jun 5, 2010
I've compiled my application and started testing it on other machines.
It crashes instantly on every machine except the build machine - I'm fairly new to programing so any pointers as to where I would start would be great.
If I install VS2008 on the test machines it runs fine...
I'm using VS2008 on Windows 7 (x64)
Application is set to compile x86
An entry is made in the event log:
EventType clr20r3, P1 5xhruzlemrj2jn2wizvzp1qaljyuxwtl, P2 1.0.0.0, P3 4c0abff3,
P4 ssmc program,
P5 1.0.0.0, P6 4c0abff3, P7 12, P8 e9, P9 system.invalidoperationexception, P10 NIL.
[URL]
View 3 Replies
Nov 11, 2010
how to build database
View 3 Replies
Apr 4, 2010
Am i correct when i say that at the end of the day a database can be built with a simple file stream and some logic to organize the data inside this big file??
View 6 Replies
Jun 3, 2011
i currently have a project. The application created in this project will be located in a server, and some machines can access this application at the same time. The problem is, i don't know what's needed to connect that application to several machines. I know how to build this application and run it in a single machine, but i have no idea about running this on server.
View 3 Replies
Jan 16, 2009
I want to build a phonebook application, with some extras.My problem is that I don't know which is the best file to save my data.I started with binary, but I wonder if there is good search capability in these files.Which do you think I should use?
View 2 Replies
Apr 14, 2009
I'm trying to build a search tool for my application... I have a form with a bunch of criteria which the user may or may not fill in. The tool is looking up against one table in the database (OLEDB) so I wanted to pull in all the data from the table into a dataset (when the form loads) and perform the search on it. I'm not sure how to search through datasets... this is the code I have now:
Public Class TxnLookup
Dim daLookup As OleDbDataAdapter
Dim dsLookup As DataSet
Dim cbLookup As OleDbCommandBuilder
[code]....
but I get an error on the foundrows = line ("Value of type 1-dimensional array of system.data.datarow cannot be converted to system.data.datarow").... is there a better way for me to search the dataset?
View 1 Replies
Apr 16, 2009
I am trying to build a class. I am having a difficult time conceptualizing how a class is built and how it works. I want to be able to build a USEFUL class and implement it in an application.
View 1 Replies
May 28, 2011
[b]sir.[b] i am new to vb.net ..i want to build a automatic login vb.net application In this application different website login with same login credentials
[Code]...
View 6 Replies
Mar 1, 2010
how to run a Windows application within the VB.NET development environment. How can I 'build' or save my VB.net application, so I and others can run this application without runing the Visudal Studio?
View 2 Replies
Apr 5, 2011
I find a lot on the internet about how connecting from a vb.net application to a mapi application on my system.
But i would like to build an application which is the other side of the MAPI so when an application is calling a mapi service, my application handles the message.
View 3 Replies
Jan 7, 2011
In VB.NET, my application is quite simple, and it accesses many images and creates a list with them.The images are in my application's Resources folder.The images are accessed in my code where I typed the path, in my PC, how to reach said folder.Works like a charm, my project displays the images etc.Now I go to Debug->Build.Now I go to the bin folder, release folder, and find my application. I upload it.I share the download to a friend.My question is, will the images my application should show will appear? Considering the path I created in the code was manually written?
View 1 Replies
Apr 24, 2012
Can I build software to scan document or photo without EZTwain library on VB.NET ? because Twain library make scan in another window also I can't put multiple choice for the input format...
View 1 Replies
Jun 12, 2011
i want to know what i need to build an application like terminal services or xenapp ( citrix server)
View 3 Replies
Sep 13, 2010
I have a Vb.Net 2010 solution with two projects and a total of around 500 forms. Until last week compilation of these projects occured in about 30 seconds. Starting a few days ago (without any noticiable change) compilation now takes around 15 minutes! The «culprit» seems to be ResGen.exe: looking at Task Manager this program is using 25% of CPU time while devenv.exe stays idle - no other programs are active. Target CPU is x86 and target Framework is 3.5. The development machine runs Windows 7 Professional and is updated with all regular updates and SPs.
View 2 Replies
Jun 11, 2009
I am really stugling with this an was hoping that someone has done this in the past and can lend some guidance, I have had a look on Google but I only seem to find examples of one parent and one child.Anyway back to the problem, I have a treeview on a form and I want to allow the user to create a tree structure of their choice. What I mean by that is no limit to parent and child combinations, so basically have the same functionality as in Window Explorer.Now comes the problem, what I want to be able to do is store this tree view hierarchy in a database, so that when they add a new node to the treeview it is stored in the database at the correct level. Then if the user closes the form and re-opens it loads the treeview hierarchy from the database.
View 1 Replies
Jun 11, 2009
I am really stugling with this an was hoping that someone has done this in the past and can lend some guidance, I have had a look on Google but I only seem to find examples of one parent and one child.
Anyway back to the problem, I have a treeview on a form and I want to allow the user to create a tree structure of their choice. What I mean by that is no limit to parent and child combinations, so basically have the same functionality as in Window Explorer. Now comes the problem, what I want to be able to do is store this tree view hierarchy in a database, so that when they add a new node to the treeview it is stored in the database at the correct level. Then if the user closes the form and re-opens it loads the treeview hierarchy from the database.I would really apreshiate some guidance on database table stucture and how I can loop through and build the treeview
View 3 Replies
Nov 10, 2009
Trying to build a front end for a new database I built at work, and I am having a problem.
This code is supposed to try to add a new customer to the database...in the
"btnSaveCustomerToDatabase_Click" VStudio is throwing "Reference to a non shared member
requires an object reference" but I am not seeing it.[code...]
View 2 Replies
Aug 21, 2011
I am trying to create an autoupdater for my application, and I came up with an idea to use the "After build" event to export the application version to txt file.Just a simple txt file with lets say "1.0.1" in it.
View 2 Replies
Nov 17, 2011
so my question is relatively simple, can I create VB6 application that references a class in a dll, and then substitute that dll for another at runtime?Now my intial guess is... no chance in VB6.
So my thoughts turned to a VB.net interop dll. Could I do it in here, and then call the interop dll from the VB? but I'd be happy if someone knew differently.The only thing that I think would actually work would be DI in .Net, but I'm limited to .net 2, or 3.5 at a big push, so I dont know if that is possible.
I have a dll that a specific site uses, but we dont want to ship that out to everyone. Instead, we want to build a clone dll which just has the interfaces setup so that the VB6 build will complete.When it gets to the site that needs it, they want to replace the dummy dll, and drop in their version instead.
Note: We do use RegFreeCOM when its gets installed, so I do have the manifest files that I could play around with if needed.
View 2 Replies