wmhafiz 0 Report post Posted May 7, 2004 Aku still baru dlm vb.net nie, nampak interesting b'banding vb 6.0. Aku ader 2 soalan :1. Camner nak connect ke database. Aku nak connect access guna oledb jer!! Nak kena coding ke utk connect ke database & recordset2. Aku nak wat form aku tak blh moveable. Aku dah wat form tu locked, tapi aku still boleh move kan aku punya form tu!!Harap ader yg dpt tlg!! Aku tgh semangat nie!! Quote Share this post Link to post Share on other sites
mohdfadly 24 Report post Posted May 8, 2004 1. Camner nak connect ke database. Aku nak connect access guna oledb jer!! Nak kena coding ke utk connect ke database & recordset Contoh kod untuk connect database melalui OLEDB:http://planetsourcecode.com/vb/scripts/Sho...de=tp%2FV646321 Quote Share this post Link to post Share on other sites
DevGuy 0 Report post Posted May 11, 2004 ok. kalau nak connect ker database ada banyak cara.1. samader guna wizard2. guna codingaku kasi ko guna wizard lahh..mula2 click kat toolbar data. lepas tu drag and drop oledbdataadapter ker form. lepas tu akan kuar satu wizard utk pilih database mdb. so kat situ pilih laa.lepas tu ada sql builder kalau nak buat sql. and last sekali dia akan buat kan oledbconnection.kalau nak browse data lak kena la generate dataset. kalau nak generate just click kat control oledbdataadapter tu. so katy properties dia ada menu generate dataset an so on. so just click kat situ.ada satu lagi cara open new project. leps tu right click kat project tu and choose add new item.under that u select dataform wizard. ha lepas tu ikut jer la apa dia nak.okand what do you mean by moveable.ko tak nak form tu jln2 ker atau nak form tu stay kat situ jer..hmm anyway tak pernak lah org buat cam tu. biasanyer samader org tak nak resize, lepas tu nak kat tgh2 screen. anyway depend on end user. the best thing is user interface..anyway explain about moveable..oklahh happy programming.kalau nak best lagi use la vs.net 2005..very cool development tool i ever doo.. really2 nice and easy then before.. oklahhgoodiesss and luckiess Quote Share this post Link to post Share on other sites