153 Posted Topics

Member Avatar for mgmahilum18
Member Avatar for fRodzet

Hmmm, seems like your using VB2008/10. Well, heres an idea: AnotherWindow.Textbox1.Text = MainWindow.Textbox1.Text Or you can use With, say: With AnotherWindow .Textbox1.Text = MainWindow.Textbox1.Text End With Is this?

Member Avatar for abelingaw
0
244
Member Avatar for abelingaw

I'm having a little problem regarding this log-in program. #include<stdio> #include<conio> #define p printf #define s scanf main() { char pass[20]; char user[20]; clrscr(); p("\nEnter your username: "); s("%s", user); p("\n\nEnter your password: "); s("%s", pass); if(user=="abel" && pass=="pass") p("\nW E L C O M E !!"); else p("\nINVALID INFORMATION!!"); …

Member Avatar for WaltP
0
149
Member Avatar for Bile

Do: 2nd person above me says. Check if some reference missing, click the item then see description (name of the missing DLL if any) Otherwise, install SP'c 5 and 6

Member Avatar for Bile
0
210
Member Avatar for abelingaw

Sorry, I don't know where to post this one. I would like to try executing an SQL Injection on a site (offline) i created with wamp. Just like to test the security of my site and try sql injection at the same time. If this kind of post isn't allowed, …

Member Avatar for technoknol
0
167
Member Avatar for ster_tet

You can either use DataEnvironment or do what arvin said. Use rptTextbox control and set the datafield. Regarding the connection, use SQL statements on the button that shows(print) the datareport. @jovicmon21, please don't highjack someones thread, Start your own.

Member Avatar for abelingaw
0
205
Member Avatar for ynehs

[CODE]Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 48 To 57, 8 Case Else KeyAscii = 0 Msgbox "Your Message Here" End Select End Sub[/CODE]

Member Avatar for Jx_Man
0
2K
Member Avatar for belber

[COLOR="Red"]Did you mean showing a specific database field or column? Have you tried using rptTextbox?[/COLOR]

Member Avatar for Jx_Man
0
129
Member Avatar for LFCDay123

[QUOTE]I just don't know how to have the amount showing on the first form to always be portrayed in a label in the second form. Please help![/QUOTE] You mean showing the same amount of a label in form 1 to a label in form 2? If so, then have a …

Member Avatar for Jx_Man
0
118
Member Avatar for svbs
Member Avatar for abelingaw
0
69
Member Avatar for dwiniers

Try to do what JX said. Maybe your table login doesn't exist or misspelled. Or try this: [CODE] SQL = "SELECT * FROM [login]" [/CODE] Oh one more thing, do you have this statement? [CODE]Dim SQL as String[/CODE] Cheerz!!

Member Avatar for dwiniers
0
119
Member Avatar for abelingaw

I'm having problem trying to find out what is wrong with a code. Here's what it is supposed to do. 1. The messagebox should only appear if a record already exist in the database 2. If there is no record of the same information, then it would save the new …

Member Avatar for abelingaw
0
154
Member Avatar for abelingaw

Just wanna know how to add all values of a data report column using rPtFunction. Example: [QUOTE] SALARY: DEDUCTIONS: NET: 1000.00 300.00 700.00 [/QUOTE] Haven't tried this one before. Thanks in advance.

0
88
Member Avatar for yeeitsneo

