Viske's Profile User Rating: -----

Reputation: 24 Tradesman
Contributor w/DIC++
Active Posts:
70 (0.07 per day)
07-June 11
Profile Views:
Last Active:
User is offline Aug 30 2013 04:56 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Icon   Viske has not set their status

Posts I've Made

  1. In Topic: Small Corporation Woes

    Posted 1 Oct 2012

    As someone who makes ~$11/hr (converted from ) as a developer, where I manage my own projects as a sole developer (others are doing different projects that I'm not directly involved with currently), doing front-end and back-end work, I'm glad to know that I should be getting much more.

    As for your situation, I agree with lordofduct. Tell them that he's helped solve problems that you couldn't have on your own, that he's a valuable team member, and losing him would cost them more than increasing his wages. If they don't make an effort to talk about it, at the minimum, he should be leaving ASAP as they're likely just stalling, as has already been said.
  2. In Topic: Securely connecting to SQL

    Posted 1 Oct 2012

    Have you looked in to storing your connection string in the app.config then encrypting using aspnet_regiis? You can see how to do it here.

    You'll need to use aspnet_regiis.
  3. In Topic: The process cannot access the file problem

    Posted 29 May 2012

    View PosttlhIn`toq, on 29 May 2012 - 02:26 PM, said:

    The very nature of the using costruct
    using( Filestream ... )

    Is that you don't have to remember to .Dispose and .Close these things. That's handled for you by the framework.

    That's why the OP can use the files upwards of 10 times before the error occurs.

    Ahh, this was something I didn't know of. Thanks for clarifying.
  4. In Topic: substring, lastindexof problems, getting no output!

    Posted 29 May 2012

    Read the error that you're given. It's telling you that on the line arg1 = text.Substring(start + 1, end - start - 1) Length cannot be less than zero. When you have !string one start and end are the same, because there is only one space. In this case, start and end are both 7.

    Going through it.
    Substring(startIndex, length);
    Substring(start + 1, end - start - 1);
    Substring(7 + 1, 7 - 7 - 1);
    Substring (8, -1); // This is illegal. Length (-1) cannot be less than zero. Also, having length be longer than the startIndex to the end of the string will provide an error.

    Now that you know why it's happening, try work out a way to compensate for it.
  5. In Topic: The process cannot access the file problem

    Posted 29 May 2012

    It's the same problem as previously, you're trying to access the file before it is released. I'm not sure why it's taking more than 10 seconds though.

    Also, I can't see you releasing the file yourself at all. Try closing the file after you've accessed what you need to, by using .Close() on your StreamReader and FileStream objects. If it's still an issue, try timing your methods to find out how long they're taking.

My Information

Member Title:
D.I.C Head
Age Unknown
Birthday Unknown
England, UK
Programming, General Technology, Music, Playing Guitar, Gaming, Graphic Design, Sport
Years Programming:

Contact Information



Viske hasn't added any friends yet.


Viske has no profile comments yet. Why not say hello?