- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
a man with a huge dream. Studied Operation Management and Information Systems Management. Emphasized on system design. Learning to program so need much of help.
- Interests
- =
105 Posted Topics
Re: I think adding savesetting to form.close application event will do the job. As you already know add get setting to form load event. | |
![]() | Re: Nice job and thank you for sharing your knowledge. |
Re: buff see below [CODE]Private Sub cmbCproduct_SelectedValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmbCproduct.SelectedValueChanged 'when the user selects the product_name from the combo box i should be able to get the product_id. Dim productID As Integer productID = cmbCproduct.SelectedValue msgbox(productID) End Sub[/CODE] | |
Re: Hi, I am also having the same issue with the login. But I've used a dataset within my project instead of reading data from an external database. I've tried all suggested above but nothing seems to work. Can someone share with me know this problem was resolved. Thank you. Dim … | |
Hey guys, Is there a way to have multiple columns as combobox display value without buying third party controls? If yes, please post the name or anything in reference so I can google it. Thanks in advance. | |
Re: [CODE]Dim Reader as OleDbDataReader = dbCommand.ExecuteReader[/CODE] | |
Hello, I have created a report using SAP Crystal Report on Visual Studio 2010. As datasource, a interal dataset is used to populate the report which is included in my project. Everything seems to work fine until during runtime when I load the report onto the report viewer, it keep … | |
Re: What is the DB you are using? If you are trying to use SQL Database then you can start by building 1 table and 2 stored procedures. one to trim the file name and one to inserting a file into your table. A table to hold your data. [CODE] CREATE … | |
Hello again my friends, I am trying to figure out how to code a function which will pause the system until the user presses the key. I did some googling and I was able to find this function called getch() for c++ but no luck for vb.net. Is there a … | |
Re: I am new to linux but I've heard many great thing about it and wants to try it out. After couple of hours on google, I was very confused and frustrated because there are so many different versions of linux. What is the best linux os for a beginner like … | |
Re: I dont think you are allowed to grant access to a user on entire database. What is the error message? | |
I have a connection string for my SQL database connection called my.settings.GCRConnectionString which was created when I created my dataset for the application. I want to change the value of the connection string but it give me an error saying it is ready only. Is there a way to update … | |
Re: 1. can be done using .BorderWidth = (thickness in Integer value) 2. I dont exactly remember but I think it was border.color = (your color) 3. look for opensource components. I think I've seen someone use one called NPlot or RPlot, google is your best friend. | |
Re: creating an extra field called Incident_ID (object id to index records stored) in your entity might help indexing each record. [CODE] CREATE TABLE dbo.(your_table_name) ( Incident_ID INT IDENTITY(1,100) PRIMARY KEY, Student_ID VARCHAR(20) NOT NULL, Incident_Date SMALLDATETIME NOT NULL, Note VARCHAR(MAX) NOT NULL ) [/CODE] Then you don't have to worry … | |
Im trying to put current system time in YYMMDD format but having problem with day function. is Day() which returned day of month in VB6 not available in VB.Net? If I want to get the current day of month, how would I do that? [CODE] Dim dt As Date Dim … | |
Re: Try this, I'm pretty sure this is how you convert the first letter in each work to upper case. or you can try useing toupper. [CODE] Dim text1 As String = "camille aisha cordova" Dim text2 As String = StrConv(Text1, VbStrConv.ProperCase) textbox.text = text2 [/CODE] | |
Re: I think I might be able to help you out but I dont understand what you are trying to do. Help me understand better. I see you mention rows and filling them with data but you do not have a datagrid. then what do you mean by rows and filling … | |
Re: put your code in try catch statement and post your exception message. [CODE] Try ''your code in here Catch ex As Exception MsgBox(ex.Message) End Try [/CODE] | |
Hey guys, I am trying to find .NET Framework Configuration Tool which used to be in the control panel for older versions such as .Net Framework 2.0. I just noticed that it is not there anymore, and mscorcfg.msc is also missing from the machine. I googled on it and one … | |
Re: Can you post your codes to help us understand better | |
Re: Be more clear. Explain what you are trying to achieve and you have explain little better than 'select the names in table2 where the point is less than the name's point in table2' | |
Re: if you are planning on making games using vb.net then try Game Studio. Its developer's tool for xbox games, and I think i heard someone say that it uses vb.net as one of the programming languages. | |
Re: Change the auto complete mode for your combobox so it suggest and append [CODE] cboCrew.AutoCompleteMode = AutoCompleteMode.SuggestAppend [/CODE] | |
Re: put code tag around your code please | |
Re: hericles has a point. It would be easier if you use textbox.text.toupper but if you must, absolutely must,convert lower case to upper case during the keypress event then here it is [CODE] Private Sub Tbx_AcctCode_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Tbx_AcctCode.KeyPress Dim keyChar As Char = e.KeyChar … | |
Re: Welcome, I didn't know access had datagrid. Is this developed in Access or Access as DB? | |
Re: try counting the number of rows and have your for loop start at index 2 until end of row, when the index = row count | |
Re: People say for school projects, it is easier to improve something you already have then creating something new. I studied Information Systems and for my final project, I took a dealership vehicle/client information system what I worked on easier in college and automated everything with couple new features. | |
Re: So whats the problem you are having? any error code? | |
Re: you can check selected row by using [CODE]DataGridView.CurrentRow.Index [/CODE] you can deselect a row by using [CODE] 'This should work Datagridview.ClearSelection() 'Try this if the first one doesn't work Datagridview.CurrentRow.Selected = false [/CODE] | |
Re: I don't think you can add items to a data bound DataGridView. What you need to do is insert data from the listview into your table and populate DataGridView. | |
Re: go to DataGridView Tasks by clicking on a little arrow head icon at the top right corner of the datagridview and uncheck allow edit on all of your datagridviews. | |
Re: Please post your code and we'll try to add what we can to it. For now, i give you what I think would work. you can parse text using Regular Expression (RegEx). You are going to have to keep count of all of the words so use that as work … | |
Re: Use FormClosed when you want to execute something when the form is closed. [CODE] Private Sub Form1_FormClosed(sender As Object, e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed ''Your code here End Sub[/CODE] Use the following code FormClosing if you want to execute something right before the form close. [CODE] Private Sub Form1_FormClosing(sender As … | |
Over the weekend, I found an old FireBox II in basement. I pulled it from one of my clients about 6-7 years ago so I know it is in working condition. but the problem is that I dont have the monitoring software for it. I went on Watchguard and the … | |
Re: I think this will do. [CODE]Dim cmd As New OleDbCommand Dim con As New OleDbConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\testdb.mdb" Dim dt As New OleDbDataAdapter Dim ds As New DataSet Private Sub Customer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load showItems() End Sub 'This will bind database to your datagridview … | |
Re: Hope this helps [URL="http://www.codeproject.com/KB/install/Program_Uninstaller.aspx"]http://www.codeproject.com/KB/install/Program_Uninstaller.aspx[/URL] | |
Re: Instead of trying to change the text value of a textbox in another class, why don't you code it so that a value is passed back. | |
I have a stored procedure that creates temporary table to populate return table. It works perfectly fine when I execute it on SQL management studio but when I try to import this sttored procedure, it give me an error Invalid object name '#TOTAL' which #TOTAL is the temp table that … | |
Re: Do you have the solution? | |
I am trying to create keypress handler that will execute a line of code when Tab, Space, or Enter key is pressed or passed by the scanner gun while the control is in focus. I got it to work with space and enter key but with tab key, the cursor … | |
Re: [code] downloader.pause() downloader.resumre() downloader.stop() [/code] | |
Re: Need a little more explanation. What do you mean by add customer name? | |
I have a sql query with that adds numerical values from different table to find total for a shipment. When I execute this query, it works fine for the first record but rest of the records show null value when I know there are records present. SQL pros please take … | |
Re: Instead of validating, you need to set your minimum allowed date on your DTP. [CODE]DateTimePicker1.MinDate = "date you want to set to"[/CODE] |
The End.