20,284 Topics
| |
this is my code in vb6. How to in vb.net??? Please tell me?? Thank's [code] Public Function Tgl_Max(Month As Integer, YEAR As Integer) As Integer Tgl_Max = Day(DateSerial(YEAR, Month + 1, 0)) End Function [/code] | |
can someone help me with this issue i don't see why its not initializing but here is my error: [code]Object reference not set to an instance of an object.[/code] And Here is My Code: [code=language] Dim pic As New PictureBox Dim frm As New Form Public lbllist As Generic.List(Of Label) … | |
[quote]I get the bar as the picture below. But the value for each bar display is too crowded. So can i know how to change the vertical values(each stack bar) into horizontal value.Thanks.Below is my coding.[/QUOTE] [img]<a href='http://img513.imageshack.us/i/58407423.jpg/'><img src='http://img513.imageshack.us/img513/8098/58407423.jpg' border='0' alt='Image Hosted by ImageShack.us'/></a><br/>[/img] [code] myPane.BarSettings.Type = BarType.Stack myPane.XAxis.Type = … | |
How can i run code when click on send button in outlook 2007 using VSTO 2008? | |
[code]' Add template and surname to database. Returns added template ID. Public Function AddTemplate(ByRef template As TTemplate) As Long Dim da As New OleDbDataAdapter("select * from Biodata", connection) Dim txtsurname As System.Windows.Forms.TextBox txtsurname = New System.Windows.Forms.TextBox() ' Create SQL command containing ? parameter for BLOB. da.InsertCommand = New OleDbCommand("INSERT INTO … | |
i'm try to send many picture using socket programming in VB 2005 from client to server. but, after i run the program, only the first picture that reach destination server. and there is an error saying that my socket are no longer connected after the first picture are sent. client … | |
I want to update my database( using a file from my root folder ) every hour even when my web page /form is not opened in the browser.... Please help Thank u | |
This is error messages. Server Error in '/trialwebsite' Application. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that … | |
I need to create a form containning one list box & two buttions The listbox is used to list all installed printers on computer. Button1 is used to select default printer from listbox Button2 is used to close that form. | |
I am developing application where I want to give a choice to user to make backup of database in case of syatem crash etc. I know how to copy a file from one location to another loaction using filesystem.copyfile but i want to get information of user system and its … | |
Hello, I am writing a program (for fun as well as for practical uses) that will allow me to keep track of several projects I am working on and how long I have spent working on each. My program has a class "Project" which has the following variables: [code="VB"] Private … | |
hi all, i am trying to add check box to my datagrid view and update checked rows to sql server. please help me. i am using vs 2005 and sql 2000 thanks in advance. | |
i want 2 develop some application in vb.net as my final year project m a student of btech final year cud u pls help me in dis | |
Hi all, I've got my restore database code working good but was wondering if there is anyway to get some feedback from the SQL server during the restore? [CODE] Dim sqlstr As String sqlstr = "restore database " + dbNameFinal + " from disk ='" + tbBAKpath.Text + "' with … | |
i got problem to save the record after edit the record.. this the error [B]Operator '&' is not defined for string "UPDATE RekodAnggaran SET Nama='A" and type 'DataRowView'.[/B] code save [CODE]Private Sub btnsimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsimpan.Click con.Open() [B]sql = ("UPDATE RekodAnggaran SET Nama='" & … | |
i got 2 form... 1 form for add, delete, find record in database(access) 2 form show record in database(same database) use datagridview. but the problem now, when i delete or add new record in database at form 1. then i go to 2 form, try to see record show in … | |
Hi all, I am doing a project on creating send and receive sms application just like a software named Mozat M2U. I just want to know what are the different ways of sending and receiving sms. When I am doing my research, some of it uses sms gateway which is … | |
Hi I am using ms access 2003 with VB.NET .I want a textbox or similar to take user query and to show respective results in datagridview queries : select with where clause field name with yes/no in form of check box Thanks in advance! | |
hello for database in my vb.net application i want 2 create backup file in another location of or drive of user comp.. by clicking "backup" button | |
how to know drive details of user system thru vb.net program | |
Hi I'm new to developping applications in VB.net I need help with a simple select statement. SQL statement: Select "LYC Code" from [General ledger Setup] I don't how to write that particular select statement in vb.net when there are spaces in the names of the table and field . Can … | |
I am installing sql server 2005 express as a pre-requisite along with my VB.net application setup. When I run-setup, set-up starts and after 2 or 3 minutes it gives error as follows : [COLOR="Red"]Component SQL Server 2005 Express Edition SP2 (x86) has failed to install with the following error message: … | |
I am trying to read a specific line from .txt file. The problem is the the whole application hangs. It does not display any error, just hangs [CODE=vb] Imports System Imports System.IO Dim Username As String = "" Private Sub Form1_Load() Try Dim Filereader As New IO.StreamReader("Test.txt") Dim CurrentLine As … | |
Hello all, How i can delete value variable using vb.net.. I try this one.. strTBL_T5_Lookup = "" or strTBL_T5_Lookup = nothing But value is still in there. Why my code is not working. Please tell me??? Thank's | |
Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my … | |
Hey, i am working on a project that saves and load text files just so i can get the coding down for later projects. I am able to specify the location of the file to load eg. the Load File Dialog and the user specifies the location of the text … | |
how to check if a directory contains any files or not?if files exist how to delete them in vb? | |
This is my code: [code=VB] Private Sub NextForm() Form2.Show() Me.hide() End Sub [/code] [B]Problem: [/B]The first form fades out and the second form fades in. Between the transition of [B]Show()[/B] and[B] Hide(),[/B] the actual desktop is seen. The only solutions that I could think of is; 1. Not to hide … | |
Hi All, i worked hard with following error from two weeks. when i am connecting to my sql database from client machine using vb.net following error occured. its worked for local machine. "an error has occured while connecting to the server. when connecting to sql server 2005 ,this failure may … | |
I am new to vb.NET and I have decided to make an image viewer, and what I want to do is resize the image it loads to fit the picture box, how do I do this? My image is a System.Drawing.Image object. |
The End.