- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Programming
Hi I am a beginner in game programming and would like to make a rocketmania clone using opengl, the display and interaction part is done. I also have a classes named gameboard and tiles with their properties. but I am having problems on game logic, where the fuel flows into … |
|
Re:
I want to format today's date like this dd/mm/yyyy Please help me |
|
Re:
I was wondering if I can fill up an edited row based on the value in my Label. Here's the scenario: An employee will add and edit rows in the DataGridView1. All rows involved in adding and editing will fill up the last row with the Employee ID of the … |
|
Re:
Code the click event of the Play Game button to do the following i. Generate a random integer between 1 and 100 ii. Code a loop that will end when the user guesses the number or 10 guesses have failed to find the number. iii. Use an inputbox function so … |
|
Re:
Hi, I'm looking to find out how to force a refresh on a datagrid in a windows app. On a mainForm the user clicks a button to add a new record. This opens a new window. When the user has entered the data they click save and close which should … |
|
Re:
Hello, i want to develop a lan-based software (Enrollment System) using Microsoft Visual Basic 2008 and a Microsoft SQL Server. I am confused on the Microsoft SQL Server that im going to use, anyway, im just a newbie on programming :). Can you guys recommend a microsoft sql server that … |
|
Re:
I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not … |
|
Re:
Hi there, I have problem with my DropDownBox, my datasource is from MySQL database. My problem is this, I have already stored data in my database let's say 12 rows, but when I am trying to fetch it on to dropdownbox, only 11 data will be the item values of … |
|
Re:
Hello, On my website i am trying to get my site to display the users address details if they are logged in have tried a stored procedure: ALTER PROCEDURE dbo.showAddress @userid nvarchar(256) AS SELECT Fullname, Address, County, Postcode FROM Addresses WHERE @userid = UserId RETURN But i get an area … |
|
Re:
Hello! This is my first post to this forum, so I'm kind of losing my virginity right now I am also new in VB. I hope that somebody would help me! Ok, I have a problem with a database. I want to make a program which has one input textbox, … |
|
Re:
Private Sub Product_Details1(ByVal pid1 As String) Dim n As Integer n = 0 DataGridView1.Rows.Clear() myConnection = New SqlConnection(connectionstring) myConnection.Open() Try sqlcmd = New SqlCommand("SELECT P_Id,P_Selling_Price FROM Product_Details WHERE P_Id='" & ComboBox1.SelectedText & "' ", myConnection) Dim dr As SqlDataReader = sqlcmd.ExecuteReader If dr.HasRows Then While dr.Read() DataGridView1.Rows.Add() DataGridView1.Rows(n).Cells(0).Value = dr("P_Id").ToString … |
|
Re:
i am trying to add values in two coloums of data grid view. Howeaver the result is values are concatenated instead of adding. i.e 10+25 result is 1025 and not 35. DgvLedger.Rows.Item(GRNO).Cells(6).Value = DgvLedger.Rows.Item(PRNO).Cells(6).Value + DgvLedger.Rows.Item(GRNO).Cells(3).Value howeaver multiplaying two coloums value result is correct. |
|
Re:
Dear All ! I have a table titled Customer_DETAIL I want to check and make sure That there are no other records in the table that have The same CustomerID . The CustomerID are FK's From customer table. How can I check for duplicates so they do not create duplicate … |
|
Re:
All, I can't seem to find a good example of how to work with databases in C#. I'm using sqlserver and I can do simple things like insert and retrieve data, but when I am retrieving data I have to refer to the ordinal index values of the columns (reader[0], … |
|
Re:
Hi I want to Clarify what is the Problem of this code? if you feel free to answer Thanks alot... Private Sub addakoordr_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles addakoordr.Click Dim tr As String = tID.Text Dim qo As String = tquanOrder.Text Dim arw As String = cdateselec.Text … |
|
Re:
ASALAM ALIKUM Dear !... I'm doing INVENTORY PROJECT... I'm using Ms sql 2005 as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering datas in form and when i click submit, the data stored on database... but when … |
|
Re:
how do I set a shortcut key for 1 of the textboxes in vb.net. When I goto the textbox and press F3, then it should give the current date in the textfield...Can somebody help me with this?? Thanks in advance..:) |
|
Re:
How do I change all greater than .00 cents to .49 cents be .00 and all greater than .50 to be round off? I'm using SqlYog btw. Example: price 1: 16:03 price 2: 16:53 Output: price 1: 16:00 price 2: 17:00 |
|
Re:
I have a dataset with the following data: account_number,master_code,score 100000023,UL189PU,1 100000025,UK120PU,1 100000026,AAL004PU,1 100000026,UL221PU,1 100000026,YHL003PU,1 100000034,UL246PP,1 100000043,1198112CS,1 100000060,182112JS,1 100000060,996211CS,1 100000060,AAL012PU,1 100000074,UI136PU,1 100000074,UK131PU,1 100000074,UL178SU,2 I've started a master loop where I loop through the accounts. I now need to do a sub loop and compare this account to the rest of the … |
|
Re:
protected void Button1_Click(object sender, EventArgs e) { try { SqlAddGroup.InsertParameters["mem_email"].DefaultValue = Session["User"].ToString(); SqlAddGroup.InsertParameters["groupname"].DefaultValue = Txtgroup.Text; SqlAddGroup.Insert(); Label1.Text = "Group has been added"; } catch (Exception ex) { Label1.Text = ex.Message; } } <asp:SqlDataSource ID="SqlAddGroup" runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings:PadmaSMSConnectionString %>" DeleteCommand="DELETE FROM [group] WHERE [sno] = @original_sno AND [mem_email] = @original_mem_email … |
|
Re:
I'm wondering why this code doesn't work on form load. Everything works except the item being added to the listview. I just got back into C# syntax, so can you guys explain this a bit please, thanks ahead. if (System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable() == true) { } else { MessageBox.Show("An error occured in … |
|
Re:
How come I cant find this anywhere???? I've tried everything but posting here. Please help. I've got VS 2010 Ultimate...Sigh. I even tried it at work. |
|
Re:
Hi all, When i try to decrypt my password which is stored in binary(16),null datatype in DB, it gives me error like 'Invalid length for a Base-64 char array.'. i try the below code from one of the asp.net forum. public string DecryptPassowrd(object obj) { string password = obj.ToString(); System.Text.UTF8Encoding … |
|
Re:
Id like to know, if say i have a data grid that is connected to a sql database, it displays the table columns once a user enters a search. eg;(in your sql table colnm names are member_name,m_address). Now instead of display those names from the sql, can it display your … |
|
Re:
**I have this page which upload an image. It works fine in one server that runs Windows Server 2003 / IIS6 but the same page runing on another server with Windows Server 2008 / IIS7 gives the following error message. Both servers are running Framework 4.0** Parameter is not valid. … |
|
Re:
Eventually i want to load names from a database to textboxes which are created at runtime. Thought i'd try just getting names into a listbox first though as i'm new to using databases in vb and for some reason nothings getting added to the listbox Heres the code iv'e got … |
|
Re:
Required field: [code] <asp:textbox id="textbox1" runat="server"/> <asp:RequiredFieldValidator id="valRequired" runat="server" ControlToValidate="textbox1" ErrorMessage="* Please enter a value" Display="dynamic">* </asp: [/code] how can i put the vlidation correctly |
|
For our android app project, we will be developing on java eclipse I am going to use opengl for graphics part. but what data structure should I use for the gameplay? |
|
Hi I am experienced in ASP w/ C# but a beginner in PHP: How do I get the value of a unique index of a column of mySQL in PHP: [CODE=C#] try{ //do connect //insert data } catch(Exception ex){ if (ex.Message.IndexOf("Column_Name") >= 0) //<-- how do I do this in … |
|
I am using VS2008 with TaoFramework's freeglut and OpenGl Can someone help me? I always get "CallbackOnCollectedDelegate" error when I apply this rotation and scaling with mouse and timer on my 3D Tetris game project, but if I don't apply timer the scale and rotate will be out of control.... … |