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

Software Development Network >> Visual Basic

Visual Basic

New Question

DataGridView Row Slection Question
MDI child forms problem: Minimize button acting as Restore button with second child.
i am using vb.net 2005 i need to select all the comments in my program
How can I cycle through all the System.Drawing.Colors?
serialport and VB2005
Any idea how to limit row numbers?
Is there a VB based regex tutorial anywhere?
c++ Translation problem
listview to richtext drag / drop problem
Deploying an Addin in another computer

Top Answerers

Ruhina
shohaib
TechedRonan
Parceval
sagittarian
kymaita
Baji Prasad
noviceneedhelp
Bear23
Christie Myburgh
sitemap
Only Title

Answer Questions

  • Paul Bradley Launching an app in Sub Main

    I am creating an application, where the form should not be visible. So I am using Sub Main as the startup procedure. The code for my Sub Main procedure is: Public Sub Main() Dim J as New JobQueManager J.JobQueManager_InitApp End Sub When I run my application, it starts in the Sub Main, launches the JobQueManager, and goes thru those procedures, but then comes back in the Sub Main, and exits, and my application unloads. When the JobQueManager goes thru its procedures, there is some user interaction required. But my application, just goes back and exits the Sub Main() and my application unloads. How can I allow for the user to interact Thanks I assume there must be some w ...Show All

  • olgaF IDE Slow, movement of solution explorer window and others

    Where oh where do i start. I am an experienced B developer + 8 years from VB3. We have been using VB 2003 for about two years and have managed to get used to it's foibles. We decided it was time to investigate VS2005. I was using Windows 2000 but due to the fact that I could not install/uninstall a new version of comonent one tools I had my machine rebuild using Windows XP and then i installed VS2005 & the latest version of our component one tools. First of all there is the problem withthe properties windows. I dave a dual monitor system, in fact all the developers have the same set-up. SO in VS2003 I have the main IDE in the left screen and the various propert windows (solution explorer, properties, toolbox etc on the r ...Show All

  • Bahadur running winrar in vb

    how can i run a winrar from vb by giving a input to it........... Well thanks for that but could you tell me how to add a file to winrar archive(compress) That depends on what exactly you want to get winrar to do. If you simply want it to open an archive, try creating a new process and passing the filepath as a command line argument. If you want it to do something else then you need to check for a winrar sdk that will detail any exposed com interfaces that developers can interact with (assuming it has any) Richard Nope ... but if you seek out the sdk or head on over to some winrar forums you should find people that can help. You probably need to investigate the com interfaces ...Show All

  • laoer New to databases in VB

    I have created a database in MS Access that works quite well, but I am trying to move the application part into VB. Here is the problem that I am running into: In access: - I have a two storage tables that hold information. - I have on table that links the storage tables together using the look up wizard - I have a form that has the information from the first table in a combobox - I have a query that filters the information in the second table, it does this by looking at the information in the combobox, then finds the infomation in second table that is related to the first tabel by the table that joins them together. I have a listbox that is filled by the above query I want to do some thing similar in VB, but can't figure out how to get th ...Show All

  • adwins04 Getting and Inserting Data using Combobox Selected Index

    Dear All, I'm using 2 comboboxes of Supplier and Category in a data entry form. I want to insert combobox selectedindex No into the database And also fetch the item in combobox related to SelectedIndex Number in database when I search for data. Any one can help me with the code please Thanks Thanks for your reply and giving your time.If there is a best solution then mine I would wait for the best. Please post here your solution, when you get back from your trip. Thanks If that works for you, then fine, but like I said, I don't believe it's the best solution. I can't provide a full solution now because I'm away on business, but if you would read it ...Show All

  • Gnom3 time and date

    Thanks for putting up with my questions. Does anyone know how to access the computer's date and time so that I can assign it to a variable I found this : Dim s As Date s = DateTime.Today.ToShortDateString() This shows only the current date without the time. I haven't yet found anything for the time and unfortunately have run out of time. tattoo I'm not sure how to do them individually but Dim MyDate as Date = Date.Now this will assign the current date and Time to MyDate. hope this helps tattoo Thank you kindly. This is what I was looking for! Brilliant. Is there any way to show only the date and only the time ...Show All

  • Douglas Penna Changing Disabled Controls ForeColor

    Hi, Is there an "easy" way to change a control's ForeColor when it is diabled Yes, I know that this goes against the Windows standard. On our forms, we have buttons with a dark blue background and a white foreground (the design is dictated by marketing). When the buttons become disabled, the ForeColor goes to a dark color making the button unreadable. Thanks! I hate those marketing dictators too. They'll drive you nuts and it seems that they're always Mac users. I had a similar situation in a VB6 app and there we used the graphical style of the button to achieve the desired effect. However, this feature isn't in VB.NET although this article describes how to get a similar effect: How to: Emulate a Visual Basi ...Show All

  • imdqa Safe threading

    I am threading a section of my application and i get this error Cross-thread operation not valid: Control 'main' accessed from a thread other than the thread it was created on. how can i thread this saftly Public Class Home Dim contthread As New Threading.Thread( AddressOf fillControl) Private Sub Home_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load curUser.Text = Login.UserLabel.Text Call acctsCall() contthread.Start() End Sub Public Sub fillControl() dep = New DepositControl main.Controls.Add(dep) wid = New wdrawd widCont.Controls.Add(wid) mng = New Managecontrol mgnCont.Controls.Add(mng) End Sub ...Show All

  • Ravel Months and dates problem

    I have been trying to do a calendar problem using the months of the year. 30 days for April, 31 for December etc. But I am stuck. I was going to use a select case, but again, stuck. Any help would be useful. Thanks Presumably, you want to find out how many days are in each month There is an algorithm to do this (look it up on wiki, probably), but your easiest method may be to do this: Go to the month following the month you want (include the year! Not all months have the same number of days each year!). Go to the first day. Subtract one day. Read the day number. You DMan, DMan! (betcha not heard that one before... ) I don't get the problem so far, can you exp ...Show All

  • sophy jue FolderBrowserDialog Question

    vb.net 2003 How can configure the folderbrowserdialog command to come up by default to a specific folder I dictate. For example, My Music. Thanks, Dim fbd As New FolderBrowserDialog With fbd . RootFolder = Environment . SpecialFolder . MyMusic . ShowDialog () End With ...Show All

  • etcheverrjc A Sample Filter In EXCEL

    Am trying to filter data in EXCEL programatically using VB.net xlsSheet.Application.Selection.AutoFilter() Now how do i set the filter criteria Example Filter on Field 1 for Code="USNE" Any help is greatly appreciatred. The best way to divine how Excel does something is to run Excel and record a macro of the operation one wants to do. View the Macro, it will be similar in calls to the interops, but more importantly you will see the settings it uses for the operations, which you can use directly. Sasidhar, I will take the multi-Select ListBox as an Example. In your new project, please choose a test database for your project, such as Northwind. Add a ListBox cont ...Show All

  • talha zia How to get a Combo Box to feed from another Combo Box

    Hope someone can help me!! I have a form with two combo boxes. One displays different Areas(e.g. Area1, Area2, Area3) and the other one displays different Regions(e.g. Region1, Region2, Region3). What I want to do is to populate the Region Combo Box depending on the Area selected in the Area Combo Box. For Example if the user selects Area1 have the Region Combo Box filter/display on those Regions that belong to Area1. I relly appreciate any feedback. Thanks alot!!! country is declared as a string, it is set equal to the selected value of combobox1 when PopulateCities is called. So in your case country might be replaced with CarMake.   &nbs ...Show All

  • Janet10 Using TAPI in Visual Basic 2005 Express

    I am brand new to TAPI and am not sure whether it is even supported in Visual Basic 2005 or not. I need to develope a program that will call a phone number from a textbox and play a recorded sound file to the number/line. Am I investigating in the right technology or is there something better or more recently developed that will work for this problem Thanks in advance If I recall correctly TAPI is based upon COM. VB 2005 allows the use of almost all COM components without any problems. SO you would simply need to add the reference to appropriate COM Components and then use them. I think most of the samples I'd seen seem to relate to VB6 samples but these should be able to be used with little or ...Show All

  • sahridhayan hopefully a little problem with listbox/getfiles

    dear ladys and gentlemen, i've got a maybe little problem with the path in an listbox, when i use this code: For Each foundfile As String In My .Computer.FileSystem.GetFiles( _ ( "c:\nuproject\txtfiles\komm" ), _ FileIO.SearchOption.SearchTopLevelOnly, "*.txt" ) ListBox1.Items.Add(foundfile) TextBox1.Text = "" Timer1.Enabled = True Next then i got a list of all txt-files in this directory. so far so good, but i don't want the path be in there. so c:\nuproject\txtfiles\komm\ should be hidden! thanks for your solution! ListBox1.Items.Add( My .Computer.FileSystem.GetName(foundfile)) Using th ...Show All

  • Leonardo Butelli How do i fix to make this code work properly?

    This is my mainform's code This is my main form's code Imports System.Runtime.InteropServices Imports System.Text.RegularExpressions Imports System.Threading Public Class Form1 Public Delegate Sub _idDelegate( ByVal found As String ) Public Delegate Sub _postDelegate( ByVal html As String ) Public Delegate Sub _linkDelegate( ByVal link As String ) Public _onID As New _idDelegate( AddressOf ID) Public _onPost As New _postDelegate( AddressOf Post) Public _onLink As New _linkDelegate( AddressOf Link) Private Sub link( ByVal link As String ) End Sub Private Sub Post( ByVal html As String ) End Sub ...Show All

456789101112131415161718192021

©2008 Software Development Network

powered by phorum