.NET And MYSQL Based Registration System?
Jun 21, 2010I have linked my vb.net application with mysql database but i am having a problem inserting data from the vb forms into the relevant fields in the database...
View 1 RepliesI have linked my vb.net application with mysql database but i am having a problem inserting data from the vb forms into the relevant fields in the database...
View 1 RepliesOk, basicly a have a program, which has a 30 trial period, or theres the option of using a registration key.I want my program to connect to my mysql server, check the key and user name and see if the match, it will work forever, and the use count of that reg key will be increased by 1.Once it reaches 3, i want that key to be no longer avalibe to use..I do have code to connect to a mysql database and check name and reg key..[code]so, how can i increase the use count of the regkey?Btw im using the DLL from the mysql website?
View 11 RepliesI found this video tutorial on youtube. Unfortunately I can't seem to find source. How to do what he is doing. Also how to encrypt the password at the registration process. Then encrypt it while logging in.
Video - [URL]
My login code - [URL]
I have a (COM Interop based) ActiveX contol that I am trying to use with registration free com. When the control loads the control is inactive (does not responds to events, control not fully rendered etc).After much search I discovered that COM objects using reg-free-com use the miscStatus attribute to set the initial state to get correctly activated. I know how to use it with a comClass which corresponds to a native COM Object.
[Code]...
2) The COM client I am using is Visual FoxPro. If the (1) is not possible what can I do in VFP to activate the inactive ActiveX control. (I dont mind VB or C# input too if I can use it to find the equivalent foxpro)Currently I tried the following
this.AddObject('OleControl1', 'oleControl', 'SomeCompany.SomeOleControl')
this.OleControl1.AutoActivate = 3
this.OleControl1.Visible = .T.
this.OleControl1.SetFocus
But I the OleControl1 gets focus before passing events like mouse click to its subelements. So I have to click twice on it to do the necessary action, any time it does not have focus. I would like the control to act as if the "nouiactivate" of the miscStatus value is set.
3) Is there any other way of accomplishing what I want to do?
Hans Passant, here is the listing of current Assembly.dll.manifest. The formatting in the comment made it unreadable.
[Code]...
I am making a program that allows users to share certain files, and it requires anaccount.How do I make a login system? I have my own website, so I have a MySQL thing...Could I link it with that? I have never really worked with account systems so I have no clue on how to add an SQL database and how to use it within the program
View 4 Repliescan anyone give me any advice on how to implement a paypal payment/registration system in my app?
View 3 RepliesThe Source Code Of A Computerized Registration System And Computerized
View 1 Repliesi'm trying to link the program i'm designing so that it creates an entry and can refer to the record for the numerous pieces of information that was saved to it. I'm not sure what method would be the best to achieve this but I'm a bit short on time to have this done as it is a school major work and this is one of the final steps but me and my partner are stuck and the teacher refuses to help, probabaly because he doesn't know.
In the register I need to allow the user to input a Username, Password, First & Last Name, Email, Address and a Phone Number On the login it will only require a Username and a Password.
I'm really sorry I have not given any personal coding etc. but we simply don't know where to start.
I am trying to make a login system mysql try to connect to a mysql database.
Here is my code:
Imports MySql.Data.MySqlClient
Public Class LoginForm1
Dim MySqlConnection As MySqlConnection
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
MySqlConnection = New MySqlConnection()
[code]....
i Built A MySQL Login System Using MySQL Connector But If Other People Want To Use The Program Thay Get An Error, I Think This Is Due To Thay Do Not Have The Connector So What Should I Do, Btw Dont Say 'Tell Them To Connector'!
View 5 RepliesI have had several occasions recently to access a specific class several times over a relatively small time frame.So I've been storing the value of the class in Session and trying to access it on page load, if it's not available creating a new instance and storing that in session.
So instead of constantly replicating the same code for different classes on different pages I'm trying to create an extension method to do this for me.
[Code]...
I'm stuck on what to do when I make my new instance of my class (it would have to have a New() sub)
I'm not sure where to go from here... or even if this is the best way to do it.
I have a database table that holds order information and saves the current gold price (world price) automatically at the time of entryif i look back on the table, and the saved gold price has a difference of the current gold price of + 100 i want to show that in a report
View 1 Repliesi am trying to insert/save the listview item/s on the database.what i am trying to do now is if the product is being entered/saved for the first time.the fcode should be 1, and increments after that.i have a combo box and a text box.the combo box items are from the database [ product table ]
let say user choose product 1
and the list view has 2 items [ a, b ]
and then save
the table would look like
fcode -- prod_id -- prod_name -- item
1 1 product 1 a
1 1 product 1 b[code]......
I have a datagrid control with a list of names that it retrieves from a MySql database. I can search through them until i have one result. I want to be able to Display a groupbox control when the number of results is equal to 1. Also, in the groupbox i have a button that when clicked will delete this user from the server and their information from the mysql table called "employee". when the user is deleted i'll display a confirmation message in a messagebox, and reload the table with the updated list. so far the only two problems i have are showing the groupbox when the results are equal to 1 and deleting the user from the sql server based on the name of the search result
Private Sub TextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
'Search Function.
[code].....
I'm using the following select statement to pull rows of data and display them in a datagrid.[code]This displays sometimes 5,000 different rows of data with one of the columns being time. Their times are something along the lines of 6:08, 6:09, etc. Is there a way I can show only 1 row for all times between 6-6:59?[code]
View 1 Repliesi want to set the system date of my a client pc based on the system date where the sql server reside.In short i want to sysncronize the date between the client and server.I have a working code in vb6 but i dont know how to do it in vb 2008.
dim RstDate As ADODB.Recordset
Set RstDate = New ADODB.Recordset
RstDate.Open "SELECT GETDATE() as ServerDate ", CnAP
[code]....
Im going to get started.Im setting up an hwid login for my vb.net program,
To be safe, im not directly connecting to my db from the program, because if it was cracked, my db info is leaked,so i want it running through php,
this is my current php code
<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
[Code]...
of course, i have removed my db info, but im getting this error Parse error: syntax error, unexpected T_VARIABLE in db.php on line 10
I cant seem to find what the problem is, what i want to do is have the program submit the hwid like this site.com/db.php?hwid=hwid here and have it echo the name in the row of the hwid submitted.
how to Use MYSQL as a Login System Im Tryna Make a System Where My Users Have To Login Or Be Part Of My Forum Too Login
View 2 RepliesI've written a pretty good browser in vb.net (it's in the "Share your Project" forum). I now want to give users and other developers the ability to extend/add buttons & functions to it. Can anyone suggest to me a good way of implementing this bearing in mind that I've never tried to do anything like this before? (so basically a way of implementing a plug-in based system. I was planning on these being small snippets of code which my application has the ability to compile.)
View 5 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 RepliesWhat I want to do is basically have a column that ranks the users so if there were 10 people it would rank the person with the highest sales 10 and the second highest 9 and so on. Theres not always going to be 10 employees
I am using a stored procedure along with a sqldatasource to connect to my stored procedure. To get all the data for each agent, then I am using functions like
Dim TotalSales As Decimal = 0.0
Function GetTotalSales(ByVal Price As Decimal) As Decimal
TotalSales += Price
[Code]....
and then some how sort the array list and print the index of the agents sales total?
MSDN: Int32 values are represented in 31 bits, with the thirty-second bit used as a sign bit. Positive values are represented by using sign-and-magnitude representation. Negative values are in two's complement representation. Isn't it true that the representation of positive values using sign-and-magnitude system is identical to the representation of positive values using two's complement system? So shouldn't it have been rewritten as: "Int32 values (regardless of positive or negative) are represented in two's complement representation",
View 1 RepliesI am trying to convert a vb6 program based off of the coordinate system. VB.net does not seem to recognize any of it.
View 2 RepliesI am in the process of developing an application for one of my clients. I am not going into the details of the applications, but brief facts of the same. The application is divided into two tiers (actually three, but the third tier is the database (SQL SERVER) so that is not included). The top tier (or first tier) is a web application (ASP.NET) where the users shall log into the system and use the application. This web application will also access the Database directly. One important activity the users shall do is uploading excel files with various information to the server. Web Application once the upload is successful shall enter the details in the in Database about the upload along with an ID and save the excel file at a location in the server.The Second tier is a VB.NET Application which will run in the server. The application will connect the database and retrieve the list of excel file uploaded by the web application and start processing one excel file after another based on ID. The processing that will be done is very simple: read the excel file, check for certain parameters, do some calculations and insert the whole details into the database. (say some 100 records per excel file)
The server in which the VB.NET Application (Second tier) runs is hosting a serious of services and application which shall run simultaneously including the Database (SQLSERVER), web server. The Database also host tables and database for various other applications. In order to help in the smooth functioning of the system, it has been decided that the VB.NET shall do the processing activity only when the server is idle (including CPU usage is idle). I have searched the Net and found API to get the system Idle status. But the real question is how to pause the processing activity when the system switch from idle mode and continue when it is again back to idle mode. Please note that I am talking about system being idle because no other application is executing any activity except the VB.NET Application.
I have asked questions about this before but my program has came to cross roads where I require more flexibility in my security procedures.At the moment I generate a specific key based on certain details about the system, and I hash this data to file, which ensures it will only run on this system.
However it has now got to the point where I have a need for providing keys which will carry settings for the program within the key. So that if a customer wants an update its the matter of sending an updated key, which will allow certain areas of the program to be unlocked/locked.Obviously I can no longer use the hash, as it can't be decrypted. I am looking to use key encryption system, which will allow to encrypt data within a license key. But obviously it brings the problem of where to store Crypt & decrypt key within the program.
[Code]...
how to restict the input of a user if im going to accept account e.g.,
View 7 RepliesWhile I am running the following code
If rdrOnClick.Item("DOB") <> "" Then
dtpDOB.Value = rdrOnClick.Item("DOB"
End If
the error occur
Unable to convert MySQL date/time value to System.DateTime
I have created a Scada System in Visual Basic 2010 In this system , its display the radial Gate position of hydro power plant. i have the analog value of particular signal in a textbox which use for gate position. how can i make the radial Gate animation in this VB based scada system. Or i have a gate opening and closing video of gate. Is it possible to control the video from textbox values so that i can show the gate position at the particular analog value..
View 1 Repliesi want to create a system that will trigger alert based on few condition, my condition is:the alert will trigger if there is a negative value for 2 consecutive years.
example:
1)negative amount for 2005
2)negative amount for 2006
here is the code that i have for now and the result only can trigger alert for one year only..
[Code]...
I'm looking for some advice for an application I currently developing. I'll try to keep this as brief as possible so if additional info is need just let me know.I'm developing an Winforms based event tracking system using VB.Net (VS 2008 Pro). The application collects data via serial bar code scanners and stores this data within a MS SQL Express db located on the same Windows XP Pro workstation that the application is installed on. When the application receives the formatted string of data it checks the db table and sends a reply back to the device indicating whether the data is a duplicate. I have written a PortManager class to handle the serial based devices and this functionality is working well.
I have now been asked to incorporate a new type of collection device into the system. The new device is running embedded Linux and uses TCPIP (POE) rather than serial communication. The device manufacture has assured me he can provide a string from the devices integrated scanner in the same format as my serial based devices.
If possible, I would like to utilize the current application and just add the ability to use the TCPIP devices to it. I was thinking it might be possible to just add a new class (similar to my Port Manager class) to handle the TCPIP based devices.I'm really at a loss as to the best way to approach this. I'm just not that familiar with collecting data from a Winforms application using a TCPIP based device.