VB "CE" control to send file to internet address?

I have written a Visual Basic "CE" program on an H/PC Pro computer.  Output from the program (simple text) needs to be sent to an email address.

Currently I write the text to a DOS file, then quit my app and manually send the DOS file as an email attachment using the Microsoft "Inbox" program.

I want to eliminate this manual step and send the DOS file (output) directly to the internet address.

Recently I wanted to solve a similar problem with my printer and someone recommended I checkout a third party printer control from Field Software Products.  I did and that solved the problem.  Now I just easily and quickly print whatever I want directly to the printer without a lot of coding and limitations.

I want to find a similar way to send output over the wireless modem as easily as I now do with the printing process.

Any help would be most appreciated.

Thank you,
EYoung
eyoungAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Erick37Commented:
"The SMTP component is used to send Internet mail using the SMTP protocol (the Internet mail standard)."

http://www.dev-soft.com/ctl_SMTP.htm
0
eyoungAuthor Commented:
Eric37,

Good to hear from you again.  It looks like the product may meet my needs, but I have sent off some questions to them first to find out.  It may be a while until they respond.

Thanks again for your responses.

Regards,
EYoung
0
AnswerTheManCommented:
there is the EasyMail OCX control.
i would send it to you but it's ZIP file encluding the BIG help is about 1.6MB, so try search for it on the net.
it is QuickSoft product andd can D\L.
try : http://www.quiksoft.com/easymail 

the regular mail functions have VB regular interface. to make attchments - there is a DLL that you should Declare and use as you use any API.
it's all explained in the Help.

   
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

eyoungAuthor Commented:
Eric37,

I think your suggestion of using the SMTP component will be the best solution for my project.  It sounds like it will be as simple to use as the printer solution you proposed.  Thanks for the suggestions.  Please convert your comment to a proposed answer and I'll pass on the points.

Regards,
EYoung
0
Erick37Commented:
Glad to help :-)
Thanks.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eyoungAuthor Commented:
Erick37,

Thanks.  I am submitting another question about ComboBoxs.  Should be viewable in a few minutes.  Would you please answer it if you have any ideas?

Regards,
EYoung

By the way, when I start up Visual Basic, some of my forms are initially shown in the development window as small.  Even if I maximize them all and save the project, the forms start small the next time I start up the project.  Any ideas about how to get them to stay maximized?  (Thanks.)
0
Erick37Commented:
I believe that VB will use the last mode it was in to open a project.  That is, if VB exits in max mode, then it will startup in max mode, regardless of which project is opened.  That's how it works in VB5.
0
eyoungAuthor Commented:
Erick37,

I put the forms in max mode, save the project then close the project.  When I restart up the project, the forms are back in small mode.  This only happens in development not run time.  So in VB6 CE the last saved form mode does not seem to be retained.  That is why I am asking.  Quite frustrating.

Appreciate any ideas.

Regards,
EYoung
0
Erick37Commented:
Are we talking about the WindowState property of the form, or the delvelopment window's state?  I'm confused :-/
0
eyoungAuthor Commented:
Erick37,

The WindowState property on each form is set to Maximized.  Even after saving the form and the project, the forms load in development in minimum (small - about 2 inches by 2 inches in the top left corner of my development screen.)

The development window seems to be the correct size.  Its the forms initial size on the development window when the project first starts up that is small until I click the max icon in the upper right corner of each form.  Should I be looking for another development window's state setting?  If yes, where would I find that setting?

Thanks,
EYoung
0
Erick37Commented:
Ok, yes it is the same here.  I do not know if there is anything to do about this.  It may be by design, I cannot find any settings that affect how the development form's window is first displayed.
0
eyoungAuthor Commented:
Thanks for checking.  I have to take off for the rest of the day.  Will you be in tomorrow?  Have a nice rest of the weekend.

Regards,
EYoung
0
Erick37Commented:
Thanks.

I just did a quick test, and this code works in VB5 for Win32:

Private Sub Combo1_Click()
    Text1.Text = Combo1.Text
    Text2.Text = Str(Combo1.ListIndex)
End Sub

Private Sub Form_Load()
    Combo1.AddItem "Test 1"
    Combo1.AddItem "Test 2"
    Combo1.AddItem "Test 3"
    Combo1.AddItem "Test 4"
    Combo1.ListIndex = 0
End Sub

If this does not work in CE, you may try a Text1.Refresh after updating it.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.