20,278 Topics
| |
Hi, I want to ask you, how I can set up a path of monitored object in this source code: [url]http://msdn.microsoft.com/en-us/library/st80atsf.aspx[/url] I want to do it in Visual C++. Thank you | |
Hello.. I'm trying to make Snake and Ladder Games... For the Board I use PictureBox but for the players I don't I'm using circle which is image... because players can move when they roll the dice.. so I should use DrawImage and Because I want to make the background Transparent … | |
Please help me I need Silent download code for visual basic 2008 | |
I am new to VB.net. I am trying to develop an application Back end MYSQL My SQL statement is giving indexoutofrange exception unhandled. How to handle this exception? Please give me step by step guidelines to solve this. Thanks | |
i want to export datagridview data to crystal report. can u find a solution? hurry | |
Hello guys i want get one value of my enum and then converted into hex but i got a warning Warning 1 Runtime errors might occur when converting 'String' to 'System.IFormatProvider' for example [CODE] Public enum myenum myvalue =0 end enum sub mysub() console.writeline( myenum.myvalue.tostring("X2")) end sub [/CODE] How can … | |
hello everyone,hope you can help me with this, i want to work on a shooting game,and i already have a code for the rotation of the image but i have a few problem First problem(for the [B]tank /ship[/B]): i want the image to AUTOMATICALLY rotate facing the mouse cursor,i know … | |
how can i insert date day and time on status strip m using vb 2005 | |
i thought i finished all but the problem araise about printing...... i used crystal report viewer for viewing and printing.. in vb 2005' i need to set the printing paper size such as for receipts with 10*6 inches..........but when i close and reuse it .it will take the default one...that … | |
hello frends i hv a prom with updateting............. in my form............i hv added a datagridview ......... in backend i m using an sql server...............i want to update the changinges made in datagrid view.................data shown in datagridview is from 2 from.......... i m using an join operation.............. so please anybody help … | |
how can i link form created using vb.net to sql server database. I created a database with sql server 2000 now i want to connect form created in vb.net to sql server database | |
[CODE]objDataSet.Relations.Add("CustomerTable2AccountTable", _ objDataSet.Tables("CustomerTable").Columns("CustomerID"), _ objDataSet.Tables("AccountTable").Columns("CustomerID")) [/CODE] getting this error [CODE]'column' argument cannot be null. Parameter name: column[/CODE] | |
My app uses a verification method for users of downloading a text file which contains game-ID's of the users and checking the file with their game-ID. The problem is, the code I'm using to download it is kinda messing the file up. [CODE=VBNet] Public Sub GetIDList() Dim wr As HttpWebRequest … | |
data type mismatch criteria error .. please help im getting this error .. and i don't know where's the error .. [CODE] Private Sub frmUpdateChapter_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = D:\dbCAI.mdb" con.Open() Try da = New OleDb.OleDbDataAdapter("SELECT * from tblChapter WHERE … | |
hi i was wondering if anyone could help me i have created a SELECT FROM WHERE query to perform a search here is my code [CODE]SELECT EmployeeID, DepartmentID, Forename, Surname, Role, Email, Telephone, Extension, Mobile, Photo FROM Employees WHERE (Forename = ? or ? = '') and (Surname = ? … | |
I have a users domain and user id. I would like to retrieve the full user name. The data is coming from a SQL table for display onto an asp.net page. Anyone know how to get the users name for someone other then the user who is using the asp.net … | |
i have a form with 4 text boxes on them when the user selects add the information from the textboxes saves to my database im just wondering does anyone know how i would make an error message appear if one of the textboxes was blank and stop the new data … | |
Here's the code: [code] Private Sub btdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btdAdd.Click 'Sets up the connection to the database 'Dim myConn As New OleDb.OleDbConnection() 'Dim sql As String con.Open() Dim cmd As New OleDb.OleDbCommand ("INSERT INTO Contacts(Company, First, Last, Title, Address, City, State," & _ "ZipCode, … | |
Hi, I have created a local SQL database using Visual Studio 2005 (not by SQL Server Management Studio), and located it in the same VB project folder: "E:\MyProject\MyDB.mdf". Now I'm trying to design reports using Crystal Reports 2008, but for SQL Server, it doesn't browse this DB created by visual … | |
Sub CalculateStorageCharge() Dim datedue, datecollected As Date Dim daysoverdue As Integer Dim storagechargetotal As Integer Dim storagechargefeeperday As Integer = 5.0 daysoverdue = DateDiff("d", datedue, datecollected) If (daysoverdue) > 0 Then storagechargetotal = (storagechargefeeperday * daysoverdue) Else : storagechargetotal = (0 * storagechargefeeperday) End If storagechargetotal = CInt(txtStorageChargeFee.Text) End Sub … | |
I have a select statement as below. select * from candidate where resume REGEXP 'JAVA'; i am developing an application for searching resumes. I have a tex box where I can give keywords like Java in about example. The applciation is in MSQL as a back end. I am taking … | |
could you please give me code in c programming of a hangman game, a converter or a phonebook??? pleaseee.... badly needed it.. dont have enough time to do it.. please... | |
Hi! I'm trying to delete an entry from my database, i have the code written to display the details in a listbox but now i need to write the code do the user can select the item they want to delete and then click the delete button to delete it!????? … | |
Hi I am attempting to write a playlist for my media player which is already built. I have found a way to build a playlist for it but it would be helpful if I could save the contents of TextBox1 to a text file without using the save as. I … | |
i have make the simple code log in program with connect database.The below code have something problem.Can someone pro solve the problem.:( [code] Private Sub btnSignIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSignIn.Click Dim conn As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter … | |
[code] Private sub btnCompute_click () handles btnCompute.click Dim Total, labor, customer As String labor = cdbl(txthour.text * 35) parts = cdbl(txtpart.text + 5%) Total = labor + parts customer = txtname.text lstResult.Items.add.clear() lstResult.Items.add("customer" & customer) lstResult.Items.add("Labor cost" & Labor) lstResult.Items.add("Parts Cost" & Parts) lstResult.Items.add(" Total Cost" & Total) end sub … | |
Team - Could someone please tell me I haven't lost my mind? I have done relationships in the past but now they don't seem to work. Have I gone dumb? Creating a winform, using VS2008, sqlexpress & vb.net. My dataset looks like this: -------------------------------------------- Table 1 - BranchInformation BranchID - … | |
wondering if there is a way to shorten up this IF statement i have going on.. [code] If my.settings.id <> 1.001 or my.settings.id <> 2.001 or my.settings.id <> 3.001 then do it like this end if [/code] what im looking for is a shorter way, i have tried [code] if … | |
hello .. im having this thesis project and im new in vb.net i am having a problem in using the combobox and textbox that is connected through a database.. (im using microsoft access) i want that when i choose in the combobox .. the textbox will automatically update itself that … | |
I have a dataGridView with 4 columns. 3 of the columns i want to use a combobox. In the datagridview properties from the design view i already set the columns to DataGridViewComboBoxColumns. how do i from the code set the columns values from a dataset? I can get the data … |
The End.