Made A Form To Connect To A SqlServer?
Apr 9, 2011
I have made a form to connect to a SqlServer but i have hit a dead end as the PHPMyAdmin password table is encrypted so the Login only works when you enter the encrypted password in. Is they anyway to decode the password so the password can be read?
View 10 Replies
ADVERTISEMENT
May 24, 2010
What is the best way to connect a remote SQLServer via window based application?
View 8 Replies
Jul 28, 2009
I can connect to VPN and I can access Sql Server using RDP. Now, I want to access the Sql Server programmatically.
I connected to the VPN and then have the following connection string set up[code]...
View 2 Replies
Feb 1, 2011
I am trying to program a dialogue box to appear when the exit button from my 'Login' form is clicked. The form has three options; yes, no, cancel.
[Code]...
View 2 Replies
Jul 29, 2009
I have made a custom Control in vb.net and I want to add it to my form during runtime but have no idea how to do it in vb.net.
I am used to working with vb6.0 and now trying to learn how to do it in vb.net
I need a fast and simple way of adding a control (which I made) to a form during runtime..
View 2 Replies
Jun 12, 2011
I made a form with a width of 600 and a height of 600. When to "Paint' event andwrote"e.Graphics.DrawLine(Pens.Blue,0,0,Me.Width,Me.Height). I expected a line from the top left conner to the bottm right corner. NO NO NO it fell short on the x(width) axis. I do not know who came up with drawing in boxes, but I HATE IT.
View 3 Replies
Jun 9, 2010
I am making poker game using webform in visual basic?However , i am stuck now. I don't know how to random the cards
[Code]...
View 4 Replies
Mar 1, 2009
How do I upload what I made form Visual Basics onto my website??!
View 4 Replies
Mar 11, 2009
i have created a project with 20 forms in vb.net 2008
View 2 Replies
Jan 17, 2010
I'm building a form with just a combo box in it that contains a list of other forms that I made. I want to program the combo box so that if a user opens it and clicks on "Web Browser", that form with the combo box will close and the web browser that I made will open. Another example is that if a user selects "Media Player" from that combo box, the form with the combo box will close and the media player that I made will open. How would I program the combo box to do this?
View 3 Replies
Aug 16, 2011
when closing the form, checkchanges() is run in order to check if there is data changes..in checkchanges(), i compare data in database and form..if data in form is not same as in database, it consider data has been changed..thus, if there is changes, user will be promt to save data before close..the problem is, when my form is closing, the checkchanges() always show no changes, even when i made changes..this is because, when data is compared (between database and form), the form is already commit changes in database..that is why , when data is compared, it is actually compare the same value...
For example:
*when form load*
database: employee number = 1009
textbox: employee number = 1009
[CODE]...
That is why checkchanges() always show no changes.because it commit changes to database before it made comparison..what should i do to prevent from commit changes when form is closing?
View 15 Replies
Aug 2, 2011
I have designed a complaints form for my work (free of charge just for my cv). I designed the form for the resolution 1280 x 1024. My problem is when a user with a smaller resolution say 800 x 600 uses it. The form will be out of sync with the screen as shown below (tested on my on computer). So I am wondering is there a way to test the screen size of the users computer then readjust the size of my controls according to the size of the screen. By the way all of my controls are anchored so that they stay in the same place.
[Code]...
View 14 Replies
Feb 17, 2009
Im on project about database and I actually im facing 2 major problems.#1I made a form where the user can create a new record.Actually a new product like :
Public Class newgame'Dim cmd As OleDb.OleDbCommand = New OleDb.OleDbCommand("INSERT INTO clients(name,surname,address,phone home,mobile phone,e-mail,memo) VALUES (' " + TextBox1.Text + " ' , ' " + TextBox2.Text + " ',' " + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" +
[CODE]...........................
View 7 Replies
Apr 14, 2012
I am having Socket server, and I have two forms. One is the main form for the server and the other one is a custom made messagebox. When a request comes to the server the main form has to invoke the second form (messagebox). When the main form is open for the first time everything works fine. But when I close the main form without closing the application and open it again and request comes to the server the custom made messagebox opens but it freezes and looks like this:
[Code]....
View 1 Replies
Jul 13, 2009
I've made a project with serveral forms and instances of classes.The program works fine until the last form close.2 messages were shown:1. The exception unknown software exception(0x0eedfade) occured in the application at location (?????????)2. Regular dialogue "Runtime error 217 at (????????)
View 2 Replies
Apr 29, 2010
I just made a rapid file transfer form for my photos.In which I drag photos into a listview with my destination folder set.I assign each individual file transfer to a new thread. This works very fast as compared to the standard drag n' drop.
View 2 Replies
Jun 12, 2009
i'm trying to make a login form connected to an sql server database. my data base has records like this:
fname - lname - minit
each name in a separate column, and i wanted to use the name as the login username, so in the dataset designer i made a new column and concatenated the names together like this: lname+fname+minit but at Dim dr As SqlDataReader = cmd.ExecuteReader i get this error:
"Invalid column name 'username'. Invalid column name 'username'."
i'm asuming that's because username doesn't actually exists in the database, only in the dataset.is there a way to get that to work with out the username column actually existing in the database?
Imports System.Data.SqlClient
Public Class LoginForm
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
[code]....
View 3 Replies
Apr 16, 2009
I have created a login screen but I need to connect a database that hold all of the login information to the form on visual basic. My question is how do I connect the two together so that it works like a e-mail address acount like on google's gmail?
View 2 Replies
Mar 31, 2009
I am a new member here and i would like some help with my problem, i am working on my graduation project and it is about mobile learning, i'm using visual basic.net and using the sql database i want to connect my data base with the form in visual basic, how can i do that.
View 2 Replies
Mar 21, 2011
is it possible to connect the database which in different form. For example which form1 make the connection to database and while form2 make the data update and retrieve from the database.Or another example, is i login as manager and i open up the manager form, in manager form we will establish a connection. and in the manager form there is 3 different buttons and each button will open up a new form. in the new open form we will be able to add or edit or view the account data and exit. but using the connection that make at manager form. Can it be done?
View 7 Replies
Mar 17, 2009
how my connection string should be if i want to access remote(within out local network) sql sever from a win form?
View 8 Replies
Jan 16, 2011
I am new to vb.net (2010) and am working on a project that has to send information from a client application form to a php-based web page.
View 1 Replies
Jul 13, 2009
i need code that will connect to sql server on form load when my form loads i need it to connect to a database with is on my sql server 2005
View 7 Replies
Feb 26, 2010
I need to connect data entries in VB Form to Access database table?
View 2 Replies
Jul 28, 2011
I've followed a guide as to how I connect a form to mysql as per:
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
TestConnection()
End Sub
Public Sub TestConnection()
[Code] .....
And when I launch the form I get the error "unable to connect to the specified hosts".
View 3 Replies
Jan 14, 2012
I have a very irritating problem with connecting to SQL Server/Database. I've created a windows form and connected it to the database on my server (connection string: "Data Source=KARIMOV-PC;Initial Catalog=ApplicationForm;Integrated Security=True")... it works well and without any problems!!But I when I tried to connect my application to the database through internet with connection string "Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=ApplicationForm;User ID=KARIMOV-PC\KARIMOV (My computer name and windows authentication ID);Password=;", the "USUAL" message has appeared to me saying."A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)".
I really really need to understand why my own server "KARIMOV-PC" doesn't work as a remote SQL Server although the SQL Remote Connections and SQL Browser r enabled and running? And Why .\SQLEXPRESS is the more needed/required although I log in to SQL with Windows Authentication, but not SQL Authentication??
View 6 Replies
Jun 4, 2010
ive been using vb6 and i just want to learn vb.net 2005... the problem is i dont know how to conect sql server with the form what should i do?
View 3 Replies
Apr 8, 2011
Iam working on a project where i am using that software mapbasic. in my project i want that whenever user click anywhere on a map so some particualr information about that particular location display. like area name, area id, location, state name bla bla.... but for this i need vb.net form. that when the user click on location so a form comes to him and show him the data. so how to connect my vb.net form to that software.
View 4 Replies
Oct 4, 2011
how can i connect my login form to my sql server 2008, only members of my project is able to sign-in, i want my project to have authentication. can i do it with a stored proc?
View 1 Replies
Aug 17, 2009
I am trying to create a login form for a app I made and having some trouble. I have looked every where for a solid tutorial on how to connect to a msaccess file and have always come up short. Either its a old tutorial and I cant get it to properly work with vs2008 or it completely looses me. Can anyone recomend a tutorial for creating something like this? I Wanna be able to upload the access file to my server and have the program check Username/Password when someone try's to login.
View 4 Replies