You can use key trapping by their corresponding ASCII equivalents and Case statements. Example: [CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 65 To 90, 8, 32, 39 ' A-Z and backspace and space Let these key codes pass through Case 97 To 122, 8 'a-z and backspace …

Member Avatar for Cruize_Invades
0
378
Member Avatar for kiki256
Member Avatar for yeeitsneo

A revision of BitBIt's code: [CODE] If Text1.Text <> "q" or "Q" Then MsgBox "INVALID COIN!PLEASE INSERT COIN in Q,D and N ONLY!", vbCritical, "INSERT COIN" Exit Sub End If [/CODE] It accepts the specified letters in UCase and LCase. Or you could use ASCII code equivalent of each letters.

Member Avatar for abelingaw
0
168
Member Avatar for razamughal67

You can just press CTRL + ALT + DEL. Find the process that is blocking you to delete that file then End Task it. Yeah, Unlocker works too.

Member Avatar for WaltP
0
405
Member Avatar for auwi987

Here's to give you an idea. [CODE] Dim xIdNo As Integer Dim xEmpID As Integer xEmpID = rsX!EmpID 'xEmoID var contains the value of your ID column xEmpID = xEmpID + 1 'Adds 1 to the original value of your xEmpID var txtIDNo.Text = xEmpID 'Displays it in a textbox …

Member Avatar for ChrisPadgham
0
159
Member Avatar for abelingaw

I am trying to display an alert box using javascript in my login php file. When a user logged in using a wrong username or password, then a messagebox will display. This is what i have so far: [CODE] $query="SELECT * FROM info WHERE username ='$user' && password ='$pass' "; …

Member Avatar for asprin
0
185
Member Avatar for abelingaw

I originally have a Visual Basic 6 App on my PC, and tried to update it with SP5, but I got a failed installation. And after that, I wasn't able to use the VB6 app again, because it gives me an error. I tried to uninstall it but cannot see …

0
85
Member Avatar for rotten69

[URL="http://www.w3schools.com/quiztest/quiztest.asp?qtest=PHP"]W3 Schools[/URL] [URL="http://www.ex-designz.net/test_page.asp?tid=30"]Ex Designz[/URL] Not much but good..

Member Avatar for rotten69
0
213
Member Avatar for abelingaw

I'm having problem with my login php files. I don't know if it is in the passing of values from inputboxes or connection with my database records. log-in code: [CODE] <td align="right" width="130px"> Username: </td> <td><input type="text" size="40" id="username" class="inputbox" /></td> </tr> <tr> <td align="right"> Password: </td> <td><input type="password" size="40" …

Member Avatar for raphie
0
231
Member Avatar for abelingaw

I can't figure out what is wrong since my codes are correct. [CODE] $host="localhost"; $username=""; $password=""; $db_name="database"; $tbl_name="members"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("Cannot Find Database"); [/CODE] Keeps on saying the die statement. I'm using WAMP, and yes. my database name is "database" and table is name is "member". …

Member Avatar for abelingaw
0
127
Member Avatar for abelingaw

Hi there. I'm having some problem in aligning my captcha image on a form. Here's the SS: [URL="http://imageshack.us/photo/my-images/33/captchab.jpg"]http://imageshack.us/photo/my-images/33/captchab.jpg[/URL] And here's my login code: [CODE] <html> <title>Log In</title> <style> .singleBorder{ border:1px #d6d6d6 solid; background-color:#f6f6f6; } .singleBorder td{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#333333; } .singleBorder input,select{ border:1px #aaaacc solid; font-family:tahoma; …

Member Avatar for abelingaw
0
269
Member Avatar for chamnab

You might wanna use some ocx files to create such interface.. And i think its really hard just to use VB6 for that without using any other resources..

Member Avatar for chamnab
0
217
Member Avatar for abelingaw

I just uploaded my php files on my webhost, and begi editing the links in my index.php. And when I tried viewing my site, i receive the following errors. [CODE] Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/a4478641/public_html/index.php on line 3 Warning: include(http://abelingaw.site90.com/phavi/common.php) [function.include]: failed …

Member Avatar for jogesh_p
0
170
Member Avatar for kheijhei

Set the timer interval to 5000 in the Properties window and put this code on a timer control. [CODE] If Timer1.Interval = 5000 Then 'Timer1 is the default name, change if necessary Unload Me End If [/CODE]

Member Avatar for SpiritualMadMan
0
1K
Member Avatar for abelingaw

I have created a page (with php and javascript) but i am having a problem. Whenever i add contents or remove some, the footer comes up or the whole page re-sizes. I would like the whole page to stay as the original length like the main page regardless how much …

0
72
Member Avatar for abelingaw

I just wanna know how to enable tab switching without the whole page reloading. When i click a tab, the page would appear on a form or lets say a part of a page (e.g <div>). Dont want to use frame. And i would like to know how to have …

Member Avatar for abelingaw
0
106
Member Avatar for abelingaw

I was just wandering if someone could help me how to redo a case statement. After executing the program, there would be a line asking : Try Again? YES / NO If yes, then the program re-executes without hitting F5 again. (using JCreator pro 5). All i have is this: …

Member Avatar for Vaspar
0
151
Member Avatar for abelingaw

Good to be back here.. :) Got no issues about programming (ATM), but got some problem regarding my Network Adapter. It's Atheros AR9285 Version 8.0.0.238. My problem is that, it does detects WiFi network connections but i cant connect to them even if its a public or open network, doesn't …

Member Avatar for jingda
0
89
Member Avatar for vb6explorer

Try this: [CODE] With lsvwed Set lst = .ListItems.Add(, , (RS!Lastname)) lst.(lsvwed.ListItems.Count).SubItems(1) = RS!Firstname lst.(lsvwed.ListItems.Count).SubItems(2) = RS!Middlename lst.(lsvwed.ListItems.Count).SubItems(3) = RS!Address lst.(lsvwed.ListItems.Count).SubItems(4) = RS!Age End With [/CODE]

Member Avatar for TheChozen
0
237
Member Avatar for martin11ph

Set your form Movable property to False on Design time. You can also add this code to your form keypress event. [CODE]KeyAscii = 0[/CODE] This will disable all keys from the keyboard (even mouse - not so sure). And yes, you should use a timer control.

Member Avatar for AndreRet
0
248
Member Avatar for abelingaw

I'm having problem regarding a text box max length. If i set it manually from the properties tab (i set it to 10), output would like "10000000.0" What i want is that it would be "1000000000.00". So i tried using this code: [CODE]Private Sub txtrate_LostFocus() If txtrate.Text = vbNullString Then …

Member Avatar for AndreRet
0
491
Member Avatar for abelingaw

What i wanted to do is to limit the number of users to be registered for my system. One for User type and one for Administrator account, and if there is already a user and admin account, adding will be disabled, else, enabled. Here's the code im using. [CODE]Private Sub …

Member Avatar for AndreRet
0
156
Member Avatar for Noorul Ariff

Do you mean Creating an Installer of a program created in VB6..? Create first an exe of the project before proceeding. 1. Close ms vb6.0 ide 2. Click start> -programs-> microsoft visual studio 6.0-> microsoft visual studio 6.0 tools-> package and deployment wizard 3. Click browse to locate ur project …

Member Avatar for AndreRet
-1
417
Member Avatar for abelingaw

Ok, I'm having problem on how to save texts with quotes. Let's say I'm saving a value in a textbox like O'Neil. That's where I receive an error. How do I save names or texts like O'Neil or texts with qoutes? Here's my code for saving: [CODE] With RecSet .Open …

Member Avatar for AndreRet
0
147
Member Avatar for sharunkumar

I think he/she is referring on creating an EXE file but compiling it first. If you create an EXE file of your VB Project, VB automatically compiles it and stops if there are any error on your program. To check for errors more accurately, hit CTRL + F5 rather than …

Member Avatar for jlego
0
1K
Member Avatar for pmark019
Member Avatar for abelingaw

How do I add all time values in a database table to get its total, get the total tardiness then sum up to know how many days an employee is absent or present in a monthly basis?

Member Avatar for abelingaw
0
114
Member Avatar for abelingaw

I want to compute the difference of time values. The values are loaded from my database (which are captured via biometrics) into labels. Here's a screen shot: [ATTACH]19115[/ATTACH] And I would like also to separate the hour value and minutes then the computation. Any idea where I will start.? :) …

Member Avatar for WaltP
0
83
Member Avatar for Jaseem Ahmed

I have no idea on how to select multiple textbox at once (Run Time). But there are some properties which would look like you are doing it. The Enable or Locked property for example, you can lock and enable multiple textboxes (or other controls in just one click. PS: You …

Member Avatar for AndreRet
-1
93
Member Avatar for Jaseem Ahmed

You could refer in this thread. [URL="http://www.daniweb.com/forums/thread76114.html"]http://www.daniweb.com/forums/thread76114.html[/URL]

Member Avatar for AndreRet
0
219
Member Avatar for abelingaw

I want to load values from a lstview column to a combobox in another form. The problem is that, my combobox style is 2 - Dropdown List and the values in it are from my database field. That's where the error occurs. Saying [ICODE]Text property is read only.[/ICODE] I could …

Member Avatar for AndreRet
0
807
Member Avatar for Shodow

Do you have any code on the datagrid? Or just by clicking on the column header automatically sorts your records?

Member Avatar for AndreRet
0
1K
Member Avatar for robergto
Member Avatar for Shodow

Put it in your command button which save the data that is input in your controls. Usually the saving button ( e.g cmdSave).

Member Avatar for Shodow
0
138
Member Avatar for aquamarine_kath

[CODE] Fullname = Rs.Fields("Lname") & " " & Rs.Fields("Fname") & " " & Rs.Fields("Mname") 'if Fullname is also a database table field, change it e.g Rs.Fullname [/CODE]

Member Avatar for aquamarine_kath
0
1K
Member Avatar for sk8rock_15

Use textbox control for input purpose, not label. Have a command button control on your form first and put this code on it. [CODE]Private Sub Command1_Click() Sum = Val(Text1.Text) + Val(Text2.Text) Label3.Caption = Sum End Sub [/CODE] Please read the forum rules first if this is your first time posting …

Member Avatar for jhai_salvador
0
114
Member Avatar for masterfact18

Here's some fixes too. On form5 on your Adodc1 control 1. Right Click 2. Click Build then on the First textbox where you enter your database path 3. replace the original path with [ICODE]inventory.mdb[/ICODE] 4. Click Test COnnection button 5. Ok > Apply 6. RIght click on your Datagrid control …

Member Avatar for masterfact18
0
165

The End.