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

Software Development Network >> Visual Basic

Visual Basic

New Question

Vieving CMD in my application
serialport control performance
Create files
Renamimg an object
Publish two projects referenced together
System.DllNotFound Exception
Publish two projects referenced together
Rename a Table in MS Access using VB or SQL statement
Detecting MDAC
Calling a sub while reading an array?

Top Answerers

chickie
Juke
Haider Naqvi
JFNau
Ravi_Kumar
CruS
Suricate
BarrySumpter
rgreene_nl
mmafn
Sp茅cification OPML 1.0
Only Title

Answer Questions

  • Frederik Slijkerman Sending hex characters using MSCOMM32.OCX

    Hi All, I am using VB5 to send and receive hex characters out the serial port using MSCOMM32.OCX. I can send a hex character using the following format: 'MSComm1.Output = Chr$(&HC3)' and my module will receive 'C3' in one byte. Which is what I want to receive. However, I need to send a hex variable to the port, ie. Chr$(&H hexvariable#) Does anyone know the proper sytax to use I really need help on this one!!! Thanks, R ...Show All

  • Karen Mae Sapla VB Express beta2 and sql db creation problems

    I'm trying to learn visual basic, via the how-to's in VB express. I know zip about sql, and little about databases in general. Here's the problem. In an exercise to create a Windows form containing a sql database, I keep getting "Cannot connect to database. Server timed out." error messages. 1. What server It's just me & my laptop. 2. At least, I'm no longer getting "User does not have permission" errors. How do I need to configure services ...Show All

  • Chandrashekhar K How To: Implement a Form class with overloaded shared methods and how to destroy it once the calling method has finished.

    Overview: I am writing applications that drive manufacturing automation equipment such as those found on an assembly line. (Robot Welders etc…)   The operators and technicians use touch screens monitors to interact with the system (Human Machine Interface (HMI) or Graphical User Interface (GUI) to put it into Windows development terms.   No keyboard or Mouse is available to them.     Problem: The standard Msg ...Show All

  • tri_phani Learning VB6

    Hi, Im wondering if anyone could help me out I have got Visual Basic 6.0 and Visual Studio 2005 and want to know if there are any good sites with tutorials on using these packages (particularly VB6 for starting up) , Can I get learning Packages or Starter Kits , I dont know any code but understand how it works, I know HTML and tried some JAVAscript ... can anyone please advise.. Thanks Paul if you kn ...Show All

  • xico Doing a boolean with datarows: the correct way?

    Hi, I am trying my make my app do a boolean query. On coding in the line below, the blue squigle appeared stating that conversions from boolean to integer is not allowed ( I have option explicit turned on) For Each di As DataRow In perTable.Rows If CInt(di(sC1)) And CInt(di(sC2)) <= pSm Then di.Item("Comments") = "Warning! Needs attention" End If Next Is there a safe and correct way to do ...Show All

  • bakerbud9 How to mark all the particular words in a RichTextBox

    When I was trying to search a particular word, say "trade", in the text of RichTextBox, I wrote the following code: RichTextBox1.SelectionStart = RichTextBox1.Find("trade") However, the text contains a number of "trade" and the above method can only find the first one. My question is how to highlight all "trade" in the RichTextBox. Help!!! Whoever knows t ...Show All

  • KingMartin VB or VC++ for GUI Development?

    Hi Folks, I want to solicit suggestions regarding the performance of VB. Net or VC++ .Net with regards to GUI development. Thanks. +Ver Hi, If what you meant by VC++.Net is the C++ extension for the .Net framewrok then I could say that its just the same. Both of these uses the same controls from the framework. The only advantage of C++.Net over VB is that it could use MFC or other native objects. But if your not planning to do so, I s ...Show All

  • Prism HelpCursor on Menu

    Hi all, I need to enable context sensitive help in my application. For this when user clicks on a menu item( "Whatis this"), i would change the cursor to a help cursor. I used system.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Help As this code did not help in changing the cursor, i modified the code to Me.Cursor = System.Windows.Forms.Cursors.Help This code indeed worked. But when i move the cursor over a ite ...Show All

  • JIM.H. Assign Datasource to DataGrid at Runtime

    hi I want to assign datasource to the datagrid ( or any other compatible grid..if u have suggessions pls tell me) This is my code [ VBCODE] Dim cst, sq As String sq = "SELECT * from TABLE" Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset con.Provider = "Microsoft.Jet.OLEDB.4.0" con.Open "F:\Trial\trial.mdb" rs.Open sq, con, adOpenDynamic, adLockOptimistic, adCmdText DataGrid1.DataSource = rs.Source ...Show All

  • MarkEllis Making an Incremental Search

    I had a datagridview(dgvName) that was primarily used to load data from a certain table of my database.Using the datasource option in my datagridview's properties, I choose the table and in the Column, I bound a certain column(Name)...Now I had also a TextBox(tboxSearch) which I want to use as a way to search the data of my dgvName..I want the seaching to be incrementally, that is, when I type a single letter in the textbox, say A, cell wi ...Show All

  • donald_hodges Class properties: an invitation to weaker OOP programming?

    Why have class properties It just looks too much like a way to modify an object's data from outside the object, which leads to sloppy OOP programming( ) Coming from a strong OOP background with C++, selectors and modifiers seem appropriate if we are trying to be truely Object-driven. So instead of: Class ThisClass ' ' Data ' Private m_sName As String ' ' Properties ' Public Property Name() As String Get ' R ...Show All

  • Mark Ingram Some Questions

    how on earth do you make a color transparent   I'm not tlaking about a button color, not a 'textbox color', but a color on Paint.   I painted a picture on Paint. I loaded it on VB, now there's a big black area behind it. i want the black area to go away. I want to make the color 'black' transparent, so that when you move it over something, the black area is transparent.  Tu comprende Can you show us you ...Show All

  • Nilton Pinheiro Accessing a VB6 dll from vb.Net

    I have a dll supplied by an associate. He created it with VB6 and I wish to use it in a VB.Net (2005) Application. So far I am only able to see the contents as interfaces. I have done the following 1) I had to register the dll so that I could add a reference to it 2) Added the dll as a reference 3) imported the dll reference into my class 4) imported System.Runtime.Interopservices into my class 5) created a public insta ...Show All

  • GregA Using Microsoft Agent with WebBrowser control in Visual Basic .NET 2005

    I have been trying hard to make Microsoft Agent read the text displayed in WebBrowser control in Visual Basic .Net 2005. WebBrowser1.DocumentText reads the html format of the text along with the tags whereas I need the finished displayed text (neat text as finally displayed devoid of html tags, etc.) to be read. Is it possible through WebBrowser.DocumentStream If yes then how If no then how to do it ...Show All

  • dummie_q date format

    i am having trouble comparing dates, 1 is pulled from Outlook [Duedate] which is in the format mm/dd/yyyy and the other is todays date which is in the format mm/dd/yyyy when I display it in a message box, however I get the message type mismatch or the value in the condition is not valid Set myItems = myTasks.Restrict("[DueDate] > todaysDate") thanks, all i needed to do was make my variable ...Show All

222324252627282930313233343536373839

©2008 Software Development Network

powered by phorum