Layered Service Provider in vb6 - vb6

can anyone help me with techniques on how 2 write Layered Service Provider in vb6.
i am developing an application that will restrict site visited buy students in school library.
please i need algorithms, maybe code or tutorial. am already well grounded in winsock.
am developing on windows os first, maybe later unix or linus etc

A low-level system component such as an LSP would be quite difficult to write in a legacy langauge like VB6. Maybe you should consider switching to C++ or C#?
However, Komodia seems to have a lot of information and examples about this subject.

Related

Is it possible to develop the same application for Windows Phone 7 and Windows Mobile 6.x without much additional effort?

I have to develop an application for Windows Mobile 6.x and version 7 and my skillset is .net and web based. Since version 7 is not backwards compatible I am thinking that I will end up with a lot of duplicate work.
I had a look at Rhomobile and Phonegap but the later does not support windows mobile 6.x and the former would require ruby knowledge.
I thought that I could have as much logic in class libraries as possible and then "include as link" the classes into projects so that they can be compiled for the specific platform. I feel like I may end up with a lot of #if PHONE7 style logic in that case and also the user interface code would have to be implemented for each platform.
What is the most efficient way to solve this problem?
If you can separate the UI from the logic you can begin to multi-target. The other consideration is the runtime of the phone (Silverlight 4?) and the phone sandboxing giving you limitations.
MVVM Light is multi-targeted and is open source, you could use this to review how they tackled it:
http://mvvmlight.codeplex.com/SourceControl/changeset/view/d546dc69fffd
In short though, your "add as link" idea is pretty much the basis of it.
The other question to ask is will the application fit on both platforms? The usage style from mobile to metro is a big change. People expect things to behave a certain way and look a certain way on metro. If you can confine this to the UI and move as much logic out as possible, then you should be ok. But there will come a point where it isn't worth sharing, it is simply easier to duplicate.
Sorry for a lack of detail in this answer, to be honest it is heavily app specific. I would personally start with separate applications and refactor as commonalities appear, using a combination of linked code files and hash defines.
A cute trick... you can always make the classes partial and have a partial code file for each hash define:
MyBusinessClass.CF.cs
MyBusinessClass.Silverlight.cs

Is Adobe Air/Flash the easiest framework for advanced GUI development?

Excuse a non-developer being forced to develop applications instead of administrating networks like I'm used to. This is a horrible post in many ways.
I'm developing an application which has reached the point of needing a GUI. However, I haven't done any GUI development ever before, so I feel the need to ask for help on this.
The application is your standard data collecting/management app, with all common widgets and stuff that every application is using. The problem is that I need the application to be able to display websites using an external browser of some sort, to pass a captcha on the site the application works against. The website guys haven't given me permission to circumvent the captcha in any way.
I know of GTK, QT, Tcl/Tk etc. None of these frameworks have struck me as easy to use. To be honest, I'd like to design the interface using drag-and-drop like I used to do in VB6 when I was a kid, although I get chills thinking about writing this thing in Basic.
I was thinking about Adobe Air, and to design the application in Flash/ActionScript. From what I've learned about Air, I should be able to do everything I want to do. And I do believe it has built in sqlite, right? Would it be considered more "simple" to develop the actual GUI using Flash than using one of the traditional frameworks? What pitfalls am I facing?
A few guidelines:
It only needs to run on Windows
I need to be able to work against a database. Currently using SQLite3.
Some sort of browser integration is crucial. A browser window of some sort needs to open up inside my interface, be directed by the application, and the application needs to be able to read some data from the site that is being used.
Any help with this would be great. This is a clear case where I have to rely on the experience of others to complete the project at all. I'm happy to provide more information if you need that to make a suggestion.
You can always try Titanium Framework, it was aquired by Appcelerator nor so much ago. http://www.appcelerator.com/
It actually puts a webkit browser in a window, so if you can design HTML and CSS you can use this framework.

iTunes integration advice

