Icarius Posted August 18, 2006 Report Posted August 18, 2006 dupa cum stiti XP are niste controale mai frumoase. ati putut observa spre exemplu butoanele din XP sunt rotunjite putin si exista mici diferente la toate celelalte obiecte (textbox, option, checkbox, etc.)daca insa facem un proiect in VB toate controalele vor arata la fel ca inainte (Win 98 Style)iata un cum faceti ca proiectul vostru sa arate din asa:in asa:Pasul 1:Creati o fereastra si adaugati pe ea ce doritiapoi scieti urmatorul cod in ea:Option ExplicitPrivate Declare Function InitCommonControls Lib "comctl32.dll" () As LongPrivate Sub Form_Initialize()   InitCommonControlsEnd Sub Pasul 2:Salvati proiectul si compilati. (Ex: Project1.exe)Pasul 3: Mergeti in locul unde ati compilat aplicatia voastra si deschideti notepadulPasul 4:Scrieti in notepad urmatorul cod:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity type="win32" processorArchitecture="*" version="6.0.0.0" name="mash"/><description>XXXXXXXX Aici scrieti ce descriptie vreti XXXXXXX</description><dependency>  <dependentAssembly>    <assemblyIdentity      type="win32"      name="Microsoft.Windows.Common-Controls" version="6.0.0.0"      language="*"      processorArchitecture="*"     publicKeyToken="6595b64144ccf1df"    />  </dependentAssembly></dependency></assembly>Pasul 5 (f important):Salvati acest fisier Notepad cu numele aplicatie + extensia ".MANIFEST"(Ex.: Project1.exe.manifest ) - dc ati procedat corect fisierul capata iconita de DLL Rulati acuma aplicatia voastra...bft, Quote
Sad_Dreamer Posted September 2, 2006 Report Posted September 2, 2006 sau importati kewlbuttonz.ocx in visual basic si le faceti direct..much easyer @la checkbox nu shtiam :rushine: mersi icarius Quote