Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~20.0K People Reached
Favorite Forums
Favorite Tags

81 Posted Topics

Member Avatar for huBelial
Member Avatar for Netcode
0
352
Member Avatar for moose333

what are ar1, ar2, etc? also,the convert to int32 is not doing anything. also, what type of graph are you trying to create? just a plot of the values?if that is what you are trying to do then in the for loop, make "i" the x values of the graph …

Member Avatar for ddanbe
0
697
Member Avatar for Behseini

you are getting a string as the result, so all you have to do is split the reaulst and them add it to the list. to split the result use the split(',') function; that will give you an array which then you can add to the list box,

Member Avatar for Behseini
0
213
Member Avatar for diana_j86

The error message most likely means that there is an error in one of the sql statements. which line do you get the error message? which SQL server are you using?

Member Avatar for kazekagerandy
0
786
Member Avatar for The Road To Voi

Hi, It seems a good approach and pretty straight forward; this way you can create a loop that reads the tasks into your classes and at the end writes the tasks back into the XML file. You will have to write a class that reads the XML file and extract …

Member Avatar for williamrojas78
0
270
Member Avatar for Farhad.idrees

I cant remember exactly but i think ComoBox.SelectedItem or ComoBox.SelectedText will do the trick.

Member Avatar for Farhad.idrees
0
176
Member Avatar for NewOrder

look at this sample code; it shows how to serialize custome classes which you can use to serialize your data. [url]http://www.codeproject.com/KB/cs/objserial.aspx[/url] hope it helps

Member Avatar for Momerath
0
151
Member Avatar for Mark_48

can you post a piece of the csv file? aslo, when you say a two dimensional array, is it because there are 2 fields per row? Regards,

Member Avatar for Mark_48
0
156
Member Avatar for piotr_kast

i am not sure, but i don't think the binding source will do the update to the database, it will just bind the data to the controls. You will have to update the database using an adapter, etc after the changes to the dataset have been made. Regards

Member Avatar for piotr_kast
0
214
Member Avatar for Farhad.idrees

Hi, the way i would do it is that i would use either a separate control for the name, qty, price and total price, and every time the button is clicked a new control would be added to the form; at the end you just count the number of controls …

Member Avatar for Munnazz
0
119
Member Avatar for JOSheaIV

Hi, Is there a reason you have it on an array? If you add the data to a dataset --> datatable, and then set the datatable as the datagridview.datasource, then the datagridview control will handle the sorting and everything else for you. It would be useful if you specified the …

Member Avatar for JOSheaIV
0
153
Member Avatar for lelejau

i am not sure if this is what you are looking for, but i believe you are looking for settings files. Basically they are files to store settings that you will use across your application which can be modified and are saved after the application is closed. Also, look here: …

Member Avatar for ddanbe
0
98
Member Avatar for RossR

you might want to take a look at this great library: DockPanel suite [URL="http://sourceforge.net/projects/dockpanelsuite/"]http://sourceforge.net/projects/dockpanelsuite/[/URL] It works very well and i think this is what you are looking for. It is basically a A Visual Studio like Interface which allows you to dock forms into the main form. check it out, …

Member Avatar for williamrojas78
0
134
Member Avatar for Skul'l

i think you are missing the name of the file: [CODE] Client.DownloadFile("http://wiibrew.org/w/images/c/cf/Lsusb.tar.bz2", "C:\\Users\\Skull\\Desktop\\Lsusb.tar.bz2"); [/CODE] Regards

Member Avatar for williamrojas78
0
153
Member Avatar for stevetaylor15

