2,155 Posted Topics

Member Avatar for kikiey

Where will your database be stored? on a LAN pc/server? The size of the network does not really count. What does count is your database. Access will not be able to handle that many requests. Rather move up to MySql which is open source (free). All you need then, is …

Member Avatar for AndreRet
0
290
Member Avatar for cheelo007

Correct on the security issue. Rather get password from your recordset... $sql = mysql_query("SELECT id FROM admin WHERE username='$manager' AND password='".md5($password)."' LIMIT 1"); // query the person

Member Avatar for cheelo007
0
383
Member Avatar for jean1234
Member Avatar for sachins1986

If I read this correctly, you have opened the recordset where the id = 2. According to you, the name field is empty??? thats why nothing shows in text1.text. What seems to be the problem then? To check if it IS empty, you can do teh following... If rs!name = …

Member Avatar for AndreRet
0
2K
Member Avatar for ram_kumar8970

@ram, As deceptikon stated, it will be hidously long... There are so many (good) and FREE packages out there. If you want to just study it, rather get a free and open source (as was suggested) and go with that. I personally would choose a different subject to hone my …

Member Avatar for AndreRet
0
237
Member Avatar for Bile

You can create menu items at run time... Design Time First right click any place on your form where there are no controls. Then choose Menu Editor… Now in the editor add a main menu, Give it a caption such as Favorites and a name such as mnuFav. Then click …

Member Avatar for AndreRet
0
226
Member Avatar for romanromeo89

Try - $sth = mysql_query("SELECT COUNT(username,firstname) FROM users WHERE id='".$required_id."'"); return (mysql_result($sth, 0) == 1) ? true : false; This should return record 1 because you declared "$required_id=1".

Member Avatar for diafol
-1
224
Member Avatar for davy_yg

a Few things I've picked up... You have 3 fields in your table freescript - idads, waktu, number. When you insert a record, you do not specify anything for number which will result in a NULL entry. mysql_query("insert into adsmgt (idads, waktu, number) values ('$idads', '$time', '')"); When you echo …

Member Avatar for diafol
0
181
Member Avatar for Transworld

Do you need to show the actual time or the countdown of a timer? If time then the format i.e. hour:minute:seconds?

Member Avatar for ranyone
-3
12K
Member Avatar for ashish.shende.714

Unfortunately we can not unless you are prepared to pay for the service. This is a helping community where we help you on solving problems with your code etc., not doing projects, homework or unpaid services. :)

Member Avatar for AndreRet
0
38
Member Avatar for AndreRet

I have a function as below in javascript that gets all the values from different inputs/selects. It must then build up a string that will be passed to a textarea. This was working fine last night when I tested. I then tweaked something, not sure what I did and of …

Member Avatar for AndreRet
0
169
Member Avatar for meLiel
Member Avatar for hyesin
0
168
Member Avatar for AndreRet

![justmywheels1](/attachments/large/1/justmywheels1.png "justmywheels1") # Please see attached image # a User will click on an img which in return will either show - -if unchecked is visible, checked image will be visible (javascript used for this) -and vice versa. I have no idea how to achieve the following - If a …

Member Avatar for AndreRet
0
196
Member Avatar for mpc123

If I read this correctly, you already returned a value for $txt2, When making the call to your database, you now need to echo out the field values - //You had this - <h2><a href="' . $row['$txt2'] . '/' . $row['$txt2'] . '.php">' . $row['title'] . '</a></h2> //Try this <h2><a …

Member Avatar for AndreRet
0
115
Member Avatar for AndreRet

