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
  • UITypeEditor (Up/Down Ctl) on property grids

    css question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Examining bytes returned from an ATL component

    help c++ data-structures
    2
    0 Votes
    2 Posts
    0 Views
    V
    There is no reason to do "Set ...". Try to write bytes = pkt.GetBytes With best wishes, Vita
  • How to know Process Idle time ?

    help tools json tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Remote scripting

    help tools tutorial
    2
    0 Votes
    2 Posts
    0 Views
    D
    The error message would lead me to believe that you DON'T have full rights to the target machine. It looks like your process is logging into the target machine as Guest. RageInTheMachine9532
  • Use Outlook Send Email

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    D
    You can check to see if the mail was successfully posted to YOUR mail server, but you can't determine if the send to the recipient was actually successfull. This would require you to monitor your mailbox for any messages that came back from the destination server saying that the delivery was unsuccessfull. This is also complicated by the fact that not every mail server will send a reply at all, and not every mail server will send the same format for a delivery failure message. RageInTheMachine9532
  • Help - Disable Ctrl - Esc

    help question
    2
    0 Votes
    2 Posts
    0 Views
    D
    The only way your going to do that is to write the keyboard hook. RageInTheMachine9532
  • Shadow Effects?

    csharp winforms help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Help required

    help csharp sales tutorial
    3
    0 Votes
    3 Posts
    0 Views
    U
    In order to solve your problem you need to do the following steps. try to use procedures always 1)write a code for filiing countries name and can be placed in form load event. 2)write a code in that pass sql query as <select cityID,city from city where cityID=cmbcountryfilled.selectedvalue> and place this code in selection change commited event of country combo.and do the same for area.i ohope it will work. before that it depends how you are filling the combo.try to use dataset and fill the combo. please get back to me if you have any doubt...
  • Datagrid &quot;Edit Only&quot;

    csharp collaboration architecture question
    2
    0 Votes
    2 Posts
    0 Views
    G
    Take a look at http://www.syncfusion.com/faq/winforms/[^]. I found the solution to grid problems there... Free your mind...
  • Sending to a Web Form

    csharp database help tutorial lounge
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Comparing lists

    question
    2
    0 Votes
    2 Posts
    0 Views
    M
    I'm also new to VB.. relatively. Anyway, if you are dealing with Excel, u can use VBA( Visual Basic Application) to do that. That's what i'm using now for VB6 developer. But I think it still works for VB.NET ,... not too sure. That's for the code language to look out for. As for the design, Have to think about it... but shoul be easy once you got hold of the language. (At least I feel its easier than the language itself for beginners)
  • Basic VB Excel Chart data selection

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • system.web.mail not found

    help csharp html visual-studio com
    5
    0 Votes
    5 Posts
    0 Views
    A
    Thank you very much. I actualy found my solution yesterday BUT that is exactly what I wasn't doing and you are the only person who responded and tried to help so I DO apriciate the help. This was my first application and as part of my course I was to write something that I felt was usefull while small and make myself find everything I needed to know to get it done. Not the usualy first exercise in a course but very usefull. I lurned allot of the basics and this way they will stick, since I spent so much time finding each. Again Thanks, Harley 2 U.S. coins equal 30 cents and one is NOT a nickle. Hmm..
  • Removing selected text

    csharp help tutorial question
    19
    0 Votes
    19 Posts
    0 Views
    S
    I'm pleased that you like it. I'll provide some updates in future, just check: www.madcode.net/download/quickaccess from time to time. [This site isn't available at the moment, but it will be soon!]
  • Parameter passing and reading [task scheduler]

    csharp com question
    3
    0 Votes
    3 Posts
    0 Views
    C
    Use Environment.GetCommandLineArgs() to retrieve the parameters passed into your application. This will return a string array each element containing an argument. You have to define a way to work with these arguments, so if you prefer you can of course use a name=value format. However it is completely up to you. --Colin Mackay--
  • task scheduler

    csharp com
    3
    0 Votes
    3 Posts
    0 Views
    C
    Use GetTaskNames() to get a list of all the task names. Iterate through the list, using the name to access each task. Ask each task for its Status. If the status is Running then you have a running task. Do with this what you want. --Colin Mackay--
  • Not sure? Help!

    com help question lounge learning
    4
    0 Votes
    4 Posts
    0 Views
    I
    I would recommend learning C first, and then C++. Its a very logical manner to learn the two probably most important languages you could learn. They are both fairly complex, but if you know them well, development for Windows and *nix systems gets infinitely easier. VB isn't even really a OO language, it just is a bastardization of OO, its primary goal being to "protect" you from yourself. VB is ok for very small, quick programs, but programming a large project in VB is almost unmanageable.
  • Dynamic Enums... Is this possible?

    database design question
    2
    0 Votes
    2 Posts
    0 Views
    C
    Enums are simply a cleaner and more maintainable version of constants. If you were to create an enum at runtime (which is possible, using dynamic compilation or Reflection.Emit) what exactly would you do with it? How would you test for it in your calling method? Is there a reason you method can't accept a string array which contains the names of your servers as a parameter? Charlie if(!curlies){ return; }
  • VB.Net-Data Grid control

    csharp css question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Help in VB6

    help tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    S
    To find out how to get the windows directory, click on the link below: http://www.vbexplorer.com/VBExplorer/tips/src29.asp[^] I found this article a few days ago, I also needed to get this directory. But I don't know about the ICQ directory. :confused: