20,284 Topics
| |
hi guys, i want to know that what is the different between close method and dispose method in vb.net ex: take that oledbConnection as newConn what is the different between these two .....? newConn.close() and newConn.dispose() | |
Can someone please, please, please give me the syntax in vb 2008 for referencing records on a parent form, I’ve been trying to do this for ages and can’t work it out or find help that answers this. I’m new to VS and vb2008 so please excuse any errors in … | |
Hi All, Can't insert data into SQL database... Keep getting error i dont know how to solve... Plz help Grtz Tiello [B]CODE:[/B] -------------------------------------------------------------------------------------- [code] Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As New SqlDataAdapter Dim … | |
Hi, I've wrote a class that inherits from IO.Ports.SerialPort namespace. The goal of my custom class is to manage delegates (if needed) so I can get rid of them in my main form. The class works great, but it sometimes deadlock when closing the form, often at line 30 of … | |
Hello, I have a problem with BindingSource.Find. I have a datagridview with the columns Klantnummer, Achternaam, Contactpersoon, Straatnaam, Plaats, Telefoon and Mobiel. I want to find a row with the Bindingsource.find method. Above the datagridview i have a combobox to select the column and a textbox where I can type … | |
How would I read XML data into an array? I have an XML sheet, and I want to read each of the values of a specific element into an array. So for each element in each data group I would have an array holding that data. The idea is to … | |
hi frnds i want to ask that what is the format of cookies last modified..Coookies of Mozilla are saved in C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\x5ncmceb.default\cookies.sqlite If we read it last accessed date of cookie is in format 1244272348453125. How to convert it to date..Can somebody tell me? | |
I am trying to make a drawing app integrated into a program that i am making, but i am having the problem of trying to save the drawing. [code] Private Sub SaveDrawingToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveDrawingToolStripMenuItem.Click SaveDrawing.ShowDialog() Try DrawPad.Image.Save(SaveDrawing.FileName, System.Drawing.Imaging.ImageFormat.Bmp) Catch ex As Exception MessageBox.Show("Drawing … | |
I have a dataset (Private DS As New DataSet) and i need to make a Crystal Report from the data held within it The data comes from multiple tables then merge into a new table held in the dataset only How do i create the Crystal Report as the new … | |
hi can u tell me how to develop an web application using vb.net and the application's data is stored in the database .and the database is mssql... | |
I tried to write a program that can open files from the server. But the shared folder in the Win2003 server is password protected. i tried the following code [CODE]System.Diagnostics.Process.Start("net.exe", "use K: \\Server\URI\path\here /USER:username password" ) Dim p = New System.Diagnostics.Process p.Start("k:\" & Filename) System.Diagnostics.Process.Start("net.exe", "use /delete K:" )[/CODE] And … | |
Looking for log4net.dll - download will not unzip I have been to [url]http://logging.apache.org/log4net/download.html[/url] and downloaded both files: incubating-log4net-1.2.10.zip incubating-log4net-1.2.9-beta.zip. Neither one will unzip. I have tried downloading twice and have used WinZip 12 and whatever comes with XP. Can anyone send me a copy of log4net.dll? bgrossnickle at@ bellsouth dot. … | |
i hv 8 movies to select in my list but i show only 2 for example. [CODE]Public Class frmSelect Dim currenttotal As Integer Private Sub listPlaying_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstPlaying.SelectedIndexChanged If lstPlaying.SelectedIndex = 0 Then 'If the first movie is selected grpOverview.Visible = True 'Make … | |
Hi Alls, I need help regarding to rename my event file by current date. It's mean my file will be rename by date automaticly.....i can write to the text but the name not replace with the current date....can u help me...plz | |
i am a newbie in this...can u plzz send me the code for....creating a file in the folder with userID & password. i:e if any one wants to access that file he should first enter the ID& password....please help me ASAP. keenly waiting for ur reply with "FULL CODE" | |
can anyone here can help me? i only want a simple program which is the user must enter the right serial number before enter into my program... im using VB 2005 and using PDA application (mobile pocket PC) plez help me.... i only want the simple code.... | |
Hi Guys, Spent lots of time looking around , reading MSDN help and whatnot. I don`t seem to get the right answer still. What I would like to do is To parse XML file to an array in vb.net console application.The XML file is very simple. The thing is that … | |
I have this issue which I did not find an answer to it. I am creating a small app which SUPPOSE to be easy and it is about getting 4 things (User Name, Pc Name, Domain Name, and IP Address) I have over 35 pc's connected to a domain, and … | |
Hey, i am making a program that will save some text from fields into a notepad, i have the save function worling perfectly but what i have no idea how to do is filling the fields with data from a saved notepad. I was planning to make a function that … | |
Hi, I have 1 textbox and button to insert value into sql server database 2008. But the problem is in database it not appear correctly when had zero front of value....example :- 00001.....in database just appear 1...i try to use nvarchar,varchar,nchar but still same...] Can anyone guide me...tq | |
I need a small code that can read a text file from LAN i.e. through IP address and there is no sharing folder on that pc is it possible to read a text file read and write on the same time by more than 2 pc Please help | |
Ok, I have one sub and I have it handleing different events of different objects. So my problem is I want to determine which event was triggered from which object. Can anyone help me out? | |
Hi guys, hope your all well, Ok, a few days ago, my VB EE 2008 has gone strange. What happened was the program crashed and i had to force close it. So i simply re-opened the program. Now i cannot get access to my property box. Also, there are never … | |
Ok, I am pretty new to Visual Basic 2005. I am taking a course in it and we are creating a Department Store program right now. I pretty much have 90% of the program done, its just that when I try and move information as strings (name, province, postal code, … | |
Hi im pretty much a total vb nub at the moment but im trying to learn. Anyway I've been trying to find out how i could load a random http proxy like 24.175.122.152:9090 from a txt file. I know how to load a random url but Im failing at doing … | |
I write code using VB.net like: [code]Dim a As Thread Dim i As Integer [B] Private Sub Form1_Load[/B] For i = 1 To 5 a = New Thread(New ThreadStart(AddressOf coba)) a.Start() Next [B] End Sub[/B] [B]Sub coba()[/B] MsgBox(i) a.Sleep(500) [B]End Sub[/B] [/code] why result different sometimes: display MessageBox with text … | |
Hi, i have manage to add up the points from different checkboxes but load in form. but how do i make everything to work in tab instead of working in form? below is the codes but works in form. Public Class Trial Private GCS_Value As Integer = 0 Private Sub … | |
Hey i'm new here and i need help with a slot machine game that i want to make. So far i have three labels that should be generating random numbers but they won't appear. I also have a label which will total the players money. I have taken so ideas … | |
I have problem with using reports (Not Crystal report) that came along with MS visual Studio (dot net) Like 1. I can not set the value of a text box from my code which is program code (at run time) 2. I can change the value of a Report parameter … |
The End.