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

Software Development Network >> Visual Basic

Visual Basic

New Question

Problems with WebBrowser objects...
How to display correct subcategories after selecting a category from a combo
Loops to type
Me.MouseButtons = mousebuttons.left Error( Read Only), But Is it????
msgbox when a tabpage is selected
vb2005 Deployment Project prerequisites versus Merge Modules
how to make a control same property in whole application?
datagridview sort, compare, sum
Newbie Question About Creating a Screen Saver from scratch
Project-Properties-Settings Question

Top Answerers

SurreDeth
UK_2006
Bulldog.NET
Hir&#233&#59;n
Asklepios
raq
Omicron
gvraovc
cjreyn
Will Riley
sitemap
Only Title

Answer Questions

  • hoowahfun Database won't update?

    New to vb.net. When i create a datasource i am asked if i want to copy the database to my application. I say yes. I go through all the steps and make my data form by draging form the datasource to the form. Everything goes without a hitch. but the data changes that i make to my program do not update to the database. I am using vbexpress and sqlexpress. Is there a simple setting somewhere that i'm missing my database is local to my hard drive. i considered myself very good with vb6. I love the .net 's new way of putting applications together. if i could get over this hump i'll be alright. Thanks. Do you have some code you could post Are you only using the built in binding in the controls Maybe you could outline some of the ste ...Show All

  • Edentheguy Reusing Forms

    Greetings I am converting a VB6 program containing multiple forms into a 2005.net VB program. In the old VB6 program I use a modal form and then I want to re-use the same form but but change some of the labels and make visible a control that was invisible the first time around. In the VB 6 version I was in, say, Form1 and executed the following code: Unload Form1 Form1.Show 1 This re-did the Load event and I used a counter to customize the form in its second life. Is there any way to do this simply in VS2005 VB you can reuse a form either by declaring it globally then accessing it via that or create the form and then use Application.OpenForms to get the form you want via index. is this ...Show All

  • JR Lyon ListViewBox Not Cooperating

    Greetings: I'm trying to iterate through a table in a DataSet and display the rows in a ListViewBox. The stored procedure used works fine in the database, and the debugger shows that my DataSet is filled with exactly the records I'm looking for. But the ListViewBox does not show the columns I set up for it, and only displays part of one field from each record, arranged in neat rows and columns. I know that this is real basic stuff, but I'm just not getting it. Here's the code: Private Sub btnTablesRead_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnTablesRead.Click 'check to see which table has been selected If rdoTableMiles.Checked Then Sproc = DBLink.MilesRecords ...Show All

  • nglow Menustrip

    Hi, I was hoping that somebody could tell me how to program a "new" function for a menustrip. I want this to reload my program. Private Sub NewGameToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewGameToolStripMenuItem.Click Dim Monopoly As New Monopoly Monopoly.Show() Me.Close() End Sub That is what i have so far the only problem is that it opens a new program then closes the both of them. How do i distinguish the new form from the old or is there a way around this Don't know what are you want to do excatly. But why don't you reload the current form I mean what the form does when it is loading should do it again with the "NEW&qu ...Show All

  • MaseYo detect if the file exists

    OK, hi. what i'm trying to do is ultimately detect wheather a word doc exists. I don't want to open it. What it's going to do is detect if the file exists. If it does, move on If it doesn't ,copy it. i'm stick on the part where u detect if the file is there. Can any1 help me plz!!! Jared is correct in the unlikely possibility that the file could be delete between the calls (maybe multi-user or multiple applications working on the same files) BUT I would still advocate the process of checking the file first and then copying if it exists as a better approach because it avoids using exception handling to control program flow. That said - I would wrap the above logic within a try catch ...Show All

  • Ant_59 Visual Basic - Passing data from a child to a parent form

    Please reply with Visual Basic solutions. I am clicking on a Panel in a child form (BW3) and creating a label giving me the mouse position on the panel. The mouse down event on the panel(BW3.Panel1) needs to also pass this variable onto the parent form(PARENT1)controls(txtwidth and txtheight) text boxes , which is part of a large data set that is going to be sent to a database. I am very new at OOP and class writing so please be gentle Looking forward to an early reply as this is a small part of a big project Dave HI Rabtok That still does not work I am afraid, I call a message box to test and the message box appears but no data. BW3 (Form2) I have Public str1 as string ...Show All

  • JimTan Currency issue with bound objects -I think

    Problem: two textBoxes are bound to two fields in a datagrid.When the text in the first textBox is deleted and replaced , and then the second textBox text is deleted it deletes the text in the first text box(or moves its value back to what it was prior to making the change).Note that if I just modify the text it has no affect on the other textBox-only when I have had a prior deletion. Specifics: the mouse click in the text boxes show a month calendar from which a date is selected and shown in the text box. A keydown event is used to pickup if the "delete" key is hit, and if text is selected it removes the text from the text box and from the dataSet as well(could not get it to delete text by just removing from textBox). ...Show All

  • Microsoft_hates_me How to insert data (probably simple question)

    I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All

  • Jiffy Can i run VB.Net code (for Server) on UNIX?

    i'm trying develop a Client/Server application to transform files from UNIX(Server) to Windows(Client) using VB.Net. Plz help me out how can i build this application. Hi That kind of depends what parts of the framework your application is using. The MS CLR will not run on a unix box, but projects such as mono and rotor successfully support a chunk of the framework on other operating systems. Head on over to www.go-mono.com to see whether your application can be supported. Richard ...Show All

  • babka Reading Lines

    How would you read lines from a textbox Lines is an array - to you can reference the specific line you want rath than simply iterating through it. Textbox.Lines property http://msdn2.microsoft.com/en-us/library/system.windows.forms.textboxbase.lines.aspx Example Dim tempArray() as String tempArray = textBox1.Lines Dim s as string = temparray(0) '//Will show first line contents s = temparray(1) '//Will show second line contents The textbox has a Lines property that returns an array of strings, each string corresponding to the current line... For Each str As String In TextBox1.Lines ' Do whatever you want with the line... End If Best regards, ...Show All

  • 2times ProgressBar in VB.net

    Okay, I have a progress bar that I want to use to track the reading of a text file and the creation of a CrystalReport. The file size will vary from .txt to .txt. How would I set this up I have read many things online about the progress bar but everyone is setting their ProgressBar.Maxiumum to a static number, I need mine to be dynamic based on the file size. After the file has been completely read and shows 100% on the ProgressBar, I want it to reset itself and show the progress of the CrystalReport being generated. Please anyone HELP me!!!! Im lost! Problem with my Label for my progress bar. I have a label that shows the % completed but it doesn't show up until 100% complete. What am I doing wro ...Show All

  • Mark Pitman Local Copy reference problem

    Hi All I am using visual Studio 2005 Standard Edition. I have created a Class Library Add in using VB 2005. Then i added references with copy local= true . The program complies and run smoothly. Then i changed my copy Local =false . It complies well. But to my surprise when i run the application it complains about missing reference and that reference happens to be the one which i made copy local=false. I am sure i have given the correct references paths and so on. Also does any one know how to refer a COM object with Copy Local =false Could anyone explain what's going on Thanks in Advace PRash Give your assembly a strong name and then run the gacutil command line tool (located within y ...Show All

  • ErikInTexas how i can display all application on my computer but not all proccess?

    hi, i want to display all application that install on my computer (like media player,excel,word,norton,...) but with out all proccess. like the list display in control panel->add/remove programs i know i can see the all proccess like this: proccess.getallproccess but i need just my install programs. i talking about visual studio 2003 thank u hi, thank u for youre answer but 2 question 1) in the first code you heve error in the command line: strDisplayName = regRegistry.GetValue( "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & astrKeys(intAppCounter) _ etc... the error is that to regregistry dont have "gatValue" member (at ...Show All

  • MichaelPer How to: tansfer records/data in dataset to datagridview in windows application

    Attn: alll users I need ur help to help me in my project.... How to tansfer the selected record/data to another dataset/datagrid like u click the button transfer and the details will be on the other datagrid pls provide link to relevant topics and alos sample code asap hi! i am bac to tell u in details... 1) NOt all parts of the rows needed to be copy 2) Using VB2005 so practically new to me... 3) schema is the same and underlying same too OK, Imagine this then 1 Dataset (called TData) 2 DataTables (Called Table1, Table2) 2 Binding Sources (Table1Binder, TableBinder2) 2 DataGridViews(Data1, Data2) We want to copy sele ...Show All

  • Jagan P "Start external program" no longer works in VS2003 once 2.0 framework installed

    Ever since I installed VS2005, the "Start external program" feature in VS2003 in Project Properties-->Configuration Properties --> Debugging does not work anymore. The external program launches for a moment, then bails out of memory with no apparent error. Removing the .Net Framework 2.0 fixes the problem. The only other person her in the office with VS2005 installed has the exact same problem. Removing the 2.0 framework worked for him as well. Any thoughts on how to get the feature working again WITHOUT removing 2.0 Marcus Thanks for your feedback, Bruce. The external program in this case is a vb6 app, but has file references to dlls built with the 1.1 framework. The main program that I ...Show All

8485868788899091929394959697989901

©2008 Software Development Network

powered by phorum