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

Software Development Network >> Visual Basic

Visual Basic

New Question

Send mail in .NET
Using Return insted of Exit Function
Setup Produced By "Build, Publish" Gives Error After I Uninstalled VB With CD And 'Removed' All Installation CD Programs
PrintForm not in "All Windows forms" toolbox ?
error messages microsoft visual basic - hidden modules - help
Working with an array of structures
is it allowed to install Visual Studio 2005 non-express editions on more than 1 PC?
AddHandler causes FileNotFoundException?
Strict Color Data Types
Doubt in impersonation

Top Answerers

paso
AlexBB
BiffJC
Ken Villines
Matt Penfold
crino
Steve Dunn
KentaroM
Madhuchhanda
alan32818
sitemap
Only Title

Answer Questions

  • Viktor78 Word.doc

    Is it possible to open a word.doc in a RichTextBox and if yes, how This is what I am saying you cannot open/load a word doc into the RTB control as the file format will be invalid - using the enum paramters may not work but if it does as suggested it will show alot of characters which are unreadable to us humans So it works then Good. If it's solved your problem you should mark the post as answering the question. no. You can probably use COM Interop to access word or something, im unsure: http://msdn2.microsoft.com/en-us/library/ms247300.aspx In your project, you'll need to add a reference to Microsoft.Office.Interop.Word which should be found under the Com tab of the Add Re ...Show All

  • Nicolas Mueggler makeing background form

    well i make a program that get mouse X and Y each time the mouse moves on the form and write it to file ; i want to make that program " in the background" that still get X and Y but user wont see it he can still work and program still record ; how can i make thats you dont need to do a hook at all. It works even if the application is not in focus but hidden. I've done this many times and doing it just now. I placed a label on the form I placed a timer on the form I set the timer interval to be 100 milliseconds (to constantly show the mouse position) and enabled it so when we start the app it will kick in straight away. on the timer tick event, I did: Me.Label1.Text = Cursor ...Show All

  • Beetle54 movie collection starter kit

    Hi there I trying to run movie collection1 and I have a problem When I try to add some dvds to the collection via online, I get a error message saying that the movie cannot be added to the collection, and it is not. It adds some dvds and I get the error message with others. For instance, it cannot add the sound of music or The Firm to the list, but I can add DUEL All of this is with the movie collection template I downloaded. Any suggestions Thanks Hi, I just downloaded the movie collection starter kit. I am experiencing the same error. The only time I can see the properties you describe above is when I am in DEBUG mode. So I cannot make any of the suggested changes. How do ...Show All

  • Jon Klein SDE Call Stack Frame

    Hi, I have a routine which transfers data from an excel worksheet to a data table, then I iterate through the datatable to update records in an Sql database. Works fine up to a point, however half way through the process, I get the following error message. "No symbols are loaded for any call stack frame. The source code cannot be displayed" Whe I click OK on this messagebox, the following error information is shown. ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1a1de0 to COM context 0x1a1f50 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumpi ...Show All

  • Juniorscone Update requires a valid UpdateCommand when passed DataRow collection with modified rows.

    First lets start with, I downloaded the 2005 Visual Studio beta 2 ver. and I am programming in Visual Basic. This is my first project with this language and I let the wizards do all the work. To my suprise the automatic wizard code fail to write the correct code. Steps I made a connection to a access database. I installed a dataview grid and then tried to correct data. I got the following error when I tried to (save data). Update requires a valid UpdateCommand when passed DataRow collection with modified rows. Look at the Public Overloads Overridable Function Update( ByVal dataTable As SubContractorsDataSet.SubContractorsDataTable) As Integer Return Me .Adapter.Update(dataTable) End Function I read some other ...Show All

  • Caolan ODomhnaill Store value in Database

    Hi all, how are you... can anyone please tell me how can i store value of TextBox(s) and ComboBox(s) in Database and in form1 which command will make values of textboxes selected while pressing tab.. Thank you I have a form where i m having 2 textboxes named txt_name and txt_surname now on click event of save button i want to store value of txt_name in VIMAL(database name) INFO(tablename) [NAME,SURNAME(fields name) can you please mention the command line of save button's click event for the same. Thank you. Vimal_Rupera wrote: I have a form where i m having 2 textboxes named txt_name and txt_surname now on click event of save button i want to store value of txt_name in VIMAL(d ...Show All

  • JPC16 Count property

    I need to code a click button procedure that displays the total number of items in a list box. I can't figure out what to do. Any help is appreciated Try this... Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim count As Integer = 0 count = Me .ListBox1.Items.Count Label1.Text = count End Sub Hope this helps... cmazur wrote: Try this... Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim count As Integer = 0 count = Me .ListBox1.Items.Count Label1.Text = count End ...Show All

  • themadprof Timed Forms

    When a typical application starts it usually has a main form that shows, right How can I use VB 2005 close the main form after certain period of time and at the same time opens another form Please help me Normally when you close the main form the application exits. You'll need to set the Shutdown mode from "When startup form closes" to "When last form closes" and make sure your new form is shown before the other form is closed (you can hide it first, while opening the other form, to avoid shutting down the application). You can use a Timer object to raise an event to instigate all of this. 2.0 has a Splash class... Are you trying to create a regular splash s ...Show All

  • Aamir Iqbal Code to Flow Chart Diagram

    I'm looking for ideas... I have written an app to generate a logon script for my domain, and I'm pretty happy with it as long as I am willing to hack the vbscript, but I want to be able to generate the code based on objects in a diagram. Let me explain a bit... My app shows users, groups, OUs, printers, drives, etc. in listviews, and it's easy enough to drag a printer or a drive onto a group or a user, but suppose the printer is dependent on what workstation the user is logged onto. I think it would be do-able to display a picture box, parse the vbscript and draw lines and boxes, but that would only be an output - very useful, but that only makes a logon script viewer. I would have to be able to give the user buttons and whatnot to draw ...Show All

  • Kamil Janiszewski Data transfer from multiples textboxes to temporary listview Or any otherthing(URGENT)

    Hi Experts, I have problem like, In my form i have 3 textboxes in a 3 row , Like this - - - - - - - - - when i press save , I want to transfer all these values into list view , again i will enter some values in these textboxes , i have to append these datas into previews list view. How to do this......... Thanx and Regards Selva.R Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click For Each c As Control In Me . Controls If TypeOf c Is TextBox Then Dim t As TextBox = DirectCast ( c , TextBox ) Me . ListView1 . Items . Add ( t . Text ) End If Ne ...Show All

  • Hermit Dave Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

    There was a similar question posed on the C++ forum back in February to which I responded yesterday, but unfortunately, did not get a response. I am therefore putting this question in the VB forum. I have a VB 2005 project which is actually an add-in to Outlook 2003, which was I was able to debug fine until earlier this week. Now I cannot debug it at all - the message in the subject is displayed when I hover the mouse over the breakpoint which shows a yellow icon in place. Can anyone here tell me what I should do to correct this I'm having this same problem. It started when I re-installed XP Pro after having done the initial development work on Vista (Vista has too many security and UI problems). I ...Show All

  • programmingisfun . SetPixel. See this Microsoft example

    Hi, I am trying to change a pixel color inside a gif file image, using the setpixel and this failed with the error - SetPixel is not supported for images with indexed pixel formats. What is the alternative to the setpixel function, for an indexed image N.b - I managed to use the getpixel to read from the image Thanks Jansen tamasu, You need to convert the indexed image to a non-indexed image. Here is a function to do that, along with a short demo that uses it: Imports System.Drawing Module Module1     Function CreateNonIndexedImage(ByVal src As Image) As Bitmap         Dim newBmp As New Bitmap(src.Width, src.Height, Ima ...Show All

  • tevisB How Can I make a protected sql database file

    I have an access db file with my VB 2005 I want to change it to sql database file with protected by username and password I have sql server 2000 are you referring to storing the username/password in your app securely or as best as without using Windows Authentication When you create the database in SQL you will have to setup authentication for the db! If you use SQL authentication...you will have to supply a username and password for the connection to the database. Even with mixed mode authentication, you're still going to have limited access to the SQL sa account and probably your own Windows account - other users will likely not be able to connect to your DB without either their Windows account being given ac ...Show All

  • Muzammil Baig VB.Net & ClickOnce --- No changes to deployment???

    I am using VB.Net Express 2005.  I am NOT using FrontPage extensions to send the published application to the IIS server.  Rather, I "publish" to my local drive (c:\publish\) and then upload to the IIS server via FTP.  However, when I Build and Publish, and execute the application either on my local drive, or on the server, none of my changes take effect.  It's like it is "caching" the old code.  None of the changes I make are recognized in the Published Build.  ARGH... I need help! Did you increment the published version number This is what it goes by to determine if a new version of the app needs to be deployed. If it sees the same version number, the client ...Show All

  • Mahesha Code Snippet Manager Invisible Folder

    [ Hello ! I add two snippets with the Snippet Manager ( with Subfolder) Now ,I want to delete this folder.In the code ...the Folders exisit, but in the Snippet Manager , i can’t see the folder and i can not delete this Folder! how can I delete the Folder without the Snippet Manager And where is the XML File for this If i delete the SnippetIndex.xml File ..nothing happens.... Thanks for the Help... Pseudocode   Hello ! yes i use the right Language (Visual Basic) I create a Snippet with the Code Snippet Editor. Then i try to put the Folder FTP with the Snippet to Visual Studio with the Snippet Manager. Next I see the FTP Folder in the Snippet Manager but in the Co ...Show All

676869707172737475767778798081828384

©2008 Software Development Network

powered by phorum