- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Programming
18 Posted Topics
Re: Hey chabo, What is your code for the output?? If you're using [CODE]Open myfile for Ouput As #1[/CODE] and then [CODE]Write #1,var1,var2[/CODE] then change the [B]Write[/B] function with the [B]Print[/B] like this [CODE]Print #1,var1[/CODE] Hope that helps. | |
Re: You have to work on the event "Form_KeyDown()". By reading each "keycode" and then playing a specific sound using the "Microsoft Multimedia Control" Where the "Sound" would be an audio file.(ex mp3,wma,etc) Hope that helps :) | |
Re: And [B]NetBeans[/B] is also very good.. [URL="http://netbeans.org/features/php/"]http://netbeans.org/features/php/[/URL] | |
Hi guys.. I am very new to PHP and generally in Web development. I'm trying to develop a big project and i was wondering if anyone of you can help me according to what tools should i use. At the beginning i thought Asp.net would be appropriate but after reading … | |
Re: You can print the report directly for example... [B]private sub cmdshow_click() DataReport1.PrintReport False, rptRangeAllPages DataReport1.Hide end sub [/B]------------------------------------------------ I hope that it will help you.. | |
Hi guys, Here is my problem.. I have two computers with Win XP pro. The one has static IP and i want it to be used as a web server. I want to create a database such as Mysql and put it on the web server and using the application … | |
Hi.. i'm using a winsock control to transfer files between two computers which are in the same network..(LAN) and it works fine. Is there a way to transfer a file to another computer that it is not in my network? For example from my computer to a friend's computer.. Any … | |
Re: Hi jemz, you can use the [COLOR="Green"][I]ucase [/I][/COLOR]function which stands for the upper case(Returns the uppercase of a string) or the [COLOR="Green"][I]lcase [/I][/COLOR]which stands for the lower case(returns the lower case of a string)... For example: [CODE]if Trim(UCASE(txt1.text)) <> "PCS" and Trim(UCASE(txt1.text)) <> "REAM" then[/CODE] OR [CODE]if Trim(LCASE(txt1.text)) <> "pcs" … | |
Re: Hi horseygal, you have to split your calculation.. For example: [CODE]dbltotalaverage = (Val(txtTestscore1.Text) + Val(txtTestscore2.Text) + Val(txtTestscore3.Text)) / 3[/CODE] Its not necessary to convert the value to string. [COLOR="Red"]lblthree.Text = dbltotalaverage.ToString[/COLOR] Also your if clause should be like this: [CODE]If dbltotalaverage >= 90 Then txtgrade.Text = "A" ElseIf dbltotalaverage >= … | |
Re: Hi jemz, if i understand right then you have to call the keytrap function in the Keypress event of command button... (*The keypress event you will find it by double clicking on the command button, up & right the dropdown list which its value is "Click" -> change it.) Good … | |
Re: Hi nik1991, to connect vb with access 2007 you firstly have to download the drivers of database engine. Follow the link below: [URL="http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en"]http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en[/URL] After installing the drivers, you are able to use it in vb6... Download the attachment file to see an example..But its with ado and not with adodc … | |
Re: Unfortunately in 2D arrays redim is not working.. I recommend you to use two (one-dimensional) arrays one for usernames and the other for passwords.The arrays will be parraller. You can use the redim - function on 1D array without error... For exampe.. ---------------------------------------------- [B]dim usernames() as string dim passwords() as … | |
Re: Hi, You can change the caption from the properties of the control or if u want to do it by code then do it only once.. For example: [CODE][/CODE][QUOTE][/QUOTE] Datagrid1.Columns(0).Caption = "Surname" Datagrid1.Columns(1).Caption = "Name" .... .... [CODE][/CODE][QUOTE][/QUOTE] The loop was not necessary. Check the attachment file... Good luck... | |
Re: There isn't any function in vb6.. You have to learn about the FreeImage Project. Follow the link below for more info... [URL="http://freeimage.sourceforge.net/index.html"]http://freeimage.sourceforge.net/index.html[/URL] | |
Re: You can open your text file using another way instead of data control(which is impossible). If you want to open the ".txt" file here is an example: --------------------------------------------------------------- [COLOR="Green"]''This code will open a text file and show it in a listbox..[/COLOR] [B]Dim myfile as String Dim data as string myfile … | |
Re: My suggestion is to use DAO 3.6 Library..it's easier to use than ADO.. Your solution would be like: ------------------------------------------------------ Private Sub CmdSearch_Click() Dim ws as Dao.Workspaces Dim db as Dao.database Dim rs As RecordSet Dim mysql As string Dim search as String On Error Resume Next set ws = dbengine.workspaces … | |
Re: Check the attachement file.. I hope that it will help you... | |
Re: You can also try the isnumeric() function at the keypress event... For example... Private Sub Text1_KeyPress(KeyAscii As Integer) [B]If Not IsNumeric(Chr(KeyAscii)) And Not KeyAscii = 8 Then KeyAscii = 0[/B] End Sub |
The End.