- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
37 Posted Topics
Re: [CODE]Dim reader() As String reader = File.ReadAllLines(spath) length = reader.GetLength(0)[/CODE] If length=0 then your file is empty. I didn't checked this method with .xml, but with .txt it is working. | |
Re: For save button add this code to click event: Me.Validate() Me.BindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(Me.DataSet) Me.Close() For add button add this code to click event: BindingSource.AddNew() | |
| |
Re: You should add your database to your projekt, then drag and drop your datatable to your form. After this you should delete the generated datagridview, and drag and drop Dsgntxt to your textbox. That's it. | |
Re: You are using MS access database, so why are you writing ugly code? The framework can do all your job. There are tons of video tutorials, for example here: [url]http://msdn.microsoft.com/en-us/vstudio/aa700732.aspx[/url] | |
Re: You should use only this line: My.Computer.Network.UploadFile("source file path","destination address") :-) | |
Hi Guys, I have a Silverlight Application, with lots of folders, files under the project. I realeased it on another machine, and I can open the site. My problem is, I am using built-in membership and role management, and I don't know how to use this local database on the … | |
Re: You need to execute the query, after parameters add. insertcmd.ExecuteNonQuery() | |
Re: Here you are a good link: [url]http://msdn.microsoft.com/en-us/vstudio/aa700732.aspx[/url] | |
Re: Yes, if you thougt about Datagridview. You have to bind the dataset to the datagridview. | |
Re: You should use the add datasource menu option. With this you can test your connection. | |
Re: Process.Start("c:\nlp\type\nlp\examples\terxt|\nlp\bin\nlp.cmd show_tags ") | |
Re: Pidgin can do this now. You can't do this better than Pidgin. | |
Re: Hi, You should use showdialog method for open the second form. You should make a property for second form, so you can give the actual OrderID through this property. On the second form you need to do data filtering (this is the easiest, but not so elegant), or a special … | |
Re: You should store your characters position in a 2D array. It is independent from terrain type, you have to store and check only the positions after every movement. If two character positions are the same then a collision appear. | |
Re: You should use registry. Or you can use a license file. And check every start the license file, or registry. | |
Re: Dim sourceArray As Array Dim destinationArray As Array Dim length As Integer Array.Copy(sourceArray, destinationArray, _ length) | |
Re: Learn to use Visual Studio. :-) If you will have concrete question we will help you. | |
Re: Do you mean you want to copy a file? Or you want to create a new file? What do you mean to load a file to a specific location? | |
Re: Hi, You should start with this: Imports System.IO.Ports Dim Comport As SerialPort dim incomingdata as string = Comport.ReadLine() | |
Re: You should add an extra property for your second Form. When you are opening your second form, you can set the property, and get the property when your second form is opened. Here is your second form: [CODE]Public Class second_form Dim link As String = "" Public WriteOnly Property link() … | |
Re: Just share your database, and modify your connection string. That's it. | |
Re: You should use datetime type variables instead of strings. | |
Re: xTimer.Start then You should use xTimer.Tick event to move your button. | |
Re: You should use WPF insteaf of windows Forms, if you want to customize everything. | |
Re: You should share the database, and use the shared LAN path in your code. That's it. I am using simple access database in LAN, and it is working perfect in multi-user (2-3 user) environment. | |
Re: Why don't use dataset, and dataset's query wizards? It is much simplier to make SQL queries. It seems you don't have SQL knowledges, so I hardly suggest you to use dataset wizards. | |
Re: Yes you should use a timer with 1000 ms interval. So in every tick event you should lower the time in textbox1. | |
Re: I think you should use: TextBox1.Text = ComboBox1.SelectedValue or something like that. | |
Re: I suggest you should handle the Form.Close event, or if you have a quit button on your form, you should handle that button's click event. | |
Re: Perhaps when you run your application in debug mode, Visual Stuido make a copy from real .mdb to his debug folder. So this is why you will find your database empty at every debug. You should make a resource folder in your project and add the .mdb to your project. … | |
Re: I can help you. First of all, you need to use mysql .net connector. I am using mySQL with Vb.NET, and it is working fine. | |
Re: I'm using simply LAN shared Access db with VB.Net. You should share a folder, and put your Access db into this folder. You can find this folder and db from Visual Studio. | |
Hi Everyone, I have a C++ program lesson, but i can't to do it. I have a binary file with structured datas. I have to read the datas, and take into a class (structure array). Here is my code: [CODE]#include <iostream> #include <fstream> using namespace std; struct dolgozo { char … |
The End.