-
Began Watching can i use BindingNavigator to go through database tables
Hi, I have problem going through database (im using microsoft access) tables with BindingNavigator. Basicly I want to have BindingNavigator which goues through database tables (not the table rows) in … -
Replied To a Post in can i use BindingNavigator to go through database tables
Why are you wanting to create a separate table for each week? I recommend that you create one table named "Weather" (it will be the same as one of the … -
Began Watching Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:
Hello, I am getting the error: "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:15" There is definetly something I am doing wrong but I cannot figure out what. Any help will be appreciated. … -
Replied To a Post in Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:
In "ChooseAnAction", after changing: possibleAction = getRandomAction(Q_SIZE); To: possibleAction = getRandomAction(Q_SIZE - 1); it will compile. However, there is an infinite loop in "getRandomAction". R[currentState][action] is always -1 so choiceIsValid … -
Replied To a Post in populate datagridview from an xml string not from a file containing xml
Try this: Dim myxml As String myxml = "<response><item><acct>1001</acct></item><item><acct>1002</acct></item></response>" Dim ds As New DataSet() ds.ReadXml(New System.IO.StringReader(myxml)) Dim DataGridView1 As New DataGridView() DataGridView1.DataSource = ds DataGridView1.DataMember = "item" Me.Controls.Add(DataGridView1) -
Began Watching Popping up Window when not necessary
private void button1_Click(object sender, EventArgs e) { try { var sr = new System.IO.StreamReader("C:\\" + textBox1.Text + "\\login.txt"); username = sr.ReadLine(); password = sr.ReadLine(); email = sr.ReadLine(); sr.Close(); if (username … -
Replied To a Post in Popping up Window when not necessary
Unless this is a homework assignment, I hope that you are not storing a username / password in plain text in a text file. Use "String.Compare" to compare your strings. -
Replied To a Post in bring value from popup window to parent window c# (ListView)
See my tutorial on [form communication](http://www.daniweb.com/software-development/vbnet/tutorials/475628/how-to-pass-data-between-two-forms-in-vb-.net). This one is for vb .net. I don't have time to write one for C# right now. The code I previously posted in your … -
Stopped Watching Need help with If Else - Account Balance Java
I need the code for this Pseudocode AccountBalance Begin Get starting balance Get withdrawal amount If withdrawal amount > starting balance Then Display “Insufficient funds” Else final balance – starting … -
Began Watching help to add formulas to vba!!!
Hi I need help with something, I really don't know how to do this, but how would I add these questions in to VBA? could somebody tell me for atleast … -
Replied To a Post in help to add formulas to vba!!!
I'll help you to get started. Create a variable for each final result you want to calculate. Use if-then-else if-else statements as appropriate. Your tasks. Find out: 1. What is … -
Began Watching Need help with If Else - Account Balance Java
I need the code for this Pseudocode AccountBalance Begin Get starting balance Get withdrawal amount If withdrawal amount > starting balance Then Display “Insufficient funds” Else final balance – starting … -
Replied To a Post in Need help with If Else - Account Balance Java
We've done our homework assignments. This one is yours. People are here to assist if you get stuck, but you have to show that you've put in effort. Show some … -
Replied To a Post in WPF changing opactiy of label on window 2 with button in window 1
Maybe this post will help: [Refresh / Update WPF Controls](http://geekswithblogs.net/NewThingsILearned/archive/2008/08/25/refresh--update-wpf-controls.aspx) -
Began Watching WPF changing opactiy of label on window 2 with button in window 1
I hope the title is somewhat clear. In windows forms this is pretty straight forward. But for whatever reason in WPF its not the case. I am trying to change … -
Replied To a Post in WPF changing opactiy of label on window 2 with button in window 1
I haven't worked with WPF, but can't you just use an eventhandler (and a delegate)? -
Began Watching Sql Connection
Friends , I have a database in sql server named "Deposit" with a table "Receipts" .I want to display the data in a list box.My code is given below Imports … -
Replied To a Post in Sql Connection
[Connection Strings](http://www.connectionstrings.com/) -
Stopped Watching How to calculate sum of years digit in vb.net
Below code is working fine with small problem. My problem here is, how can i get the BegValue working in a proper order. please it is only the begvalue that … -
Began Watching How to calculate sum of years digit in vb.net
Below code is working fine with small problem. My problem here is, how can i get the BegValue working in a proper order. please it is only the begvalue that … -
Replied To a Post in How to calculate sum of years digit in vb.net
What is the problem that you are having? What is the formula that you are using to calculate the values? -
Began Watching How to create subsets of a set...plz help..need it urgently
I have this code which finds the duplicate rows .I want to check if the top row has weight greater than given minimum support..If true then generate its subsets. If … -
Replied To a Post in How to create subsets of a set...plz help..need it urgently
I'm confused by your explanation. How do you go from 11110011 to 1,2,3,4,9,12 ? How is "minimum support" defined? What kind of comparison do you want to do? Integer? Can … -
Replied To a Post in How to pass data between two forms in VB .NET
Thanks. -
Replied To a Post in PROGRESS BAR WITH OTHER PROCESS
You haven't posted enough of your code to really know what you are trying to do. -
Created How to pass data between two forms in VB .NET
I will be showing how to pass data between two forms in VB .NET. I will be using two forms, two classes which we will define, a delegate, an event, … -
Began Watching Trouble Procedurally Changing Textbox Settings
I'm writing a program where the settings of a spreadsheet-like field of textboxes are changed using two for loops, and I can't for the life of me figure out why … -
Replied To a Post in Trouble Procedurally Changing Textbox Settings
Placing into your code, it should look like this. This version is untested: ' For loop repeats for each row For i As Integer = 1 To rows Step +1 … -
Replied To a Post in Trouble Procedurally Changing Textbox Settings
I ran the code and the error is occuring with: Dim txt As TextBox = Me.Controls(name) I don't think that you can do that. The following works for me: Dim … -
Replied To a Post in Trouble Procedurally Changing Textbox Settings
This error typically occurs if you declare an object and try to use it without creating an instance of it (using the "New" key error. -
Began Watching NUllReferenceException
Hi. Can someone help me with this? I'm trying to make a code for database to be edited through DataGridView. Here's the code: Public Class Frm_UA Dim Connection As String … -
Replied To a Post in NUllReferenceException
In line #6 you do the following: Me.Ministry_HeadTableAdapter3.Fill(Me.DbVPioDataSet.Ministry_Head) Then in line #13: Me.TableAdapterManager3.UpdateAll(Me.DbVPioDataSet) Try changing line #13 to: Me.TableAdapterManager3.UpdateAll(Me.DbVPioDataSet.Ministry_Head) -
Began Watching Sessions not working in IE9 compatibility view
I am getting a very mysterious bug when I run my java website in Browser Mode: IE9 Compatibility View - the sessions stop working and I have no idea why. … -
Replied To a Post in Sessions not working in IE9 compatibility view
I don't really have experience with this, but here is some info I found that may or may not be helpful. [This article](http://ellislab.com/forums/viewthread/195199/) suggests that compatibility mode creates a new … -
Replied To a Post in Sessions not working in IE9 compatibility view
Not a fix, but here is some info I found that may or may not be helpful. [Document Compatibility Modes in Internet Explorer 9](http://css.dzone.com/articles/document-compatibility-modes) The above article states that *"...an … -
Began Watching print datagridview
I am populating a datagrid with 3 columns with varying rows depending on the data. how can i print the column data straight to a com port printer -
Replied To a Post in print datagridview
I haven't really checked this out, nor have I tried to print to a COM port printer, but see if it might help you. The initial post is for DataGrid, … -
Began Watching Conversion for Vb.net to C# Problem
Hello every one . I have a piece code in VB.net which work perfectly. but now i convert that code to C# Which give me the follwing error. "No suitable … -
Replied To a Post in Conversion for Vb.net to C# Problem
It is probably a case-sensitive issue as ddanbe said. Try changing: protected override void onload(EventArgs e) To: protected override void OnLoad(EventArgs e) The "O" and the "L" should be capitalized. -
Replied To a Post in Can a data grid of one form in another open form be refreshed
Here is a version that passes data from the child form (CashBookUpdation) to the main form (CashBook). We will use the same classes as above, but will add to it. … -
Began Watching Can a data grid of one form in another open form be refreshed
I have two Form One is CASH BOOk ANd another is CashBOOkUpdation...............whne i Doubleclick on ny row of datagrid of CashBOOk i go to the 2nd formCashBookUpdation for updating anything.............BT … -
Replied To a Post in Can a data grid of one form in another open form be refreshed
Use an event and a delegate to notify the main form (CashBook) that an update has occured. Create a new class and name it: ValueUpdatedEventArgs.vb **ValueUpdatedEventArgs.vb** Imports System Public Class … -
Replied To a Post in Can a data grid of one form in another open form be refreshed
You haven't provided any code so it's difficult to know how you are transferring information between the forms or if you are transfering information between the forms. Also what controls … -
Began Watching 2D Array Determine Duplicate
Just wanted other opinions on my code and a way to figure out whether or not each number placed into the 2D array is unique. My mind is blanking out … -
Replied To a Post in 2D Array Determine Duplicate
Place numbers 1-16 in an ArrayList: //holds numbers 1-16 ArrayList uniqueNums = new ArrayList(); //add numbers 1-16 for (int i=0; i < 16; i++) { uniqueNums.add(i+1); }//for Use the following … -
Began Watching Problems using arrays with C# working on a program
I took the liberty of posting the assignment and the work I've done. I can't figure this one out, can anyone help me And I did put an attempt at … -
Replied To a Post in Problems using arrays with C# working on a program
You probably want to do some input validation to ensure that the user entered an integer value when an integer value is required. See "isInt" below for a way of … -
Began Watching PROGRESS BAR WITH OTHER PROCESS
HY I HAVE PROGRESSBAR NOT WITH PERCENT JUST WITH STYLE :Marquee in click event i exec stored procedure into datagridview but when i click the button and write :MarqueeAnimationSpeed =30 … -
Replied To a Post in PROGRESS BAR WITH OTHER PROCESS
To start: progressBar1.Style = ProgressBarStyle.Marquee; progressBar1.MarqueeAnimationSpeed = 30; progressBar1.Visible = true; To stop: progressBar1.Visible = false; Additionally, to stop it, you could add: progressBar1.Style = ProgressBarStyle.Continuous; progressBar1.MarqueeAnimationSpeed = 0; Although, … -
Began Watching Form AutoSize not working
Hello guys. the AutoSize is true, but the form is not autsizing :( first the form looks like [this](http://i60.tinypic.com/2s1uk1v.jpg) . when i press that button generates a matrix of buttons …
The End.