Search:

Type: Posts; User: Frekvens1

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,239

    Re: My.Settings - adding new values

    Interesting. It seems like I've learnt something new today.

    Cheers,

    - Frek
  2. Re: Make visable HScrollBar for panel when the panels contents exceed boundaries.

    From experience, I recommend using the AutoScroll function if you're only going to scroll. It has less glitches, and works way better than doing it manually. But since you don't want to use this...
  3. Replies
    7
    Views
    1,239

    Re: My.Settings - adding new values

    As you're a beginner, I will give you a good way to store users. I created some functions so you can easily add, remove, retrieve surname of selected user or retrieve usernames with the same...
  4. VS 2010 Re: [RESOLVED] How to make a variable to act on events like Textbox.TextChanged

    I can't thank you guys enough! This is exactly what I was looking for. No, seriously, I really mean it. I can say you guys just improved the performance of my software! You have my respect :)

    -...
  5. Replies
    8
    Views
    3,865

    VS 2010 Re: Rock Paper Scissors Problem

    I've created a function for you @123Robo, which is similar to @.paul.'s code. It's even easier to use, and can be easily edited. I coded this as a practice, as I've yet not created a Rock, paper,...
  6. VS 2010 Re: How to make a variable to act on events like Textbox.TextChanged

    Thanks for showing interest in my request! I'm sorry my request didn't make sense, and I will try to be more accurate in the future. I simply wanted a variable to act like a textbox. Like when the...
  7. VS 2010 Re: How to make a variable to act on events like Textbox.TextChanged

    I read through my post a couple of times, and I got an idea. It worked. I feel very sorry for asking this question now, but it might be useful for other new people. The code was as simple as this:
    ...
  8. VS 2010 Re: [VS 2010] [Multi-Threading] Invoke textbox to apply message, from another class.

    It seems people don't see this question. Therefore will I create a new thread with my new question, in better detail. If you want to answer to this problem, follow this link:...
  9. VS 2010 [RESOLVED] How to make a variable to act on events like Textbox.TextChanged

    Hello again!

    As stated in the title, I'm wondering if there is a method to create a variable which will act on events like Textbox.TextChanged?
    I've done some research on the web, but I don't...
  10. Thread: VB Classes

    by Frekvens1
    Replies
    12
    Views
    1,511

    VS 2010 Re: VB Classes

    What this code does is the following:

    You call the function AddEntry with an argument. When called, the entries will add the entry as prop to the collection.

    It would seem to me as an array of...
  11. VS 2010 Re: [RESOLVED] Avast marking my project exe as WIN32:evo-gen, and deletes it.

    I'm pretty sure I'm not trying to manipulate a game, as I am creating a game from scratch. It shouldn't be much of a problem, at least yet.

    I don't want to be cocky, but I'm going to keep most of...
  12. Thread: VB Classes

    by Frekvens1
    Replies
    12
    Views
    1,511

    VS 2010 Re: VB Classes

    A very easy way to keep track on which form is which, would be using this method:



    'CODE FOR FORM1
    Dim myVal As Integer = 0

    Private Sub Button1_Click(ByVal sender As...
  13. Thread: VB Classes

    by Frekvens1
    Replies
    12
    Views
    1,511

    VS 2010 Re: VB Classes

    If I get your question right, you're asking why we do Dim myVariable as New Object, when we only need to do Dim myVariable as Object.

    Am I right? If that's the case, let me try to explain!

    A...
  14. VS 2010 Re: [RESOLVED] Avast marking my project exe as WIN32:evo-gen, and deletes it.

    Now you might understand my frustration, because that was exactly what it did.



    Not sure if the UI is going to help much, and I didn't even get to use my image variable. Only this line:


    ...
  15. VS 2010 Re: [VS 2010] [Multi-Threading] Invoke textbox to apply message, from another class.

    Interesting facts you have there. I've read JMC's blog as recommended, but it didn't help anything too much. However, I found Niya's multi threading article more of use. I've read it before, but I...
  16. VS 2013 Re: Image from HttpWebResponse makes Argument exception error

    I'm not an expert at streams, but the above code looks like it should work. The Argument exception is probably there because you don't have enough arguments? If you say the code breaks when the...
  17. VS 2010 Re: [RESOLVED] Avast marking my project exe as WIN32:evo-gen, and deletes it.

    I'm not an malware expert, but from what I've read, Avast will check if the file you're using are used by other people. If not, it will delete the file if the code seems suspicious. This is to...
  18. VS 2010 [RESOLVED] [VS 2010] [Multi-Threading] Invoke textbox to apply message, from another class.

    [Visual Studio 2010]

    Hello again!

    I'm doing a TCP server project which works great. However, the chat output won't display in my textbox in the main form. I've analyzed the code a little, but I...
  19. Replies
    11
    Views
    1,602

    Re: VB Control Array Solution

    The error "Index was outside the bounds of the array" is actually self explaining to some degree.

    If you have an array that consist of like 10 items "Dim myVariable(9)", and tries to ask for...
  20. Replies
    14
    Views
    4,512

    VS 2008 Re: Read Text File in Reverse?

    Glad I could help!
  21. Replies
    14
    Views
    4,512

    VS 2008 Re: Read Text File in Reverse?

    I actually didn't know about this method. Thanks! I think this will work better in his case, than with my example.

    Cheers,

    - Frek
  22. Replies
    14
    Views
    4,512

    VS 2008 Re: Read Text File in Reverse?

    Not all sure how your document works, but if all the values are listed in numbered order, this would be a really easy way to get the highest number.

    Code:


    Dim myText() As String =...
  23. Re: Download of values to web page doesn't working properly

    I'm sure thing interested! I look at this as a great opportunity to learn more coding :) I PM you my Skype!
  24. Re: Download of values to web page doesn't working properly

    Hi!

    If I get this right, you are extracting the values from the tables on the form? If this is the case, this solution might work.

    If you're going to extract the values, you could use an array...
  25. VS 2010 Re: [RESOLVED] How to unzip and zip files, without importing a dll or custom software

    Woah. I can't believe I haven't seen this heaven before now! This feature of making a msi installer for the project... I've only seen third parties of it. If this works like I think, it will add all...
  26. VS 2010 Re: [RESOLVED] How to unzip and zip files, without importing a dll or custom software

    If I catch this right, the DLL's needs to be installed somewhere in a system folder?

    A installer can simply be as this:


    My.Computer.FileSystem.WriteAllBytes("C:\File.exe", fileBytes, False)
    ...
  27. VS 2010 Re: How to unzip and zip files, without importing a dll or custom software?

    @IanRyder,

    Hopefully I will be able to look more deeply into the DLL's as my experience is growing. If I get them to work, they can be a powerful tool.

    Anyway, I checked the GZipStream Class...
  28. VS 2010 [RESOLVED] How to unzip and zip files, without importing a dll or custom software?

    Hello!

    I've been working with creating a simple zip addon for my softwares the past months, but not getting anywhere to a useful level. I've been trying to add dlls in the past, but they only...
  29. Re: Cannot use a disposed process!!!

    Just happy I was able to help :)
  30. Replies
    22
    Views
    2,097

    Re: How to get the bits of a file???

    If I get this right, you can do it as easy as this:



    Dim myFile() As Byte = My.Computer.FileSystem.ReadAllBytes("C:\File1.exe")
    Dim myFile2() As Byte =...
  31. Replies
    22
    Views
    2,097

    Re: How to get the bits of a file???

    Still confused, but do you mean you want to compare every byte (or bit) with another document's byte (or bit)?
  32. Re: Cannot use a disposed process!!!

    I'm not sure if you're doing threading or not, but if you dispose a object, you will have to recall it.

    Let's make an example:

    You launch your code like this (Threading)


    thread.start
    ...
  33. Replies
    22
    Views
    2,097

    Re: How to get the bits of a file???

    If I'm not wrong (Please correct me if I am), one byte consist of 8 bits. With other words, if you multiply your bytes by 8, you will get the bits.
  34. Replies
    22
    Views
    2,097

    Re: How to get the bits of a file???

    The filesize?
  35. Replies
    22
    Views
    2,097

    Re: How to get the bits of a file???

    If you just need the bytes of a file from your filesystem, you could use this code:


    Dim myFile() as Byte = My.Computer.FileSystem.ReadAllBytes("C:\MyFile.exe")
  36. VS 2010 Re: Avast marking my project exe as WIN32:evo-gen, and deletes it.

    Hmmm... Not a bad idea. Then I really don't need to care what my Antivirus says, as long it's not flagged by VirusTotal.Com. Thanks for the useful information! I'm going to mark this as resolved.
  37. VS 2010 Re: Avast marking my project exe as WIN32:evo-gen, and deletes it.

    Thanks for a fast reply! Some people related to VB coding, but I'm glad you're not one of them. Yea, I was thinking about adding an exclusion, however, I don't think other people will do it. That...
  38. VS 2010 [RESOLVED] Avast marking my project exe as WIN32:evo-gen, and deletes it.

    Hello!

    Thanks for reading, and I hope you can help me with this frustrating issue.

    I have traced the error back to a single line of code, which Avast sadly marks as "WIN32:evo-gen"
    The code?...
  39. VS 2010 My softwares crashes when started on other computers than my own! (DLLs)

    Hey!

    Thanks for clicking here. My problem is very advanced, and I hope you guys might can help me end this 6 months pain. When I make a software to my friends, it mostly work. But when I Import a...
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width