User Profile

Collapse

Profile Sidebar

Collapse
bobneedshelp
bobneedshelp
Last Activity: Nov 21 '08, 07:03 PM
Joined: Feb 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bobneedshelp
    replied to Simple scope question
    in .NET
    That works for me in an application but for some reason not in a service. I am using a namespace for the service and those seem to affect how variables can be accessed. The fix was making the variable shared. I'll try to figure out why later but it's working now.

    Thanks for the help.
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    replied to Simple scope question
    in .NET
    C# was my choice but the boss said vb. The setup is a generic service form calling a class
    to run applicaitons.

    I have several applications that use the same fields to insert data into a database. I created a separate class to do this. The initial idea was to pass a structure and that
    didn't work at all. It would be easier on the eyes to see the structure passed and then manipulate the data instead of passing ten variables....
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    started a topic Simple scope question
    in .NET

    Simple scope question

    I come from a Java background so this a puzzle to me. I'm wondering why this happens in .net. Why do I have use the class name in order to get the variables value in .net?

    Code:
    Public Class Form1
        Public varPub as String = "PUBLIC"
        Private Sub Main
            varPub = "PUBLIC"
            subClass = New SecondClass()
            subClass.IsIT()
        End Sub
    End Class
    ...
    See more | Go to post

  • bobneedshelp
    started a topic Installer Class VB.NET
    in .NET

    Installer Class VB.NET

    Is it possible through an install to run a script to disable a service and then install the files in VB.NET?

    I've tried using an installer class with the custom actions and that is not working. The files are installing first and then the custom action runs. I've used message boxes in the code, instead of a script, to see when the files are actually getting written vs the script running.


    Code: ( text )
    ...
    See more | Go to post

  • bobneedshelp
    started a topic Custom Deployment

    Custom Deployment

    Is it possible through an install to run a script to disable a service and then install the files in VB.NET?

    I've tried using an installer class with the custom actions and that is not working. The files are installing first and then the custom action runs. I've used message boxes in the code, instead of a script, to see when the files are actually getting written vs the script running.

    Code:
    Public Class TestInstaller
    ...
    See more | Go to post

  • why not use an enum and sort by numbers?
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    replied to Updating VB dll
    in .NET
    It helped. The default for copy to output directory is "do not copy". Changing that to "copy if newer" solved the problem....
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    replied to Updating VB dll
    in .NET
    That's exactly what is happening.
    here's the full error message
    Could not load file or assembly 'clsLog, Version=1.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its dependencies. The system cannot find the file specified.

    The file is there. I get rid of the problem by removing the reference in the calling program and adding the reference back through project -> add reference.

    It just seems...
    See more | Go to post

    Leave a comment:


  • Two ways
    Give the button an attribute of card. Match the card attribute.

    Make a card array and assign each button a card in the array.
    if the two buttons match the same card then there's a match.

    Use some OOP so the code isn't being re-used....
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    started a topic Updating VB dll
    in .NET

    Updating VB dll

    I'm unable to update a dll file without breaking the program that calls the dll.
    I've referenced the dll file and I'm not sure what I'm missing.
    The error message is There is no source code available for the current location.

    The calling program works fine if I re-add the dll reference but not if I just deploy a change to a dll.
    See more | Go to post

  • bobneedshelp
    replied to dynamic array
    in .NET
    Thanks. That helped....
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    started a topic dynamic array
    in .NET

    dynamic array

    Is there a way to have a dynamic array besides the redim statement. Is there something in vb.net that is the equivalent to Java's ArrayList?
    See more | Go to post

  • The first form is the start up form of the application. Closing the startup form closes the application.
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    replied to connecting to a server database
    in .NET
    try http://www.connections trings.com/ for the connections. The hard part is reading the database. Once you've read that then you just assign that data to the textbox, combo box, etc.
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    replied to odbc connections in .net
    in .NET
    It doesn't. I know how to make the connection to the database but just not dynamically getting what odbc connection the user has. The connection is not uniform. Each connection can be named differently. The connection is going from a pc to a mainframe db2....
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    replied to .Net Connection String Security
    in .NET
    I'll assume your app is exposed to the web and not sure exactly what you're worried about or trying to protect against. Security from hacking comes in layers and just isn't about where the sql statement is....
    See more | Go to post

    Leave a comment:


  • bobneedshelp
    started a topic odbc connections in .net
    in .NET

    odbc connections in .net

    I have an application in .NET that needs to retrieve the ODBC connections on the pc. VB6 had a way of doing this with SQLDataSources. System.Data.odb c doesn't handle this. Is there a way to do this in .NET?
    See more | Go to post
No activity results to display
Show More
Working...