56 Topics

Member Avatar for
Member Avatar for Hopp3r

I'll try to be brief in this post. I'm working on a cave generation program that will implement cell automata and marching squares. I'm new to Visual Basic and am wondering if the Canvas class is the best way to draw these black & white squares. For a reference the …

0
175
Member Avatar for krunal1986
Member Avatar for CoilFyzx

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, …

Member Avatar for mKorbel
0
667
Member Avatar for CoilFyzx

Hello good day. Thank you for trying to help. My problem is as follows. A few columns in my table, use a JComboBox as the editor for their cells. Each cell, in a row (via JComboBox) presents the same choices to the user. The user is allowed to choose from …

Member Avatar for mKorbel
0
1K
Member Avatar for jaimin4829

public partial class FrmEndDateSummaryOnLoad : FrmErpSimple { List<string> mVehicleRemainderList; //SMdiForm mMdiParent; string mCurrentUserId; string mCurrentPeriodId; DataTable dataTableVehicleID = new DataTable(); DataTable dataTableVehicleNextKMS = new DataTable(); public FrmEndDateSummaryOnLoad(CErpDataConnection pErpDataConnection, CUserLoginInfo pUserLoginInfo , CRegional pRegional) : base(pErpDataConnection, pUserLoginInfo) { InitializeComponent(); } protected override void OnLoad(EventArgs e) { mCurrentPeriodId = mUserLoginInfo.GetPeriodID(); mCurrentUserId = …

Member Avatar for Maligui
0
279
Member Avatar for CoilFyzx

Hello good day. Here is my problem: I have retrieved some a couple sets of data from my sql database and saved them in ArrayLists of (custom)types <Student> and <Subject>. I am using a single Table. I want to create a custom AbstractDataModel that displays the data from the ArrayList<Student>. …

Member Avatar for CoilFyzx
0
1K
Member Avatar for Ahmed_43
Member Avatar for JOSheaIV
0
731
Member Avatar for Pobunjenik

I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, …

Member Avatar for mKorbel
0
450
Member Avatar for prettyknitty

Hello, I was wondering what a second pair of eyes (or several) might have for opinions on this code? This program is supposed to store a user generated array, and functions which tell the highest, lowest, etc. Mainly, I need help with the "set cell" part, which is supposed to …

Member Avatar for NathanOliver
0
215
Member Avatar for diafol

Trying to access DW on Smartphone (Android) and still getting trouble with the dropdown menus. Trying to access PHP forum, but of course, no hover on mobile, so have to go to Web Design then find a thread with the PHP link. Has anybody got an easier way - I'm …

Member Avatar for diafol
0
299
Member Avatar for CoilFyzx

Hello Good day. Here is the problem I am trying to solve. I have a table as seen below. ![232465554203149acd8363d3a4a127ae](/attachments/large/3/232465554203149acd8363d3a4a127ae.jpg "232465554203149acd8363d3a4a127ae") My GOAL: Columns A through G are going to be filled with integers. (I have already created an integer model so that these cells only take integers). As the …

Member Avatar for CoilFyzx
0
445
Member Avatar for Dimonai

Hi everyone, I'm working in a project where its required a dynamic insertion of a grup of 3 textfields where one hiels dates. So far I manage to do the insertion part, but Im still with the problem of jquery datepicker only working right on the first(original) textfield. I notice …

Member Avatar for Dimonai
0
901
Member Avatar for spowel4

I am trying to set the value of cells in an Office 2010 worksheet using this code in Visual Studio 2012: for (int i = 1; i < 5; i++) { xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(i); int columnCounter = 1; foreach (string s in columnNames) { range = ((Excel.Range)xlWorkSheet.Cells[1, columnCounter]); range.Value = …

Member Avatar for spowel4
0
239
Member Avatar for boy.frenzy

I want to delete the contents from cell if the content of that cell are similar to the content of the previous cell of last column. i.e If the 10th cell of column 'A' & 10th cell of column 'B' have the identical content then I need to clear that …

Member Avatar for boy.frenzy
0
203
Member Avatar for Nionoas

Android, Apple, and Blackberry are te biggest smartphone company at this moment, what next vendor or OS will grow up in your opinion?

Member Avatar for <M/>
0
308
Member Avatar for pratik65

i have a table Marks_Entry into my database and i want to enter all students subject marks at a time and i am doing it through a datagrid view . i have made a list of rollno of student and one subject row so i want that user may able …

Member Avatar for lolafuertes
0
265
Member Avatar for VIPER5646

Hi all I'm trying to shade a cell based on a date difference between column 7 & 8. It seams to work accept column 8 seams to be the one being shaded instead of column 7. I have googled but can't find a solution to have the calculatin being made …

Member Avatar for john.knapp
0
308
Member Avatar for biscayne

I'm trying to go thru a file with product codes and rateband prices and quantities (productcode, pricea, qtya, priceb, qtyb, pricec, qtyc, priced, qtyd, pricee, qtye). For a certain group of up to 4 productcodes I need to sum up the values of the price cells after testing the qty …

Member Avatar for biscayne
0
308
Member Avatar for happygeek

My name is Davey Winder, and I am a phoneaphobic. At first glance it would appear that I am anything but alone if the results of a recent study into attitudes towards mobile phone usage are to be believed. But first impressions are often misleading and that's the case here, …

Member Avatar for TonyG_cyprus
2
454
Member Avatar for DelilahDemented

I am trying to change the color of individual cells in a datagridview based on values from the columns. If the CDRGvalue is not blank and the ALOSvalue is greater than the PLOSvalue then I need to change the individual cell back color for the ALOS column (colALOS) and the …

Member Avatar for Reverend Jim
0
312
Member Avatar for pratik65
Member Avatar for pratik65
0
549
Member Avatar for Skate Bart

I'm using a MSHFlexGrid (fgdVehicle) to input data from a database ( via a recordset (rsVehicle) ). You can either enter the data into the database in two ways : 1. From the database application 2. From a form. The problem is present in the second method. There are specific …

Member Avatar for AndreRet
0
586
Member Avatar for srm2010

Here I am Sending you my code ,wherein I want to have total of examfees(column),PromotionFees(column),Totalfees(column) and Balance(column).Examfees are paid in installment in my project The idea if single record is found then it doing calculation of balance=promotionfees-totlafees and if anywhere due to mistyping is value is higher then the respectively …

0
433
Member Avatar for Patiodude

I'd like to add a timestamp to articles I upload to my website, which reads the time and date the article was uploaded. I've got a database, as well as a working connect.php. In this database, I've created a table with a "date" field (type: date). What can I do …

Member Avatar for diafol
0
285
Member Avatar for azareth

i just need a clear explanation for this: var lastCol = getColumnCount()-1; var lastRow = getRowCount()-1; var table = document.getElementById(TableID); var rowSum; /*Summation of all the values in of rows*/ var columnValue; if(ths == 'on'){ for(var b=1;b<lastRow+1;b++){ rowSum = 0; for(var i=0;i<lastCol-1;i++){ columnValue = table.rows[i].cells[b].childNodes[0].value; if(columnValue != '' && !isNaN(columnValue)){ …

Member Avatar for azareth
0
197
Member Avatar for jaimin4829

'i am trying to get f_name + m_name + l_name three diferent columns combined from data grid view on cell content click into combobox. [CODE] Private Sub bugdgv_CellContentDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles bugdgv.CellContentDoubleClick Dim row As Integer = bugdgv.CurrentCell.RowIndex frmbug.bugcmbdeliver.Items.Clear() Try obcon.cmd.CommandText = "select d.del_name from …

Member Avatar for jaimin4829
0
702
Member Avatar for jbutardo

Need help, I need to know on how can VB.net validates the format of each cell on the excel file that it opens, for example, the first row should only be numeric, or cannot be null, is it possible that vb.net can check it before it inserts it in the …

Member Avatar for jbutardo
0
542
Member Avatar for thegrovesy

Hi all, I have created a custom datagridview cell type (which allows the user to either enter text or add an image). This is working as I had planned, with one exception... This new cell type, which is set as the CellTemplate, has a button to the right of the …

Member Avatar for thegrovesy
0
310
Member Avatar for alinutzu

Hi. I have an bounded datagridview with cell decimal different formating (N2 and N4). If I enter a 4.5265 value to a cell with N2, I formated this to appear 4.53 ... and this is wonderfull. My problem is when I try to save data ... in my sql table …

Member Avatar for alinutzu
0
317
Member Avatar for nsyncpilu

Hy again , I have another problem now , I have an application with a jTabel , you can double click a cell and you can change the value that is inside it , after you changed the value inside the cell and hit enter the value i enterd remains …

Member Avatar for nsyncpilu
0
1K

The End.