-
Replied To a Post in 5 methods within 1 class
Click on "</> Code" and paste using Ctl-v. -
Replied To a Post in Writing aggregate classes to a file
You could use an Access database. Or XML (xmlreader and xmlwriter). Or just put it in a plain text file like you've done. Since this is for a class, you … -
Replied To a Post in Cant find the Error Conversion
I think Reverend Jim found your error. An update to my post. I incorrectly converted to decimal. Line 7 in "Usage" should be `Decimal.TryParse(TextBox1.Text, myVal1)` instead of `myVal1 = Convert.ToDecimal(TextBox1)`. … -
Began Watching Need help saving records in listview to MS access database
Hi everyone, I am quite new to vb.net. Recently, I've been learning about Oledb commands and it's ability to save records in a form to a database. So, I started … -
Began Watching vb.net code
using vb.net and sql query i need to join multiple tables to view in one datagridview control .In each table i need to take only one field and want to … -
Replied To a Post in vb.net code
What tables? Join your tables in your select statement. Need more information about the table structures. You haven't shown that you've made any attempt. Where's your code? -
Replied To a Post in webBrowser control doesn´t show webpage
Chrome supports HTML5. I don't believe HTML5 was (fully) implemented in IE 8. Upgrade your browser. [HTML5 Browser Tester](http://html5test.com/) If it is your website, you may be able to modify … -
Began Watching Cant find the Error Conversion
i can't find the error converting data type varchar to numeric pls help.. i already wasted a lot of hours to identify this error. conn = New SqlConnection("Server=GEN-PC;Data Source=GEN-PC\SQLEXPRESS;Initial Catalog=Brgy;Integrated … -
Replied To a Post in Cant find the Error Conversion
I left out some things in my previous post. Try this: Add `Imports System.Data.SqlClient` Private Sub insertMyTable(ByRef conn As SqlConnection, ByVal myVal1 As Decimal, ByVal myVal2 As String) Dim sqlCmd … -
Replied To a Post in Cant find the Error Conversion
You're still passing "string" data. Private Sub insertMyTable(ByRef conn As SqlConnection, ByVal myVal1 As Decimal, ByVal myVal2 As String) Dim sqlCmd As SqlCommand Dim sqlText As String sqlCmd = New … -
Replied To a Post in webBrowser control doesn´t show webpage
I can't remember if the webbrowser control supports javascript. The other issue could be with cookies. Here's some stuff I've used: using System.Runtime.InteropServices; using Microsoft.Win32; using mshtml; //internet - Reference … -
Began Watching bindinglist item in gridview
hello to all good day, BTW is there way to know what item of the bindinglist has been edited? i came up with this problem when i create a view … -
Replied To a Post in bindinglist item in gridview
Did you check out [DataGridView.IsCurrentRowDirty](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.iscurrentrowdirty(v=vs.110).aspx) *"This property returns true when the pencil glyph is displayed in the row. By default, the IsCurrentRowDirty property will always equal the value of the … -
Began Watching Writing aggregate classes to a file
So, I recently wrote a program for a class that involved writing an aggregate class to a file. This particular program had an order object, and each order could have … -
Replied To a Post in Writing aggregate classes to a file
This looks like it would be best in a database. There are free ones like [SQLExpress](http://www.microsoft.com/en-us/download/details.aspx?id=27597) and [mySql](http://dev.mysql.com/downloads/) -
Began Watching webBrowser control doesn´t show webpage
Hello, I have a question about the webBrowser control. It does work good to display webpages but it seems that the control have problem to display certain webpages. (I think … -
Replied To a Post in webBrowser control doesn´t show webpage
Try adding the following: `this.webBrowser1.ScriptErrorsSuppressed = true;` -
Replied To a Post in Groovy regulat expressoin
I'm not an expert with regex, but have used it. I think that many of the regex engines use similar syntax although there are some small differences. What worked for … -
Began Watching C# Help!!!
Hello Everyone. I'm basically new to c# database project so any can give me code as to pass a data value from one datagrid table to other form with another … -
Replied To a Post in C# Help!!!
[Click Here](http://www.daniweb.com/software-development/csharp/threads/472827/bring-value-from-popup-window-to-parent-window-c-listview#post2065454) to see a post I made using a datagridview. My second post from the end uses a datagridview. It will help get you started. It also shows how … -
Began Watching Netwok and Sharing Notification
Recently I came across this problem. The company I work in has about 30 computers and some servers. Some of the computer I try to turn on the network and … -
Replied To a Post in Netwok and Sharing Notification
I'm not an expert in this, but have you checked "Local Security Policy? * Control Panel * Administrative Tools * Local Security Policy * Security Settings * Local Policies * … -
Began Watching Text Analysis
//my program should be able to collect two words and compare them outputing the words from word1 which are also in word2 and outputing them and viceversa. my problem is … -
Replied To a Post in Text Analysis
I think that "*compare them outputing the words from word1 which are also in word2 and outputing them and viceversa*" is not what the assignment asks for. According to the … -
Replied To a Post in Text Analysis
As far as formatting goes, create a function call "space" string space(int numSpaces) { string mySpace; for (int i=0; i < numSpaces; i++) { mySpace += " "; }//for return … -
Replied To a Post in Issue in adding the Selected Value in Access DataBase
Does your database use constraints? Do you have a database diagram? -
Began Watching Getting random BSODs and black screens
Hello, I've encountered this problem with my PC recently. It randomly crashes from time to time (about 0 - 3 times a day). The crash can appear as following - … -
Began Watching Unable to Set Up VPN Connection
I performed a clean full install of Windows 7 Ultimate. After the numerous updates and re-installing drivers, I attempted to set up a VPN, which I have been able to … -
Replied To a Post in Unable to Set Up VPN Connection
* Click "Start" * Select "Control Panel" If "View by" is "Category": * Click "Network and Internet" * Click "Network and Sharing Center" * Click on "Set up a new … -
Replied To a Post in How do I create a pair of longitude and latitudes to show a 2 mile radius o
[Click Here](http://www.gavaghan.org/blog/free-source-code/geodesy-library-vincentys-formula-java/) for a resource. Also [Here](http://stackoverflow.com/questions/569980/how-to-calculate-distance-from-a-gpx-file/570048#570048) is another resource. [Here](http://stackoverflow.com/questions/574691/mysql-great-circle-distance-haversine-formula) is another. -
Replied To a Post in Issue in adding the Selected Value in Access DataBase
Also, you may [Click Here](http://support.microsoft.com/kb/310107) to see about checking if the column allows nulls ("AllowDBNull"). It didn't seem to work for an Access db when I tried it though--AllowDBNull always … -
Began Watching Issue in adding the Selected Value in Access DataBase
Hey All i really have an issue that it is really stopping me here so basicly i have a form that i use to add some Address Book data so … -
Replied To a Post in Issue in adding the Selected Value in Access DataBase
If you have the ability to modify the database, you could change "Required" to "false" for the column, or assign a default value. Alternatively, you could programmatically assign a default … -
Began Watching Sort a text file into an object class in descending order
I need a code that reads in a text file into an object Computers and sorts the specific indexes in descending order, as you can see the first one vendors … -
Replied To a Post in Sort a text file into an object class in descending order
Line 75, `public Prog4() throws FileNotFoundException`, delete `throws FileNotFoundException`, your program already catches this error, and it is not thrown again. Line 98-103 & 132-137, a user doesn't want to … -
Replied To a Post in Sort a text file into an object class in descending order
Your code doesn't compile. In class "Computer": In (line 52), "compareTo", you state that your return type is "int". However, the return type for "getMmax" is "int []" (an int … -
Began Watching Detecting mouse button down & up events on the system menu of form.
How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left … -
Replied To a Post in Detecting mouse button down & up events on the system menu of form.
Are you trying to detect these events on your form? If so, here's an example: To use the example: * Add a MenuStrip named: menuStrip1 * Add a ToolStripMenuItem named: … -
Began Watching How do I call string a defined outside of the class ?
How do I call string a defined outside of the class ? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static2 ; namespace static1 { class Program … -
Replied To a Post in How do I call string a defined outside of the class ?
I just re-read your question. I'm confused by what you're asking. String "a" isn't defined outside of the class. It is a global variable--which is defined outside of Main. If … -
Replied To a Post in How do I call string a defined outside of the class ?
Change line 28 to `Console.WriteLine(a);` or `Console.WriteLine(this.a);` -
Replied To a Post in GUI for charity
Delete line 7 which is your package statement. Try something like the following for your exception (line 133-137): catch (NumberFormatException ex) { System.out.println("There was an error in the donation box."); … -
Began Watching object reference not set to an instance of an object"
Hi guys how do I sort out this error = "object reference not set to an instance of an object" try { String connection = "Data Source=(LocalDB)\\v11.0;AttachDbFilename=C:\\Users...."; SqlConnection conn = … -
Replied To a Post in object reference not set to an instance of an object"
You need to create an instance of it with the "new" keyword. `SqlDataAdapter da = new SqlDataAdapter();` which should get rid of your error. Try the following: String connection = … -
Replied To a Post in Matching Database records with radioButton Text in C#
Also, if only one radio button should be selected at a time group them together by placing them on a Panel or on a GroupBox. -
Began Watching radio button AND, OR in search Form
I am trying to get the seleted radioButton from a group of radio buttons. The program is supposed to check on the search form for controls that match the selected … -
Replied To a Post in radio button AND, OR in search Form
Use a panel. Put a Panel (or GroupBox) on your form. Put the radio buttons on the panel (or GroupBox). Then use the "CheckChanged" (radio button) event: **AndRadioButton_CheckedChanged** private void … -
Began Watching Matching Database records with radioButton Text in C#
Hi Guys I have got 4 radio buttons on my form and & i am trying to match the text for these radiobuttons with a record in one of the … -
Replied To a Post in Matching Database records with radioButton Text in C#
In line 22 you stated that if any of the 4 checkboxes are checked then ....(line 30): correct = true. In line 36, if correct is true, it is a … -
Began Watching ComboBox Value Member Issue
I'm newbie to C# so please bear with me for that issue and just to make the issue clear i'm gonna start from the very beginning of the My code …
The End.