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

Software Development Network >> Visual Basic

Visual Basic

New Question

Playing/Loading a sound from your resources?
ImageLooper Control
Shared property works in VS2003, does not in VS2005
Array assignments: how do they work precisely?
use the openfiledialog to folder level
Object oriented issue puzzles me
Default Page in WebBrowser?
VB 2005 Express false compiler error
Problem unloading AppDomain
Change class template

Top Answerers

polymorphicx
NeederOfVBHelp
Spyros Christodoulou
Satya vani
Chief G
ScaryKidsScaringKids
Walter Luszczyk
Cathie 64
Javier Carvajal
vladb
sitemap
Only Title

Answer Questions

  • CoolBrinkman print dialog problem

    hey out there. how do i make the print dialog send output to the printer i have looked a little around, but i cant find anything.. i know i have to use something like this: If PrintDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then <missing code> ;) End If can you help me //Martin Please look at the following link. That will give you some idea. http://msdn2.microsoft.com/en-us/library/system.windows.forms.printdialog.aspx Dear Sir, When you are coding Print Dialog .Attach for example webBrowser1.print() at the end. OK Or use Print Document tool. Bye. Mur it Hakan C L ...Show All

  • Learning VB Visual Basic Compiler Error Hotfix

    Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e&   this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 ..   JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ).   Hi, João, This is a good opportunity (in the interests of total transparency) to give an update on this bug. We’re still having an insanely dif ...Show All

  • Steve Hempen SQL Error Help

    I was working on a login script for my VB.NET 2005 program and I came across this error. Can somone please help me. System.Data.SqlClient.SqlException was unhandled Class=11 ErrorCode=-2146232060 LineNumber=65536 Message="Cannot open database "C:\AITP NEW\AITP\AITP\Users.mdf" requested by the login. The login failed. Login failed for user 'DESKTOP\Matt'." Number=4060 Procedure="" Server=".\SQLExpress" Source=".Net SqlClient Data Provider" State=1 StackTrace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data. ...Show All

  • Paula M Report Question

    In one table there layout is as below. FolderNum FirstName LastName PrimaryB Party Type 06-000001 John Smith -1 B I (Primary Buyer) 06-000001 Jane Smith 0 B I (Spouse) The -1 means they are the primary buyer, the 0 means they are the spouse. On a report, how can I get these fields to show up as: Not worried about the color (label) Primary First Name: John Last Name: Smith (label) Other First Name: Jane Last Name: Smith Would that be put in my query statement for the datatable or in the report field i would use a case statement in the SQL (CASE WHEN PrimaryB = -1 TH ...Show All

  • R1ZWAN error in HasMorePages

    Hi How can I Print 4 pages using PrintDocument Control I use this code but i have one page only Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim I As Byte Dim M As Byte = 0 While I <= 200 e.Graphics.DrawLine(Pens.Black, e.MarginBounds.Left + 10, e.MarginBounds.Top + 30 * I, e.MarginBounds.Right, e.MarginBounds.Top + 30 * I) I += 1 M = M + 1 If M = 50 Then e.HasMorePages = True M = 0 Else e.HasMorePages = False End If End While End Sub Help me please. Hi, Your welcome.  I was just running through the loop logic in m ...Show All

  • seco Error in Deploying compiled vb project

    Guys, i receive this when i update or add in my project."Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." The program worked in my computer but when i installed it in another, i received that error. i already checked the adointerop and connection string to no avail. I got it. It seems the datafield size is smaller than the value im passing ...Show All

  • Raju Sreenivasan Failure of CreateObject and Shell commands

    Hi all, I'm new to this forum, so please forgive any break in etiquette. I have written the following sub-routine to service a button press, and it compiles and runs with no errors. However, the command ' objNet = CreateObject("WScript.NetWork")' does not return anything i.e. object = Nothing, and the 'dblRetVal = Shell("raw2ccal.exe")' does not launch the application like I would expect. Any help you can provide would be much appreciated. Thanks in advance. Scotty Private Sub btn_continue_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_continue.Click Dim objNet Dim msg As Integer Dim result As Integer Dim dblRetVal As Double Dim strInfo On Error Re ...Show All

  • mamo Getting textbox text from another form (vb 2005)

    Does anyone know of a simple code to put text from a textbox in one form into a textbox on another form.  I would like to do this when a button is pushed. It was easy in vb6 but I am using 2005 now.  All I had to do was write "textbox1.text = form1.textbox1.text I don't get any errors. It just doesn't update the textbox. The basic concept of what I am trying to do is below. form1 has a textbox and a button. form2 has a textbox. Both forms are open. I type text into the textbox on form1 and click the button and want the text to transfer to the textbox on form2. The program is more complex than that, but in a nutshell that's what I am trying to accomplish. I am a novice, an ...Show All

  • Grotius how to do this???

    A. Application: Control Structures Procedures Arrays B. Program Specification: Project Name: countletters Project Type: Windows Application C. Requirement Description: Write a windows application that accepts a string as input and determines the number of occurences of each character in the string. Implement this using a form with a TextBox, a Button, and a ListBox. Please refer to the graphic file(s) associated with this Machine Problem. Use the TextBox as the data entry for the string, the Button for invoking the count process, and the ListBox for the output. Assume that the user may enter any number of printable character available in the ASCII table. Ignore the spaces and the character case if alphabetic(i.e. 'A' an ...Show All

  • Rob Ainscough How Can we make any drive read only in windows

    Hi All, I want to make any drive in windows read only. The basic aim is to restrict copy between Hard Disk and Removable disk. Thanks, Dinesh You do this correctly by publishing network wide security policies and by not allowing normal users to log in on a local administrator account. You may be able to code something that would block a USB drive but a user could easily disable it if they have local admin access unless you made it very low level and self-protecting along the lines of some spyware or a rootkit virus. Of course, this is a lot of work for something that Windows already gives you an easy built-in way to manage and it may otherwise compromise system security. If such a program was ...Show All

  • Deveyus 1st time lucky, 2nd time's good, 3 times through and it crashes.

    I have a program that uses a subroutine that has an output file called temp.csv. It also has a sub that reads the output file using a streamreader, then closes the streamreader, I've watched it, and it always closes, even when I get an error. Every time through it deletes the temp file because in the output sub, it appends to the output file otherwise. When I run the program, and the program tries to delete the temp file, no problems, second time, no problems, third time, I get the another process is using this file... exception. Like I said, the streamreader is closed by this point every time, I've watched it. Any thoughts So any idea why it runs twice with no problems ...Show All

  • mrotoloni Object reference not set to an instance of an object.

    Below is the code snip. Previously it was running fine but don't know what's the problem now. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 401: Dim strImagefile As String Line 402: Line 403: If (txtfUpLoadfile.PostedFile.ContentLength > 0) And (Not txtfUpLoadfile.PostedFile Is Nothing) Then Line 404: strImagefile = SaveImageFile() 'Function to upload the image Line 405: strEmpImage = strImagefile Source File: Edi ...Show All

  • tattoo What's the difference between a Windows App project properties and Web App project properties

    where can I change things such as ==> "Root Namespace" within the project properties of a Web Application,  the way I can do this within a Windows application. (in a windows application, I select project properties, then click the "Application tab"  then  change the Root Namespace there.   Where can I do this same thing within a Web App Thanks Donna On your code page: Code Snippet Namespace YourNamespace 'Your Code End Namespace Thanks for responding But where can I change things such as ==> "Root Namespace" within the project properties of a Web Application, the way I can ...Show All

  • Kalcy Doubts in internationalization of website done in VB.net

    Internationlization problem Error with neutral culture I am getting the default browser language like this Dim strLanguage As String strLanguage = Request.UserLanguages(0) Thread.CurrentThread.CurrentCulture = New CultureInfo(strLanguage) Thread.CurrentThread.CurrentUICulture = New CultureInfo(strLanguage) Dim c As CultureInfo = New CultureInfo(strLanguage) Thread.CurrentThread.CurrentCulture = c Thread.CurrentThread.CurrentUICulture = c So when i select a neutral culture like "sv" for swedish it displays the following error.I am doin in .Net2003.Can I get a solution( other than choosing a language like sv-fr.....) ...Show All

  • remo.waller Image / Video Recognition for Robotics Application

    I'm creating something that requires image and video recognition. Imagine that I have an object in the front of my camera and it needs to identify it's location so that the computer will know what to do. Is there an API for this or a third party software that can be integrated to my application. I'm using Visual Basic 2005 (.net 2.0). Please help me out! I've used cameras and firmware from DVT Vision Systems before. It worked okay. I'd strongly recommend you do not try to make this work yourself, the firmware programming required to recognize objects is quite obtuse. Work with one of their system integrators, expect to spend beaucoup bucks. ...Show All

151617181920212223242526272829303132

©2008 Software Development Network

powered by phorum