Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Exclusively for Visual Basic 6.0 Programmers Only!

Kindly visit this link bro. .

MDI Form

ganon lang pala yon.. hehe..

isa pang tanong..

sa isang form ay may isang button..
kulay ng form ay red at button ay blue..

gusto kong gawin eh invisible yung form(red) pero nakikita yung command button(blue)

nagawa ko kasi eh yung button lage ang invisible.. :help:
 
ADODB :wow: yun ginamit ko para malagyan ng username at password ang program na di-nefense namin :rofl: , patai imbakan ng mga data, and to avail the print na din :lol:
 
mga master,, tulungan niyo ko sa API.. yung mga functions.. :pls:
 
ganon lang pala yon.. hehe..

isa pang tanong..

sa isang form ay may isang button..
kulay ng form ay red at button ay blue..

gusto kong gawin eh invisible yung form(red) pero nakikita yung command button(blue)

nagawa ko kasi eh yung button lage ang invisible.. :help:

medyo mahirap ata yung gusto mong gawin na invisible form bro. . but i have found an alternative sa gusto mong gawin. .hehe i will share to you the irregForm.ocx which i've used in the project on the attachment below :)

hehe hope it helps. .


ZYB.jpg
 

Attachments

  • Sample.rar
    26.9 KB · Views: 188
Last edited:
kaw lang gumawa nung iregrorm.ocx??

:wow: halimaw ka talga sa VB.. :salute:

sana turuan mo ko sa mga API. :pls:
 
heto yung mga parameters sa SetLayeredWindowAttributes..

hwnd
[in] Handle to the layered window. A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.

· crKey
[in] Pointer to a COLORREF value that specifies the transparency color key to be used when composing the layered window. All pixels painted by the window in this color will be transparent. To generate a COLORREF, use the RGB macro.

· bAlpha
[in] Alpha value used to describe the opacity of the layered window. Similar to the SourceConstantAlpha member of the BLENDFUNCTION structure. When bAlpha is 0, the window is completely transparent. When bAlpha is 255, the window is opaque.

· dwFlags
[in] Specifies an action to take. This parameter can be one or more of the following values.
LWA_COLORKEY
Use crKey as the transparency color.
LWA_ALPHA
Use bAlpha to determine the opacity of the layered window.

hindi ko mainitindihan.. :help:
 
ano ba pinagkaiba ng Visual basic 6 sa 2005 at 2008??

kunwari gumawa ako gn code sa 2005 or 2008, pwede ko ba yun irun sa visual basic 6??

Between Visual Basic 6 and Visual Basic 2005 malaki ang pagkakaiba. for example error handling sa Visual Basic 6 kasi hindi totoong error handling ang nandun.

Like:

Code:
Dim calcResult As Double

On Error GoTo Hell:
    calcResult = 100 / 0
    MsgBox ("No Error")
    
Hell:
    MsgBox ("An Error has occured. " & Err.Description)

yung goto Statement kasi is parang go to this label lang, you still need to clean out the resources manually. while sa Visual Basic 2005 meron nang Try..Catch..Finally block to handle your program errors gracefully..

Isa pang major difference is object oriented na ang Visual Studio 2005 the way VB 2005 approach classes. search google nalang for more info. of course VB 2005 has a framework. haha.

kaya to new programmers, i HIGHLY suggest to use VB 2005/2008 on your projects if possible. Its enough to have a basic knowledge in VB6 naman eh. time to move on. its been fun VB6. :D

after a few years from now wala ng gagamit ng Visual Basic 6 except to maintain legacy applications. And Microsoft will stop support for VB6 after a few years na rin from now. i forgot, maybe 5 to 10 years yata. matagal na ni-note ng Microsoft yun eh.


-----
Haven't use VS 2008 kaya can't tell what's the difference nya sa 2005.
 
Last edited:
Between Visual Basic 6 and Visual Basic 2005 malaki ang pagkakaiba. for example error handling sa Visual Basic 6 kasi hindi totoong error handling ang nandun.

Like:

Code:
Dim calcResult As Double

On Error GoTo Hell:
    calcResult = 100 / 0
    
Hell:
    MsgBox ("An Error has occured. " & Err.Description)

