20,285 Topics

Member Avatar for
Member Avatar for vkk

Hi Guys, I am trying to retrieve all the users in the Active Directory and dump into a Sql Server Table(Sql2008). I was able to search one employee at a time but could not able to search all the employees in the Active Directory. Basically i want to retrieve 1.SamAccountname …

Member Avatar for vkk
0
278
Member Avatar for davesexcel

My Form Looks like this [Click Here](http://www.davesexcel.com/LineForm.jpg) I have edited the code I got from MSN, I enter Numbers in the textboxes and click "Draw Line" button. If the user wants to enter new numbers in the textbox, and click the button again, how can that line be deleted before …

0
49
Member Avatar for William Ng

I try to convert programType from string to integer value but it show me "Input string was not in a correct format." error..can anyone help to to solve this question? Private Sub cmbProgram_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmbProgram.SelectionChangeCommitted 'converting string to integer value' Dim programType As …

Member Avatar for IIM
0
313
Member Avatar for sunny124

Hi, I am trying to return a ref cursor from a stored function but I keep getting this error message 'Specified argument was out of range of valid values'. The reference cursor does point to correct data, I used a anonymous block in oracle to test it out. How can …

0
100
Member Avatar for sing1006

`Public Class login Dim cnn As New OleDb.OleDbConnection Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim cmd As New OleDb.OleDbCommand If Not cnn.State = ConnectionState.Open Then cnn.Open() End If cmd.Connection = cnn If cmd.CommandText = "SELECT UName FROM Account WHERE UName =" & Me.UsernameTextBox.Text Then …

Member Avatar for adam_k
0
141
Member Avatar for sam pinto

can anyone tell me examples of 3 mouse events(which will be easiest to create) and 3 keyboard events(which will be easiest to create) please! ASAP

Member Avatar for Hilal2009
0
112
Member Avatar for renzlo

Hi All, Why is Webbrowser PreviewKeyDown event is not firing if the page loaded is a java applet? Is there a workaround here? I need to fire up a keypress event in the textbox of the java applet. Hope there's a solution.

Member Avatar for renzlo
0
176
Member Avatar for juster21

I am trying to program the last part of an application which needs to take data from an Excel sheet and add it to an Access table. I'm using Excel 2003 on XP. Any and ALL help is appreciated. The problem I'm running into seems to be on connecting to …

Member Avatar for Oxiegen
0
317
Member Avatar for Sahil89

What event trigers when we open file with our exe/program? How to do coding for that?

Member Avatar for Sahil89
0
94
Member Avatar for GTTravis

I have derived another challenge for myself, I created a package on an sql server (sql server 2000) this package populates a table in a particular database with data from a datasource. Every time i wanted the table to be updated i would go to data transformation services>> local packages …

0
51
Member Avatar for Wolxhound90

Hey guys, I'm just wondering if it's possibe to get the results from a query and then assign the results to a variable. So I will run a query which will return the names of the tables stored in the database, then I want them to be stored in a …

Member Avatar for Wolxhound90
0
2K
Member Avatar for Gé48

I have a listbox that contains numbers that vary from 0 to 99. My problem is when the number in the listbox is 0, listbox1.selectedindex will not return a value. So I cannot use removeat(x) which works for all other numbers. Can anyone give me an idea on how to …

Member Avatar for Reverend Jim
0
218
Member Avatar for vkk

Hi Guys, I have a table in Oracle with a column userid and i have a userid column in Active Directory. based on this i want to query the Network ID and update in one of the Group in the Active Directory. Can you guys help me on how to …

Member Avatar for Begginnerdev
0
52
Member Avatar for Pamilerin

Any way I can populate a datagrid in vb.net with the ff xml data. ` <?xml version="1.0" encoding="utf-8"?> <pricelist> <item> <symbol>7UP</symbol> <security>7-UP BOTTLING PLC</security> <opening price>41.75</opening price> <closing price>41.75</closing price> <description>Symbol:7UP, Security:7-UP BOTTLING PLC, Opening price:41.75, Closing price:41.75</description> <pubDate>Sun, 15 Apr 2012 01:00:10 GMT</pubDate> </item> <item> <symbol>AGLEVENT</symbol> <security>A.G.LEVENTIS(NIGERIA) PLC</security> <opening …

Member Avatar for thines01
0
354
Member Avatar for Pamilerin

can any body help me by giving me a guideline on how to insert data from a populated datagrid into sql server table and how to make the values conform to the specified datatypes constructe in the sql server side...assuming the datagrid headings have already been created in the sql …

Member Avatar for Begginnerdev
0
848
Member Avatar for GTTravis

In my spare time i give myself programming stuff to do. Today i want to write a function that goes through a string, if the string contains any numeric value the function must return false, if the string has any special characters it must also return false else return true. …

Member Avatar for GTTravis
0
160
Member Avatar for devilsk

Hello, I need help with making a code that opens a random file in a directory... The files will be called: 1.txt 2.txt etc... Could someone please reply?

Member Avatar for Begginnerdev
0
123
Member Avatar for SovietTrash

Hi, I am creating a VB.NET application that uses multiple lines of a text files as an array member. I came up with this code to create the array: Dim PSArray as string = Split(my.computer.Filesystem.readalltext ("E:\PS.txt") ) Now that I have created the array, I need to know how I …

Member Avatar for Gé48
0
155
Member Avatar for Hazuan Nazri

This is my search button and textbox code, but i will got error on pelanggandatagridview and searchdatas, i need to search data on SQL DB like google! just type any word with almost same with the data and it will show on pelanggandatagridview, please help me... Private Sub Button5_Click(ByVal searchword …

Member Avatar for poojavb
0
142
Member Avatar for anuj6928

currently i m workin on Ms CHarts wid VB.NET nd create a chart sucessfully bt nw i wnt to click on that particular bar of that chart nd want to get that particular axis label of that bar ..

Member Avatar for anuj6928
0
79
Member Avatar for renzlo

Hi All, I have a access database with these columns. USER_ID,COUNT,TIMES Let say the current record is this: USER_ID,COUNT,TIMES STEVE20,24,1.5 Now I want to updated the current count record and times, but before updating I want the old record to be added to the new record. What should be my …

Member Avatar for renzlo
0
178
Member Avatar for jrlittle86

I have an application written in VB.Net with a MySQL database that is working fine in my development environment. I would like to create an installation package to test on other computers. The install package should include: 1. Check for .Net 4 - if it doesn't exist then install it …

Member Avatar for Reverend Jim
0
320
Member Avatar for zhouy

Dear All, I am using VB.NET 2010 and SQL Sever CE 3.5 database. I insert some data into my database (SDF file) and I can do any all manipulations with those data. But I cannot see those data in the data table using Data Source or Server Explorer in Visual …

Member Avatar for artemix22
0
83
Member Avatar for prajot_03

hi... I am having a problem in vb.net I have a data gride view ,in which 2 drop down list (coloumn) are there 1. select category 2. select item name there are 2 category brandy and whisky if i select brandy from drop down list from datagrideview it should populate …

Member Avatar for artemix22
0
190
Member Avatar for mitchfizz05

Hello all. I belive that remotting in Visual Basic is very hard! I've tryed sockets and winsock, and all the winsock things I have tryed didn't end up working. 1. Microsoft Winsock - Can't send data. 2. Ostrosoft Winsock - Can't send data. And SOMETIMES decides to work when connection …

0
64
Member Avatar for Gobble45

Hello all, Ive done some googling around, and cant find anything that explains why my date isnt being formatted to what i tell it. my code: dim date_now as date date_now = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") So for example if the date/time is February 11 2015, 4:44:23pm it would be formatted as: …

Member Avatar for Gobble45
0
216
Member Avatar for kindofsudden

I have a bound datagridview and a dataset with tables. I have two sets of comboboxes bound to the same field "Restaurant" in the tables (mirroring each other). In the "NewEmployeeRestaurant" combobox I change the value and it reflects in the datagridview. I can shoot around clicking all over the …

Member Avatar for kindofsudden
0
284
Member Avatar for senbaris

hi all, i made a proejct that runs sql command to datagridview and than export it to csv file, everything going fine but i got line break problem. Here my export code; im filePath As String = "C:\FULLWork\csv\dbslimit.csv" Dim delimiter As String = ";" Dim sb As New StringBuilder() For …

Member Avatar for thines01
0
390
Member Avatar for Gus_19

I have a textbox in my form where the individual will enter the date (not necessarily todays date). How can I set a format so if the individual enters 040912, it will change to 04/09/12?

Member Avatar for bhagawatshinde
0
3K
Member Avatar for ZainabJuma

hello for everybody i have ID number which is string and i went to do query for maximam ID but it was not come pleas help me

Member Avatar for poojavb
0
123

The End.