20,899 Topics

Member Avatar for
Member Avatar for tariqi2011

Hi i want to join two tables,'Employee' and 'Dispatch'. Dispatch has column 'DispatcherID' and 'TechnicianID' which are both foregn keys to EmployeeID in Employee table.I want to join these two tables using EmployeeID so that i can obtain the matching name to each id.but it only works when i make …

Member Avatar for tariqi2011
0
206
Member Avatar for tallygal

I'm trying to print the selection of my picturebox as the background of the image. I can get the image to show, but it's not the height and width of the background. Any help would be appreciated. Thank you. ' Fig. 15.24: CheckWriter.vb ' Printing a paycheck. Imports System.Drawing.Printing Imports …

Member Avatar for tallygal
0
790
Member Avatar for jdevin1

I am trying to create a sort of code library in visual studio 2010 where the form displays a list box of certain project files in vb that i have made in the past and when selected, a button can be pressed that launches the .exe files of those visual …

0
125
Member Avatar for Rahmania03

Hello Friends, I m Developing an windows form application. i have a winform on which i have datagridview and i am saving the data to Sql Server database from datagridview directly . i m using the following code for connecting & saving data of datagridview to database using button click …

0
116
Member Avatar for knowledgelover

Hi there, I need to call a dll file that was written in VB.Net, in my java application using the jacob [com.jacob.com] , after successfully registering the dll file, I am trying to instantiate an ActiveXComponent object using my dll, : [QUOTE]ActiveXComponent myComp = new ActiveXComponent("Myfile.dllfile");[/QUOTE] where Myfile.dllfile is currently …

Member Avatar for muscailie
0
1K
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
279
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
50
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
143
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
114
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
177
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
322
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
95
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
53
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
220
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
163
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
81
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
218
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
288
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
96
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
374
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
68
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

The End.