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

Software Development Network >> Visual Basic

Visual Basic

New Question

accessing dataset fields
FINDING A SITE FOR TUTORIALS IN EMBEDDING FLASH IN VB.NET
Transfer records from 1 datagrid to another (windows applications)
Parameters
short cut key
How To Create Report In Visual Basic 2005
SQL Server Backup/Restore from VB.NET
Leave Event
Docking forms
How to add comboBox in a data grid column, DataGridComboBoxColumn???

Top Answerers

KitGreen
ozhonetech
rodmanovic
leclerc9
David Sadler
jrp210
rwbogosian
Naolin
PaulCzy
sfabriz
sitemap
Only Title

Answer Questions

  • Zep-- 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

  • RMooreFL Adding a reference to System.ServiceModel from .NET 3.0

    I am using VB .NET 2003 Standard edition SP1. I cannot add a reference to the .dll system.servicemodel. After finding the file "Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\system.servicemodel.dll" I get an error saying "A reference to system.servicemodel.dll could not be added. This is not a valid assembly or COM component. I have reinstalled .NET 3.0, I have tried it on another pc and get the same error. Could anyone tell me why I would get this error ...Show All

  • Steve Whitley formatting Error

    So why do I get this error with the same code (newRow = Cp.tostring("n4")) in one class and not in another The error being: Unable to cast object of type System.string to type System.IFormatProvider. Same imports, same required references... etcheverrjc, IFormatProvider provides a mechanism for retrieving an object to control formatting. Formatting methods convert the value of a type to the string representation of that value Parsing methods convert the string representation of a value to a type with that value. These methods use the GetFormat method of types that implement the IFormatProvider interface to obtain an object that supplies information used in the formatting or parsing operation ...Show All

  • Carlos.Camargo Any idea, please...

    Hello, A question please. I have 2 environments of working. TEST (this is for tests only) and PRODUCTION (this is my release distribution). Now, for example, I create 1 dll that opens my connection. 2 different connections. I'd want to open my connection depending on if I am testing (on TEST environment) or if the program is running on the customer PC (PRODUCTION environment). After I got my program to modify it, how could I set the environment of working without modify my program I mean if my program is running on the development PC, it must open a connection (test connection) , and If my program is running on customer PC, it must open another connection (release connection). Thanks in advance.... ...Show All

  • Pramod S Kumar using OLE Automation (GetObject) in a web service

    Hi everyone, I apologize in advance if this is in the wrong forum :-\ I am having trouble using the GetObject method to access the "handle" of an application through a web service. What I have working right now is the ability of a regular Visual Basic .NET program to access and control the program. ExtendApp = GetObject(, "Extend.Application") That works fine and dandy through a Visual Basic Application. I need to port this code to WSDL. The web service is on IIS on my local machine, as is the application I am attempting to control (Extend). Now when the above code is executed I get this error: System.Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String C ...Show All

  • I am Mats Finding Length of an Real Media Audio File

    Hi, I need to find out the length (i.e. HH:MM:SS) of a rm (Real Media) Audio File from my application which I made in Visual Basic 6.0. I don't need to play it or record it, just find out the length of the file. Please let me know how this can be possible. Thanks Amad Thanks but this links does not contain any information on how to read the length of the .rm file from Visual Basic. Please note that I require to find out the length of the audio/video file and not the size of the file. Also how can I read this file header from Visual Basic. Is it possible to do so Thanks Amad Rabtok, This was a good help, but I am still not getting the desired results. Following is the code for my application in VB ...Show All

  • martona How Can i Make my Own web borswer

    Hey i Need heplp so far i've got a window with back, forward, refresh, stop and a url box and go with a webbroswer below i would like ot be able to get this to work heres the code below so far. [code] Public Class H2FWebBrowser Private Sub cmdGo_Click() wb.Navigate(txtURL.Text) 'make the webbrowser navigate to whatever is in txtURL End Sub Private Sub WebBrowser1_DocumentCompleted( ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles wb.DocumentCompleted End Sub Private Sub cmdGo_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGo.Click End Sub Private Sub cmdStop_Click() w ...Show All

  • Telexer Choices for local data store in a VB.Net project?

    Hello, Just wondering what the preference out there is when it comes to using a database for a local data store in a vb.net client application... The application will store from approximately a 1000 records and up, and is used to import and export data to SQL server. I have completed an app using SQL Express as a backend, but do not find it flexible enough in terms of backing up data, or even having to make a change in the table. I'm finding that when a change is needed to be made in a table, and I have to republish the app, it sends over a new database wiping out all the data that was previously stored on the local machine. Where as if I used something like Access, I could go in and just add a column to a table... What are you ...Show All

  • Steve1999 How to detect SQL SERVER ON LINE or OFF Line

    Dear all any one have case like me, I have 1 database and install at 2 sql server. I still use ADODB connection to connect to SQL server not ADO.net ;The sql server2 is for backup in case sql server 1 off line. The problem is: 1. how to detech SQL server 1 if the engine is no running ( OFF line ) by VB 2005 Code. 2. how to automatic switch from code VB2005 if one the SQL server is off . Thanks for help note : if you have code sample please include at your answer .. many many thanks I running at SQL server 2000, but i want to know how from code VB2005 detect that SQL server1 ( engine SQL SERVER ) running . if use the VB6, the code use "state", but how at VB2005 and h ...Show All

  • sunrunner Trying to write a general save function

    Hello, I'm trying to write a function using VS2005 that will take an untyped Collection of Objects, output the toString to a file for any basic Object it finds and then recursively call itself on all of the Collection types it finds. Trouble is, I don't really know the best way to set up an "isCollection" function and wondered if anyone here could help me out. Any suggestions Hi, Why not simply document your project and add comments into your code too Especially as the project will be maintained by someone else. In your documentation state what each collection is for, all the variable names used etcetera. I thought this would be far easier from a professional point of ...Show All

  • Ghassan Rashed change from vs2003 to vs2005

    Hi, .Net experts, I am at the eve of go live with my first full scale dot net windows app. I developed it in vs2003. Now we are thinking about change over to vs2005, primary for its one touch deployment capability. I know there are other newer features/upgrades associated with vs2005, but for this project, they would not make too much difference. My concern is that will the change break anything. I know a lot of factors can come into place here. Here is the laundry list. And please give me your advice, thanks! Old: vs.net professional version 2003 Upgrade New: vs2005 Professional Upgrade Nature of the app: windows app, client/server with sql server 2000, up to 50 users in one physical location, d ata access layer is using Microsoft.Appli ...Show All

  • Bruce Baker Odd ascii chars in file IO

    If anyone can help me with this I'd appreciate, its a mystery to me. My code inputs one line at a time from a file containing a list of celtic names. e.g. one line would be Vailintin - also can be Valentine, Latin= "healthy." It cuts the string off before the "-" and outputs to a new file. However, when I open new file I see the following: Vailintn The i characters (and all other similar accented letters) have simply disappeared. Can anyone help me with this I'm using the filestream, streamreader/writer objects, and I'm not doing anything with the strings other than cut them off at the "-". Cheers! Make sure you set the Encoding property of the Str ...Show All

  • Lukke cannot start application

    hi when i publish my VB application via remot server , i get the followin message : cannot start application , check your network connection or contact your system administrator or network service provider , i get the following errors page: + Downloading http://www.pmlearn.com/pmp1/EXAM1TRY.application did not succeed. + The remote server returned an error: (406) Not Acceptable. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [8/27/2006 8:10:25 AM] : Activation of http://www.pmlearn.com/pmp1/EXAM1TRY.application has started. ERROR DETAILS Following errors were detected during this operation. * [8/27/2006 8:10 ...Show All

  • samwalrus Sample CreateWindowEx API

    Hi Everyone again, finally, i got how to replace the start button of xp. u need to call 2 api's: findwindowex and createwindowex. and i got a question on the 2nd one: visual basic code: Hi Bruno, I got the code for vb6, but cant upgrade it in2 vb2005 becuz there are some marshall attributes needed and i dont know them.. could you help me with this thnx Dear Bruno, Do You have any solution for this Attila Forgel, I think the sample code is just an example on CreateWindowEx API. If you would like to use it directly in your project, I think it is possible. I will try to check the marshall attributes needed when upgrade in to VB2005. I suggest you to give me the specific problem in a new thread. T ...Show All

  • JohnD74 Edit properties of controls on other forms

    I understand how to change the value of a textbox by making a new form in the code Dim Form2 as New form ... Form2.show() This however does not work for me, i need to edit existing form controls that i make in the designer. So instead of making a new form in the code, i wnat to just edit one i already made. Right now i can only get the code to run when I dim Form1 as new Form I cant dim it as new, then nothing works and i get null erros and such. Any help will be greatly appreciated, I did search the forums and all i found was what i have above and that wont work, atleast i dont believe it will. Hello You are clearly new to programming and I would recommend you take some ti ...Show All

95969798990123456789101112

©2008 Software Development Network

powered by phorum