View Full Version : The more I add, the more it goes wrong!!
4090987414711
06-14-2007, 06:02 PM
Hi all!
Im trying to make an app to display specific system info, such as user name, registered usre & organisation, ram installed, OS version etc, it all worked at 1 point, but since I keep adding more bits, more refuses to work, the script looks all a mess now to me and I am slowly losing the will to carry on with this project, so can someone please look over it for me and help me sort out the mess?
thanks in advance to all that reply & help :) :yes :yes :)
jfxwave
06-15-2007, 04:21 AM
I think you wanted this?
4090987414711
06-15-2007, 04:54 AM
OMG, thank you so much jfxwave, this is exactly what I wanted, thanks again :)
I guess it was 2 late at night for me to think properly to come up with it! ur a * :)
4090987414711
06-15-2007, 01:26 PM
Right, have done more to it, but at the moment I only have 2 problems stopping me from completing this project, them being are, 1 probably the most easiest, I cannot get it to write the answer to the text file if user has admin rights ( is highlighted on the save file button), sorry but I have put every reference I could think of, but none have worked so far...
Next, probs the most difficult(I wish i was more expierienced with these things!!) anyway, I have a button to email the company the tech file as an attatchment, I have used:
File.OpenEmail("my.email@myisp.com?&Subject=New tech file has arrived!!!&Body=Please find attatched the requested Tech file for us to analyze", SW_SHOWNORMAL);
but it opens in my default email client, but most of the customers dont have email clients, just webmail, so I need a way this will work automatically, so when the user clicks the send email button, it will immediately send to the company email address following the info set by the company, like their email address, custom subject & body etc so the end user cant change anythin and its almost a "silent send email" if it is possible at all.
I hope there is someone that can help me once more! :)
jfxwave
06-15-2007, 07:40 PM
This is the only thing i know of to send mail on anyones computer. You have to get the xSMTP.dll for this to work and place it in your docs folder. just type in xSMTP.dll in the search and you will find it.
RizlaUK
06-16-2007, 04:56 AM
dude, xSMTP.dll is not a freeware dll, amd im not sure that its author will appreciate it being freely posted in the forum like this.
jfxwave
06-16-2007, 09:04 AM
Oh crap i thought i removed it, thats why i told him to look for it. Ok sorry about that i removed that file and here is the project without the dll
4090987414711
06-16-2007, 01:30 PM
hi!
I have actually purchased xSMTP.dll and just so there are no issues with me using someone else's version, I have replaced it with my own xSMTP.dll so I guess now Im totally legal again lol
But I still cant get the email thing to work, this looks very promising, but my client needs the program to send the email nearly instantainiously (if thats how its spelt lol) with very little user input, so when an error occurs, this dialog comes up, the user saved the techsupp.txt file and then it gets emailed straight away, say with 1 click of a button or something... are me and my clients in "wishfull thinking" land that it could be that easy?
Sorry for being a pain, but we both have a passion for making things as perfect as possible in as little time as poss, because as we all know, time IS money lol!
4090987414711
06-16-2007, 02:42 PM
right, so Ive re-thought this part of the program, and to make it easier to understand, Id like it to work exactly or as closely as possible as Microsoft's Error Reporting thing, so when u get an error, a dialog pops up, and asks you to send the report. am I banging my head against a brick wall here? if it cant be done, then I will have to abandon that aspect of it.
jfxwave
06-16-2007, 08:07 PM
Ok i think i know what you want. You must fill everything out in the "Email tech file to us!" button. this will hard code all the smtp settings and they will not have to type anything in, just click "Email tech file to us!". Remember they will not be able to change who there sending it to and anything they want to add (comment) with it...
4090987414711
06-17-2007, 04:24 AM
hi! this is much better, apart from as I am using gmail/googlemail (which ever they wanna call themselves now lol) I need SSL to connect, is this possible or will I have to use a different email service to test it? I have tried to change the SMTP port to 465 but it says connecting for a while, but dont send lol!
But honnestly jfxwave, I cannot thank you enough for all your help! :D
4090987414711
06-17-2007, 05:47 AM
Gmail needs SSL, hotmail I cant seem to find the SMTP port number for, and I dont have any ISP email, so basically Im stuffed lol!
Also, can I edit the script to get rid of the dialogs, I dont really need that, just maybe a confirmation if the email has sent at the end of it lol
jfxwave
06-17-2007, 07:42 AM
You can go here http://www.runbox.com and pay 50 a year for a pop3 address. But please check to see if all will work (i think it will) If you decide to get it let me know and i will setup the settings but you have to put your password in.
4090987414711
06-17-2007, 12:12 PM
Thanks for the info, but Imma pass on it thanks, I have way 2 many email addresses as it is, but if the xSMTP cant provide SSL, then I will have to abandon the email part, would there be any other way for AMS to send things other than by email? like sorta submitting to a website or something for only my client (and also me for testing) to download and view?
RizlaUK
06-17-2007, 03:34 PM
would there be any other way for AMS to send things other than by email?
take a look here
http://www.indigorose.com/forums/showthread.php?t=9454&highlight=send+email
4090987414711
06-17-2007, 04:58 PM
thanks, but I have looked over this already but it dont allow attatchments, and I need to attatch 2 files to send, 1 being the techinfo file, and another is a text file with a unique name each time, like a sort of "ticket" if you will!
the other style was the closest to my needs, but I need an email address that dont require SSL, or a dll like xSMTP with the SSL option!
but thanks anyways :D
4090987414711
06-18-2007, 05:16 PM
Come on PLEASE people, Ive tried & tried till Im sick of the project, but it HAS to be completed by wednesday at the latest, and the email still dont send :(
RizlaUK
06-18-2007, 06:35 PM
well if you cant send attachments and the files only contain text, why not send the text contained in the files as the email body ??
or open another email account that dosent need ssl and pop the mail from your present email ??
jfxwave
06-18-2007, 09:04 PM
Ok i setup a temp pop3 email addy ams@tap-n-go.com and set this up to email from that but you still need to put your xsmtp.dll in the docs folder to work. I will leave this email for 2 or 3 days.
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.