User Profile

Collapse

Profile Sidebar

Collapse
cnixuser
cnixuser
Last Activity: Nov 18 '08, 10:11 PM
Joined: Dec 29 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cnixuser
    started a topic Recursive .Bat file error

    Recursive .Bat file error

    hi, I'm trying to get a bat file together that pings every 5 minutes, and will reboot the pc if a ping is not found, I get an error:

    "The process cannot access the file because it is being used by another process.",

    when I try to run this bat file called "ping.bat":

    Code:
    @echo off
    ping -n 1 -w 300000 www.google.com | find "could not find host" > null && call shutdown
    ...
    See more | Go to post

  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    I have another question related to this ;however, at this point should I just go ahead and start a new thread?...
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    client.UseDefau ltCredentials = true;
    would send my local host's Credentials correct?...
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    It occurs to me that if I had my SmtpClient as the localhost, I would have to alter some settings for my IIS virtual SMTP server, so that it was configured for authentication rather than anonymous access, and then in my code, add the credentials to my localhost's IIS virtual SMTP server. Plater, is this what you were trying to tell me to have authenticated? If so, I apologize for being too dense :)...
    See more | Go to post
    Last edited by cnixuser; Aug 12 '08, 07:04 PM. Reason: minus 1 t

    Leave a comment:


  • cnixuser
    replied to Filedialogbox control
    in .NET
    I was trying to answer the original posters question, I didn't read yours very thoroughly, sorry....
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to Filedialogbox control
    in .NET
    C#:
    Code:
             private void btnBrowse_Click(object sender, EventArgs e)
            {
                openFileDialog.ShowDialog();
            }
    ...
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    Well, I'm actually sending from the pc that I am running the application from. I set the SmtpClient as the local host (127.0.0.1). The pc is on a network independent from the one at work (a Verizon cellular modem). I do honestly have a misunderstandin g of how to use credentials. With my new description, do you believe still that I need the credentials for the server at my company which I would be sending to and not from?...
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    I tried using credentials from my gmail account yes "username" and "password", and when that didn't work, I tried "username@gmail .com", and "password"....
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    I just can't figure out what it could be. I am able to send to gmail just fine without using credentials....
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    Have you had success sending to e-mail accounts hosted on goDaddy servers?...
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    Do you used SmtpClient.Cred entials = new NetworkCredenti al("username"," password"); anywhere in your code, with the object reference to the SmtpClient used instead of directly here of course :)...
    See more | Go to post
    Last edited by cnixuser; Aug 12 '08, 04:40 PM. Reason: I know about objects

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    I have tried that from my development pc here at work, which does have an e-mail account set up with the company and it works ;however, this won't be doable for the pc's that are going to be hosting the application out in the field. I did consult IT, and found out that our e-mail accounts are actually handled by godaddy.com, would this have any impact on changes that I might have to make to my code?...
    See more | Go to post
    Last edited by cnixuser; Aug 12 '08, 04:14 PM. Reason: grammar

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    Well, I'm not actually sending from an e-mail account that I have set up. For example I can use a purely non-existent dummy address "test@foo.c om", to get the reports sent to gmail....
    See more | Go to post

    Leave a comment:


  • cnixuser
    replied to C# E-mail Client Mails Not Received
    in .NET
    When I check my company e-mail address, I find no e-mail in the junk mail box. When I send to my gmail account, the e-mail always goes through with no problem....
    See more | Go to post

    Leave a comment:


  • That is similar to a problem I will have to look into for a project at work eventually, if I find out anything I'll post it here :)
    See more | Go to post

    Leave a comment:


  • cnixuser
    started a topic C# E-mail Client Mails Not Received
    in .NET

    C# E-mail Client Mails Not Received

    Hi, I am trying to write an application that will e-mail sales data reports once per day. I have largely succeeded in creating the application and I am able to e-mail my reports to some e-mail addresses such as gmail ones ;however, when attempting to send e-mails to addresses on my companies internal server the e-mails never arrive. I was wondering if anyone knew what could allow gmail addresses to receive e-mails from my application, but not allow...
    See more | Go to post

  • If notice high processor usage while your application is running Thread.Sleep(10 ) takes care of it with minimal (if not best practice) coding. Application.DoE vents() I would do inside loops if you notice your gui either freezing or unresponsively....
    See more | Go to post

    Leave a comment:


  • Well for now I am sticking with the textbox workaround until I have time to develop a more structured solution, once I do I'll give your suggestion a try, thanks again for your help! :)...
    See more | Go to post
    Last edited by cnixuser; Aug 6 '08, 08:18 PM. Reason: grammar

    Leave a comment:


  • So how did filtering through the text box prevent the garbage from getting included in the value of textbox1.Text? Also what would you recommend as a good method for checking only the amount of data available to be read from the stream?...
    See more | Go to post
    Last edited by cnixuser; Aug 6 '08, 08:03 PM. Reason: Additional question

    Leave a comment:


  • Well I found some interesting things out about the byte[]. The byte[] is 2048 characters in size when converted to a string. 1034 or so of the characters are legal including the whole file name, and then the first letter of the file name hundreds of times, and then the full name of the file again and about 1,014 illegal non-displayable characters. What I want to know is, how is filtering the string through a text box getting rid of all of this stuff?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...