20,285 Topics

Member Avatar for
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
219
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
54
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
355
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
850
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
162
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
124
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
143
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
80
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
180
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
191
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
217
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
287
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
391
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
Member Avatar for mitul320patel

Well t am doing project on windows application and i am stuck at one place... now my problem is that i want to insert record from textbox and also from datagridview at once from one from but i am not able to do that in one insert query more on …

0
102
Member Avatar for theMediator

Here is the code in question: [CODE] filePath = "..\authors.xml" dsAuthors.ReadXml(filePath) With DataGrid1 .DataSource = dsAuthors .DataMember = "authors" End With [/CODE] However, it will not allow me to reference .DataMember, it keeps popping up with the error text "'DataMember' is not a member of 'System.Windows.Forms.DataGrid'". What can I do …

Member Avatar for thines01
0
73
Member Avatar for Pamilerin

hello daniweb please I woiuld like help on how to convert rss feeds to datagrid in this fomat <Row> <Cell><Data ss:Type="String">Symbol</Data></Cell> <Cell><Data ss:Type="String">Close</Data></Cell> <Cell><Data ss:Type="String">Prev</Data></Cell> <Cell><Data ss:Type="String">Chg</Data></Cell> <Cell><Data ss:Type="String">% Chg</Data></Cell> <Cell><Data ss:Type="String">Open</Data></Cell> <Cell><Data ss:Type="String">High</Data></Cell> <Cell><Data ss:Type="String">Low</Data></Cell> <Cell><Data ss:Type="String">Avg</Data></Cell> <Cell><Data ss:Type="String">Deals</Data></Cell> <Cell><Data ss:Type="String">Vol</Data></Cell> <Cell><Data ss:Type="String">Value</Data></Cell> </Row> <Row> <Cell><Data ss:Type="String">7UP</Data></Cell> <Cell><Data ss:Type="Number">41.75</Data></Cell> …

Member Avatar for thines01
0
384
Member Avatar for bo0ga

I'm about to graduate and I've been applying for jobs. I know some basic programming languages and I asked the guy that I'm going to interview with on Tuesday if there is any specific language or program I should review. He said .Net I know nothing about this particular language. …

Member Avatar for thines01
0
245
Member Avatar for mitchfizz05

Hello all daniwebbers. I've been working on an application that uses TCP to send messages to another computer, but I am going to be updating it alot! I know how to make my program update itself, but I just want a progress bar so you know how long it will …

Member Avatar for codeorder
0
375
Member Avatar for Rogue.

So how would I click on a submit button with the HTML element being: <input src="/images/members/submit_button.png?1331667296" type="image">

Member Avatar for codeorder
0
95
Member Avatar for ponkan20

having different back up option for the database(access) option such as "save to USB" and "save to external HD" thank you =)

Member Avatar for Oxiegen
-1
87
Member Avatar for faizal_123

hi...... projot here I am facing a problem in the code i have to populate the combo box from datagrid view from database just help me in doing it this code is giving me an error my contact no is 9049776416 Imports System.Data Imports MySql.Data.MySqlClient Public Class supplier_update Dim con1 …

Member Avatar for artemix22
0
372
Member Avatar for Begginnerdev

Found an odd fix for the bad comments for the CODE section for the vb.net forumns. If you add an additional ' at the end of the commented line, it renders fine.

Member Avatar for Dani
0
295
Member Avatar for timosoft

Hello, I have below code that set customised form border color and title. the form is missing icon though. kindly asist me on the below on how to add icon to the form as well. thanks Code blocks are created by indenting at least 4 spaces ... and can span …

Member Avatar for codeorder
0
206
Member Avatar for kosay

hi On Microsoft Visual Basic 2008 I used Report to create Table and Headers and all the details. I wanted to print the report with the tables' names centered not left justified. I also need to show the borders between the cells as they are currently printed without border lines

0
66
Member Avatar for ThatsSoShaneka

Hi everyone, I'm having this problem with my code and cannot seem to get past it although it was working fine before. The error is "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object." The code …

Member Avatar for poojavb
0
525
Member Avatar for 432

Dim data as string = http://profile.ak.fbcdn.net/hprofile-ak-snc4/161116_00000000000000_375500185_q.jpg data is can variable *http:/profile.ak.fbcdn.net/hprofile-ak-snc4/161116_***00000000000000***_375500185_q.jpg* I want the just get bold text, and remove italic All text's can variable

Member Avatar for thines01
0
69
Member Avatar for saleem.mukhtiar

Dear Freinds, can any one guide me for double entry accounts system. tables and fields of table .. or any sample.. . i know debit credit book keeping system but could not apply it.. like day book and party ladger.. thnks in advance

Member Avatar for Begginnerdev
0
69
Member Avatar for paoi00

i used this codes to show the records but this doesnt works .. but when use the query ("Select * from Schedulings") it works .. it shows the all records. but i want to show the records that satisfy this query.. ("Select * from Schedulings where YearLevels = '" & …

Member Avatar for Begginnerdev
0
112
Member Avatar for jhedonghae

i have here a code for my enlistment module..this code is for the available slot. for example i have set 10 as available slot and when i enlist a student 10 will become 9 and so on..my problem is when it reach zero because i can still enlist but the …

Member Avatar for jhedonghae
0
116
Member Avatar for paoi00

hi.. i want to compare two tables ..in enlistment table will count the number of students that enlisted to the YearLEvel and section selected by user.. then i want to limit that by means of calling it from the table of Schedulings (AvailableSlots Table) here's my code but it doesnt …

Member Avatar for paoi00
0
110
Member Avatar for NoIdea.Net

I am trying to get TenderTyp, TypeCode, AuthorizationCode and then all the info from: <arts:TenderCreditDebit> <arts:IssuerIdentificationNumber>999=99</arts:IssuerIdentificationNumber> <arts:ExpirationDate>1970-01</arts:ExpirationDate> <arts:ReconcilliationCode>19</arts:ReconcilliationCode> <arts:PrimaryAccountNumber>OTk5OTk5KioqKioqMDM1MQ==</arts:PrimaryAccountNumber> </arts:TenderCreditDebit> Which is buried in the XML shown below.... I seem to get so close the correct element but just cannot get the correct value! Could anyone help please? Thanks <?xml …

Member Avatar for thines01
0
145
Member Avatar for Bun2014

~~~ vb Private Sub Item_TypeComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Item_TypeComboBox.SelectedIndexChanged 'auto increment for each type of items If Item_TypeComboBox.SelectedItem = "Bages" Then ItemIDTextBox.Text = Format("B" & (BagsIDTextBox.Text), "0000") ElseIf Item_TypeComboBox.SelectedItem = "Accessories" Then ItemIDTextBox.Text = Format("A" & (BagsIDTextBox.Text), "0000") ElseIf Item_TypeComboBox.SelectedItem = "Cloth" Then ItemIDTextBox.Text = …

Member Avatar for TrustyTony
0
201
Member Avatar for cardin94

I'm trying to create a Select Distinct query, but i'm getting stuck with either an empty combobox either a filled combobox that displays all the doubles. or a message "System.Data.DataViewManagerListItemTypeDescriptor" I have a form (form5) with 1 combobox and 1 datagrid. The datagrid loads 5 collumns "ID", "firm", "Fname", "mname", …

Member Avatar for cardin94
0
156
Member Avatar for sheelap

anyone tell me a detail of database connectivity in vb.net with sql server and oracle.i already tried it on my laptop.but it shows errors.1 year back i successfully did the connectivity.but now i forgotton how it do?even i could not able to coonect ms-access with vb.it always shows error.any one …

Member Avatar for poojavb
0
1K
Member Avatar for krm08

Hello Everybody, I want to I want to perform dos command (copy) in vb.net.I want to do it on button click event.Invoking the command using .bat format is not suit for me, because the source and destination of copying depending upon the selection of source and destination(that's done by users …

Member Avatar for mirza.imran
0
2K
Member Avatar for ponkan20

hi. i have this problem on how to calculate the amount due in our system in VISUAL BASIC.NET . in returning module, (this is for penalty purposes), if the borrower didn't return the book on time, the system must automatically generate the amount due . one daY is equivalent to …

Member Avatar for poojavb
0
1K
Member Avatar for jhedonghae

does anyone know how to make reports in vb.net become a daily, weekly and monthly basis?

Member Avatar for poojavb
0
160
Member Avatar for tendaimare

I ve got a propertyin my class that I have given the task of holding the username of the person that logged in and I would want to access that username in another form anoother time.How do I go about this? this is the code for my property: Private _LogInUser …

Member Avatar for poojavb
0
106
Member Avatar for renzlo

Hi All, I hope someone can help me. I have loaded a page in my webBrowser control, the page has a table, please see attached for screenshot and partial page source code. I want to load specific column of that table to datagridview, how can I do that? Thanks in …

Member Avatar for renzlo
0
138
Member Avatar for rikb53

guys - i cannot figure this one out. i keep getting the "wrong number or types of arguments in call" error & for the life of me can't figure out why. i've got dozens of other programs doing way more difficult stuff than this so, i'm officially stumped. 4 parameters …

0
103
Member Avatar for webdep

What will be the steps for finding the DFD of A Project based on Banquet Hall? The project if of basic level. thank you.

Member Avatar for thines01
-2
158
Member Avatar for prasenjit_das

Hi All I do not read file content except .txt file .Can you give universal solution in vb dotnet to read content all type of file. Thanks in advance Dim filetoread As String = "c:\CodeNotes_NET.pdf" Dim filestream As StreamReader filestream = File.OpenText(filetoread) Dim readcontents As String readcontents = filestream.ReadToEnd()

Member Avatar for thines01
0
177
Member Avatar for paoi00

hi there! can you please help me? this codes doesnt have any reponse from the database .. these codes is for case sensitivity of the usernametxtbox and if satisfied, the secretquestion textbox will automatically display the correct secret question. help me pls! Dim i As Integer Dim PassResult As String …

Member Avatar for poojavb
0
246

The End.