Sandmaster
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Gender: 
Posts: 11
|
 |
« Reply #20 on: August 11, 2008, 06:40:00 AM » |
|
Dun nga po ako naguguluhan, hehehe, sa keypress. Hindi ko po alam gamitin. Paano po ba yun? Example naman po kahit isang block lang ng code, let's say gagamitin ko letter 'A'. Thanks. 
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
 |
« Reply #20 on: August 11, 2008, 06:40:00 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
maldihtah13
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 110
Offline
Gender: 
Posts: 4448
Everyday is a learning process so try to learn ;D
|
 |
« Reply #21 on: August 11, 2008, 09:31:06 AM » |
|
try to check this out '************************************** ' Name: CheckKeypress ' Description: ' By: Martin Idman ' ' Inputs:KeyAscii from controls keypress ' -event cAllowed as a String ("N" For numbers only...) ' ' Returns:KeyAscii for pressed key if ok ' or nothing and a beep for not ok ' ' Assumes:Put the call in a controls key ' press-event Ex: KeyAscii=CheckKeypress(KeyAscii, "N") Will only allow the user To enter digits In a control ' 'This code is copyrighted and has' limited warranties.Please see http://w ' ww.Planet-Source-Code.com/vb/scripts/Sho ' wCode.asp?txtCodeId=1576&lngWId=1'for details.'**************************************
Public Function CheckKeyPress(iKeyIn As Integer, cAllowed As String) As Integer Dim cValidKeys As String
Select Case cAllowed Case "N" ' Just numbers cValidKeys = "1234567890" & vbCr & vbTab & vbBack Case "N1" ' Decimal numbers cValidKeys = "1234567890," & vbCr & vbTab & vbBack Case "N2" ' Simple math cValidKeys = "1234567890+-*/=," & vbCr & vbTab & vbBack Case "C" ' Simple characterset(I'm Swedish, hence some strange ones) cValidKeys = "ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖAAÉEÜI- " & vbCr & vbTab & vbBack Case "C1" ' Enhanced characterset cValidKeys = "ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖAAÉEÜI&#,.-/\+-*%$<>:;@!?=() " & vbCr & vbTab & vbBack Case "C2" ' Enhanced + digits cValidKeys = "ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖAAÉEÜI1234567890½&#,.-/\+-*%$<>:;@!?=() " & vbCr & vbTab & vbBack Case "M" ' Mail and WWW cValidKeys = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_/\~:@." & vbCr & vbTab & vbBack Case "D" ' Date or telephonenumbers cValidKeys = "0123456789-" & vbCr & vbTab & vbBack End Select
If InStr(cValidKeys, UCase(Chr(iKeyIn))) Then CheckKeyPress = iKeyIn Else Beep CheckKeyPress = 0 End If End Function
I did not do this code so I'm not sure that this will work. I just copied it from somewhere
|
|
|
|
|
Logged
|
|
|
|
7_SeVeN_7
Technical People
Solar Power Satellite
   
Pogi/Ganda Points: 380
Offline
Posts: 5954
There is no delight in owning anything unshared.
|
 |
« Reply #22 on: August 11, 2008, 11:47:21 PM » |
|
|
|
|
|
|
Logged
|
E-Gizmo Mechatronix Central: www.e-gizmo.comTel #: (63)(2) 536-3378 Globe +63915-973-7691 Smart +63921-779-0748 Location MapYM: julie.egizmo aka Born2BeWired 
|
|
|
Sandmaster
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Gender: 
Posts: 11
|
 |
« Reply #23 on: August 12, 2008, 04:30:36 AM » |
|
Hehe, Thanks po sa code. Eto nalang po... Pwede po ba magview sa application ko (sa VB6.0 uli ginawa) ng video from my webcam? Kung pwede, pano po? Code po uli.... Thanks 
|
|
|
|
|
Logged
|
|
|
|
|
|
Sandmaster
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Gender: 
Posts: 11
|
 |
« Reply #25 on: August 12, 2008, 06:17:47 PM » |
|
Maraming maraming salamat po sa lahat ng tumulong. God bless... 
|
|
|
|
|
Logged
|
|
|
|
maldihtah13
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 110
Offline
Gender: 
Posts: 4448
Everyday is a learning process so try to learn ;D
|
 |
« Reply #26 on: August 13, 2008, 08:04:27 AM » |
|
Maraming maraming salamat po sa lahat ng tumulong. God bless...  You can also give some pogi point pra nman maging gwapo ung mga tumutulong dito. he he he
|
|
|
|
|
Logged
|
|
|
|
elefonzero
LR44 Battery
Pogi/Ganda Points: 0
Offline
Gender: 
Posts: 3
CEBU autoshop 09
|
 |
« Reply #27 on: September 15, 2008, 10:24:40 PM » |
|
pls po... ano po ba magandang gawin na project.. vb applications for ece students.. suggetion pls... thanks..
|
|
|
|
|
Logged
|
|
|
|
maldihtah13
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 110
Offline
Gender: 
Posts: 4448
Everyday is a learning process so try to learn ;D
|
 |
« Reply #28 on: September 16, 2008, 10:11:48 AM » |
|
pls po... ano po ba magandang gawin na project.. vb applications for ece students.. suggetion pls... thanks..
control something connected to the computer like ilaw o kya nman to monitor something like temperature and humidity. Marami at limit less nasa programmer ang limit at wla sa posibilities.
|
|
|
|
|
Logged
|
|
|
|
boolean
LR44 Battery
Pogi/Ganda Points: 0
Offline
Posts: 4
|
 |
« Reply #29 on: October 27, 2009, 04:39:33 AM » |
|
Active X Data Object ang gamit ko.. for database backend..
|
|
|
|
|
Logged
|
|
|
|
eugene.dumon
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Gender: 
Posts: 16
|
 |
« Reply #30 on: March 06, 2010, 05:56:40 AM » |
|
Bro, relax lang.. kapatid natin yan .. nangangailangan lang ng kunting tulong.. Peace tayo lahat dito ha.. baka mauwi yan sa kung saan saan.. sabi mo dati sa isang thread "I LOVE YOU PRE".. -creedcradle hehe nice one sir...this made me smile.so much love in the world.. haha masarap lang isipin at namnamin yung word na kapatid natin yan'.. naks!..bless you sir
|
|
|
|
|
Logged
|
E U G E N E
|
|
|
archangel
Size AAA Battery
 
Pogi/Ganda Points: 1
Offline
Gender: 
Posts: 62
.......................
|
 |
« Reply #31 on: August 15, 2010, 06:55:15 PM » |
|
may tanong lang po ako...ano po kaugnayan ng vb6 sa vb.net? parang upgrade po b ung vb.net?
|
|
|
|
|
Logged
|
|
|
|
maldihtah13
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 110
Offline
Gender: 
Posts: 4448
Everyday is a learning process so try to learn ;D
|
 |
« Reply #32 on: August 17, 2010, 09:54:30 PM » |
|
may tanong lang po ako...ano po kaugnayan ng vb6 sa vb.net? parang upgrade po b ung vb.net?
Yes but scripts are totally different. I want to try VBDOTNET too..
|
|
|
|
|
Logged
|
|
|
|
archangel
Size AAA Battery
 
Pogi/Ganda Points: 1
Offline
Gender: 
Posts: 62
.......................
|
 |
« Reply #33 on: August 17, 2010, 10:06:56 PM » |
|
tnx po..
|
|
|
|
|
Logged
|
|
|
|
.
Diesel Generator
Pogi/Ganda Points: 278
Offline
Gender: 
Posts: 1533
|
 |
« Reply #34 on: August 18, 2010, 03:34:57 AM » |
|
patambay....
|
|
|
|
|
Logged
|
|
|
|
7_SeVeN_7
Technical People
Solar Power Satellite
   
Pogi/Ganda Points: 380
Offline
Posts: 5954
There is no delight in owning anything unshared.
|
 |
« Reply #35 on: August 18, 2010, 09:55:37 AM » |
|
OOP na ang VB.NET... you need to relearn some things and possibly view things in a different way... it will be a good opportunity to learn object oriented principles and be able to apply it as well 
|
|
|
|
|
Logged
|
E-Gizmo Mechatronix Central: www.e-gizmo.comTel #: (63)(2) 536-3378 Globe +63915-973-7691 Smart +63921-779-0748 Location MapYM: julie.egizmo aka Born2BeWired 
|
|
|
Roland
Diesel Generator
Pogi/Ganda Points: 151
Offline
Posts: 1354
Nothing exists out of nothing
|
 |
« Reply #36 on: August 20, 2010, 09:44:03 PM » |
|
Patulong naman ho. Paano po ba sa Visual Basic 6.0 yung imbes na ileleft-click yung command button eh pipindot nalang sa keyboard ng letter assigned sa command button na yun? Hindi po gagamitan ng ALT ha. Gusto ko po kasi mag-interface na magpapagana ng motor, clockwise (CW) and counter-clockwise (CCW), na pipindot nalang ng key sa keyboard kung CW or CCW. Please.... Salamat.  Private Sub Form_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 97 Then ' letter a call Umikot_ka_pakaliwa ElseIf KeyAscii = 98 Then letter b call Umikot_ka_pakanan End If End Sub munting example
|
|
|
|
|
Logged
|
In every action there's always an opposite and equal reaction.
|
|
|
cool_Taurus
Size AAA Battery
 
Pogi/Ganda Points: 0
Offline
Posts: 76
|
 |
« Reply #37 on: August 21, 2010, 03:51:10 PM » |
|
Hi,
In my system, I need to use this modem in this two mode : Data and Voice. For the Data part, no problems. But for the voice part, I have no sound. To call someone, I use AT commands in a VB application. The communication are OK. I receive or i can send a call, but no sound pass beetween the two parts. Of course, with AT commands, I change the sound and don't put in HP mode : AT+CMUT = 0 AT+CLVL = 4 If I use Mobile Partner application, The voice are up. If I compare the AT log with mine, the two applications send the same commands. I think the voice data are not transmit to the audio systems(HP, microphone)
Excuse me for my bad english.
Thanks to help me !
|
|
|
|
|
Logged
|
|
|
|
maldihtah13
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 110
Offline
Gender: 
Posts: 4448
Everyday is a learning process so try to learn ;D
|
 |
« Reply #38 on: August 27, 2010, 12:27:13 PM » |
|
What kind of modem are you using? There are those that doesn't really support audio. There are those who has a mic and audio out port on the modem it self.
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
|
|
|
|
|
Logged
|
|
|
|
|