You were almost there, tou just needed a line of code (using the first way): [CODE] public partial class Ribbon1 { private void button1_Click_1(object sender, RibbonControlEventArgs e) { ThisAddIn test = new ThisAddIn(); test.Example(); } } public partial class ThisAddIn { public void Example() { //Do x,y,z etc } } …

Member Avatar for williamrojas78
0
205
Member Avatar for caramia

Hi There must be something wrong with the command that you are using to update the database. Why don't you try creating a commandbuilder, it will create the commands automaticallly for you. something like this: [CODE] If reponse_del = DialogResult.Yes Then OleDAPass.SelectCommand.Parameters ("UserName").Value = txtSearch.Text 'delete row DS_Pass1.Tables("PwordStore").Rows(0).Delete() Dim cmdbuilder …

Member Avatar for Netcode
0
2K
Member Avatar for ezajan

Hi The way i do it is adding a datagrid to the form, then connect to the database using a oleDBconnection connection and get the dataset. Then create a dataview and set its source as the table you want to display from the dataset. then set the dataview as the …

Member Avatar for eladreznik
0
234
Member Avatar for ja0

Probably the easiest is to read the variables from the form 2 using an event. So, if you create an public event on form2, and then create the handler of that event for form1, every time you fire the event (in from2) the handler in form1 will have the information …

Member Avatar for ashishkumar008
0
190
Member Avatar for atienanurin

what are you using to input the data? are you using a datagridview,etc? Also, i guess you are using a dataset to store the data. Whenever you add a row to a datatable the database does not update automatically, you have to update it yourself. The new row will not …

Member Avatar for ashishkumar008
0
88
Member Avatar for Finarfin34

what i have done in the past is that i use one dll, one for the demo version that is sent out on trial basis. Whenever they are ready to get the full version a patch is sent to the client with a new dll (same name and everything that …

Member Avatar for williamrojas78
0
95
Member Avatar for MostafaRaafat

Hi, To use c# in an embedded system you will have to have load an operating system into the board - probably windows CE, Windows Mobile, etc. so it works with visual studio. I guess to get started the first thing that you need to do is to get a …

Member Avatar for williamrojas78
0
112
Member Avatar for nssltd

HI, To set the cursor image this is what I usually do and it works everytime: [CODE] IntPtr ptr = IMP.Properties.Resources.zoom_in.GetHicon(); Cursor c = new Cursor(ptr); this.Cursor = c; [/CODE] where the zoom_in is a bmp that i have saved in the resources of the project. Regards

Member Avatar for nssltd
0
254
Member Avatar for empyrean

I think what is happening is that when you sort the grid only the rows that change index are being loaded; try to invalidate /reload the grid, i think that will do the trick. Hope it helps

Member Avatar for ddanbe
0
2K
Member Avatar for kibr987

Hi, What you will probably need to do is to get a vector that will tell you the new x,y position. Since the needle is always going to be the same length (I guess) then the only thing that will change is the angle, something like this should do: [CODE] …

Member Avatar for kibr987
0
102
Member Avatar for bbman

it will work for a string, but not for an int. The easiest is to convert the int to string, like: [CODE] int i = 25. _label.Text = i.ToString(); [/CODE] hope it helps

Member Avatar for bbman
0
104
Member Avatar for goboxe

Hi check this website; there you will find the information, you just will need to modify it to vb. [URL="http://www.cpearson.com/excel/jdates.htm"]http://www.cpearson.com/excel/jdates.htm[/URL]

Member Avatar for tratak
0
123
Member Avatar for WordScript

Hi Try this: [CODE] Dim tabl As Table Set tabl = ActiveDocument.Tables(1) tabl.Cell(1, 1).formula("xxx") [/CODE] I am not sure about the sytax of the formula, but that will get you to the specified cell. Regards

Member Avatar for sabarishjm
0
190
Member Avatar for LiBOC

Hi what is going on is that the functions round the numbers to a certain number of digits. pi will be a floating point value, and floating point numbers have a finite number of digits. For instance: - Math.Sin(180360 * System.Math.PI / 180) = -0.00000000000057034748018186532 which is a very small …

Member Avatar for TonyTHC
0
393
Member Avatar for George_E

hi have you tried binding the textboxes to the dataset? Then all you have to do is update the database when the dataset where you are storing all your data has changed and you dont have to manually write the commands. just another idea Regards

Member Avatar for suresh bangaru
0
531
Member Avatar for SGiorgos

Hi I think the problem is that the syntax of your command is wrong. You have: [CODE] conn = New SqlCeConnection("Data Source =".\ MyDatabase.sdf;"") [/CODE] it should be: [CODE] conn = New SqlCeConnection("Data Source =.\ MyDatabase.sdf") [/CODE] I use this and it works. [CODE] dim data_base As String = "\Program …

Member Avatar for clj1973
0
624
Member Avatar for gouki2005

Hi What is "setd1" and "setd2"? i am not sure what is happening, but it looks to me that they are procedures that dont return anything, maybe? about the second one, [CODE] Dim dados As New dado dim dados2 as dado [/CODE] the first one you are creating a new …

Member Avatar for williamrojas78
0
109
Member Avatar for grazcy

Hi Are you having problem when you write to the file or when you read the file? how did you define "strmw"? is it defined as a StreamWriter? I see that you are reding with the same variable (StreamWriter). Try to declare a varible type StreamReader to read from the …

Member Avatar for DaKasper
0
197
Member Avatar for williamrojas78

Hi I am trying to count the rows that has been selected by the user - either with CTRL or SHIFT. The only property that i see is 'CurrentRowIndex' or 'Currentcell' but it only gives me the last selected row even though there are several rows selected. Other than that …

Member Avatar for williamrojas78
0
151
Member Avatar for ohohling

Hi It looks like you have a set of " " between the columns, so what i would do is split each line one at a time, something like this: [CODE] 'after you read the line Dim myArray As Array myArray = Split(line, " ") [/CODE] that will create an …

Member Avatar for williamrojas78
0
224
Member Avatar for jireh

Hi I am not sure if i understand completely but here: if you are trying to find an specific record on a data table the easiest way (for me) is to filter the table or dataview with the specified criteria. If you want the datagrid to show the rows (records) …

Member Avatar for williamrojas78
0
129
Member Avatar for mildewyautumn

hi this is basically what you have to do: [CODE] Dim ds As New DataSet Dim da As New OracleDataAdapter Dim cmd As New OracleCommand Dim connection As OracleConnection = New OracleConnection Dim strConnString As String = "Data Source=yourDataSource; User ID=xxx; Password=yyy" connection.ConnectionString = strConnString connection.Open() Dim sqlCommand As String …

Member Avatar for mildewyautumn
0
117
Member Avatar for mustoora

Hi What is the type of column "VT"; if it is not of type "bit" probably the FALSE - TRUE statements won't work. Otherwise it should work. I make the same evaluation but i use a dataview instead and it works fine, but I don't see any reason it would …

Member Avatar for mustoora
0
134
Member Avatar for ironwood9

each item in a combo box has an index: index = 0 for first item index = 1 for second item index = 3 for third item ...etc Then you can compute "SCORE" by adding the indexes of the combo boxes selected. You can also increment SCORE whenever the combo …

Member Avatar for williamrojas78
0
143
Member Avatar for bcm

Do you want to delete the image or the piece of code that displays the image? If you are saving the information on the PC, are you saving the image in the PC? Do you know the name and location of it? If this is the case then just delete …

Member Avatar for williamrojas78
0
123
Member Avatar for diana_j86

Hi, I noticed you are using the oledb classes, so why don't you use a oleDbCommandBuilder to update your database? The command builder will create the Insert, update, delete commands automatically for you. [CODE] Dim cmdbuilder As OleDBCommandBuilder = New OleDBCommandBuilder(oleadpt) [/CODE] For this I think you need to make …

Member Avatar for williamrojas78
0
95
Member Avatar for illicit

to set up the start form go to the project properties and in the application tab, startup object select the form you want to open first.

Member Avatar for williamrojas78
1
67
Member Avatar for virus220

Hi You have to create a setup and deployment project. microsoft website has a walkthrough at this location: [URL="http://msdn2.microsoft.com/en-us/library/k3bb4tfd(VS.80).aspx"]http://msdn2.microsoft.com/en-us/library/k3bb4tfd(VS.80).aspx[/URL]

Member Avatar for williamrojas78
0
62
Member Avatar for mohanme_2001

Hi What is the frame you are using? i am using a GroupBox1 and GroupBox2 and it works fine. I also tried it with panel 1 and panel2 and works fine. Also, what do you have in the frames? Do you have any other routines that might be affecting the …

Member Avatar for iamthwee
0
170
Member Avatar for nice_true

Hi Do you want to display a message box? If that is the case, then you have to evaluate the number of records in the database, if zero, then display a message. If you don't want to dislpay anything on the datagrid, not event the names of the fields on …

Member Avatar for williamrojas78
0
121
Member Avatar for partyanimal

Hi Probably the easiest is to use a datagrid; then you will have to compare the number of sales of the week and change the row accordingly. Who is going to be inputting the data of the number of sales per peron? probably tat wil be the tricky part. Hope …

Member Avatar for preetham.saroja
0
106
Member Avatar for bcm

Hi You probably will have to find the number of tables in the dataset, and then go into a loop to retrieve the data. If the tables always start with the "od_minicard2_xxxx" then it is probably a good idea to check the name of the table to make sure you …

Member Avatar for williamrojas78
0
110
Member Avatar for Duki

hi Provided you know the location of the file, use this: [CODE] button1.Image = Image.FromFile("myIcon.ico") [/CODE] Hope it helps

Member Avatar for williamrojas78
0
111
Member Avatar for shuvo

try this Set database = workspace.CreateDatabase (name, locale, options) look in the help section. make a search for "CreateDatabase". you will find all the information there.

Member Avatar for dalwadijayen30
0
1K
Member Avatar for basha_82

Hi Basha To change the data in the database itself you have to first see if the dataset has changes and then update the database. The changes you make to the datagrid will be reflected in the dataset, but if you close the form without updating the dataset you will …

Member Avatar for Shum
0
145
Member Avatar for TammyTang

HI Probably what you will have to do is to create connection (like an ADO connection) to the databases then copy the contents of database #1 and paste them into athe databse #2. You can copy the contents from database #1 into a dataset and then copy the dataset into …

Member Avatar for williamrojas78
0
86

The End.