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

Software Development Network >> Visual Basic

Visual Basic

New Question

edit and continue
shDocVw.dll in VB.Net 2003
close comport which is used by another process (MScomm VB .NET)
what about "can't change combobox height vb.net 2005'
Whats wrong with this?
Blinking Cursor
Loading and gathering information from a text document
Asc(e.KeyChar) ?
Dataset Queries
Function Module for Registry Programming

Top Answerers

SaurabhMehta
IG.
alexis.sourceau
Lloyd O.
Bill Wallace
Hanu Kommalapati
GKRAO
João Ramos
Delucia
BustaR
LiDIA
Only Title

Answer Questions

  • Dean Krause vb keypress probs

    sup. im doing my computer programming ISU in vb. but im having a wierd problem. it might seem easy to u peaple but i only started learning vb a month ago. i learned how to move stuff with the keypress thing but the game im making the keyypress wont work with it. heres the code Dim a(0 To 5) As Integer Dim b As Integer Private Sub Command1_Click() a(0) = Rnd() * 40 + 10 a(1) = Rnd() * 40 + 10 a(2) = Rnd() * 40 + 10 a(3) = Rnd() * 40 + 1 ...Show All

  • adidion How to tell when a user logs on to windows?

    I am using VS 2003 to write a service in VB, this service will run in the background and has to run on a user account rather than the local system so cannot do any GUI stuff (as far as I know). I have written a second app in c# to handle the GUI side of things and I want to run it when the user logs in to windows. Does anyone know how I can tell when a user logs on - is there a registry key I can check every few seconds or is t ...Show All

  • meade Dataview & Relationships

    Hi, How do i input 2 related tables' fields into a dataview which is displayed on a datagrid, choosing the fields (columns) i want to display, anyone knows or have any examples Table1: ID, Name, Age, Sex, Job Table2: ID, JobName, Salary For example, I created a relationship "Table1Table2" I would like my datagrid to display the fields: ID,Name,Age,Sex,Job,JobName. JobName is from Table2, the others from Table1. Not sure how to do it, these ...Show All

  • SteveOC 2 Projects in solution not compiling to the same directory.

      If create two projects in the same solution and add a Ref from one to the second and compile the second, and compile sol I get both compiled to the second's directory. Exactly as I'd like. And if I create Solution3 with Project3 and add the first project and add ref in Project3 to First project they also both compile to the same directory (Project3's compiled directory).   But it's not working for an existing project. &n ...Show All

  • rean Updating underlying table

    I have a form based on a BindingSource. The text controls' Data Source Update Mode are set to OnPropertyChanged. The FormClosing method (I almost said "event") has the line Me.nameBindingSource.EndEdit() Changes to the data in the fields on the form are not saved when the form is closed. How can I do this Again, I added a test form. This time I pointed to a different data table. The same er ...Show All

  • jaypee68 Filter data from text

    I have an error log that is saved by some software as a text file. Currently my program allows you to open a text file and it shows the information in a text box. I want to sort through the text box for key words so I can filter out what I want for data, for example here is some data in the text file error log: Data on me this is just filler data; blah blah 21:06:14 Copying BOM from Part:123212 Part revision for sub assembly was not found. Reque ...Show All

  • lbendlin Form databound to Query

    From the data sources window, I dragged a query called qryWeeks onto my form. This created QryWeeksBindingSource QryWeeksTableAdapter QryWeeksBindingNavigator It displays fine, but the Save on qryWeeksBindingNavigator doesn't work. The error is "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." The error occurs in the Dataset designer, in this function Public Overloads Overridable Function Update( ...Show All

  • Rob Reiss Disappearing rectangles

    Hi there I have a pretty straight forward program. There are two forms. User enters some values in a textbox in form1 and then clicks on a button. Program uses the values as a seed to draw rectangles of a random size, color and position on a picturebox on form2. Problem is that when i click on the button form2 loads and i see the rectangles flash up for about half a second as they are drawn, but then dissapear leaving an empty picturebox. ...Show All

  • Gerlop I can't seem to make the executable for my program.

    I've been trying to make an executable (.exe) file for my program, but it doesn't seem to be working, i'm using Visual Basic 2005 Express edition by the way. I've tried Build, and Publis, but nothing seems to work. Any help when you run your .exe on other machine, make sure .net Framework is installed  Thanks Guys, everything worked out Hi, If you run  the p ...Show All

  • Kriss Most wanted code snippets and resources

    Hi Everyone, We'd like to hear your ideas and opinions on Intellisense Code Snippets . - Which new code snippets would be most useful - Which code-snippet categories already in Visual Studio would need additional code snippets - What new snippet categories would you add to the ones already in Visual Studio - Which code snippet resources would you find most useful in your everyday experience using, authorin ...Show All

  • Aton A Are any tools available to document the project.

    Hi, VB.NET code is very difficult to read (as minimum, compared to Delphi). Also, I can not find any tools to document the project so other developers can understand it. Class diagram is practically useless, because it shows the whole module and does not allow to show ONLY classes what I care about. Inheritance, grouping objects, including objects one to another, etc is not supported. However, It must be a way to document the project. Owhe ...Show All

  • douga Skinning Application

    How can I apply a " not-windows-style " to my VB Form Is there a Control that can skin my application Thanks so much!! Sorry for my bad English ... Hi, Here are some good starting points. Skinning Introduction http://www.developerfusion.co.uk/show/3899/ OpenTheme Tookit http://opentheme.sourceforge.net/OpenThemeTutorial.html SkinCrafter [Commercial] http://www.skincrafter.com/index.html Regards, Vikram Hi everybod ...Show All

  • Unbroken73 Detecting External IP Address

    Hi, How can I detect the External IP Address of machine which is running my Application. By External IP address means that IP Address through which PC running my Application is accessible through Internet. and not the local IP Address Thanks The only way this can be implemented is if your machine querys an external resource and it tells it the IP the request came from. Take a look at www.whatsmyip.org for example :) Hi, Thanks "p ...Show All

  • Ninja Exception handling in OCX event

    Hi guys, I have discovered that exceptions raised in OCX events are not being thrown through the application.  For example: The following code: Dim TB as textbox = Nothing TB.Text = "" called from button click event crashes the application The same code called from OCX event handler does nothing! The exception can be caught but throwing the exception does nothing. It's very annoying. :-( Is  it any w ...Show All

  • Steven Ts include attachment in SMTPMail

    Hi, I would like to ask how to attach a file as an attachment in the mail. i have try but it does not work. however, no error message was produced. this is my code: Dim message As New System.Web.Mail.MailMessage message.To = "li-ching.ooi@avagotech.com" message.From = txtMail1.Text message.Subject = txtsubject.Text message.Body = txtMsg.Text message.Attachments.Add(txtAttach.Text) 'Try ' SmtpM ...Show All

444546474849505152535455565758596061

©2008 Software Development Network

powered by phorum