yung goto Statement kasi is parang go to this label lang, you still need to clean out the resources manually. while sa Visual Basic 2005 meron nang Try..Catch..Finally block to handle your program errors gracefully..

Isa pang major difference is object oriented na ang Visual Studio 2005 the way VB 2005 approach classes. search google nalang for more info. of course VB 2005 has a framework. haha.

kaya to new programmers, i HIGHLY suggest to use VB 2005/2008 on your projects if possible. Its enough to have a basic knowledge in VB6 naman eh. time to move on. its been fun VB6. :D

after a few years from now wala ng gagamit ng Visual Basic 6 except to maintain legacy applications. And Microsoft will stop support for VB6 after a few years na rin from now. i forgot, maybe 5 to 10 years yata. matagal na ni-note ng Microsoft yun eh.


-----
Haven't use VS 2008 kaya can't tell what's the difference nya sa 2005.


naku,, dapat pala yung Visual basic 2005 or 2008 na lang gamitin ko.. kaso sa school kasi eh VB6 pa din eh.. hehehe
 
haha ganun bah? :( so maybe its time to move on na nga. .gusto kong matuto ng .NET kaso walang gusto magtutor. .hehe

@Verbal, meron ka bang links ng VB 2005 Express?
 
hehe kaya nga ang thread na eto ay para lng sa VB 6.0. . at hindi para sa .NET :ranting:

anyways, guys sinong may alam dyan kung papaano madisable yung Windows Key? hehe need lang talaga para sa security program. .
 
Last edited:
Walang gustong magtutor sa kin ng mga API FUNCTION sa VB.. :weep: :thank: na lang..
 
ito po gusto ko malaman

hwnd
[in] Handle to the layered window. A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.

· crKey
[in] Pointer to a COLORREF value that specifies the transparency color key to be used when composing the layered window. All pixels painted by the window in this color will be transparent. To generate a COLORREF, use the RGB macro.

· bAlpha
[in] Alpha value used to describe the opacity of the layered window. Similar to the SourceConstantAlpha member of the BLENDFUNCTION structure. When bAlpha is 0, the window is completely transparent. When bAlpha is 255, the window is opaque.

· dwFlags
[in] Specifies an action to take. This parameter can be one or more of the following values.
LWA_COLORKEY
Use crKey as the transparency color.
LWA_ALPHA
Use bAlpha to determine the opacity of the layered window.

di ko maintindihan..

Const LWA_COLORKEY = &H1
Const LWA_ALPHA = &H2
Const GWL_EXSTYLE = (-20)
Const WS_EX_LAYERED = &H80000

kapag kasi pinalitan ko y ung &H2 ng &H4 eh transparent na siya totally.. gusto ko malaman yung flow ng program na to.. :weep:

pati yung ibang Const..
 
ito po gusto ko malaman

hwnd
[in] Handle to the layered window. A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.

· crKey
[in] Pointer to a COLORREF value that specifies the transparency color key to be used when composing the layered window. All pixels painted by the window in this color will be transparent. To generate a COLORREF, use the RGB macro.

· bAlpha
[in] Alpha value used to describe the opacity of the layered window. Similar to the SourceConstantAlpha member of the BLENDFUNCTION structure. When bAlpha is 0, the window is completely transparent. When bAlpha is 255, the window is opaque.

· dwFlags
[in] Specifies an action to take. This parameter can be one or more of the following values.
LWA_COLORKEY
Use crKey as the transparency color.
LWA_ALPHA
Use bAlpha to determine the opacity of the layered window.

di ko maintindihan..

Const LWA_COLORKEY = &H1
Const LWA_ALPHA = &H2
Const GWL_EXSTYLE = (-20)
Const WS_EX_LAYERED = &H80000

kapag kasi pinalitan ko y ung &H2 ng &H4 eh transparent na siya totally.. gusto ko malaman yung flow ng program na to.. :weep:

pati yung ibang Const..

talaga inaaral mo ng mabuti yan bro.
go! kaya mo yan. di ko rin kasi alam yan eh.

tsaka isa pa, para san ba yan bro? yan ba ung may fading effect?

may naisip ako ibang paraan bro, gagamit ng flash. hehe
 
pano mag auto increment ng number sa data report using vb 6

like this

No. Names
1. James
2. John
3. Jacob
 
Back
Top Bottom