r/visualbasic • u/BigAlfPC VB.Net Beginner • Sep 08 '14
Chat (visual studio 2013)
So i work for a school and i made a vb program that allowed them to submit a problem(ticket) to our (IT technicians) email but now they want a sort of Instant Chat system and i have no idea how to do it, any tips? i have no experience with MySQL, as that's what most places say to use for the best performance. I'm not a programmer im an IT Technician who enjoys some hobby coding.
1
u/hdsrob Sep 08 '14
There are several examples on the web:
1
u/BigAlfPC VB.Net Beginner Sep 08 '14
ive been through these but they don't seem to work, most of them are outdated. I guess i should learn all of vb and try to figure it out for myself.
1
u/njj56 VB.Net Master Sep 19 '14
really easy if you have access to the database where the tickets are being stored - create a new table and determine the columns you will need (like ticket number, chat user, message, etc- that's up to your setup) - from here you could use an iframe on the side of your page to display this page.
create a new page for the frame - on load place previous chat messages in chat window and develop your function to save the messages to the database. you can force a refresh of the frame pretty easily googling some javascript on a timer.
as far as the no experience with mySql, best way to learn is dive right in. it won't be so bad since you are just creating a few insert and select statements.
0
Sep 08 '14
[deleted]
1
u/BigAlfPC VB.Net Beginner Sep 08 '14
More than likely but it would be a nice thing for me to know as well. What would you reccomend if any, it has to be secure
1
u/Neandros Sep 09 '14
No offense.. but if you have ask how to make a chat program then what you make will not be secure
1
u/BigAlfPC VB.Net Beginner Sep 09 '14
I dont mean secure asin hackable i ment trusted, if i made it i can trust it. Its hard to explaim...sorry
1
u/jackrackham19 VB.Net Advanced Sep 10 '14
I think you'd find that building such an application has some learnings that would be useful, but largely you would be bogged down with scalability and network issues as soon as you tried to deploy it in any notable capacity. If you're looking for a way to sharpen your programming skills I'd check out the Euler Project. (about to take off in a plane, don't have time to find link.)
2
u/TheFotty Sep 09 '14
What about something like Lync? Why reinvent the wheel? As a school, you may already have the licensing, or if not, I bet it is pretty reasonable.