I have the following code which works just fine... $result = mysql_query("SELECT * FROM test_prefixvehiclefeatures ORDER BY Feature ASC"); $count = 0; echo "<table border='1'> <tr> <th>Select a Feature</th> </tr>"; while($row = mysql_fetch_array($result)) { $count = $count + 1; echo "<tr>"; echo "<td>" . $row['Feature'] . "</td>"; echo "<td><img src='images/unchecked.png' …

Member Avatar for AndreRet
1
195
Member Avatar for AndreRet

I just picked up on this today. What is the skill endorsement all about?

Member Avatar for AndreRet
0
155
Member Avatar for AndreRet

I have 3 select boxes, each one returns a different field from database i.e., in database - 2010 BMW 320i, record 2 2008 Aston Martin DB9 and so on. What I do is to first get user to select a year, then submit form so I can return all vehicles …

Member Avatar for AndreRet
0
186
Member Avatar for murali1

I have suggested in your own post on how to get a proper answer. This thread is 7 years old and you will not likely get an answer here, sorry.

Member Avatar for AndreRet
0
2K
Member Avatar for choeychoco

I've never tried it myself, but this sounds like a job for DCOM. [Here's](http://support.microsoft.com/kb/266717?wa=wsignin1.0) a Microsoft article that walks you through DCOM with VB6. You create an ActiveX exe on machine A, and then VB6 code running on machine B can call into the exe running on machine A. You …

Member Avatar for AndreRet
0
318
Member Avatar for Bile

Firstly, is LB_NO an integer (number only)? If so, remove the ' signs from your sql.... > "WHERE ((LB_No) = " & txtLB_No.Text & ");" like this. Secondly, your WHERE clause is in the incorrect place, should come after FROM RegistrationTB - > "FROM RegistrationTB WHERE LB_No = '" & …

Member Avatar for Bile
0
447
Member Avatar for Bile

Once you have created your installation package with the PD wizard, open the package folder. You'll see a Support folder, setup.exe and a SETUP.LST file. In that same folder add a text file by using notepad and save it as Autorun.inf. In this txt file, add the following text... [autorun] …

Member Avatar for Bile
0
113
Member Avatar for stillmarooned

Try the following, in your macro - Function TextExtract(ByVal strSearchFor, ByVal Target As Variant) As String Dim OneCell As Range TextExtract = "" If TypeName(Target) = "Range" Then For Each OneCell In Target If InStr(1, OneCell.Text, strSearchFor, vbTextCompare) > 0 Then TextExtract = strSearchFor Exit For End If Next OneCell …

Member Avatar for stillmarooned
0
93
Member Avatar for Giggsette
Member Avatar for <M/>
0
59
Member Avatar for PinoyDev

If you google the following you should get plenty of sample code. You will be making use of the following functions to check for an integer value, search for characters etc - IsNumeric cInt Mid Left Right Replace ASCii With the above you can perform any validation check you need.

Member Avatar for RonalBertogi
0
356
Member Avatar for meLiel

Most above contains the answer. Remember to return a record first that will be deleted otherwise the first record in the table will be deleted, not the one you wanted. So, to do some error trapping - Private Sub cmdDelete_Click() Dim con As ADODB.Connection Set con = New ADODB.Connection Dim …

Member Avatar for RonalBertogi
0
545
Member Avatar for Behseini

You can try the following - If combo1.Value = "One" Then combo2.AddItem "stuff for one" Elseif combo1.value = "Two" Then combo2.AddItem "stuff for two" Else combo2.AddItem "stuff for three" End If

Member Avatar for AndreRet
0
182
Member Avatar for themathprof

Nope, not yet. The little research I've done shows that we have to wait for the surface pro to be launched. The surface rt will not be able to run any x86 applications, where the pro will run windows 8 and any apps should run fine on that.

Member Avatar for AndreRet
0
81
Member Avatar for krunal1986

Seeing that outlook web app is web based, you can add a web browser to your form and open the web app in your browser. From there you can populate all the fields with text etc. and send from app.

Member Avatar for samsylvestertty
0
488
Member Avatar for belber

It all depends on what scanner you have, what it will be used for etc.... Have a look at these few links, might help with what you need. [URL="http://www.bigresource.com/VB-USB-Barcode-scanners-in-VB6--cSBl6Zdb0H.html#"]Here[/URL], [URL="http://www.bigresource.com/VB-VB6-0-and-peripheral-devices-bar-code-scanners--YL3IWpYQse.html#"]Here[/URL] or [URL="http://www.bigresource.com/Tracker/Track-vb-YL3IWpYQse/"]Here[/URL]. It seems that you will either have to reference to the drivers or it will be linked to …

Member Avatar for ChrisPadgham
0
1K
Member Avatar for ponnu

Your problem is with the "Set rs = "part. cn is a connection that will handle all requests hence "cn.Execute" Remove the Set rs = part - cn.Execute("INSERT INTO employee VALUES('" & txtempname.text & "', " & txtempid.text & ", '" & txtssn.text & "') ")

Member Avatar for pradipkar
0
2K
Member Avatar for dbalas

If it is a pdf doc, why save it to your database (maybe I'm missing something.. :) )? I've downloaded in excess of 200 mb pdf docs to my server and let users download with no hassles at all with the following... (maybe still loosing the plot here, if so, …

Member Avatar for dbalas
0
772
Member Avatar for PM312
Member Avatar for AndreRet

I have the following scenario - User clicks on an image to search for a particular brand vehicle. The value of that image must then go the hidden box where I will post the value returned to another form. I just can't seem to get the value returned... My code... …

Member Avatar for AndreRet
0
242
Member Avatar for Eggstraordinary

Try the following - $query = "SELECT 'username', 'password', 'firstname' FROM users"; $query_run = mysql_query($query) while($row = mysql_fetch_assoc($query_run)){ $users = $row['username']; echo 'Welcome, '.$users; } else { echo mysql_error(); }

Member Avatar for Eggstraordinary
0
131
Member Avatar for fdkallday_1

Before you run your query - Dim startDate As Date, endDate As Date startDate = dtPicker1.Value endDate = dtPicker2.Value ''Remember to add error trapping code to check if there are any values returned... Now run your query

Member Avatar for AndreRet
0
157
Member Avatar for TeaYou

Firstly, this is .net code... Public strThis As String In your button click event - strThis = Label1.Text In form pie - pie.label1.text = strThis

Member Avatar for poojavb
0
189
Member Avatar for gelaisg18

Nothing to add, I saw the post on a 2 year old thread, bitblit gave you the solution. :)

Member Avatar for gelaisg18
0
132
Member Avatar for anova

Firstly, actioning a form will take you to the form you specified... process.php You need to get values selected from a select (drop down) to load the next scenario, right? Try the following - <select name="Friday2" id="Friday" onchange="this.form.submit();"> <select name="Friday2" id="Friday"> <option value="0">Block # - Day - Time</option> <option value="100">Block …

Member Avatar for AndreRet
0
292
Member Avatar for ponnu

If I read this correctly, you have variables saved from some forms, you now need to add these values to an excel file, right?

Member Avatar for ponnu
0
164
Member Avatar for michael opoku

Unfortunately we can not. See our [RULES](http://www.daniweb.com/community/rules) here. Show us what you have so far and we will gladly help.

Member Avatar for jhai_salvador
0
114
Member Avatar for honnysingh

Most of your code is clashing with win 7. Have a look at my tutorial [here](http://www.daniweb.com/software-development/visual-basic-4-5-6/code/313435/installing-vb6-applications-on-vista-or-windows-7). Then have a look at one of my old posts... [here](http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/233288/saving-images-file-to-sql-server-or-ms-access-databases#post1027218).

Member Avatar for jhai_salvador
0
91
Member Avatar for lorens5

vb has a huge variety of options, vb4/5/6, vb.net, asp etc. Which line do you want to excel in, software, web dev etc. ?

Member Avatar for jhai_salvador
0
93
Member Avatar for rishijasapara

I would personally add hidden textboxes to retrieve the values... In your broadcasttext.php form, before submit, add the hidden text boxes... <input type="hidden" name="myhiddenvaluehere" value="<?=$_POST['myhiddenvaluehere'];?>"/> Once you have that, it's quite easy to retrieve the value from another form - In addScheduled.php - $myhiddenvaluehere = $_POST['myhiddenvaluehere']; Once you have all …

Member Avatar for fobos
0
234
Member Avatar for deleted1234

Although Kinwang is 100% correct, it will NOT work under the Change event, rather use the LostFocus event. [CODE]Private Sub Text1_LostFocus() Text1 = Format(Text1, "#,##0.00") Text1.SelStart = Len(Text1.Text) End Sub[/CODE] When you need to return the value again use - [CODE]dim xValue As Integer xValue = CDbl(Text1.Text) 'This will remove …

Member Avatar for AndreRet
0
6K
Member Avatar for mahela
Member Avatar for AndreRet
0
162
Member Avatar for mbrown1

How would you know which files to open? In other words, are they saved in a specific folder, When the user inputs say 3 files, how will you know which ones to open with what name?

Member Avatar for mbrown1
0
320
Member Avatar for rotten69

Please mark as solved, it still shows as open thread in forum, thanx.

Member Avatar for diafol
0
211
Member Avatar for AndreRet

Stuck again... :) I am returning close to 60 records from a search in mysql. I want to add these records to a select box. When I am looping through the records, it adds a select box for each record. Not sure where I am going wrong. It does load …

Member Avatar for AndreRet
0
276
Member Avatar for LastMitch
Member Avatar for LastMitch
0
268
Member Avatar for AndreRet

I am totally stuck here and found tens of samples on posting to get and set values. What I am trying to do is - 1) Let a user enter a vehicles year model into a textbox in my form (set to post) 2) I then need to get this …

Member Avatar for AndreRet
0
226

The End.