20,278 Topics

Member Avatar for
Member Avatar for Rabastan

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 …

Member Avatar for cgeier
0
1K
Member Avatar for Kellypyz

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 …

Member Avatar for cgeier
1
251
Member Avatar for kazekagerandy

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 …

Member Avatar for bikithalee
0
12K
Member Avatar for suria.kunanathan

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 …

Member Avatar for cgeier
0
177
Member Avatar for dre-logics

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 …

0
126
Member Avatar for Rabastan

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 …

Member Avatar for Rabastan
0
152
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
934
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
2K
Member Avatar for eos.paks

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

Member Avatar for deceptikon
0
148
Member Avatar for PM312

There is no **"Microsoft Outlook 14.0 Object Library"** in my **visual studio 2008 reference COM** List how can i update it. Thanks

Member Avatar for PM312
0
1K
Member Avatar for mbowenitj

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 …

Member Avatar for mbowenitj
0
2K
Member Avatar for 24minutes

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 …

0
110
Member Avatar for jj.dcruz

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

Member Avatar for jj.dcruz
0
153
Member Avatar for GingerDontCare

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 …

Member Avatar for GingerDontCare
0
341
Member Avatar for Madiya122

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. …

Member Avatar for Ancient Dragon
0
374
Member Avatar for Noorul Ariff

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 …

Member Avatar for cmanojkumar86
0
740
Member Avatar for LuisFS

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 …

Member Avatar for OtepTheThird
0
163
Member Avatar for ammukarthi
Member Avatar for Paul_24
0
262
Member Avatar for eatyourgreens

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 …

Member Avatar for Hiroshe
0
634
Member Avatar for Blueie

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: …

Member Avatar for Blueie
0
589
Member Avatar for Satyam_1

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 …

Member Avatar for jared.geli
0
467
Member Avatar for jaejoong
Member Avatar for Nebil

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 …

Member Avatar for Nebil
0
1K
Member Avatar for xuexue

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 …

Member Avatar for Mr.M
0
334
Member Avatar for jared.geli

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, …

Member Avatar for jared.geli
0
236
Member Avatar for Asskilled21

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 …

Member Avatar for Asskilled21
0
459
Member Avatar for mridul.ahuja

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 …

Member Avatar for deceptikon
0
351
Member Avatar for Riteman

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 …

Member Avatar for Riteman
0
390
Member Avatar for PM312

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 & …

Member Avatar for deceptikon
0
122
Member Avatar for Jing_1

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 …

Member Avatar for du_1
0
664

The End.