Skip to content

Visual Basic

Visual Basic Questions

This category can be followed from the open social web via the handle visual-basic@forum.codeproject.com

34.4k Topics 120.1k Posts
  • menu enable/disable problem..

    help
    2
    0 Votes
    2 Posts
    0 Views
    J
    I couldn't see your code, but you should try something like... Form1.menuitem3.Enabled = True ...from Form2. Jeremy Falcon Imputek Excrement escapes everyone - even elders.
  • Closing All MDI Child Windows At Once

    csharp help
    2
    0 Votes
    2 Posts
    0 Views
    J
    Have you ever used the pure Windows API? There's a function called EnumChildWindows() that will help you out. I found a VB example online to help you get started... http://www.syix.com/wpsjr1/EnumChildWindows.zip[^] Jeremy Falcon Imputek Excrement escapes everyone - even elders.
  • .NET Crashes

    help csharp question
    3
    0 Votes
    3 Posts
    0 Views
    A
    I tried by installing the service pack 2 but still the problem is there. Is there any others solutions? Pls help. Thanks. A.Aluthwala
  • VB.Net

    csharp tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Run windows app with parameters?????

    tutorial csharp question
    2
    0 Votes
    2 Posts
    0 Views
    S
    You might try taking a look at the CP article: http://www.codeproject.com/csharp/command_line.asp[^] It's in C# but should give you the idea and some background.
  • Gathering Data between 2 dates

    css database help question
    5
    0 Votes
    5 Posts
    0 Views
    H
    sure.. if I have the time and the enough knoledge :) please send any comments you think about the article and rate it..
  • How to pass a ADO object as a parameter to a function?

    help tutorial question
    8
    0 Votes
    8 Posts
    0 Views
    J
    Ray Cassick wrote: Generally speaking i think that using the Call keyword is bad form though. Simply don't use parens and all is fine. Really, humm, I prefer to use the parens because, I like to make it more blatently obvious that I am calling a function ( the keyword "call" helps with that blatentness) With default functions sometimes it is not immeadly obvious what one was thinking when they wrote their code.
  • Stupid VB glitch

    question lounge
    3
    0 Votes
    3 Posts
    0 Views
    K
    Yeah. I guess. It was easier just to change the intHr to a Long though. "You only disagree because you're a moron. If you were a man of intelligence you would see that I'm obviously right." - The General Consensus
  • Regarding toolbar

    windows-admin workspace
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How Can i detect <Return> in datagrid Cell

    workspace css algorithms sales regex
    2
    0 Votes
    2 Posts
    0 Views
    N
    intibnin wrote: please can you explain me way i must first press SHIFT. I think this something to do with the KeyPress event, but I can't remember what :( Anyway, you can bypass all this by just using the KeyDown instead of the KeyPress event, then use KeyCode instead of the KeyChar. It should work then Notorious SMC The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain Get your facts first, and then you can distort them as much as you please Mark Twain
  • dot syntax and concatenated names

    csharp question
    4
    0 Votes
    4 Posts
    0 Views
    F
    For i = 0 To 4 ("bullet" & i).Text = list.ChildNodes(i).InnerText Next i I didn't think it would work, that would 'break' vb's typing. I think that was part of the argument when they re-wrote sections before release. VB programmers panicked when they say what the new language was like. Personally the nearer to c# (apart from readability) the better.
  • detect currently playing mp3

    help question
    2
    0 Votes
    2 Posts
    0 Views
    G
    I think, there is no universal way for both players, but at least for WinAmp there must be some way, because some time ago I saw a plugin which writes the currently played song to the mIRC client and also lot of other plugins for WinAmp displays the song info. But this is an issue for the WinAmp Plugin SDK, how it is with WMP, don't know... Good luck!
  • Timer problem...

    help question
    4
    0 Votes
    4 Posts
    0 Views
    F
    It's been staring me in the face all the time. The timer is not being started. It should be timer1.Start and Timer1.Stop, not Timer1.enabled = true
  • web browser control

    help question
    2
    0 Votes
    2 Posts
    0 Views
    F
    Try stopping the browser firing till your ready. Look Here
  • padding a string

    performance help question
    3
    0 Votes
    3 Posts
    0 Views
    N
    Thanks! Plus apparently VB uses some space to store the string length.......... Appreciate your help, ns
  • copying files using shell

    sysadmin linux json question
    3
    0 Votes
    3 Posts
    0 Views
    I
    Thank ! Thank ! Thank very much!:)
  • problem updating from a datagrid

    help database question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • dll access

    question
    2
    0 Votes
    2 Posts
    0 Views
    M
    Yes, Add a Reference to it... Right-click on your References Section of your Project and Click "Add Reference...". Then browse to where you put it.
  • Tiff to PDF conversion

    help lounge
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Printing in VB.NET

    csharp html asp-net algorithms
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied