Ok, well lets get started. We need that log in screen and to get the basic look and feel. We alos need to figure out how to get a list of users from all os's 95 to xp.
Printable View
Ok, well lets get started. We need that log in screen and to get the basic look and feel. We alos need to figure out how to get a list of users from all os's 95 to xp.
The point of standards is so that all code, no matter who it's written by looks the same. If blindlizard write a piece of code, and I then go in there to either fix something or to add something, then I need to have some idea of the coding standards used so I can follow it. As I said before, it doesn't really make a diff, we just need to pick one or the other. I know that API standards and the defacto standard for constants is either ALL CAPS, or the same as variables, with a prefix of "k" -- BTW: Strict Hungarian notation is kstrConnectionString, vs CONNECTION_STRING. Take your pick.
The login screen will be complex to create... messing around with Controls.Add & subclassing at this stage. I suggest everyone download the VB6 ssubtmr DLL from http://www.vbaccelerator.com/ .
I don't like the k, so that is out. Lets just do CONNECTION_STRING, I don't think we will run into too many constants anyway.Quote:
Originally posted by techgnome
The point of standards is so that all code, no matter who it's written by looks the same. If blindlizard write a piece of code, and I then go in there to either fix something or to add something, then I need to have some idea of the coding standards used so I can follow it. As I said before, it doesn't really make a diff, we just need to pick one or the other. I know that API standards and the defacto standard for constants is either ALL CAPS, or the same as variables, with a prefix of "k" -- BTW: Strict Hungarian notation is kstrConnectionString, vs CONNECTION_STRING. Take your pick.
***?! Subclassing? WTH? Maybe we should sketch out what it should look like....Quote:
Originally posted by Osnr
The login screen will be complex to create... messing around with Controls.Add & subclassing at this stage. I suggest everyone download the VB6 ssubtmr DLL from http://www.vbaccelerator.com/ .
I mean... how complicated does it need to be?
Does this mean we have a consensus? And/Or a document?Quote:
Originally posted by blindlizard
I don't like the k, so that is out. Lets just do CONNECTION_STRING, I don't think we will run into too many constants anyway.
Hey Gnome, if you want you can go back through the posts and condense all the rules. As for subclassing, I thought I was the only one thinking that was way more than we needed. Glad to hear I am not.
Why don't we just build this as a stand alone app (no Windows networking stuff) first, then we can integrate the log in with windows. Lets go for the users that only have one windows user account.
I think I can do that..... will take me some time though......Quote:
Originally posted by blindlizard
Hey Gnome, if you want you can go back through the posts and condense all the rules. As for subclassing, I thought I was the only one thinking that was way more than we needed. Glad to hear I am not.
I think that's workable. Is just one person going to do this? And also, who wants to do it?Quote:
Originally posted by blindlizard
Why don't we just build this as a stand alone app (no Windows networking stuff) first, then we can integrate the log in with windows. Lets go for the users that only have one windows user account.
We need to subclass for one reason:
Each user will need to have a button, created at runtime. And how to get the buttons to work? I think subclassing will do it.
Do we need a shutdown button in the login screen?
Also, the standard command button isn't suitable. Take your pick for a replacement: Frame or PictureBox?
Can't you add a control at run time by making a control array? It has been awhile since I did interfaces in VB (I do web COM middle tier stuff now).
Also, I say picturebox for the log in icon
Hey, great idea!
Use a Control Array -- when possible, go the simplest way.
Picture box.
You mean the most resource-hogging way.
How is a control array resource hoggy?
The PictureBoxes are resouce-hoggy.
Then why did you ask???
Because PictureBoxes do more.
As far as standards go - I will follow what ever stantard you guys want. I have some preferences, but I haven't seen anything in the forum yet that I am absolutely dead set against.
BTY my SF name is cbond_007
Sorry about the odd name, but someone took cbond already, as well as three other 'online' names that I use.
Thanks.
Do you have a better idea then..... all we really need it to do is load a pic, and be clickable.......Quote:
Originally posted by Osnr
Because PictureBoxes do more.
And we are talking just a few users. It is not like we will have 6000 users and have to worry about resources. Just unload the form when they log in.
Here is an MSDN article on control arrays http://msdn.microsoft.com/library/de...trolarrays.asp Go to Adding Controls at Run Time
Hey does anyone else have their VBForums set to the yellow look? For some reason this thread shows up Blue now. hhmmm strange.
Here's a wild & crazy thought..... use a WebBrowser control, and display an HTML page where the images are clickable......
No, wait.... that may not work either......
No, we could build our own control out of a rich text box and a radio button.:D :D :D
Everyone's is now blue, and we have that ugly VBWire news list. Protest:
http://www.vbforums.com/showthread.p...postid=1316893
But the general vb section is still yellow
Let's leave, and discuss elsewhere. I'm beginning to feel that the forum owners don't care about VB Forums' users.
I'm not ready to leave just yet. This is still too good of a resource.
Doesn't bother me anyways.... I have a shortcut that takes me directly to View New Posts..... skip all the "main" page stuff...Quote:
Originally posted by blindlizard
I'm not ready to leave just yet. This is still too good of a resource.
If you feel that strong about it, we can move this over to my website..... but it's got it's problems too......
When the login screen works, we move. I'm not feeling that strong about it but it's developing...
Where has aafuss been? Is he still part of this or has Osnr scared him off?;)
He's still part of this - he shows up late at night (Aus. timezone difference). :)
Anyone for last-minute ideas?
Well, about button cotrols, I sugggest,to search for some at http://www,planetsourcecode.com. Anyway, should it be skninablke-say parents can choose a different look for the kidos destop and there should be a colourful oaint sttyle program.
Agreed
At this point we are still only working on the Login screen.... I'm not too worried about that being skinnable. Once logged in, then we can deal with that.
I am not too hip on skins. I like the theme idea though. We can do the themes with regular vb controls. no need for anyone else's crap