20,278 Topics
| |
After a lot of research I have figured out (sort of) How to get and then set then screen saver time out using VB.Net. What I have doesn't seem to be working. I have managed to figure out that what I have done is VB6 code and not VB.Net. I … | |
hello everyone, i have a datagridview filled with a dataset and i want to store all the records it has to new table in database. i added a new column,("pos") to a dataset that fills the datagridview through a query so that it ranks records based on a field (total).my … | |
i want to make a textbox suggest all possible inputs based on a certain column in my database. for example, i have a country column in the database and i want my textbox to display all countries from my database column that starts with P when i type it and … | |
hi i am a vb with datagrid view on it displays all the data from my database however i want to put a option to add where the user can select the date from when to when and it displays the data. at the monet i have use this code … | |
i use vb.net 2012 and a pin terminal on serialport. Everthing works fine (sending en receiving), i want that the communication stop after 500 milliseconds if there no reaction from the terminal , reason pin terminal stopped or serial cable loose . How can i achieve this? This is code … | |
I need my program To detect the resolution of multiple monitors on a system. I have figured out to get the resolution of one monitor. Public Function ScreenResolution() As String Dim resX As Integer = Screen.PrimaryScreen.Bounds.Width Dim rexY As Integer = Screen.PrimaryScreen.Bounds.Height Return resX & " X " & resY … | |
Hi! I already established an iDB2Connection, now what I want to know, is how could I execute SQL Queries for INSERT, DELETE and UPDATE. I had tested the code already and it works. The code for count works; I get the total number of records. My question is that for … | |
Hi! My database is in AS/400 DB2 hence, I am using SQL. Here's my line of code for opening a connection. Dim str As String = "User ID=EDITH;Password=EDITH;Data Source=10.0.1.11;Initial Catalog=ictms;Integrated Security=True" Dim conn As SqlConnection = New SqlConnection(str) conn.Open() Now, I wanted to execute a delete query, however, I already … | |
Good Day, I would like to ask, i have already finished my project on VB.net and im now planning to deploy to. How can i deploy this with .exe and DLL files only? Your help is much appreciated. Thank you, EOS | |
There is no **"Microsoft Outlook 14.0 Object Library"** in my **visual studio 2008 reference COM** List how can i update it. Thanks | |
Hi guys, I've created a login form which works fine, i need assistance in comparing uppercase and lowercase input from a login form. Whenever the password is entered, the system has to compare uppercase and lowercase characters stored in the data..following is my code: 'Logic for login... Dim conn As … | |
Greeting, I'm working on a VB.NET program. Currently I'm facing difficulty of filtering data of the parent and the child. I use GridControl from DevExpress through :)/> This is the code of how I populate my TreeView : Public Sub fillTreeView(ByVal Key As String, ByVal Txt As String, ByVal N … | |
I have this simple problem but im still newb to vb.net where i should Reverse the "hello world" and the result "olleh" without the world without using any function like strReverse() its very hard for me any ideas would be helpful | |
I have a cart that shows product selected and the quantity and the price for each. What I am wondering is how to display the price for each as well as the total for all? Here is my code...Is there a way to do this in the public string Display()...what … | |
I am trying to insert records in a SQL table from Excel sheet with VBA code. Data contains of a range with all the rows to be inserted. I am using below code for the same. Insert INTO [odbc;Driver={SQL Server};Server=myserver;Database=mydb;Uid=abc;PWD=abc].DPR Select * FROM [TempRange] I am getting error as above. … | |
I'm doing a project in vb.net back-end is MSACCESS... I don't know how to store data from COMBO BOX and to RETRIVE data from database to COMBO BOX... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Ariff\Inventory\Inventory.mdb;Persist Security Info=False") cn.Open() str … | |
Hello everyone I have a windows form application in Visual Studio 2012, with a datagridview. I need to save new data on this datagridview to a SQL database. Could anyone help me with the code or a procedure. The database name is PRISOON, and the table records to be added … | |
how to create a simple logi form in vb.net without using database connection??? | |
Hello, I'm sorry if this is the wrong place to post this, I couldn't find a support section. Anyway, I'm new to VB.NET and honestly, I'm lost. I need to extract text from a HTML page, here's the line I want to extract from `<p><a href="/video7419001/0/CoD4">CoD4</a></p>` What I want to … | |
Hello I am using the following in one Web page form in ASP.NET (VS 2013) in order to 'set focus' on the username field: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub It works on that form, but not on this new one: BC30269: … | |
I have vb.net application with SQL server express. Here is my code to save data to database, but itn not working. Here ID is not the primary key. Imports System.Data.SqlClient Imports System.Data Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim cmd As New SqlCommand Dim … | |
Hi guys, I just got into a little problem.I just deployed an application with backend db access.It works fine on major OSs being used like win7 and XP. But some functionality related to the database doesn't work properly when deployed on win8. I used a code to delete temp table … | |
Hi! This is my Gridview1 and I wanted to get the value of the recid column using the GridView1_RowEditing method <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="RECID" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True"> <Columns> <asp:CommandField ShowSelectButton="True" /> <asp:BoundField DataField="RECID" HeaderText="RECID" InsertVisible="False" SortExpression="RECID" /> <asp:BoundField DataField="DOCUMENT_NUMBER" HeaderText="DOCUMENT_NUMBER" SortExpression="DOCUMENT_NUMBER" /> </Columns> </asp:GridView> Please help me, I … | |
Hi guys I tried to to use inner join on 5 tables it worked but the problem is instead of getting the exact sum values it got doubled. Here's my code cmd = New OleDbCommand("SELECT om_list.invoice_no as invoice_no, om_list.internal_id as internal_id, om_list.customer_id as customer_id, om_list.account_name as account_name, om_list.seller_name as seller_name, … | |
I'm trying to make a integer to string and also string to integer. Integer to string is what I want because if I finish integer to string I think I can reverse it. Here is I have a wrong output. I likely created a number system in string like how … | |
I came across a program [SelfNote](http://selfnote.pen.io/) which stores all the text we write and the password in itself.No other file is created (the EXE changes its size as we change it's contents) . It is a standalone exe with all the content within it. How can an exe modify itself … | |
Am developing a two screen application where first screen resides in the user system and other screen in extended mode is directed towards a projector or another monitor. They all are working perfectly. Now my client asked me if I can preview the secondary screen onto the primary screen. I … | |
hi I wnat to make **only third line** i.e "Wenisday" bold in richtextbox. how can i do this Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click RichTextBox1.Text = RichTextBox1.Text & vbCrLf & "Monday" RichTextBox1.Text = RichTextBox1.Text & vbCrLf & "Tuesday" RichTextBox1.Text = RichTextBox1.Text & vbCrLf & … | |
Good Morning Everyone, May i know how to extract all data from a excel file and copy the data all over to another excel file? Example from Excel A, we have data EmployeeID Name Department 1111 John MIS I want to copy the data over to Excel B... may i … |
The End.