Software Development Network Logo
  • Visual Studio
  • Visual C++
  • Microsoft ISV
  • .NET Development
  • Windows Forms
  • Visual Basic
  • Game Technologies
  • Windows Live
  • Visual C#
  • VS Express Editions
  • SQL Server
  • VS Team System
  • Windows Vista
  • Smart Device
  • Visual FoxPro

Software Development Network >> Visual Basic

Visual Basic

New Question

Processing Serial Data
Use string value as variable name
Defining a string that contains double quote character
Disabling specific controls
e.Graphics.FillElipse and "Beginning VB.NET 2nd Edition" by Blair, Crossland, Reynolds and Willis
Urgent !!!!!!!!!!!! Services Status...
Hiding Designer Generated Code
how can I creat a shortcut in clickonce ... ?
How Can I Add a Field_name within a table With VB6
how do i do autoclicks and get a pixle color?

Top Answerers

Rod O
Kyoo
Zero_One
Ajit Halder
ZZolton
norwegian
Harshvardhan Kharche
johntray
Sudipto
Jonathan Fife
Topix: Jon Stewart
Only Title

Answer Questions

  • greatwhitenorth conversion

    when iam trying to change textbox caret i got this error messege : Conversion from string "System.Drawing.Bitmap" to type 'Long' is not valid. my code : CreateCaret(TextBox1.Handle, PictureBox1.Image, 10, 10) ShowCaret(TextBox1.Handle) any idea about converting (system.drawing.bitmap) or (picturebox1.image) to long or integer Is there an error If so, can you post the error message -chris Put the bi ...Show All

  • object isnull function

    Simple question...is there a simple built in function that detects if a value is null and returns a specified value e.g. isnull(value1,"xxx") I know its simple to write one that does the job but just wondered if one existed in the 2005 language. Cheers Chaps yes and no....VS05 has a "IsDbNull" function that will return "true" if the comparison is null...it also has the DbNull.valu ...Show All

  • Scott1978 What's the point of Finally?

    I was wondering, what is the point of having a "Finally" section in a Try-Catch-Finally block I was taught that a Finally block is for where you want the code to end up regardless of if an exception was caught or not. But if that's all we want to do, why not just let it continue after it falls out of the entire Try block For example, what's the difference between these two sections of code Sub FileCopyWithFinally()    Try    ...Show All

  • BobSw Order of using AcceptChanges and TableAdapter.Update

    Do you need to use AcceptChanges after a TableAdapter.Update I know it's an option for DataAdapters, but I'm guessing it's automatically called during a TableAdapter.Update. Is that true Also, I believe that calling AcceptChanges before a TableAdapter.Update will lose you your ability to apply the changes to the underlying data source, right If both these assumptions are correct (don't call AcceptChanges before Update and that update calls ...Show All

  • AdrianG VS.NET 2005 - Single Instance app and command line parameters

    Hi. Would someone be able to provide me with general direction for the following. I am able to easily create a single instance application, thanks to the new functionality built into VS.NET 2005. Now, what I am trying to do is recuperate the command line parameters when switch to the first instance running, when the application is called again. In more details: I have application abc.exe. I run it the first time. Second time I run it, I ...Show All

  • very saggy Getting the Control under a Context Menu

    Hi,  I have a context menu attached to several controls on the same form. How can I determine on whitch one of these controls the user right-clicked to get the context menu and select an option I gess it can be done in the menu option click event handler, but I do not know how. Thanks Patrick Thank you, but I get an error message : Impossible to find public member 'parent' of type 'ToolStripMenu ...Show All

  • Christian Genne My.Settings is readonly/ changing Connection string

    Hello, This is regarding a windows app in Visual Studio 2005, a VB Windows application. 've stored a connection string called strSQLConn in My.Settings. I'm trying to change the Server in code. I set a string variable called strConn to a new Connection string. My.Settings.Profile2006sql = strConn This produces an error saying that My.Settings is readonly. I'm missing something basic here. I don't know if this is the best way to ch ...Show All

  • Scott Cairney Toolbar buttons fail to recieve buttonclick event.

    I just discovered a nasty quirk that can mysteriously kill toolbar buttons. If you raise a MessageBox while processing the Load event while launching a form, the toolbar buttons on the form no longer receive the buttonclick event after it appears on screen. They depress and display tooltips, but don't produce any action. I am using Visual Basic .NET in Visual Studio 2003.   This actually makes sense, si ...Show All

  • Richard Petkiewicz Weird Change in Form's Height

    Hello ... I've a Project where all my forms are set to 1024*768 (FormBorderStyle= 0-None) when i run the program I see that it doesn't cover all the screen when i check the height i see that it's 753 even when i end the Program and get back to the visual basic i findout that it had been resetted to 753 ! Now I've searched the Web if there is a Limit to the height when using 1024 as an example ... but i didn't find any clue I can fix this by set ...Show All

  • VisualDBA Dynamically Changing Button Properties

    I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.).  Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is tha ...Show All

  • irnbw Running external applications using Visual Basic Express

    I am new to using VB express and i'm trying to link a button to an application.  When attempting this i get an error message saying something about the security settings. Here is the code i'm entering: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim BLTSCredits As String = "R:\\Gbmkn-pss-1\PCAppsDev\Test05NF\LEGTABCO\LT0000.exe" ...Show All

  • Dale Computer Help .Net UserControl Keypress event

    Hi, i created a .net usercontrol using VB 2005. I see that keypress event is not fired in the UserControl when any key is pressed. However the keypress event of the textbox in the UserControl alone gets fired. In VB 6, this worked perfectly. Keypress events for forms are enabled using keypreview property. I don't see any such property for a usercontrol. Can some help, how to enable keypress event of a UserControl. Any help in this ...Show All

  • Tom Dey The type initializer threw an exception. - For no reason

    Hi, Im developing a timetable like program which was all working fine until i installed some security updates for windows xp. This might be p urely coincidental but i keep getting the exception, pasted below, when i try to call ModPublic.GetSett(). I even removed all code from inside the public modpublic.getSett() sub but i still get this error on each debug/F5 run. System.TypeInitializationException was unhandled   Message="The ...Show All

  • GMan6 How to obtain WIFI access point information?

    I was wondering if it's possible to access information from within Visual Basic about WIFI connections, such as their SSID, MAC address, ect. I don't know whether I have to add a reference, what commands to use, ect. Thanks for any help. I can't visit your link - I think it had died! Could you please help me with another link And is there any method to calculate the bandwidth Alright, thanks anyw ...Show All

  • Chad Wach .NET and Out-of-Process

    My company uses a technology that has a few memory corruption issues (which they are not willing to fix).  When the original application was developed, using VB6, we combated this issue by putting their components in an ActiveX EXE, so that it would run in a separate process space.  Now that we're using .NET we would very much like to stop using the ActiveX EXEs.  Any suggestions as to how to run a .NET assembly in a sep ...Show All

5678910111213141516171819202122

©2008 Software Development Network

powered by phorum