Answer Questions
Chris the badger Add a web Srvice As a data source
i want to Add a web Srvice As a data source to my project I add it successfull but after thet it did not add to my data source and still i donot have a datasource how can i solve the problem i do not Write Code For it I just Add a datasource and Choose Webservice and Add my Web Service . but no datasource add to my Project I think you made mistake about the forum to ask this, or I didn't get the q ...Show All
sagesmith7 Need some help.
I have made a program with a MDI that can edit text documents. However I cannot open files. My saving function works fine. Could someone please tell me a good way to open a file with the OpenFileDialogue in Visual Basic.NET 2005 Express Edition and give me some sample code Thanks in advance! Hey don't worry, Thanks for the code... lol I just used SharpDevelop to convert the code. I can also change VB.NET to C#.NET and vice versa... ...Show All
Ethos Getting the last number of a column
How can I get the last number of a column in a certain table of my database.I had a form that was bounded to this table that has an autonumber field.To be able to add another record and automatically add the autonumber, I want to get the last value in the table to be able to increment it by one when i click the add new button.thanks.... Generally speaking, I wouldn't expect to show a user an id, which is a ...Show All
Craig Z Reading/writing from a text file at a specific location
Hey everyone. Im tying to write/read from a specfic point in a text file. Basically i have groups of data in my file, each with its own heading. I want to be able to look up a particular heading and write/read from that point. Currently i have code that will find the heading in my file (using InStr method) and will read from that point but it reads everything from that heading to the end of the file whereas i want it to stop at the next headi ...Show All
JayUrb VB 3.0 migrating from NT 4 to 2003 DLL question
Does anyone know if we migrate a Visual Basic 3.0 environment from NT 4.0 to 2003 if we need to update the VB DLL's Thanks a lot for the help Steve. Do you know if there is any official document that I could provide to my client that says VB 3/4 will work on Windows 2003 Not clear exactly what you are asking. Are you looking to migrate a VB 3 app to Vi ...Show All
Sn1p34 Windows Control Library Issues
I am developing my first windows control library. It is fairly simple and just opens a serial port and when data comes in raises an event with the data. It seems to work ok but I cannot find how to make the control appear in the bottom bar when it is added to a from (similar to the timer control) it always appears on the form. Can someone point me in the right direction Thanks Inherit from Component not from ...Show All
shassbel Build Problem - XML Documentation
I have a solution with a VB Class, a VB Windows Forms project, and 2 VC++ classes under Visual Studio 2005. The first time I build these (or rebuild them), the build returns no errors. But from then on, every time I rebuild, I get the following build errors. This seems to be particularly true (as it is intermittent) if I have viewed the VB class (called "shuttle") in the Object Browser Cannot Delete File "shuttle.xml" : ...Show All
Humphrey McGee vb.net data base problem
Dim valida As Boolean Try Dim sql As String = "select * from utilizadores where user ='" & (txtuser.Text) & "' and password ='" & (txtpass.Text) & "'" Dim objDR As New Data.DataTable Dim myConn As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=|datadirectory|bd.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" Dim ...Show All
curedone where's the VB Snippet Upgrade add-in?
it was mentioned in the free book (...upgrading VB...), but I cant find it anywhere David - I'm looking at the latest build, but the code upgrade tool should be there in the Beta 2 build as well. As noted by Dman1, you must have a code file open to see the command. Have you tried that - Steve Hoag Dman1 is correct - the "Upgrade Visual Basic 6 Code" command is only available if you have a VB code file open. On further inspection, i ...Show All
jack the ripper Access or SQL Which one is better
Hi I'm wondering, which one would be better, i'm creating 2 medical programs, that are going to be running on a local machine, I Use visual Basic 2005 express and don't know if I should develop with access or SQL 2005 express. Which one is better and faster Any suggestions or comments will come in handy. PS. Future versions might have network connections, like for a secretary or interoffice connections. So should i work on access or ...Show All
oloko_rj How do I use VB to connect to a database in VS2005?
I heard that data access gets a lot easier with Visual Basic 2005. Can someone show me a quick code sample illustarating this so I get an idea what's better One good place to look is: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/NewDtaStVS05.asp It mentions one of my favorites features. I've cut part of the article out below: A simple code snippet will help illustrate these features. In Visual Stud ...Show All
Joe Cotugno ActiveForm strangeness
In debug time, it says the ActiveForm = Nothing when it is clearly a form in the application. What may be going on It said in debug time, when I put my mouse cursor over the Me.ActiveForm variable, it had the tooltip "ActiveForm | Nothing". " it says " Can you identitfy "it" Ok. Thank you!! What are you trying to achieve ActiveForm is a Shared method so you shouldn't be accessi ...Show All
Ashi [OTP] C# XML values to txt control
How do i get the values of my XML doc to these txt controls...I thought i was doing it right but i get an exception saying that the object is not set in an instance....do I need to add the NEW keyword to the string i didnt think i had to do that any help on this private void btnread_Click( object sender, System.EventArgs e) { string [] thefiles; thefiles = System.IO.Directory.GetFiles("c:\\vfg"); XmlDocument xd = ...Show All
objKiran IDE pauses after every keystroke. -
Working in a project with 100+ forms, in one particular form I was working in today, there are 18,500+ code lines. I needed to add a couple of new methods, the problem is that the IDE is pausing almost after every keystroke. I have turned off intelli-sense. I have removed all Add-Ins, I have disabled as many things as I can in options, and it is still unuseable.. I have restarted computer, tried in disconnected mode (source safe). Machine is a 2 ...Show All
Xordan System.Data.OleDb.OleDbPropertyStatus Error
Does anybody know how to resolve this error. Unable to cast object of type 'System.Data.OleDb.OleDbPropertyStatus' to type 'System.String' I am trying to create a table Adapter using the wizard(in VS 2005 Beta2) and the database is MySQL, connection is OLEDb connection for ODBC. It gives this error and fails to generate the Insert and Update Statement. Select statement comes out fine. thanks. ...Show All
