Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~13.0K People Reached
Favorite Tags

37 Posted Topics

Member Avatar for Tamir09

[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.

Member Avatar for ddanbe
0
2K
Member Avatar for tirso

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()

Member Avatar for Pradip sarma
1
2K
Member Avatar for mainak001
Member Avatar for VIPER5646

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.

Member Avatar for viki123
0
544
Member Avatar for jallan2009

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]

Member Avatar for pritesh2010
0
222
Member Avatar for plusplus

You should use only this line: My.Computer.Network.UploadFile("source file path","destination address") :-)

Member Avatar for kvprajapati
0
225
Member Avatar for martonx

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 …

0
114
Member Avatar for hjdaniel.sun
Member Avatar for hjdaniel.sun
0
171
Member Avatar for tgcngb

Here you are a good link: [url]http://msdn.microsoft.com/en-us/vstudio/aa700732.aspx[/url]

Member Avatar for martonx
0
58
Member Avatar for madhurimonica

Yes, if you thougt about Datagridview. You have to bind the dataset to the datagridview.

Member Avatar for martonx
0
338
Member Avatar for WinTA

You should use the add datasource menu option. With this you can test your connection.

Member Avatar for kvprajapati
0
121
Member Avatar for samane
Member Avatar for martonx
0
661
Member Avatar for herms14
Member Avatar for martonx
0
93
Member Avatar for RobinTheHood

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 …

Member Avatar for jireh
0
145
Member Avatar for Cardboard Box

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.

Member Avatar for martonx
0
87
Member Avatar for muhammad ismail

You should use registry. Or you can use a license file. And check every start the license file, or registry.

Member Avatar for martonx
0
85
Member Avatar for zahraj

Dim sourceArray As Array Dim destinationArray As Array Dim length As Integer Array.Copy(sourceArray, destinationArray, _ length)

Member Avatar for toko
0
108
Member Avatar for densman

Learn to use Visual Studio. :-) If you will have concrete question we will help you.

Member Avatar for Teme64
0
73
Member Avatar for archangelzero6

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?

Member Avatar for martonx
0
180
Member Avatar for prabu.r
Member Avatar for adeelghani

Hi, You should start with this: Imports System.IO.Ports Dim Comport As SerialPort dim incomingdata as string = Comport.ReadLine()

Member Avatar for martonx
0
138
Member Avatar for chaz0910

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() …

Member Avatar for martonx
0
93
Member Avatar for omotoyosi
Member Avatar for martonx
0
294
Member Avatar for herms14
Member Avatar for bondgirl21
Member Avatar for bondgirl21
0
153
Member Avatar for srikanth.cpd

You should use WPF insteaf of windows Forms, if you want to customize everything.

Member Avatar for martonx
0
64
Member Avatar for shers

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.

Member Avatar for martonx
0
112
Member Avatar for raiko098

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.

Member Avatar for abhishekcs
0
278
Member Avatar for crazyhorse09

Yes you should use a timer with 1000 ms interval. So in every tick event you should lower the time in textbox1.

Member Avatar for crazyhorse09
0
176
Member Avatar for jhonnyboy
Member Avatar for Derice

I think you should use: TextBox1.Text = ComboBox1.SelectedValue or something like that.

Member Avatar for sonia sardana
0
106
Member Avatar for Eyo

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.

Member Avatar for Praniya
0
498
Member Avatar for mehdi2c

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. …

Member Avatar for joseph001
0
68
Member Avatar for rapture

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.

Member Avatar for rapture
0
98
Member Avatar for Alexpap

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.

Member Avatar for martonx
0
97
Member Avatar for Water-Orb
Member Avatar for martonx

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 …

Member Avatar for martonx
0
103

The End.