Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

The Mighty Atom

@The Mighty Atom
About
Posts
58
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [VS10] Debug and Release build problem
    T The Mighty Atom

    I have the Express edition installed on my laptop and it works just fine. No need to mess with confuguration manager or anything. For a debug build, i hit F5, and for a release build, i use the Build command in the build menu. This was the case with the proffesional edition on my main computer BEFORE i formatted. But after the format, it no longer works like that, and i hate it. What is going on?

    Virtual Space Shuttle Astronaut

    Visual Basic help csharp announcement visual-studio

  • [VS10] Debug and Release build problem
    T The Mighty Atom

    That's ok. Im hoping to get the original behaviour back, the one im used to over the years. Hopefully someone has the solution to this, because it may not look like that big of an issue, but it is for me, it annoys the heck out of me like there's no tomorrow, i can't help it. :wtf:

    Virtual Space Shuttle Astronaut

    Visual Basic help csharp announcement visual-studio

  • [VS10] Debug and Release build problem
    T The Mighty Atom

    Well, i know i never had to deal with the configuration manager before the format, i could just hit F5\run to produce a debug build, and use the Build ... menuitem to produce a release build. There was no need to switch between the debug and release configurations. This is what i got used to over the years and this is the behavior i prefer. I don't feel like switching between Debug and Release modes every time, i never had to do that before, so why do i have to do it now? It was never an issue. I'd like to add that this this[^] no longer applies to me, and i quote: When you set up Visual Studio, you are asked to choose a set of Development Settings for your primary programming language. If you choose the Visual Basic Development Settings, the tool for choosing the Debug or Release configuration does not appear in the toolbar. Instead, Visual Studio automatically chooses the Debug configuration when you choose Start from the Debug menu and the Release configurations when you use the Build menu. To change the Development Settings, see How to: Restore Hidden Debugger Commands. After you change the Development Settings, make sure that Show advanced build configurations is selected in the Options dialog box, Project and Solutions category, General page. In particular the bold part does no longer seem to be true but it is the behaviour i want. Before the format, it does exactly what it says, but after the format this no longer seems to be true as i still see the Debug configuration in my standard toolbar and click the build ... menuitem does not produce the release build. I just don't get it.

    Virtual Space Shuttle Astronaut

    Visual Basic help csharp announcement visual-studio

  • [VS10] Debug and Release build problem
    T The Mighty Atom

    Hmm, i've never noticed that before. It was never there but now it is. It's set to Debug.

    Virtual Space Shuttle Astronaut

    Visual Basic help csharp announcement visual-studio

  • [VS10] Debug and Release build problem
    T The Mighty Atom

    Im having a strange issue with Visual Studio 2010. I've been programming in VB.Net since Visual Basic Express 2003. I've also used 2005, 2008 and now 2010, both the express edition and the proffesional edition. My experience is that with all these versions, if you hit F5 or click the Run button, you get a debug build of your application which is written to the bin\debug folder. To get a Release version, i just go to the Build menu and hit Build solution\solutionname. This creates a Release build of your application which is written to the bin\release folder So far so good. But i've recently reinstalled Visual Studio 2010 and now the above is no longer the case. When i hit F5 or the Run button, i get a debug build, just as i expected. But when i click the Build solution\solutionname menuitem in the Build menu, i STILL get a debug build and no release build. :confused: Why? I just want a debug build when i hit F5\run and a release build when click the Build solution\solutionname menuitem. This is what i got used to over the years. Who can help me fix this?

    Virtual Space Shuttle Astronaut

    Visual Basic help csharp announcement visual-studio

  • [VB10] Don't allow access to Form properties from Class
    T The Mighty Atom

    Well of course it's copy'n'paste. :) Anyway, looks like it's working the way i wanted. Thanks, Dave. Have some extra free Internets. :thumbsup:

    Virtual Space Shuttle Astronaut

    Visual Basic question visual-studio tutorial

  • [VB10] Don't allow access to Form properties from Class
    T The Mighty Atom

    Oh fail... I was still instancing my BaseDialogForm class in my test form code, not the DialogForm class. :doh: Now, to make sure i set this up correctly anyway, could you review my code? Here are my vb files: Friend Class BaseDialogForm[^] Public Class DialogForm[^] Test Form[^]

    Virtual Space Shuttle Astronaut

    Visual Basic question visual-studio tutorial

  • [VB10] Don't allow access to Form properties from Class
    T The Mighty Atom

    Awesome, but i think im doing it wrong. I still have access to all the form properties, but my custom property named 'CustomProperty' isn't available. Here's how my setup looks like: [BaseDialogForm.vb]:

    Friend Class BaseDialogForm

    Form Designer code here, nothing else

    End Class

    [DialogForm.vb]:

    Public Class DialogForm
    Implements IDisposable

    Private \_dialogForm As New BaseDialogForm
    
    Public Function ShowDialog() As DialogResult
        Return \_dialogForm.ShowDialog()
    End Function
    
    Public Property CustomProperty As String
        Get
            Return \_dialogForm.Text
        End Get
        Set(ByVal value As String)
            \_dialogForm.Text = value
        End Set
    End Property
    

    IDisposable Support code here

    End Class

    :confused:

    Virtual Space Shuttle Astronaut

    Visual Basic question visual-studio tutorial

  • [VB10] Don't allow access to Form properties from Class
    T The Mighty Atom

    What exactly is a wrapper? A class inside a class? Are you willing to make an example for me with comments between the code?

    Virtual Space Shuttle Astronaut

    Visual Basic question visual-studio tutorial

  • [VB10] Don't allow access to Form properties from Class
    T The Mighty Atom

    Lol, you're Dutch too! :D Anyway, just to make sure i understand, i need to change:

    Public MyDialogClass

    To:

    Private MyDialogClass

    VS2010 does'nt like it that way, it's whining about 'Types declared 'Private' must be inside another type' Im not sure what that means, im quite new to writing my own classes.

    Virtual Space Shuttle Astronaut

    Visual Basic question visual-studio tutorial

  • [VB10] Don't allow access to Form properties from Class
    T The Mighty Atom

    Let's say i have class called MyDialogClass. This class uses a form with it's own set of custom properties and methods. To declare one, you do this:

    Dim MyDialogInstance As New MyDialogClass

    How can i prevent my users from accessing the default properties that belongs with the form? For example, users can change the backcolor of the form by typing this:

    MyDialogInstance.BackColor = Color.Red

    I don't want that. I only want the MyDialogInstance to show my custom properties and methods in the IntelliSense dropdown menu and omit all the default properties.

    Virtual Space Shuttle Astronaut

    Visual Basic question visual-studio tutorial

  • [VB.NET 2010] Get paths from selected files from Shell\Explorer ContextMenu
    T The Mighty Atom

    Nobody knows? There must be way to get this to work. Im able to retrieve commandline arguments using the %1 parameter, but if i select more than one bsp files and click the menuitem in the explorer contextmenu, Windows launches multiple instances of my application. I just want it to start once, and add the path of all the selected bsp files added to a listbox. I've also tried the %2, %PATH% and %L parameters but none of them work.

    Virtual Space Shuttle Astronaut

    Visual Basic question csharp linux help

  • [VB.NET 2010] Get paths from selected files from Shell\Explorer ContextMenu
    T The Mighty Atom

    So i have a basic idea of an application i want to build in my head. It involves having to add a menuitem to the Shell/Explorer ContextMenu of Windows. Here's how it should work. 1. On first time use, you are to install the menuitem by clicking a button. There's also an uninstall button to remove the menuitem from the shell contextmenu. 2. Then, once it's installed, this menuitem only shows up when you rightclick on one or more files with the .bsp file extension. 3. When you have one or more bsp files selected, you rightclick on one of them to make the contextmenu appear. From there, you click the new menuitem. 4. Then i want a form to show up with a listbox. This listbox should hold the full paths to the bsp files that the user had selected. I got as far as point 3 and im stuck on point 4. How do i go about getting the paths of the selected bsp files into the listbox on that form?

    Virtual Space Shuttle Astronaut

    Visual Basic question csharp linux help

  • What kinds of control is this?
    T The Mighty Atom

    Will do, thanks. I don't mind learning, i just don't know where to start when it comes to custom painting.

    Virtual Space Shuttle Astronaut

    Visual Basic question

  • What kinds of control is this?
    T The Mighty Atom

    Meh, dunno anything about custom painting. Do you know of any third party controls that look like it?

    Virtual Space Shuttle Astronaut

    Visual Basic question

  • What kinds of control is this?
    T The Mighty Atom

    http://www.themightyatom.nl/screenshots/control_type.jpg[^] What kind of contol is this? I'd like to have something similar for my current application.

    Virtual Space Shuttle Astronaut

    Visual Basic question

  • [VB.NET 2010] Sending mail only works sometimes
    T The Mighty Atom

    That's ok. Im looking for an online bug reporter form as an built-in reporter form in my application doesn't work very well. Users click the bug Reporter menuitem in my application at which point the online bug reporter form opens in their browser, from there, they can specify all the info and in addition upload an exception report. I have yet to find out how to produce such a report. Thanks for your offer to help out. :)

    Virtual Space Shuttle Astronaut

    Visual Basic csharp sharepoint sysadmin help

  • [VB.NET 2010] Sending mail only works sometimes
    T The Mighty Atom

    No i do not have PHP skills, but i figure it would'nt be that hard to make an online form for the bug reporting? Im also waiting for Mike's example.

    Virtual Space Shuttle Astronaut

    Visual Basic csharp sharepoint sysadmin help

  • [VB.NET 2010] Sending mail only works sometimes
    T The Mighty Atom

    No i mean the username/password to access my http server.

    Virtual Space Shuttle Astronaut

    Visual Basic csharp sharepoint sysadmin help

  • [VB.NET 2010] Sending mail only works sometimes
    T The Mighty Atom

    Im using Visual Studio 2010. My host is using Linux systems to host its sites, so ASP and ASP.Net is a no-go. Thanks for helping me, Mike. ;)

    Virtual Space Shuttle Astronaut

    Visual Basic csharp sharepoint sysadmin help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups