20,285 Topics
![]() | |
How do you guys recommend searching an ArrayList for a specific string? My arraylist is defined as: [code=vb] Public Shared VisioSwitchArray As New ArrayList() Public Structure switch Public HOSTNAME As String Public IP As String Public MODEL As String Public VLANS As String Public NEIs() As neighbor End Structure Public … | |
hi frnds, I want to add cross button image on the right hand side of tabPage...I m creating tabpages at Runtime.... Mine code is added image to the left...I want to add it to the right....I m also adding text to the tabPage... & second Probs is dat..On button click … | |
Hi I need to create an exec File. I believe I need to use deploy. But I can't find the command. thanks in advance | |
I have a treeview with two nodes..I m showing the contextmenu when the user clicks on any portion of treeview .... [code] Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try Dim N As New TreeNode() Me.TreeViewCategories.Nodes.Clear() With Me.TreeViewCategories.Nodes N = .Add("", "Main", … | |
[code] Public Sub add_emp(ByVal emp As EmployeeObj) Dim con As New SqlConnection Dim sqlcmd As SqlCommand 'Dim sqlrdr As SqlDataReader Try If is_emp(emp.Id) = False Then con.ConnectionString = My.Resources.ConnString con.Open() sqlcmd = New SqlCommand("INSERT INTO [Employees] (" _ & "[Id], [SocialSecurity], [FirstName], " _ & "[MiddleName], [LastName], [Suffix], " _ … | |
Hi guys, I've been developing basic websites for the past 2 years. Recently, a relative of mine had started a vehicle leasing company and has asked me to create the website for him. Now the majority of the site will be no problem to create however, as it is vehicle … | |
I want to ask how add crossButton image to TabPage as in IE..To add left hand side image..I assign the imagelist property if tabcontrol to imagelistNAme & then slect the tabPage & change the imageIndex. I want to ask how to add Right Hand Side Cross Button Image & if … | |
How to windows Lock computer using vb.net? plz help me thanx | |
I'm seeking for help with storing and retrieving/calling numerous sound and picture files. I've about 200 both .bmp and .wav files and it might get bigger. So I'm not sure if it's wise to embed that many files in the Resources, or should I add them to a special directory … | |
I've designed a class diagram for my business entity library, in visual studio 2005, now I was wondering if theres any way to export it to a SQL Script to generate the corresponding tables ... I hope that it can be done... Omar | |
Hi, all i am new to this site please help for code given below when i executed it not updating it is giving error please help Thanks in Advance Private Sub UpdateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UpdateButton.Click Try Dim com As New OleDbCommand com.Connection = con … | |
Hi all, I am currently trying to figure out how to take column results from a datagridview and group them so I can see how many of each are in the column. I want to take this data and use it to populate a combo box. Example: If the column … | |
I am developing an application an am intrested in having to be able to backup and restore the full SQLServer database from the front end. i have succesfully done the the back up module using the code below [ICODE] Try Using dc As New SqlClient.SqlConnection(My.Settings.TRONICALConnectionString) dc.Open() Using dcom As New … | |
hi i got an error when the vb.net application is running.. the error is " the thread is being aborted " after clicking on that button the application is working ... how to avoid that error... | |
Hi, I already create connection to sql database and successfull. I need to know how to run two command together?...This is my problem:- [CODE] sqlcmd = New Sqlcommand ( "Select * from Staff_Main where Staff_id like '"&textbox1.text&"'",cn) dr = sqlcmd.executereader while dr.read() label1.text = dr.item(1) 'item 1 is name sqlcmd … | |
Hello everyone! Is it possible to embed a movie clip (.avi) to vb form? I have created one short movie clip in flash and export it as avi file. I expected (what fool i was) that visual studio 2008 will have support for avi files, just like it has for … | |
I have followed the instructions on MSDN to "Display Related Data in a Windows Application" ( [url]http://msdn.microsoft.com/en-us/library/57tx3hhe(VS.80).aspx[/url] ). I have a data source that has a Customers table and a related Orders table. I can easily create a form which allows the user to select a Customer and display the … | |
guys i just thought of a project using vb.net and I would like to know your opinions about it whether it could be done or not. I was thinking of a application that would integrate if not all, maybe some of the most used chat applications nowadays such as yahoo … | |
Hi..I am Fredy I want to access and get record from database mysql online( on internet) using vb.net could u help me how to connection and get record from database online. thanx Fredy ym:zuve_fox@yahoo.com.au | |
[code=vbnet]Imports MySql.Data.MySqlClient Imports System.Data Imports System.Configuration Public Class frmMasterCode Dim conn As New MySqlConnection Dim myDataAdapter As New MySqlDataAdapter Dim sqlquery As String Dim cmd As New MySqlCommand() Dim myDataReader As MySqlDataReader Private aeps1DataSet As epsDataSet Private amasterCodeTableAdapter As epsDataSetTableAdapters.master_codeTableAdapter Private WithEvents amaster_codeBindingSource As BindingSource Private Sub frmMasterCode_Load(ByVal sender As … | |
Hi everyone! I'm writing trojan/virus for educational purposes only. That is my final practical work. The problem is that i need to fire up a .vbs file from disk.To do that i need path. How to find path and save it to string variable. Even bigger problem is how to … | |
Hi all I previously developed in Access and have recently decided to move over to SQL server back-end and vb2008 front-end. My Everest of problems which I can’t solve is the how to filter records by a user selected parameter. However, if the parameter is null then all records should … | |
Hi all Sorry- The title was wrong, My problem is when I type a the ID number in the text box for updating the record, it gives me an error "Data type mismatch in criteria expression." Could anyone help me please in solving this problem? This is my update code. … | |
Hey frnds, I m comparing two images in VB.Net..I get the code in C# & dat code is working 100 % Correctly..Now want to convert dat code to vb.net..& i need help in just converting two lines- C# EXAMPLE [code] private void Form1_Load(object sender, EventArgs e) { Bitmap img1= new … | |
hi , I navigate the web browser to google ...i want to change the context menu..I want that when the user right click on google in Web Browser in project---I add my own context menu items..is it possible & change the default one? I hope u get mine question. [code] … | |
ho do i store information to a mysql database? what i am trying to do is to fill out some students information and when i try to click save it should be saved to a mysql database.... here is my code but every time i click save it couldn't connect … | |
Dear All, I have three datagrid in which we load excel files. The fourth datagrid we load after comparing b/w these grids after clicking Reconile button. Then I will drag and drop the values from first grid to second grid again click on reconcile button it will load all previous … | |
Hi, I am coding for a WPF application that has a ListView. I want to add values of one column of selected items in the listview to a string array. Is this possible? Thanks | |
Hi, can you please help me transfer this code from vb4 to vb.net...i have read everything but nothing helped me...there are somethings about how to check EOF but there is nothing for BOF... thank you very much...here's the code in vb4 [code] If (Evidset.EOF and Evidset.BOF) then Tmes = Month(Now) … | |
Hi all, With your help I have a perfectly working console application. Now I need to do it a bit more flexible. So far I have the file paths for all files involved in the applications execution hardcoded.I need to be able to execute the console application from anywhere. i.e … | |
am navigating the url through IE browser, when the IE is not been an default browser, i got an prompt "the IE is not an default browser whether you want to make it as default browser" as like that. is it possible to make the default browser as IE through … | |
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 … |
The End.