- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 16
- Posts with Upvotes
- 15
- Upvoting Members
- 8
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
153 Posted Topics
Re: Poster #3 : Please don't bump threads, start your own. Please mark thread as solved | |
I'm currently developing an SMS sender using C# (2010). The program does send the message but the message received was not the message sent, (i.e " yt+ 35") and while running the program several times, the received message do not contain anything at all, even the senders number. I am … | |
Re: Might wanna try [this](http://www.formget.com/upload-multiple-images-using-php-and-jquery/). | |
Re: Are your variables on Line 5 were given a value? i.e $username = $_POST["txtuname"]; | |
Re: There are SQL statements which differ in the way they are written but faster when it comes in loading data. You should also consider some factors: Network speed (if it is networked) Transmission line capacity (still, if networked) | |
Re: [Here](https://www.connectionstrings.com/oracle/) | |
I would like to develop a web-based Disaster Management System but don't know where to start. Possible features may include: * Situation Awareness * Missing Person Registration * GIS (or google map) Suggestions and ideas? Thanks in advance. | |
![]() | Re: The Orientation property isn't available on VB6 by default (IICRC). You need service pack 6 (maybe 5, not sure anymore), not the service pack from MS website. Just search the web for the SPs. ![]() |
Re: Try using a variable to store that ID with a SELECT statement and change your query with some AND. | |
Re: Some links are no longer active.. Cheers!! | |
Re: <?php $link = mysqli_connect('localhost', 'root', 'admin','admin') or die("Could not connect database"); $result=mysqli_query($link, "SELECT * FROM questions"); $row = mysqli_fetch_assoc($result); ?> <label for="login-username">Secret Question:</label> <select name="sq" id="sq" style="width:250px; height:30px"> <?php do { ?> <option ><?php echo $row['question']; ?></option> <?php } while ($row = mysqli_fetch_assoc($result)); ?> </select> ![]() | |
I'm trying to ban a user from logging in to a site after 3 failed attempts. Code: <?php require 'konek/dbcon.php'; if (isset($_POST['login'])) { session_start(); //$link = mysqli_connect('localhost', 'root', '','abra') or die("Could not connect database"); if (empty($_POST['uname']) || empty($_POST['passw'])) { header ('Location: login.php'); die(); } if (ctype_upper($_POST['uname']) || ctype_upper($_POST['passw'])) { header … | |
I'm nearly finish with a site template for a shopping cart. I am encountering a problem, updating of quantity. Say: On the Product Table page: If the user clicks on the same product to add it, only the quantity should increment on the Cart page (Quantity is displayed using a … | |
I have a column named Emp_Id and set as primary key (not Auto Incr).I am trying to generate an ID (employee) and save it into a SQL database. The logic goes this way: Generate the id number with a prefix plus the number (i.e. EMP0001). Display it on a textbox … | |
Re: What part are you trying to connect your database to? Is it the project or a datagrid or listview? If it is your project, the link sir Andre has given will show the basics. | |
Re: Try using Rose Setup Factory. Been using it in creating installers from VB6 projects. Enables Serial Key for installer or even an Expiration date. [Click Here](ww.indigorose.com/products/setup-factory) | |
I'm having trouble connecting to a database file on another PC. In this case, my PC is the client. Using: 1. Windows 7 32-bit on both PC's. * Same Workgroup * Connection verified using cmd (PING) * Connected using hub (straight through) * Workgroup status: Joined 2. MS Access 2007 … | |
Re: The answer is already on your code (line 12 - 25), just place it on the correct event. You can try the form's load or activate event. You'll figure it out eventually. Good luck. | |
Re: I suggest you use ADODB for this one. Read [THIS](http://bytes.com/topic/visual-basic/answers/658045-how-run-sum-function-vb6). | |
Re: Maybe something like this. Private Sub DataGrid1_Click() Dim x As String x = Adodc1.Recordset("ID").Value Adodc1.RecordSource = "Select * from Users where ID = '" & x & "'" Label1.Caption = x End Sub Note that: I used an ADODC since you did not specify what connection type you are using. … | |
Re: Try moving line 29 (End If) before line 33 (End With). | |
Re: Sorry but you can't just actually subtract (or any arithmetic operation) 2 SQL statements. (or maybe for UNION or JOINS) What you need to do is modify your 2 SQL then subtract the value of 2 specifice columns on those tables. Dim sum1, sum2 as String sum1 = Adodc1.Recordset.Fields("Fieldname") 'replace … | |
Re: I assume that you are referring to the value of the column RcvdPcs on table tblReceived. > prevent user > to released more than the received pcs. Here's an idea, how can you released 6 items if you only received 5? | |
Re: Really no time to tackle this one so read [THIS](http://www.w3schools.com/sql/sql_join.asp). | |
Just wanna ask if it is possible to add 1 or more DETAIL sections in a VB6 Report. If it is, any link to such or steps on how to do it. Thanks. | |
Was trying to save the contents of a listview column (2nd column) into a table in the dbase, 1 column of the table per content of the listview column, meaning only 1 row will be affected. Here's my code using while loop. Fcount = 2 Scount = 1 While Scount … | |
I'm having trouble with the AND operator when I used it 3 times. If Text1.Text = "THIS" And Text2.Text = "THAT" and Text3.Text = "THOSE" then Call Display elseIf Text1.Text = "THIS" And Text2.Text = "THAT" and Text3.Text = "THOSE" then Call Display2 else MsgBox"Failed" End If It always ends … | |
Re: I think he meant: I get the error when saving the file/project. The only reason I can think is that you are using the **FLASH8.ocx** file. Try removing that control in your form. | |
Re: Do you mean creating a path for a control that when clicked, opens a Word (MSOFFICE) file? Dim wrdApp As New WORD.Application wrdApp.Documents.Open App.Path & "\Reports\Leave.docx" wrdApp.WindowState = wdWindowStateMaximize wrdApp.Visible = True wrdApp - variable name, can be changed Reports - folder where the file is located (this folder is … | |
Re: Try googling BLOB.. | |
Re: rs.Open "Select * from TABLENAME where COLUMNFORTIME Between #" & Combo2.Text & "# AND #" & Combo1.Text & "#;", con, adOpenKeyset, adLockPessimistic Perhaps.. | |
Re: Don't put the the code in the toolbar. Place it in your command button (cmdUpdate) in your Modify form. | |
Re: Project > More ActiveX Designers > Data Environment ? Are you using Portable or Full and what version ? | |
Re: From the code sir Andre given, just remove line 1 and 3. | |
Re: Please mark thread as solved if your problem has been answered. | |
Was having trouble printing special characters using Ascii codes for this two characters: **Ñ and ñ. ** I'm trying to enable inserting them on textboxes using Keypress event but to no avail. But since the Alt key doesn't have Ascii equivalent, I can't figure it out. I would want to … | |
Re: The only easy way I can think of this is to put another button with the same Caption as the first one over it. Try it! :-) | |
Re: Edit: with adodc1 .ConnectionString = connectdb .RecordSource = "Select * from 'tablename'" .Refresh .AddNew .Recordset.Fields("Tablecolumn name") = txtYourtextbox.Text 'any entry on that specific textbox would be save to that specific column on your table 'make sure your textbox control is connected to your adodc .Update end with | |
Re: I don't know if you don't receive any compile error on line 2 also, but I do. Your code on line 28 will also give you an error. I'm not really sure if what you want to happen is this: Nothing will happen on single click, only if flexgrid is … | |
Re: First, you have to unload or hide the current window (where you will click the button) then show the window that you want to show using it's name. On the button which will show the next form. **VB 6:** Private Sub Command1_Click() Me.Hide Form2.Show() End Sub **VB 2008:** Public Class … | |
Re: Can you show what you have so far? | |
Re: Some if not mostly, you need the DLL/OCX/etc..etc.. files (if not all) used in the development of that program to be also available on those computers where you want to install them, otherwise, you will receive error/s. So one thing to avoid such, is to make sure all needed resources … | |
Re: Can you check this things? 1. What is the max of your progress bar, is it 100? 2. Interval of your timer control? though this won't cause the problem if > 0 Here's what i did for my backup module before: 1. Same as you did, i have a timer … | |
Re: If you really want to have your own domain, you need to pay. But there are free webhosting services available, but the domain name would still include that sites domain. say a webhost with a domain name www.sample.com If you use their free hosting, you'll be given a domain name … | |
Re: I'm assuming you want to use the application using the same database? If so, [THIS](http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/314706/login-with-networking#post1345970) might give you an idea. | |
Re: Try using module for your database connection. i.e. Dim dbcon dbcon = App.Path & "\Database\Main.accdb" then make sure that you always include your database file with the Folder of your file/s. If it is inside another folder, then: Dim dbcon dbcon = App.Path & "\Foldername\Database\Main.accdb" And for the latest connection … | |
Re: Or you can also use third party programs. Try googling "Setup Factory" | |
Re: If the datatype in your database is Number, maybe try declaring it as integer in the program. Dim a as Integer rs.MoveLast a = rs.Fields(0) a = a + 1 | |
I've done programs to save values to a dbase from a certain control, but done one by one. Scenario: * There are 7 textboxes where values are entered. * There are also 7 rows (but in one column only) for each values when save button is clicked. Problem: * How … | |
Would be implementing a system which database is shared accross LAN nextweek. Scenario: All 5 units are of the same OS (Windows XP) * 1 Server * 4 Client Database is MSAccess 2007 * (but 2003 format in case of compatibility issues) Now here's my checklist: * Make sure all … |
The End.