₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,403 members, 8,421,760 topics. Date: Saturday, 06 June 2026 at 11:56 PM

Toggle theme

Parosky's Posts

Nairaland ForumParosky's ProfileParosky's Posts

1 2 3 4 (of 4 pages)

ProgrammingRe: What Are Scripting Language And Development Language? by parosky(m): 3:48pm On Jan 23, 2007
They are not scripting languages. Because they are both compiled and interpreted. VBScript is their scripting brother. Well,
ProgrammingRe: Oop: Encapsculation,implementation And Abstraction What Are They? by parosky(m): 10:56am On Jan 22, 2007
Imagine you work in a canteen in the stew making unit, you have your recipe(CLASS) for making stew. Your colleague who is in pounded yam making unit also have recipe for pounded yam. Same goes for every other unit. Once all the units have done their jobs very well, all the waiters need to do is get their trays, go to pounded yam unit , get 2 wraps (OBJECT) of pouded yam for a customer, go to stew making unit for a bowl of soup, meat making unit for 3 pieces of meat. The waiters don't need to know the various steps taken in pounded yam unit to get things done. That is, the complexities of how they (pounded yam unit) get things done is hidden from you guys in stew, soup, amala, eba making unit. This is ABSTRACTION.

In pounded yam unit , they get raw yam, peel it cook it, pound it,and so on but it is not your concern. They add water if they think it is not soft enough for good eating but you don't need to know that. By the time the finish their job, you won't have the opportunity to peel yam, cook it, pound it (controlled by FIELDS, PRIVATE, MEMBER VARIABLES). But you can open the wrap, take a bolus, mold it, check the softness, put it in stew, swallow it. In short you are able to interact with pounded yam (through it's PUBLIC MEMBERS - PROPERTIES and METHODS that was exposed , in this case the pounded yam itself) without knowing how  it's prepared (or it's IMPLEMENTATION) but not with it's fundamental preparation process because it has been ENCPSULATED. 

Does Abstraction and encapsulated look like the same to you? Well they really are not but close enough.
ProgrammingRe: Pls Need Help With Vb6 And Databases by parosky(m): 12:27pm On Jan 20, 2007
@dag
How far? Good to see your contribution.

On error resume next may not be too good. On Error GoTo is better so that known errors can be handled in a magnificient way. some thing like

sub AddNewItem
On Error GoTo AddNewItemError

myrs.addnew
'perform add operations here
myrs.update

exit sub

AddNewItemError:
set myRs = nothing
msgbox err.Description & ". An error occured. Item not yet added" ' a user friendly error message

end sub
ProgrammingRe: Pls Need Help With Vb6 And Databases by parosky(m): 2:30pm On Jan 19, 2007
Yes you are on track now. But learn to use sql to interact with your database. Thats the gold standard.
ProgrammingRe: Pls Need Help With Vb6 And Databases by parosky(m): 5:09pm On Jan 18, 2007
Your recordset object has a delete, AddNew, Update methods for you to use. Find out about them

Private sub SaveData
  myRs.Addnew                              'to be called  to add a new record
  LoadDataIntoRecordset               'your routine to update copy buffer
  myRs.Update
end sub

Private Sub DeleteEntry
myRs.Delete
myRs.MoveNext
End Sub

Need more explanation?
Tech JobsRe: School Management Software! Anybody? by parosky(m): 4:58pm On Jan 18, 2007
@DiJuice
Contact parosky1@yahoo.com
ProgrammingRe: Programming In Ms Visual C++ And C++.net Does It Make Me Ms Mrs? by parosky(m): 3:20pm On Jan 18, 2007
ProgrammingRe: Java Instsllatin 5/e by parosky(m): 3:07pm On Jan 18, 2007
jdk1.5 you mean? Which O/S are you installing on?
ProgrammingRe: Pls Need Help With Vb6 And Databases by parosky(m): 12:52pm On Jan 18, 2007
Don't worry it will work

1. Drop an Adodc on a form
2.Click the ellipsis next to the ConnectionString property in the ADO Data Control’s Properties window to bring up the Property Page dialog box for this property
3. On the page that opens, select "Use ConnectionString" then click the Build button to bring up
the Data Link Properties tabbed dialog box.
4. On the Provider tab of the Data Link Properties tabbed dialog box, choose an OLE DB data provider, such as Microsoft Jet 3.51 OLE DB (for office 2000) depending on which version of office you are using. If you have office 2003 you'll choose Microsoft Jet 4.1 OLE DB.
5. Then click OK
6. Then on the Connection tab select the path to your access db and click on a button "Test Connection". It should tell you that you are successful.
I assume you know how to bind your controls to a Adodc, which you should now do.

Let us know how far.
ProgrammingRe: Programming In Ms Visual C++ And C++.net Does It Make Me Ms Mrs? by parosky(m): 10:57am On Jan 18, 2007
WINdows Emulator. You use it to run windows apps on Linux.
ProgrammingRe: Pls Need Help With Vb6 And Databases by parosky(m): 10:51am On Jan 18, 2007
@adewaleafolabi
That is not true. VB6 connects to any database, any access db. The problem may be that you specified the wrong jet engine in your connection string. Access 2003 uses jet 4.1 as against 3.1 and I think 2.5 of earlier versions.

Shimao has done a good job connecting you with ADO control. But if you are a serious developer and want greater flexibility, learn to code directly against the ADO object. Ask if you want to know more or get a book.

Also retrieve your records using sql Update, Insert, Select and Delete commands. It's a lot better.
AdvertsRe: Desktop Pcs At Give Away Price by parosky(m): 3:45pm On Jan 16, 2007
Give the configuration of your PCs. Sounds like they are fairly used
ProgrammingRe: Looking For Dictionary Api by parosky(m): 4:19pm On Jan 12, 2007
What do you mean by "dictionary api"? huh
You want to programme a dictionary of words and looking for help?
Or you want to know how to use Dictionary - a collection of types
ProgrammingRe: How Can I Practice Programming on My PC? by parosky(m): 1:34pm On Jan 09, 2007
@smano
You chose 2 of the most widely used languages in the world. I think you should start with them before any other language anybody may suggest to you.
VB 2005 is the latest version of VB, better get that than VB6. It has a free though a bit tempered down version is good for most(?) intent. You can download from here
http://msdn.microsoft.com/vstudio/express/support/install/

Download the latest version jdk6 (for java) from here
http://java.sun.com/javase/downloads/index.jsp

You can get enough help from people of this forum. Now you are the only one stopping yourself
ProgrammingRe: BASIC Fosters Bad Programming Practices by parosky(m): 2:44pm On Dec 29, 2006
That is true with it's traditional branching style, error handling, using a variable without declaring it, poorly implemented OOP techniques just to mention a few. But Have you checked the latest versions of Visual Basic, most of these have been eliminated. This shows BASIC is maturing.
ComputersRe: New Cafe by parosky(m): 10:47am On Dec 14, 2006
@Harvey
I wonder what is so extra ordinarily important or confidential in your response that would necessitate wasting his money calling you or or his time sending a special email. Why would he come to nairaland in the first place?

@Eddielag
I suppose the main reason efcc will be hunting cybercafes is becase internet frauds are being perpetrated in them. That means when opening yours, you'll have to find a way to address this.
Cybercafes may also be closing down if unprofitable. These may stem from bad ISP, management among others.
ProgrammingRe: Vb Is Killing Me? by parosky(m): 8:30am On Dec 08, 2006
andre5
You are not the first time I heard this comment about those website esp. xpressiosz but I have a load of materials I downloaded from these sites and I don't have a premium account.

adewaleafolabi
Sorry about your hard disk. Hope you don't have a lot of stuffs on it. I heard people say seagate crash more often than other brands.
ProgrammingRe: Vb Is Killing Me? by parosky(m): 3:52pm On Dec 07, 2006
Codes written for .net platform does not run on Linux but I think an emulator can help in that regards. I've not tried it though, and not very sure as my works on Linux is mainly with java So I don't bother any other OS with windows things.
If you are so particular about interaction between .Net languages and Linux, you can google "mono" to know more

For VB express, try using a download manager so that it will not be very frustrating. OR I can burn it for you if you have a blank CD but I'm in Abuja.
ProgrammingRe: Vb Is Killing Me? by parosky(m): 12:09pm On Dec 06, 2006
adewaleafolabi
VB6 sure has some shortcomings but they really didn't impact much on it's strength. But vb2005 rub shoulders with the best language in the world. For Rapid Application Development, there is yet to be a language like VB. I know you like open source stuffs. Try www.sharpdevelop.com for an open source alternetive to microsoft VB IDE. You'll need .Net framework 2.0. Microsoft also has a free but a bit watered down VB studio on their web site. You won't miss the features left out unless you are developing in a team or you want to make a custom control. You can make VB your 2nd (or 3rd) language.
ProgrammingRe: Vb Is Killing Me? by parosky(m): 9:54am On Dec 06, 2006
Keep at it brother. If you consider the power it gives you and the ease of leaning together, you are probably on the best programming language. If you can let me know the part you have problem with I can check for some of my collection that treated it very well for you. There is no programming language that should trouble anybody that can read and write english language

You can check these websites for materials

www.xpressionsz.com/archives/category/programming/page/1
www.ebooksportal.org/category/it-ebooks/net/page/1
ProgrammingRe: Java Programming For Dummies by parosky(m): 2:01pm On Nov 16, 2006
Don't suppose you are teaching Gbenga alone.

The second class will fail because age was declared to be an instance variable and an instance of the class has not been created. A static method apply to every object of a class( it is called shared member in VB)

This should work?

public class Testing{

public Testing{
public int age = 3;
}

public static void main (String[] args){
System.out.println( age);
}
}
Tech JobsRe: Windows Server 2003 Service Pack 1 by parosky(op): 11:37am On Nov 07, 2006
Any one has Windows Server 2003 service pack 1? I need it real badly and I'm having a terrible time downloading it. Whoever can help pls. parosky1@yahoo.com
Tech JobsWindows Server 2003 Service Pack 1 by parosky(op): 11:37am On Nov 07, 2006
Any one has Windows Server 2003 service pack 1? I need it real badly and I'm having a terrible time downloading it. Whoever can help pls. parosky1@yahoo.com
ProgrammingRe: Need A Premium Account by parosky(m): 4:43pm On Nov 05, 2006
Just scroll down on that page and click on free. Though it has some restriction but it will work. You won't really miss not having a premium account if you are patient.
Mean while in case anyone has and can share, I won't mind also.
ProgrammingRe: Cost Of Software Enterpreneurship Programme? by parosky(m): 12:39pm On Oct 27, 2006
@Geolalisa

I have very little doubt you know what this software entrepreneural programme or "gini" is all about.
Let them give you their curricullum so that nobody will use big grammar to give you (trick you into) what you are not looking for. That title sounds (to me, though) more like a business thing, not an option for someone looking forward to programming in java (or any other language for that matter).
ProgrammingRe: Tutorials On Vb6 by parosky(m): 11:00am On Oct 25, 2006
ogbon:
I need someone who have vb6.0 tutorials,i had some problems in my program
Is it a book? If those books you presently have can not bail you out of a problem, i think it's time to ask someone for solution, rather than looking for more books. Sure some guys here can help.
ProgrammingRe: Where Can One Learn Vb.net Cheap And Fast In Lagos by parosky(m): 4:51pm On Oct 12, 2006
@PHOLA, obawale,kelewax
Sorry guys for the delay. The book is one of my favourite and is not really for beginners. It is in your mail by now(kelewax, I'm not too sure, gmail may bounce it) Let me know if you got it. If you have a visual studio you'll get the most benefit from this. If you really want something "stupidly simple" for the beginner let me know, but I doubt if you will really see the beauty of vb2005 and .NET framework in their full splendour in this.

If you need an open source studio for .net 2005 check www.sharpdevelop.com
It is free and a good alternative to microsoft visual studio which may not be free (except the express edition or you get your stuff from ?Ikeja) It supports VB.net and C#,
ProgrammingRe: Where Can One Learn Vb.net Cheap And Fast In Lagos by parosky(m): 12:33pm On Oct 04, 2006
@kelewax
gmail will not deliver an attachment up to 5.74 Mb, provide a yahoo email
VB2003 is OK but VB2005 is better as the difference is considerable. So you won't need to start thinking of moving later on (soon).
ProgrammingRe: Where Can One Learn Vb.net Cheap And Fast In Lagos by parosky(m): 12:30pm On Sep 26, 2006
@ANDSTEL
Sorry for the delay Had a rough time attaching the stuff. My internet connection has been miserable lately, but I got it through eventually. The book is one of my favourite, it is a .rar archhive file so get winrar, powerarchiver or 7-zip to uncompress it. If anything is not clear, post it here for help.
ProgrammingRe: Where Can One Learn Vb.net Cheap And Fast In Lagos by parosky(m): 1:30pm On Sep 22, 2006
@ANDSTEL

What's your email address, I'll send you a book good for a ?beginner. It is a .rar file and you'll need powerarchiver  http://www.powerarchiver.com/download/ or 7zip   http://www.7-zip.org/download.html  or any other archiver to open it.

Mean while you may read something about .Net framework at 
https://www.nairaland.com/nigeria/topic-20424.0.html
ProgrammingRe: Who Writes In Basic? by parosky(m): 4:30pm On Sep 21, 2006
No .Net does not mean it will need internet to run, though .NET waswritten with the internet on mind. It makes it web easily accessible from your desktop application

Read this about .NET Framework. Sorry I can't go into much detail now, may be later but this is the basic

You know Microsoft is interested in being a dominant force in the world of computing, so they can not stand anybody out-doing them. Seeing java has a lot of appeal to people because of it’s pure object orientation and cross platform portability once you have the java virtual machine installed, they probably hope (personal opinion) to be able to get a kind of platform that will be so fundamental and core to their O/S that will give access to the same objects and functions in a similar way and offer comparable performance for different programming languages. Windows API prior to .NET were written in C, so do not provide an easy access from all programming languages. Also calling API comes with some problems with C data types used. So they thought of .NET. So .NET is the future of Microsoft and we will do well go along with them, at least for now.
Their flagship programming language VB6 has been bashed by programmers for (among other shortcomings) being not fully object oriented. So it was literarily thrown away and new programming languages built from top down on .NET framework - VB2005, C# (you’ll think you are writing java).

The .NET principle is well illustrated by the diagram below.



.NET framework consists of the common runtime library (CLR) sits directly on top of Windows O/S.—it is the engine that drives key functionality. It includes, for example,
(i) A common system of data types. These common types, plus a standard interface convention, make cross-language inheritance possible. E.g a class/app in VB can inherit / reference a class written in C# or C++ without even knowing the language in which it is written.
(ii) Allocation and management of memory, the CLR
(iii) Reference tracking for objects. There is usually a conflict among different versions of DLL stored by various installed applications when referenced in traditional windows programming. An app may not know which version to use. But .NET addressed this DLL Hell in that there will always be a single “copy”
(iv) CLR monitors your variables and handles garbage (variables without any reference) collection. This will free resources for re-use



The next layer includes the next generation of standard system Services such as classes that manage data and Extensible Markup Language (XML). These services are brought under control of the Framework, making them universally available and making their usage consistent across languages. It somehow reduces the lines of codes you’ll need to write, but your knowledge of OOP must be sound, at least to a level, to get the full benefit of al these.
Class libraries are organized into namespaces that make referencing them easy and unambiguous. Having the libraries as part of the .NET Framework simplifies deployment of .NET applications. Once the .NET Framework is on a system, individual applications don’t need to install base class libraries for functions like data access.
Programming languages use the same set of classes so codes of .net programs are compiled first to the same Intermediate language (IL) before they are run.

The last layer comprise of your programming languages, which sits on and uses the same class libraries. The differences between .NET languages are merely superficial as they are compiled to the same IL, a look at their code readily disclose a lot of similarity in their style, just differing in syntax.
ProgrammingRe: Going Into Programming by parosky(m): 12:12pm On Sep 21, 2006
@Spade!!!!!!! shocked
5.6GHz probably refer to processor speed that must be out of this world. Most people will likely not have anything beyond 2.4GHz. Right click on My Computer and select properties then copy the configurations on the General tab for us to see. A 5.6GHz processor should install any software in 2sec. huh
How about your RAM?

The VB2003 I installed is not even a pirated copy, and is OK. My processor is just 1.13GHz

1 2 3 4 (of 4 pages)