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
B

beowulfagate

@beowulfagate
About
Posts
70
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • String Arrays
    B beowulfagate

    I can't do that. My development environment is such that Option Strict is On. I have to explicitly convert my array to a array of strings. Any other way?

    Visual Basic question data-structures

  • String Arrays
    B beowulfagate

    How do I return an array of strings from a function? Just like the way String.Split does?

    Visual Basic question data-structures

  • Very simple question
    B beowulfagate

    You break long strings this way. dim mystring as string = "A very, very, very " & _ "Long line."

    Visual Basic tutorial help question

  • Thread procedure with arguments?
    B beowulfagate

    You could use a delegate then invoke it asynchronously. Delegates can take arguments unlike threads.

    Visual Basic csharp question

  • Mouse Hit Test: How??
    B beowulfagate

    By definition, the enabled property "Gets or sets a value indicating whether the control can respond to user interaction"-MSDN. It can't catch any user interaction, including the click, double-click events and the mousemove, mouseup, mousedown events that you may need to hittest. Try setting the read-only property instead. This makes the control able to receive user interaction but will still be uneditable. Good Luck!

    Visual Basic design tutorial question

  • Menu ShortCut
    B beowulfagate

    Yeah, I know. But could it be done?

    Visual Basic question

  • PrintPreviewDialog
    B beowulfagate

    I wanted to show a PrintPreviewDialog directly on top of a form in my application just like the way IE does. However, setting the Location, Size and the SetDesktopLocation properties of the dialog fails to do this. The dialog has the same size as the calling form does but it is moved to the left and lower than the calling form. I think this is by design but I do not know why. Is there a workaround for this?

    Visual Basic design question

  • Menu ShortCut
    B beowulfagate

    Can it be determined if the user presses a menu or if the user uses a shortcut? Both actions result in the same code being run, I just wanted a slightly different behavior between the ShortCut and the Menu.

    Visual Basic question

  • Interrupt loop operation
    B beowulfagate

    You add a variable that you check within the loop. Exapmle: dim b as boolean as boolean dim i as long for i=0 to i=1000 if b=true then exit for end if next i you change the value of b somewhere else in your code, probably in the "Stop" Button event. You may also want to consider concurrency issues on that variable. Good Luck.

    Visual Basic question tutorial

  • Datagrid ColumnHeader Captions
    B beowulfagate

    Has anybody ever noticed that when you right align a column in a datagrid that the last character of the columnheader text is nod displayed properly? I've tried adding spaces at the end of the text but it is trimmed and the same thing is displayed. Anybody know of a workaround?

    Visual Basic question

  • question on VB6
    B beowulfagate

    Yes it does. Try reading up on the typelib utility and also there is an example on how to make your own typelib utility from the cd. Using that, you can grab the classes, types, or enums defined in a dll or exe.

    Visual Basic question

  • Retrieve TopMost Visible Row
    B beowulfagate

    Anybody here know how to retrieve the Topmost Visible row of a Datagrid?

    Visual Basic tutorial question

  • Build Failures
    B beowulfagate

    I am looking at the Output window and it is telling me that there where 2 build failures. However the blow-by-blow account of the build process shows no errors. There are no compiler errors in my task list and just that 2 build failures. How come?

    Visual Basic question csharp

  • Build Failures
    B beowulfagate

    I'm building a multi-project solution in VB.Net and it tells me that 1 failed. How do I locate what project and where in that project is causing the failure?

    Visual Basic question csharp

  • Creating a directory programmatically
    B beowulfagate

    Anybody here know how to create a directory with spaces? Just like "C:\something\something more"?

    Visual Basic tutorial question

  • Windows Service
    B beowulfagate

    I've created a service that updates the components of several of my applications from a central file share on my network. The service is running with the localsystem account. An exception occurs when the service attempts to connect to the file share. The share contains the components that I copy to the local computer to update an application. I think the problem lies in the way the service connects to the shared folder. It uses the local computer's credentials when it connects, I think. Is there any way that the service can connect to the specified file share using the current user's credentials?

    Visual Basic sysadmin help question announcement

  • Delegates
    B beowulfagate

    I'm checking for application updates on the background thread. My application does this once per day similar to Windows Automatic Updates. The problem I had with threading is that I was not able to pass arguments to the procedure I was calling. However, I've figured a way to work around that by making the arguments available to the procedure (thru a config file it reads). The question I had with BeginInvoke is what would happen if I do not call EndInvoke on that delegate? Will it just exit after it has done it's work. What would happen if the delegate i've invoked goes out of scope but the method invoked is not finished? Will the method being invoked keep working until it finishes? Or will it just exit or worse?

    Visual Basic question

  • Delegates
    B beowulfagate

    I am using BeginInvoke on a delegate to start a Sub. What will happen if I do not call EndInvoke on that delegate? I do not particularly need to monitor it or need to know if it is finished. I tried using threading but did not get it to work. Still trying though.

    Visual Basic question

  • MessageBox And MsgBox
    B beowulfagate

    Ever notice that the MessageBox does not have the XP look while the MsgBox does? Anybody know how to do this?

    Visual Basic tutorial question

  • InvalidCastException with CAPICOM and webServices
    B beowulfagate

    Could we see some code? probably the entire function that includes the part where InvalidCastException occurs?

    C# help csharp sysadmin
  • Login

  • Don't have an account? Register

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