I'd like to get some feedback and references to any useful resources related to iTunes integration on Windows platform from fellow developers experienced in that area. COM SDK vs. JavaScript API? What are the advantages and limitations? Any useful blogs or discussion groups? Any recommended outsourced vendors experienced in this type of work? What would be involved in developing an application with features similar to simplifymedia.com?
Any information on the topic is appreciated!
I built a WebForms app in ASP.NET on my workstation using the COM SDK. It was extremely easy and I would recommend using the COM SDK for compiled code or VBScripting.
I would use a JavaScript API if you're doing a simple web app or sidebar gadget or something like that.
The APIs are defined for different domains.
And from my experience with the COM SDK, using it was extremely simple and easy, but I was just doing something simple.

Windows 7 - What to expect from a developer's standpoint?

What features can I look forward to in Windows 7 that will:
Make my job easier as a developer.
or...
Make my job "different"(harder) as a developer.
I've been hearing a lot about performance improvements and a few UI effect enhancements, but nothing really about what development on Windows 7 will be like. Thanks.
Following are areas that are new:
multi touch API for developing touch based applications
new concept of 'libraries' for storing user specific data (similar to mydocuments)
Enhanced support for GPS and other such hardware
Office2007 Ribbon like user interface
Refer to http://windowsteamblog.com/blogs/developers/default.aspx for details.
The new sensors API will make your job easier, provided Microsoft can get enough people on-board with it. It should provide you a standard way to interface with things like GPS and light sensors, if you program with that kind of thing.
Very east to use and seamless Virtual PC is great for debugging and testing.
Touch is another new capability.
Feature list from Wikipedia.
To answer your actual question:
I don't think any of them are aimed at developers explicitly (such a tiny niche really).
For the begged "Features to use in apps" question:
I'd like to see lots of search extenders, jump lists, and those little "preview shortcut" button things (I have no idea what they're called).
Microsoft publishes an official Windows 7 Developer Guide.

Are there any good drag&drop web app IDEs out there that support AJAX?

Can anyone recommend a GUI builder tool for creating DHTML web apps using AJAX to communicate with a web service backend? I'd like to avoid having to mess around with designing HTML, marshalling/unmarshalling data, checking for browser compatibility, etc. The tool should have a library of widgets that can be put into an application and hooked up to functionality, and be extensible enough to be able to define custom widgets. Of course free and/or open source is preferrable but I would consider proprietary tools too.
Also to what extent does the choice of GUI tool affect what platform or language I would use for the backend? If the GUI is just calling a web service then I should be able to use anything on the server-side to provide that interface but maybe some gui-side tools use a proprietary data exchange format that requires some specific server-side code?
Edit: I don't need a widget that can be dragged, I want an IDE that allows one to build a gui easily (i.e. a RAD tool).
WaveMaker is open source, runs on J2EE.
If you're comfortable with Java, maybe you could try Google Web Toolkit? http://code.google.com/webtoolkit/
I'm using Wavemaker and it does exactly what are u asking...
It is really easy to use and very perfomant....
I believe Dreamweaver does some of this, but in my opinion such editors are not a good idea. They produce horrible, unmaintainable server-side code and are quite inflexible.
Wavemaker beats everything else I have used hands down. Applications can be developed rapidly, has drag and drop, can connect to any web service, and has unmatched database management tools. The only problem with it is that it has kept changing hands/ownership so much and its future direction is not clear.
Delphi for PHP from Codegear has some of this capability, but I would agree with ceejayoz that such tools don't necessarily make for nice code.
On Dan's suggestion I took a look at GWT. I'd heard of it before but never looked at it that closely and it seems pretty interesting. Certainly it takes away the annoyance of pixel pushing and making things work in multiple browsers. I also tried searching for "gwt rad tools" and came up with a couple of results:
Instantiations GWT Designer (commercial, $59/year)
Wirelexsoft Vistafei (still in beta but will have a free and a commercial version)
I'll take a look at these but if anyone's used something else let me know.

Resources