dear all,
hi everybody :wave: , my name is Ferry (funny name huh? :blush: ).
i'm from Jakarta, Indonesia.
i need a help on using WinAPI.
how can i get a tutorial for using winapi?
is there anyone has that tutorial?
Printable View
dear all,
hi everybody :wave: , my name is Ferry (funny name huh? :blush: ).
i'm from Jakarta, Indonesia.
i need a help on using WinAPI.
how can i get a tutorial for using winapi?
is there anyone has that tutorial?
Go to allapi.net and get their free api guide and viewer :)
thanks for your suggestion, WizBang, and nice to meet you.
yes, i'm already visit that site, but i didn't found what i'm looking for.
i need more explanation about api, like: how it work?
for example, to make a control like textbox with event mouse hover, needs a sequence api instructions, and i want to know how to determine that sequence, why we use those api not the other api.
If I understand your questions correctly, I would say that it comes with experience. Typically, the more you learn, the more solutions you find for any given task. You may wish to take a look at several examples on PlanetSourceCode.com to become familiar with various techniques.
thank's again WizBang.
That's a great site.
But i still confuse, where i should start to learn those api?
And i've got something else to ask.
How can i make an user control with data source, data field, data member properties like one on the textbox control?
And another question, how to make a property like List property on ComboBox control, i mean, we can fill the item on the property explorer.
You should start reading.
For example:
ActiveX:
http://msdn.microsoft.com/library/de...components.asp
Building Ocx:
http://msdn.microsoft.com/library/de...lecontrols.asp
and specifically on property:
http://msdn.microsoft.com/library/de...properties.asp
...and so on...
Abou api: start Api-Guide and take a look at infos and examples...
As far as I have seen, there is no way to do this with a vb UserControl :( However, you can use Property Pages to make it easier to set more complex properties.Quote:
...And another question, how to make a property like List property on ComboBox control, i mean, we can fill the item on the property explorer.
hey, long time no see ...
thanks a lot to WizBang and Cimperiali.
as usual, i have another question:
- how can i get all computer name that connected to me?
- how can i know that computer has an instance of sql server or not?
thanks.
scan the range of ip addresses local to you, and attempt to connect to port 1433.. that's sql serverQuote:
Originally posted by LeonX
hey, long time no see ...
thanks a lot to WizBang and Cimperiali.
as usual, i have another question:
- how can i get all computer name that connected to me?
- how can i know that computer has an instance of sql server or not?
thanks.
to enumerate sql servers use NetServerEnum API function (it can be use to enumerate other type of servers as well), try this link:
http://www.codeproject.com/useritems/listsqlservers.asp
thanks to cjard and Luthv.
i have another questions again.
- how we can get computer id#?
- how we can get time from server?
thanks.