Mac Address Of The NIC That Connects To The Database?
Mar 12, 2010I have a little problem. I made a connection to a database. So now i want the mac address of the NIC that connects to the database. Is that possible ?
View 1 RepliesI have a little problem. I made a connection to a database. So now i want the mac address of the NIC that connects to the database. Is that possible ?
View 1 RepliesI have an app that connects to a sql database using the standard connection string.Now i want to do some work on this at home, where i have a vpn connection to work setup.It's quicker to work locally than it is to rdp into work and work from my desktop there.What do i need to append to the connection string to get it to connect to the server at work? i've tried appending the domain in front of the server name but that didn't work. is there something else i should do?
View 2 RepliesI'm trying to create a login which connects with a database which i created on db4free.net and i've installed the connector.
View 2 RepliesI need to create a program that connects to a database and determines if what the user entered is in the database. Trying to do this in somewhat the same way that a translator might workchecking to find the word, and if found replace it with what is in the row beside it in the database)
Anyone have any idea on how i should go about doing this?
I know its gonna involve looping but as to how i am completely lost
Basically Im going to sell software where once the user buys they register on a page, then their credentials gets added to a database, then once they open my program they login and my program checks if there in the database or not so they can advance.
View 3 RepliesI have a website with MySQL databases. I'm wanting it to connect and: display a table's data, login using a table with logins, and submit a form to go to be put in the table.
View 2 RepliesI am trying to make a very simple program that connects to a MySQL database using VB.NET. My program only has one form and one label. I setup my MySQL database to have a table and one field (a VARCHAR)called "Tab1". I manually inserted the value "CLOSED" into the Tab1 field using PHPMyAdmin. I want my program to change the value of the field to OPEN/CLOSED and I also want the label text on my form to change too when it's clicked.
[Code]...
How it's possible to get values (string) from the database when a user connects? i use in this
[Code]...
I have a windows app that has a bindingNavigator connected to BindingSource that connects to an Access database. I am manually adding a record to the underlying database using an OLEDBConnection/command (cloning the current record). The insert into the database works fine, what I am not sure on how to do is force the bindingNavigatgor to refresh and read the new record and refelect it in the record count/next/previous buttons.Jack
View 7 Repliesi am trying to create a program that connects to a database and shows table fields in listview in windows form i manage to do that but i want now to have a button to take the total of a column in a list box ,lets say from the column "money"?
View 9 RepliesI am using VB 2008 Express and have created an application that connects to a SQL database to populate a datagrid.The application is working properly on my computer but will not on others 'remote connection permissions' error.After some googleing I found that the express version is crippled to only work on local machines that use a database.If I purchase Visual Studio 2008 Standard Edition, import and rebuild my application, will my application be able to run properly on other PC's?
View 7 RepliesI'm writing an asp.net page with a simple registration form that connects to my access database and inserts the values in the table. So I have my database, my registration page, everything looks fine in my code, but there's a syntax error I can't seem to figure out. When I go on my webpage and click submit, it says : Syntax error in INSERT INTO instruction.
Here's my code:
<%@Page language="vb" explicit="true" debug="true"%>
<%@Import Namespace="System.Data"%>
<%@Import Namespace="System.Data.OleDb"%>
[CODE]...
I want to connect my Desktop application (VB.Net) to my Database (SQL server 2005). The problem is my Database is in the other country.In my local network my application works fine.I am using IP address for connect database. for example : my IP addrees is 222.22.22.22.
View 1 RepliesI am able to loop through all the customers in db but unable to fetch the address of customer to disply to the using using vb .net?
View 2 RepliesOn my current project, posted here [URL]
I already made a project using Visual Studio 2010 (Visual Basic) and my database connected to SQL Server 2008 R2, also set up a PC 1 act as a server and the other is client i set this up for beta test.
I'm having issue about putting an IP Address to the server pc, actually if the IP setting of the server pc "Obtain IP Address automatically", i can open my application in the client pc, but once i put IP Address on the server PC i cannot open/run my application to the client pc, i cant figure it out how can i fixed this issue.
I have a simple program that uses this code
Dim sParams as string = ""
Dim emailto as string = TextBox1.Text
Dim subject as string = TextBox2.Text
Dim body as string = TextBox3.Text
sParams = "mailto:" & emailto & "?subject=" & subject & "&body=" & body System.Diagnostics.Process.Start(sParams)
From this thread [URL]
Now I have a table with about 6 email address's in. How would I go about sending emails to each one of these emails in the database using this code. User can also add emails to the database.
I need to make an address book that doesnt use a database.It suppose to have [code]All information shall be stored in a structure at run time.The application should read and write to a data file.Make sure the application includes previous, next, add, save, and delete buttons.When graded by your instructor, there should be at least five entries in the address book.But the book doesnt show me how to do it and the only online stuff I can find is threw databases and nothing else. I asked the teacher and he says no database for this one, the idea is to use flat files (txt) and I have no idea how to even really start this one.[code]
View 5 RepliesI have the following piece of code, which currently connects to a SQL DB using the users windows login, but I would like to change this to use the UserID & Password in the updated ConnectionString which is saved in a config.xml.
vb
<add key="ConnectionString" value="data source=Server;integrated security=SSPI;database=DB1;User Id=develop;Password=develop"/>
vb
Public Sub GetUserDetails()
Dim strSQL As String
strSQL = "SELECT SUBSTRING(SUSER_SNAME() , CHARINDEX('',SUSER_SNAME(),1) + 1 , 20)"
[Code]....
VB2005: So I created an app that connects to an Oracle 9.2.0.1 using the .net oracle adapter. I can issue queries and process the results. This all works fine on my development machine but now that i have distributed the app to my group I find that it bombs on certain workstations, specifically when it comes to connecting to the Oracle db. I've done a little bit of research but havent come up with anything definitive.
So what should I install on my users desktops to make sure that the connection works?
I have build an application in VB.NET (3.5) wich connects to an oracle DB. I works perfectly on my pc. However. When I install the app on a pc without oracle it will not connect to the DB on the server. Do I have to install somekind of driver on the client pc?
View 4 Repliesi am trying to make a program that connects through a proxy mainly socks proxy but would like to connect through a http proxy also.
View 2 RepliesI created a vb .net app and basically it connects to the server (my brother's computer at his house) and sends messages. The problem I'm having is, we both have routers. The only way I'v gotten all of this to work, is by both of us connecting ppeo broadband and then our ips work, otherwise the "real ip" is used for all the pcs in my house. How can I connect tcp to him wothout him having to connect broadband. Because to connect broadband he needs to be connected to an ethernet port, so then he cannot be wireless.
View 3 RepliesI've had a problem which Mike has kindly helped me with here: url..I now ahve a problem when disconnecting then trying to connect again. The app works fine once, but throws the exception again if you try to connect the client a second time.
View 4 RepliesAre there any IP Address filters or masks available in Windows Forms as per following screenshot? A backslash shouldn't be allowed or it should be filtered somehow.
View 1 RepliesSocketException was Unhandled: Only one usage of each socket address (protocol/network address/port) is normally permitted I get this error every time i click collect a second time.
[Code]...
Can anyone point me to some code which can help obtain the network address from the host IP and subnet mask?
View 3 RepliesI made web browser which consist address bar that I use it to type addressess in it i.ewhen I type [URL] it opens [URL] but when I go to anther page in google it doesnot show it's link in address bar lix InterntExplorer or other international browsers so how to show any link or any sub page's link in my browser address bar ?
View 1 RepliesI'm trying to use the DHCP API (using the references on pinvoke.net) to retrieve a computer's MAC address when given the IP address but I can't get the code to work. I've run all the C# code on pinvoke.net through the C#-to-VB converter but I'm stuck now.
Here's what I have so far. The value of res is always 5 (should be 0). Thing is, I can't find any documentation on what the return codes mean
vb
Private Sub GetMACDim client As String = "1.1.1.1" Dim server As String = "0.0.0.0" Dim si As New NativeMethods.DHCP_SEARCH_INFO si.SearchType = NativeMethods.DHCP_SEARCH_INFO_TYPE.DhcpClientIpAddress si.ClientIpAddress = Convert.ToUInt32(StringIPAddressToUint32(client)) Dim res As UInteger Dim oInfo As IntPtr
[code]....
I'm trying to make an e-mailer that connects to an SMTP server.
Ive looked everywhere and Id prefer if it was explained how to put it into my code.
[code...]
Is it possible for me to make a login that connects to my forums?So 1. User opens login form 2. Enter info 3. Connects to forums 4. User opens browser and is logged in
View 3 Replies