Search Results - VBForums

Search:

Type: Posts; User: Crzyrio

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Most efficient way to do this? Call sub with paramarray being passed to it

    I tried using enum.parse on the string from the tag and it works perfectly.

    I love how it went from needing to use multiple if statements to 4 lines :D

    I want to push it in to 1 line like your...
  2. Re: Most efficient way to do this? Call sub with paramarray being passed to it

    Ahh makes sense.

    My enums are defined as so:

    Enum testenum
    Tryone = 64
    Trytwo = 128


    Ideally I would like to use strings for the tags. Would you be able to point me in the right...
  3. Re: Most efficient way to do this? Call sub with paramarray being passed to it

    That is very impressive, I need to get more familiar with LINQ :D

    I seem to be getting a cast exception saying unable to convert from string to integer. It occurs here

    Dim selectedEnums =...
  4. Most efficient way to do this? Call sub with paramarray being passed to it

    Hi,

    I am trying to figure out the best way to do this. As of now all my solutions include a long list of If statements but I feel like there is a much simpler way to do it.


    I have a sub...
  5. Replies
    11
    Views
    644

    Re: Basic Graphics Logic Help

    But I need to do it in order for the Hittest to work :|

    Thanks, I just changed all the values to

    Picturebox1.Height - original co-ordinate

    Now just working on figuring out why some of the...
  6. Replies
    11
    Views
    644

    Re: Basic Graphics Logic Help

    SO CLOSE :D
    Thanks again guys, but just one more thing.

    For some reason the drawings are always ofset to much and does not fully display in the window.

    I cant find any reason why it would...
  7. Replies
    11
    Views
    644

    Re: Basic Graphics Logic Help

    Almost there.

    My lines appear to be upside down and the HIT test dont work :\

    Here is the code now


    Dim _SecondaryPaths As New List(Of System.Drawing.Drawing2D.GraphicsPath)
    Dim...
  8. Replies
    11
    Views
    644

    Re: Basic Graphics Logic Help

    Thank You very much for the explanation.

    When I used the transform and translate before my hittest were all wrong, but I guess that was because I was not redrawing the box?
    So if I were to add...
  9. Replies
    11
    Views
    644

    Re: Basic Graphics Logic Help

    Thanks for the input guys. So If I want that line to run across the form and all of it to be visible?

    I would rather not use the SizeMode, as this screws up all the graphic paths I have and makes...
  10. Replies
    11
    Views
    644

    Basic Graphics Logic Help

    Hi,

    I have been having a very hard time wrapping my head around drawing in vb.net

    Here is what I am doing,

    Public Class Form1
    Dim _Pen As Pen
    Dim min As System.Drawing.Point = New...
  11. Re: Images in Datagridview Combo Box

    Thanks I ended up using the dataimage column like you suggested and a separate list view with a list of images that allowed the user to change the image in that given column
  12. [RESOLVED] Images in Datagridview Combo Box

    Hey,

    I recently found out how to add images to a images to a combo box with the help of this page ->...
  13. Replies
    9
    Views
    477

    VS 02/03 Re: Reading Registry Framwork 1.1/Windows 7

    Thanks....

    There is always a way, just a matter of finding it.
  14. Replies
    9
    Views
    477

    VS 02/03 Re: Reading Registry Framwork 1.1/Windows 7

    No worries! I tried current user as well but get the same thing. There is no error just the value of Nothing



    Yes xD I have checked if it exists and it does.

    EDIT: You are partially right :P...
  15. Replies
    9
    Views
    477

    VS 02/03 Reading Registry Framwork 1.1/Windows 7

    Hey,

    I have a program developed on 1.1 that works perfectly on Windows XP but is having trouble running on Windows 7 simply because of the registry.
    It is to big a program to upgrade to a newer...
  16. Re: Retriving Child elements of particular node using LINQ

    I wish I could tell you, that was my first thought as well. The xml file is an output from another program, I have actually been talking to my team members as to notifying the 3rd party changing the...
  17. Re: Retriving Child elements of particular node using LINQ

    Thanks Guys!

    I used what .paul. suggested as it gives me more control over what I pick if more nodes are added.

    Just one more question though. In the above example, the first list doesnt have...
  18. Retriving Child elements of particular node using LINQ

    Hey,

    I started trying to solve this problem in another thread but it is big enough for its own :)


    <?xml version="1.0" encoding="utf-8"?>
    <UserEx>
    <List>
    <member name="INFO HERE">
    ...
  19. Re: Unable to update Array/variables

    I agree, I should have started a new thread. This is far from original topic as well.

    Thanks for the reply, just one last question. This is the first time I am comming across an xml file with...
  20. Re: Unable to update Array/variables

    Fair enough lol, I am starting to like it.

    Sorry should have mentioned it before but all three of those nodes have child nodes under it, with a lot of data. I need to get all of the child nodes...
  21. Re: Unable to update Array/variables

    Thanks for the quick reply ! and yes that is exactly what is happening and I find it quiet weird

    The temp = temp + 1 was only there because I forgot to remove it. I was using it before in a for...
  22. Re: Cannot make this work : StartInfo.CreateNoWindow = False. Help!

    Try this property instead


    print_this.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
  23. Re: Unable to update Array/variables

    Yup, talking about subname. I am still in a test project and this is the only thing thing in the project so it makes no senses lol.


    Private Sub Button1_Click(sender As System.Object, e As...
  24. [RESOLVED] Unable to update Array/variables

    Hey,

    I have this lovely class here


    Public Class data

    Public Property Name As String
    Public Property Subname As String
    Public Property Type As String
  25. Re: Logic Help with iteration through arrays.

    Sorry for the late reply.

    While I agree have the data put into classes would be a hell of a lot easier, the array is not created by me. It is created in another program and through a COM interface...
  26. [RESOLVED] Logic Help with iteration through arrays.

    Hey,

    I am breaking my head here because this seems very easy but I cant seem to figure it out.

    I have an array (100,3)

    Which follows something like this
  27. Replies
    2
    Views
    1,079

    Re: script to find a line in excel

    If you could give us a visual example of the data that would be very helpful!
  28. Replies
    2
    Views
    250

    VS 2010 Re: How do I hide EXE but keep the form open?

    What he said ^

    + If you want, you can add a 'NotifyIcon' and have the application show up in the system tray beside the date :)
  29. Re: Sorting data in a combobox using the underlying data model

    What it means is you have to sort your Access database and the combo box will automatically sort itself.

    I will see if I can add a bit more info in a bit
  30. Re: Users getting an error when starting my application

    I would suggest using Process Monitor ---> http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx

    Filter the list to show only your application. Then when you start your application you...
  31. VS 2012 Re: Remove decimal place (not saving variable as int)

    [

    Dim newbuilder As New System.Text.StringBuilder

    If minimumValue.Count < 10 Then
    newbuilder.Append("0", 10 - minimumValue.Count)
    ...
  32. VS 2012 Re: Remove decimal place (not saving variable as int)

    Take a look at this and see if it makes sense

    Imports System.Text

    Public Class Form1
    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles...
  33. VS 2012 Re: Remove decimal place (not saving variable as int)

    For the 0's you can also use the string builder, it is actually quiet usefull.


    Dim x As String = "999"
    Dim newbuilder As New StringBuilder

    If x.Count < 10 Then
    ...
  34. VS 2012 Re: Remove decimal place (not saving variable as int)

    Someone on here, gave this to me a little while back. I am sure you will find some use of it :)

    Function GetNumber(ByVal theString As String) As String
    Dim sa() As Char =...
  35. Replies
    4
    Views
    333

    VS 02/03 Re: Using Callbacks

    Thank You very much :) Changing it to public solved the problem and I did not know they defaulted to Friend in vb!

    Call backs are an interesting tool.
  36. Replies
    4
    Views
    333

    VS 02/03 Re: Using Callbacks

    Even when it is set to something it is the same problem.
    EDIT: Silly me, forgot to make the Module public :P
  37. Replies
    4
    Views
    333

    VS 02/03 [RESOLVED] Using Callbacks

    Hi,

    I hope no one minds, but I figured I would create a new thread since my topic and question changed in my previous one.

    I am not working with Callbacks and still very unsure of how they...
  38. Re: Unable to Create Hook - SendKeys.Send Widnows 7

    I know but was wondering if there is a way to put it in? We usually do use 2010 or 2012 for development, but this application was created quiet some time back and is fairly large. We would much...
  39. [RESOLVED] Unable to Create Hook - SendKeys.Send Widnows 7

    Hey

    I have a Framework 1.1 Application that needs to be run in Windows 7. The application uses quiet a few SendKeys.Send, which causes the following error to occur

    ************** Exception Text...
  40. Replies
    5
    Views
    472

    VS 2012 Re: Progressbar for generating hash

    A Progress bar would be your 2nd step, first look into using a Background Worker so your UI thread is free.

    What is happening right now is your generating your Hash on the same thread as what your...
Results 1 to 40 of 174
Page 1 of 5 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.