20,278 Topics
| |
I have an sql database names SubJobs with a column named Date. The data type is Time(7). I have a datagridview named DataGridView1. I want it to display a time like 04:30 PM. I’ve tried the following command to format the column but it gives me an error saying that … | |
I need to check the validity of the URL to different files without opening the link document/image. I used the below code in ASP.net 4.7.2 in validation attribute. The current code is as follows : (working fine with jpg) public override bool IsValid(object DocumentURL) { try { string urlLink = … | |
How to send call by vb.net from pc to phone!!! Or to make a button in vb.net application when clicked it send the call to phone which is connected by bluetooth | |
Hi guys , I have a tables called “scores” With the following Fields AdmNo,Name, Maths,English,Biology ,Avg Am loading this data to my datagridview using select “Select * from scores order by Avg Desc” Which works fine my question is how do i get the rank of every student from the … | |
<Grid> <Grid.RowDefinations> <RowDefinations></RowDefinations> <RowDefinations></RowDefinations> <RowDefinations></RowDefinations> <RowDefinations></RowDefinations> </Grid.RowDefinations> <Grid.ColumnDefinations> <ColumnDefinations></ColumdDefinations> <ColumnDefinations></ColumdDefinations> <ColumnDefinations></ColumdDefinations> <ColumnDefinations></ColumdDefinations> <Grid.ColumnDefinations> <Grid> </Grid> </Grid> | |
hello, I am trying to write a vb.net programme that reads data from a file and do a count for each column as shown in the format below and also write to an output file. i am able to do the count but i am unable to write the output … | |
Hi Im having an error with my app, Im still learning to code. It gives me error at line rs = cmdOLEDB.ExecuteReader Here's my full code Imports System.Data Imports System.Data.OleDb Imports System.IO Public Class Form11 Dim cnnOLEDB As New OleDbConnection Dim cmdOLEDB As New OleDbCommand Dim cmdInsert As New OleDbCommand … | |
Magento : Using app/design/frontend/default/theme/template/catalog/product/view.phtml how to display my text message on my selected products, workout : <?php $productId = '42150'; $product = Mage::getModel('catalog/product')->load($productId); if( $productId == '42150' ) { echo "Test"; } ?> if i wrong pls correct me. | |
Hi All, I have 7 tables in my access database. i wrote a code to select the data table using the combobox and to display the selected table in the datagridview. Now i need to add,edit or update, delete the data into the selected tables. In which the text boxes … | |
Hi group, I'm attempting to populate a listview with data from my test database created via Visual Studio 2019. I'm getting a syntax error that says, "Incorrect syntax near the keyword 'FROM'." It's not clear to me what the error is. The code I've written is as follows: Dim strQ … | |
Hi group, I'm trying to store the information from a various textboxes into my database. However it is not writing the data (I'm getting my planned error message, "New Record FAILED. Please contact your systems administrator." From the code below, do you see where my error may be? What corrections … | |
I'm creating a program that maintains student scores. I've created a class called students that stores the data and displays it in a list box. Once the user clicks btnAdd a new form (frmAddStudent) loads that allows them to add the user by name and their scores and display it … | |
Hi group, I'm attempting to write code to check to see if an existing account number exists. The user is to input a 10 digit account number. The code then is to query the database to see if that number exists. If it does, the message box displays the message … | |
Dear friends, I have a number of buttons ( New, Search, Update) on my Parent form (IsMdiContainer set to true) which work very well but once I load and unload a child form (from ToolsstripMenuItem), the buttons do NOT work anymore (i.e., one just clicks onthe buttons and nothing happens). … | |
Group, I've written some code to populate a listview using 3 fields from a database. When creating the listview, I named the individual columns for appearance purposes, (Account No, Company Name and Name). Those columns are being populated appropriately as expected. However data column names are being shown in column … | |
Hi group, I've just installed Visual Studio 2019 and have started my first app using this. Within the program I created a database using the tools provided in Visual Studio. I now want to begin writing to the tables I've created. But I'm stumped on how to do this. Hopefully … | |
Hi this is my first time using this site, so please bare with me. I'm also pretty new at coding and got thrown into connecting to a database in one of my classes. But anywho, I keep receiving a syntax error and I was wondering if anyone could help me … | |
I want when click on the Name Listed on a Listbox from the database to fill Textboxes with Username and Password of particular user from SQL database. I am able to see Names stored on the database on the listbox but when i click on the name its unable to … | |
first of all: I plugged USB modem to my Computer and I want to communicate that usb modem using C# Code as follows:- first connect to USB then access its services like internet and checking balance using Code. if any Idea please give me ENGs | |
Hi There! I'm working with application for adding contacts using Visual Basic 2012. The application have textboxes to add data, control buttons and ListView to display contents in columns. I want to save the information in listView box where a user click save button and savedialogbox open in order to … | |
dear all i have a invoice table now in that datagrid table i have 4 columns itemcode itemdescription qty price now what i need is user come to itemcode and whenever he type itemcode, he should get a list of initial alphabetic itemnames like if i type A so itemcode … | |
Hello, I have question guys. basically, i have 2 forms which is login form and main form. On login form i have database consist of username,password,fullname, and contact. I have toolstripstatuslabel on my main form. the question is, how can i view the fullname on toolstripstatuslabel from the information i … | |
Hi everyone! I'm making an application which requires users with different permissions/previleges to login and use the application.For example, if the user is "admin", all menu items in the menu bar are shown and enabled. If the user is say "user_group1", some of the menu items are to be hidden. … | |
I have the following code to connect to wi-fi, which works fine. Dim p = "netsh.exe" Dim wi-fi-name as string = "My-Wi-Fi-Connection" Dim sInfo As New ProcessStartInfo(p, "wlan connect " & wi-fi-name) sInfo.CreateNoWindow = True sInfo.WindowStyle = ProcessWindowStyle.Hidden Process.Start(sInfo) For i As Integer = 0 To 100 Application.DoEvents() System.Threading.Thread.Sleep(10) Next … | |
Hello people. Sorry for my English, I use google translator .. Please Can anyone convert this code to C # or vb.net? import sys VERSION = 0 SUBVERSION = 2 def usage(): print "[+] WPSpin %d.%d " % (VERSION, SUBVERSION) print "[*] Usage : python WPSpin.py 123456" sys.exit(0) def wps_pin_checksum(pin): … | |
Hi guys, i'm having a difficulty to set the path in vb.net.i put the code in the module and every time i run the code it throws error "Could not find file 'C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb'." here's the code Public conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source= .\\Adigrat.accdb;Persist … | |
Hello, Can someone help me adding two text box. example: textbox1 = (1) textbox2 =(50) textboxsum = (51) i have already values on textbox1 and textbox2, I want the two values of textbox automatically computed on textboxsum. Note: textchange event works but i need to manually input the values on … | |
hi members i am new in vb.net so i faced some problem resolving problems with datagridview i managed to resolve a lot in this days i have faced a problem with no solution if anyone can help me my problem is to add a new columns in datatgridview with data … | |
** Cannot open MSSQLSSQLEXPRESS service on computer'.'. ** **What I have tried:** Dim myController As New System.ServiceProcess.ServiceController("SQL Server (SQLEXPRESS)") ------------------------------------------------------------------------------------------------------------ Private Sub Service_status() If myController.Status = ServiceProcess.ServiceControllerStatus.Running Then TextBox1.Text = "Started" ElseIf myController.Status = ServiceProcess.ServiceControllerStatus.Stopped Then TextBox1.Text = "Stopped" End If End Sub ------------------------------------------------------------------------------------------------------------ Private Sub Button2_Click(ByVal sender As System.Object, … | |
**I would Like to Use this code after you have clicked into your textbox And I am Edwin Have a good Time** |
The End.