Software Development Network Logo
  • VS Team System
  • IE Development
  • Visual Studio
  • Visual C++
  • Microsoft ISV
  • Windows Vista
  • SharePoint Products
  • Game Technologies
  • Smart Devicet
  • SQL Server
  • Windows Forms
  • .NET Development
  • Visual C#
  • Visual Basic
  • Visual FoxPro

Software Development Network >> Visual Basic

Visual Basic

New Question

how to register components so they could be used in IE ?
Need advice on database
Deployment & ODP.NET
about copying info from a ".txt" file to a listbox
Problem with sockets
system tray information
Auto Primary Key with fill in
textbox text not updated
Can you run a process through a UNC path?
Follow up to my previous post "Exception has been thrown by the target of an invocation"

Top Answerers

Gareth Hunter
R.Tutus
Mystagogue
mshvw
bkejser
Steve Whitley
Chetan Garude
MaggieChan
Horea Soanca
chakravarthy_b
sitemap
Only Title

Answer Questions

  • Quack! Install for Everyone Option not there

    All, After publishing my project and installing for the first time I was expecring an option of install for everyone or install as me only. But I never got one. I continued anyway and guess what when a new user logs on the machine they dont have the application. is there some setting i'm missing during the publishing phase so I turn on this option Cheers I can't find that 'everyone' option either. Can't find the option for installation path/directory either. MS screwed up good. If you ever figure out how to use these options please let me know. I will do the same. Hi, you're probably publishing your application using ClickOnce. ClickOnce-deployed app ...Show All

  • JCJCJC Cross-thread operation not valid

    Please help. Here is the error message I get when I run the application. System.InvalidOperationException was caught Message="Cross-thread operation not valid: Control 'lbPacket' accessed from a thread other than the thread it was created on." Here is the code: Imports System Imports System.Windows.Forms Imports System.Net.Sockets Imports System.Net Imports System.Threading Imports System.Text Public Class Form1 Public Listener As Thread Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load End Sub Public Sub Run() Dim len_receive_buf As Integer = 4 ...Show All

  • Vedratna Simple VB.NET Question

    I am brand new to VB.NET (see green) after years of web design and development (primarily PHP/MySQL) and I have what is probably a simple question, but I wasn't even sure how to phrase it for Google search, so hopefully I can explain it clearly here... I have a VB.NET form with three buttons. I want each of the buttons to upon being clicked produce randomly chosen text from a list of maybe 10 responses and display it in a label on the form. EX: Click button 1 displays "Hello" Click button 1 again displays "Green" or something like that randomly chosen from the list Click button 1 again may display "Green" or "Hello" or "Banana" or something else from the list and so on... I need to know h ...Show All

  • scottm87 NET SEND GUI

    Hi all. I am working on a net send/recieve utility. I can get the sending protion of the program to work, but cannot get the receive portion to display the received message in a textbox in my application. It always pops up like the standard windows message screen. How can I get it to display it my received textbox. Another question. Is there a way to stop the command box from flashing when I click to send a message from what I can see/understand you are "shelling out" the background net send utility. There wouldnt be a way to recieve back the input really unless it exposes some API. you can however redirect te input/output of that application but whether this will work when re ...Show All

  • Blackchina79 Object.Recordset.Filter and BETWEEN

    I am sorry if this is the incorrect forum to post this in but I can't find any other that fits. I am using an ADO Datacontrol in my app. connected to a MS Access DB. I am trying to filter the data using the following: Object.Recordset.Filter = Filterstring The problem is I am trying to use the Between operator and I am failing. Here is the code as I have it. ado_ShipInfo.Recordset.Filter = "[Date/Time] = Between '2/1/2007 7:00am' And [Date/Time] ' 2/1/2007 3:00pm'" The above I know is incorrect. How would I go about doing this The delimeter for datetime is the # sign... ado_ShipInfo.Recordset.Filter = "[Date/Time] Between #2/1/2007 7:00am# And # 2/1/2007 3:00pm#" ...Show All

  • AlexCr Installing VS 2005 keeps on asking ' Please insert the disk: Visual studio 2005'

    The installation process for Visual Studio 2005 prompts ' Please insert the disk: Visual Studio 2005' everytime when I try to install VS2005. This is what I did: * Downloaded VS 2005 from the MSDN members download site.    File name: en_vs_2005_pro_dvd.iso (size=2,825,748 KB) * Used MagicISO tool to unpack the files   * Used Nero 6 to write the extracted files to the DVD * Created a brand new Virtual PC with Windows XP + SP2 * Start the install process in the VPC by clicking on the setup.exe    in \vs on the dvd * Select the default installation options * Installation starts for a long time and then prompts:    Please insert the disk: Visual Studio 2005'    The screen show:   ...Show All

  • crazy_kebab local help is always (0)

    Since a few days, my local help is always giving 0 results. I have no clue where to start in order to fix this. Start | Programs | MSDN Library gives 'cannot find server' This shortcut's target is: "C:\Program Files\Common Files\Microsoft Shared\Help 8\dexplore.exe" /helpcol ms-help://MS.MSDN.vAug06.en /LaunchNamedUrlTopic DefaultPage /usehelpsettings MSDNAug06.8.0 How should it know where to find ms-help Does this operating system have logical names or something In the environment variables there is no trace of it. Yes. Repair didn't help, removing the entire MSDN and re-installing didn't help either. Nice way to pass the day, but no change... B ...Show All

  • WXS123 Making certain file extensions

    Hi All, I'd like to inquire if it is possible to create a specific file extension like for example .wew and when the user double clicks over the that kind of file ,it excutes the programm associated with it ,and how can the contents be interpreted by the program, I tried to find how to do that ,and I only found soultion that deal with windows shell scripting Thanks alot for any cooperation Aiad Aljumaily To associate a program with an extension, add these keys to HKEY_CLASSES_ROOT: I put the data type or key in square brackets after the value or key. So [key] means create a new key, while [REG_SZ] is a new string value .wew [key] (default) = WewFile [REG_SZ] WewFile\Shell\Open\command (default) = completePathToY ...Show All

  • z2171999 get { return (int)this["Attribute1"]; }

    Is the following the equivalent vb.net Get Return CType ( Me ( "Attribute1" ), Integer ) End Get Thank you, -greg I'm not 100% sure of this, but the example line you give is a shortcut way of reading a class attribute without instantiating a reflection class. I don't believe the shortcut method is possible in VB. To read a class attribute in VB use system.attribute.getcustomattributes(type), then you'd have to enumerate through the collection until you find the attribute named "Attribute1" what are you trying to access in "me" The syntax is not correct. get/set properties are defined as this in VB.N ...Show All

  • Tibor Biro pc to rs232 to dsp

    i am running a program where the user inputs data that is sent to a DSP board via Rs232 i am  testing this through a hyperterminal on another PC first and i cant seem to get what i want which is to send the data to the other PC and get a readback this is what i want to accomplish with my final program using a DSP PC --------> RS232-----------> DSP--------->RS232----------> PC 2 textboxes----------------------->ok ----------------------->  4 textboxes move "1""2"                            readback to pc          &nbs ...Show All

  • bitbonk Highlighting Text in a Web Browser Control

    I have a VB 2005 windows app that includes a web browser control in which I display a variety of HTML pages that are a part of my project. I would like to include a Find and Find Next feature whereby the user can search the page being displayed for a string. If I find the search string then I would like to highlight it for the user (similar to the IE Find feature) ... my problem is that I don't know how to select (i.e. highlight) the found text in the browser control. Can someone enlighten me Thanks. ...Show All

  • Richard Thomas stringbuilder or string within structure to match a C++ struct..??

    **********************     C ++  6.0    ******************************************* typedef struct sSegment {     char   szName[128];                  } sSegment; int EXPORTED GetSegment(long lSegmentIndex, sSegment* pSegment) **********************     data marsaling in vb.net  ******************************************* Public Declare Function GetSegment _         Lib "EVaRT40.dll" _             (ByVal lIndex As Integer, ByRef objSegment As Segment) As Integer ****************** ...Show All

  • David Zuckerman DataGrid

    How do I add the value of a entire column For those who are familiar with electrical engineering and parallel circuits the following will be understandable for those who do not have a grasp on either please answer question one. My main objective is to find total resistance so I need to divide 1 by each individual resistor value and add all of them up and divide one by the the previous calculations. To acquire all the resistor values I have a DataTable which is binded with a dataset which is binded with a DataGrid Please tell me how to add the values up in the resistor value column OK a general function here you can provide it with the datatable that your using and the name of ...Show All

  • Tom Roberts hiding the startup form

    Hi, I was wondering if there is a way to immediately hide the startup form on startup. The Me.visible = False and Me.hide() Methods don't work. I am trying to make a simple program that has a login form and the main form. When my program starts i want the login screen to appear and the main form to immediately disappear, then when the user clicks OK the login screen closes and the main form shows. Everything works except when the program runs both the login and the main form window appear and i can't seem to make the main form disappear, and for other reasons setting the login form as the startup form is not an option. Hope this is a simple fix. Connor If Form1.Visible = False Then Form1.Visib ...Show All

  • Ultrawhack Uniquely identify an object

    Hi, I have asked this question on a number of forums, with no luck. So I hope you experts can help. Basically I have instances of the same object stored in many collection and other classes as well. Now when I am using the break points in the debugger, I am performing comparison to see if one object is the same as the other, I tend to use the ‘Is’ keyword. Now this will tell me if they are the same, but when are not the same and I am expecting them to be, I am having trouble working out what’s going on! Because I have object all over the place I would like a way to uniquely identify an object. In the debugger I have no idea which instance is what obviously they all look the same in the debugger window. I image I need somet ...Show All

565758596061626364656667686970717273

©2008 Software Development Network

powered by phorum