20,285 Topics

Member Avatar for
Member Avatar for TheFueley

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 …

Member Avatar for TheFueley
0
1K
Member Avatar for sonia sardana

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 …

Member Avatar for GeekByChoiCe
0
650
Member Avatar for VIPER5646

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

Member Avatar for kvprajapati
0
49
Member Avatar for ritu verma

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", …

Member Avatar for ritu verma
0
143
Member Avatar for everettnewell

[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], " _ …

Member Avatar for everettnewell
0
157
Member Avatar for Lewis_UnderGrad

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 …

Member Avatar for Teme64
0
233
Member Avatar for mansi sharma

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 …

Member Avatar for GeekByChoiCe
0
63
Member Avatar for zuve_fox
Member Avatar for dileepkumars1
0
98
Member Avatar for slowburner

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 …

Member Avatar for ptaylor965
0
205
Member Avatar for culebrin

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

0
67
Member Avatar for navachaitanya

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 …

Member Avatar for sweetsasthi
0
85
Member Avatar for Pete5150

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 …

Member Avatar for nmaillet
0
119
Member Avatar for awo

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 …

Member Avatar for samir_ibrahim
0
136
Member Avatar for mohankumar554

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...

Member Avatar for kvprajapati
0
42
Member Avatar for kerek2

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 …

Member Avatar for kerek2
0
389
Member Avatar for morb

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 …

Member Avatar for nmaillet
0
104
Member Avatar for msgjunkie

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 …

Member Avatar for msgjunkie
1
105
Member Avatar for herms14

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 …

Member Avatar for martonx
0
93
Member Avatar for zuve_fox

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

Member Avatar for kvprajapati
0
90
Member Avatar for stevelk

[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 …

Member Avatar for kvprajapati
0
129
Member Avatar for morb

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 …

Member Avatar for morb
0
101
Member Avatar for RobinTheHood

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 …

Member Avatar for samir_ibrahim
0
116
Member Avatar for nanoh2001

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. …

Member Avatar for Vandamn
0
124
Member Avatar for sonia sardana

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 …

Member Avatar for sonia sardana
0
253
Member Avatar for mansi sharma

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] …

0
47
Member Avatar for herms14

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 …

Member Avatar for Vandamn
0
184
Member Avatar for farooq82

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 …

Member Avatar for kvprajapati
0
50
Member Avatar for shers

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

Member Avatar for kvprajapati
0
49
Member Avatar for jancho1911

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) …

Member Avatar for kvprajapati
0
106
Member Avatar for mem81

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 …

Member Avatar for kvprajapati
0
148
Member Avatar for subhaoviya

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 …

Member Avatar for kvprajapati
0
103
Member Avatar for sameeraict

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()

Member Avatar for kvprajapati
0
80
Member Avatar for RobinTheHood

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 …

Member Avatar for dlplenin
0
96
Member Avatar for tiello

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 …

Member Avatar for tiello
0
156
Member Avatar for clefranc

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 …

0
69
Member Avatar for Jemjoo

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 …

0
65
Member Avatar for Tamir09

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 …

Member Avatar for Tamir09
0
3K
Member Avatar for sonia sardana

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?

Member Avatar for Teme64
0
101
Member Avatar for mrclark

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 …

Member Avatar for Teme64
0
133
Member Avatar for ptaylor965

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 …

Member Avatar for jerry32uk
-2
206
Member Avatar for mohankumar554

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...

Member Avatar for Teme64
0
98
Member Avatar for itshibu

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 …

0
59
Member Avatar for linux
Member Avatar for TheBrenda

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. …

Member Avatar for TheBrenda
0
221
Member Avatar for ankiesiau

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 …

Member Avatar for kvprajapati
0
102
Member Avatar for kerek2

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

Member Avatar for Teme64
0
166
Member Avatar for ad65222

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"

Member Avatar for samir_ibrahim
0
172
Member Avatar for nourbee

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....

Member Avatar for summerishere
0
184
Member Avatar for mem81

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 …

Member Avatar for mem81
0
2K
Member Avatar for samir_ibrahim

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 …

Member Avatar for samir_ibrahim
0
92

The End.