20,284 Topics
| |
I want to format today's date like this dd/mm/yyyy Please help me | |
I have a slightly malfunctioning mouse. My problem is that when my computer wakes up, often my mouse stops working. The light remains on and all buttons work but I cannot move my mouse until I unplug it and plug it back in. I've written programs to fix strange issues … | |
I'm getting a warning at the end of my code that says, Warning 1 Function 'Result' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. The code works fine, but can someone explain why I'm getting this … | |
Hi all. I would like to know how can I code form1 to open form2 immediately when form1 loaded in Visual Basic? eg. Form1 opens and immediately form2 opens. This is almost like website redirection. Thanks. | |
Hi guys i am a total beginner on VB.As mention on the tittle i would love a help on my problem.Here is my code Imports System Imports System.Data Imports System.Data.OleDb Imports System.Data.SqlClient Public Class Form1 Dim conn As New System.Data.OleDb.OleDbConnection() Private Sub btnSignUp_Click(sender As Object, e As EventArgs) Handles btnSignUp.Click … | |
Hi All's, Really need your help, i'm trying to update existing data in MDB database by date.today but cannot update . Here my coding Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source= PTGDB.mdb") Dim cmd As OleDbCommand = New OleDbCommand("SELECT … | |
lright, I have a combobox with a list of Food names, and the user can also add food names. How would I make this print or go to a print preview page | |
Hi. I have created a VB.net youtube video uploader app using Google API, which works fine. However, if I want use a proxy to upload the video, I get an error: "Invalid credentials". The proxy I am using is a public one and doesn't require any authentication, so I don't … | |
I do apologise for the simplicity of this post, but I am seeking help in something I have not encountered before. While I have my splash screen and program humming perfectly, I am trying to run a date check while starting and exit the program if it is too old. … | |
In my project, at some point I tend to load all rows in my DataSet and add them to my FlowLayoutPanel in order of their "Time" Item. This is what I'm trying to do but I need the controls to be added first if their "Time" value are the oldest … | |
I have query that updates the database but the problem was the datagrid is not updating.. i have to restart the program in order for the datagridview to take effect Imports System.Data.OleDb Public Class frmUsers Dim cnn3 = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Renz\Documents\Visual Studio 2012\FINAL\Database\AuditDB.mdb;") Dim sql2 As String Dim ds1 As … | |
Hi everyone, I'm new in vb.Net programming and i just want to ask how to validate a "Double" data type. for example. Dim number as Double number = textbox1.text If the value of "number" variable is in "Double" data type like 1.23 or 0.12 it returns a correct value and … | |
I was wondering if I can fill up an edited row based on the value in my Label. Here's the scenario: An employee will add and edit rows in the DataGridView1. All rows involved in adding and editing will fill up the last row with the Employee ID of the … | |
cant figure out how to get the floors and occupancy rate to show Public Class Form1 Private Property occupancy As Integer Private Property occupancysum As Integer Private Sub GroupBox1_Enter(sender As System.Object, e As System.EventArgs) Handles GroupBox1.Enter End Sub Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim intOccupancy(8) … | |
Hi, just wanted to know how to delete a record from datagrid, i tried the following code but it gave me an error in deleting records, I am using Mysql Database. Following is the code: [code] Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click 'recorddelete() Dim … | |
How can i add one record from a table to another table in vb.net? Whats the instruction ?Using the instructions of squel , how can i put in the vb.net instructions? ehsan2 | |
Hi guys, I'm a little bit confused to declare a certain variable. I defined it under a button.It's in a do-while loop and it stores calculated values while other this are being executed. And i wanted to extract that value using another button.I know i can use a function but … | |
I have this code working on VB.NET 2008 but not working in VB.NET 2010 and show no error code. When I use the query analyzer the query work good, but when I try on my code nothing happen. I can do SELECT code and that ok, it’s just the update … | |
how to save ListBox in vb.net Dim files() As String files = Directory.GetFiles("C:\", "*.mp3") Dim file As String For Each file In files ListBox1.Items.Add(Path.GetFileName(file)) Next output : 00001.mp3 00003.mp3 00005.mp3 .... want to save all item wth Only filenam to another folder. | |
Hello, is this how a constructor is created and initialized. I am getting an error; VB does not like the "New" what I am trying to do is to create a constructor with one argument and initialize its attribute. Public Sub New(ByVal newProdNumber As Long) intProdNumber = newProdNumber End Sub … | |
Hi I need help in making an auto complete feature in my datagridview where if I input a certain cell it will automatically have a value or it will have a autocomplete suggestion (like a textbox link to a table) based on my other table. I don't have any clues … | |
Hi, Im ne to vb.net and I have a file and instead of sending it to a printer I want to converting it to a PDF from any ideas on how O can make this work? Im using vb.net 2010 Thanks all answers are appriciated | |
I am using VS2008 to develop web application with vb.net under .net 2.0 and Crystal Report 7.0 reportclass. I have changed some wordings in a Crystal Report template (file1.rpt) which is included in the source program of vb.net (in a .soln file) in testing environment. Now I want to apply … | |
Hi all. How Can I makes login form for my vb.net project? I would like to make one that can identify the user according to their roles. Eg. Roles 1-4. Role 1 being the lowest user so this user can't use everything on the app. Role 4 as the highest … | |
Hi DW I'm creating a program in vb.net which is an aspx but I think the solution to my problem as I'm using vb.net can be as vb.net because most of the codes in this web application I wrote it via vb.net, I have a server it a wamp server … | |
hi I have this code that will send my panel into a printer but the problem is it doesent let me choose which printer I will use any idea on how can I make the printer window appear? thanks Public Class Form1 Dim img As Bitmap Dim WithEvents pd As … | |
help i with inno script i am finished with the prerequisite problem of framework my only problem is that after setup my sql files will be automatically imported | |
here is a screenshot of my system.i dont know what is the error i put the code on line 7 correctly.anyone can help? thanx the line 7 is con.ConnectionString = "provider = microsoft.jet.oledb.4.0;datasource = ..INVENTORY1.mdb" | |
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 … | |
Im puzzled, the thing is, i have a software that was running ok, with a connection of to access 2010 db. A rotine to add a customer, to the database that was already coded, started to fail. saing that the insert method of the tableadapter was not avalaible. the tableadapter … |
The End.