20,899 Topics

Member Avatar for
Member Avatar for KillerOfDN

Hi, I am stuck on some code I have to upload a file to my FTP server. I keep getting an error: The remote name could not be resolved: 'ftp.mywebsite.com' [code] ' set up request... Dim clsRequest As System.Net.FtpWebRequest = _ DirectCast(System.Net.WebRequest.Create("ftp://ftp.mywebsite.com/test.txt"), System.Net.FtpWebRequest) clsRequest.Credentials = New System.Net.NetworkCredential("username", "password") clsRequest.Method = …

0
63
Member Avatar for kavithabhaskar

when I hit click i get a blank table in my datagridview with no values in it! why is that ? [code] Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() …

Member Avatar for kavithabhaskar
0
98
Member Avatar for kavithabhaskar

I have 3 radio buttons and each connected to a SQL statement..the first one 'NVIDIA*' does not get executed whereas the other two do because they dont have wildcard character in them. Can you please help me with this ? I tried 'NVIDIA*' in Access query and they worked perfect …

Member Avatar for kavithabhaskar
0
161
Member Avatar for kavithabhaskar

Folks: I am trying to establish a connection with an Access DB. To me the code looks right..but I get an error in the da.Fill(ds,"table1") and the error is "Fill select.command.connection property has not been initialized".. i know it means that the connection has not been established properly but i …

Member Avatar for RipperJT
0
100
Member Avatar for kavithabhaskar

when i check one or 2 or 3 or all 4 chechboxes..i want a corresponding SQL query to get executed. Please help me rectify my code.. thanks kavitha. Dim con As OleDbConnection = New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() If (CheckBox1.Checked = True) …

Member Avatar for rohitbce
0
144
Member Avatar for Mercuitas

I am writing a simple program to update a access database and keeping getting a syntax error and I don't know why. Please help I have been working on this for a while now and I am well and truly stuck! The datatable updates as expected but I cant make …

0
39
Member Avatar for Bill Purkins

This is not a problem but a question. I am new to VB and am curious as to the "Gestalt" (temper of the times) on this in terms of general practice. I come from an AS/400 (green screen) and also Clarion for Windows background. Generally, when I offer the user …

0
66
Member Avatar for Bill Purkins

VB2008.I have a form which has a textbox and a button on it. the button shows another form, which has a listbox bound to a datasource on it. When the user selects a list item, i have code that sets the value of the textbox on form 1 to the …

Member Avatar for Bill Purkins
0
95
Member Avatar for zinashamaa

Hi How can i convert code from c++ to VB ....step by step? Thank you in advance

Member Avatar for Jx_Man
0
210
Member Avatar for Dell XPS

i want to make a hotkeys app ... i need to detect keystrokes even if the form is not active so that by pressing a button i can launh the calculator.... or games and stuff like that... any ideas ? Thank you

Member Avatar for Dell XPS
0
252
Member Avatar for Bill Purkins

I am new to VB 2008 Express and have built a few simple database applications, one with two tables, oth table have a primary key and one has a secondary key which I have added a relation to the other table using Dataset Designer. My question is: Is this relation …

0
57
Member Avatar for kavithabhaskar

I am pretty sure that the VB.NET code is right but I am sure my SQL statements are completely wrong ..can anyone help me figure out my mistakes and as to how the SQL statements need to be framed to get the results correctly from the Access Database ? Thansk, …

Member Avatar for SheSaidImaPregy
0
278
Member Avatar for kavithabhaskar

hi: I have a problem filling my combo box from my Access Database values.. Can you please help me with this ? Thanks, Kukki. Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Using con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") con.Open() Dim objcmd As …

Member Avatar for warun
0
130
Member Avatar for DaveCachia

Hey Daniweb, So my employer has asked me to begin looking into Database work. The government has given my university a grant to try and stimulate employers training employees (because they are not doing this, as employees tend to leave jobs after being trained). So my task is to develop …

Member Avatar for DaveCachia
0
99
Member Avatar for shuey79

Attached is the vb project that I came up with last night. I made this program for a game that I am making with requires constant chat between to computers. My problem: It works for the first message but when I try to send the second message it gives me …

Member Avatar for lukabrol
1
147
Member Avatar for poonams

hi friends Iam developing my appliction in vs.net2003 & ms access.I am creating reports using crystal report.I want to filter the output of report.User has to select the option which data has to be display in reports.I used the parmeter wizard to sort data.But if I add new data in …

Member Avatar for lukabrol
0
196
Member Avatar for matmox

hi.. i wanna know is there any way where i can automatically reload data into datasets without invoking the dataset.Fill(...) function. Since i work in an application where i take input and store it into database in one form and use the data for working in another form. So i …

0
58
Member Avatar for ruchika beddy

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer Dim lvitem As ListViewItem For i = 1 To 5 lvitem = ListView1.Items.Add("1") lvitem.SubItems.Add("sonia") Next End Sub Above code add the five items in a listview with checboxes before each item. When we run …

Member Avatar for ruchika beddy
0
130
Member Avatar for hepsy.i

I want to automatically send an email to customers on a set date. So if it is know in the database that the due date is July 11 2008 then the sql server has a schedule task … and it triggers a asp.net page to be run that sends the …

0
55
Member Avatar for kdw3

Hi I am writing a program that will take in a CSV file and then write it to a database (MS Access). So far, i can create a table, add fields to the table and insert one record. Im inserting the pieces of data one at a time using a …

Member Avatar for kdw3
0
97
Member Avatar for hkarthik

hi all, I have some doubts regarding this VSTO 2005. Visual studio tools for office(vsto), actually this tool is used for editing and retrieving the settings or information or adding a new property into word, excel.... isnt it? Can we make changes to the applications like word, excel etc.... usning …

0
74
Member Avatar for sniper1983

Hi, I would like to know how to get the width of a textstring and/or how to substring a string to a given width (not length), if possible. The reason is that i use a multicolumn listbox and should know how to cut of the length of the strings so …

Member Avatar for sniper1983
0
97
Member Avatar for tusharvichare

Hello Friends, I am developing one windows application in that application Client sending one XML String using HTTP Post method. it is like, <Student><ID>415<ID><Name>XYX<Name><Add>MUMBAI<Add><ContactNo>9302154789<ContactNo> </Student> For this string I want to develop one web service wich accept this string plz help me. As well as on client side I am …

0
81
Member Avatar for kavithabhaskar

Friends: I have a question.. now..in my form I have 4 checkboxes and I have a click button..the idea is when any one or 2 or 3 or all 4 checkboxes are checked, a SQL statement should be executed and the results should be displayed in a datagridview. now..i have …

Member Avatar for matmox
0
171
Member Avatar for kavithabhaskar

my selection of one, or 2 or all 3 at a time should get connected to a SQL query and get executed but that does not happen here atall.can u all please take a look at this code and help me with this.. please..' thanks Private Sub Button4_Click(ByVal sender As …

0
61
Member Avatar for Bill Purkins

Hi, I am new to VB 2008 and am trying to add a tableadapter to my app. I get as far as creating the tableadapter but when I try to add a column to the table I get an error message TABLE DOES NOT EXIST. Thanks in advance, Bill P.

Member Avatar for Bill Purkins
0
83
Member Avatar for denkyirane

Hi PPL I am working on a mobile application with VB.NET. I have created a table in SQLServerCE <tblFertilizer> in a database <Packhouse.sdf> Now i am trying to insert data into the table upon a button click event, but i get an "error parsing query" issue on the line where …

0
43
Member Avatar for akosiadrian

hi guys, im having problems connecting to my database using vb.net and sql server 2k5. below is the code im currently using and it is having problems. please help me solve this problem. Thanks adapter.connection = conn is the one having problems the problem is connection is not a member …

0
70
Member Avatar for warun

Dear All, Which is the best tool to develop an CHM model help program, which will take data from a backend database and display in a manner like history of business discussion among a group of personnels. there should be some display picture for each personnel and their comment would …

Member Avatar for warun
0
76
Member Avatar for 29c3

Hey guys, I'm new here and actually new to access 2003. I have deal with Vb.net but never access. I actually doing a intern and they want me to build a huge database. All there documents are spread out and all over the place as format of excel. I could …

Member Avatar for cjwilkins
0
100
Member Avatar for sohel08

Our Software Development forum category encompasses topics related to application programming and software design. When posting programming code, encase it in (code), (code=syntax), where 'syntax' is any language found within our Code Snippets section, or (icode), for inline code, bbcode tags. Also, to keep DaniWeb a student-friendly place to learn, …

0
70
Member Avatar for linux

Let's list pros and cons of each, comparing one to the other in the process. What do you like about VB6 over VB.NET, and vice versa? What do you find easy to do in one, that you have trouble with in the other?

Member Avatar for invisal
0
198
Member Avatar for sniper1983

Hi, I have a simple question about hovering in a checklistbox. How can I get the value(object ) the hovered item..? I have tried something like this: Private Sub CheckboxHover(ByVal sender As Object, ByVal e As EventArgs) Handles CheckedListBox1.MouseHover 'MsgBox(sender.GetType.ToString & ", " & e.GetType.ToString) 'Dim mSender As CheckedListBox = …

Member Avatar for selvaganapathy
0
286
Member Avatar for jalandoonk

How can I mass deploy our windows application (that adds information to our database) if there is no ODBC Driver on our clients PC? any suggestion on this? our database server is FileMaker(sucks!) P.S. we have several clients all over the globe and we cannot just have them install an …

0
58
Member Avatar for netprogramme

I want to send value from Asp textbox to Javascript function on Button 1 click how i can have that . pls help This is my code <head runat="server"> function callserver(txt1) { //Here i have to receive the value var nm=txt1 alert(txt1); } </script> <asp:TextBox ID="TextBox1" runat="server" Style="z-index: 100; left: …

0
44
Member Avatar for warun

Dear Friends DataView is pouplated from an oracle database table and when i tried to Filter records which has been created in between two dates gives me misguiding rows. I have tried with different date format, still getting wrong information. [code] Dim dt as New DataSet, dv as New DataView …

0
65
Member Avatar for jivangoyal

I want to make functions easy to use. So for summarizing about the function I'm using Code [CODE]''' ----------------------------------------------------------------------------- ''' <summary> ''' ''' </summary> ''' <param name=""> </param> '''-----------------------------------------------------------------------------[/CODE] I want to enable a feature for the function that if a variable say 'Var1' can take values from a list …

0
51
Member Avatar for kavithabhaskar

Folks: I got rid of the error now.. this is my code..pls take a look at the button1_click function! i dont see any data being entered into my database. :( Your guidance will be very helpful! Thanks, Kukki. Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As …

Member Avatar for sierrainfo
0
2K
Member Avatar for kdw3

Hi, I am trying to use a 2D array to gather information from a dialogue box. The array has been publicly dimensioned in a module. Before the dialogue box is opened, there is data in the array, and thats fine, but as soon as soon as the dialogue box is …

Member Avatar for kdw3
0
124
Member Avatar for kavithabhaskar

Hello All: I have a program using VB.NET and Access. I have 5 comboboxes and any combination that I choose I get a result. I have 2 problems here: 1. I want to design 4 check boxes in such a way that any1 or combination when selected should give a …

Member Avatar for kavithabhaskar
0
164
Member Avatar for kavithabhaskar

This code simpy does not work..it does not do anything..can anyone please help me figure out why this is happening? Thanks, Kavitha. Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") con.Open() Dim cmd1 As New OleDbCommand …

0
54
Member Avatar for cellus205

Hows it going everyone. I am having trouble clearing the data in an access DB that I am using in my program. I have two DataGrids and each have a table from my access DB bound to them. Im not having any trouble adding the data to them, but the …

0
58
Member Avatar for manoj_dabs

i am new to vb.net i want to know how to create login form in vb.net & how to connect sql server 2000 for login id & password i.e. code for login & cancel buttons.

Member Avatar for Jx_Man
0
55
Member Avatar for paulcat

I'm trying to make a GUI application that needs flow arrows to shows the flow between 2 components, sort of like the display you see in the Toyota Prius that shows the transfer of power from the battery to the motor, etc... Are there anything in Visual Basic Express 2008 …

Member Avatar for J-P
0
78
Member Avatar for 010Nick

Hi I have been writing VB.Net for a few weeks, it has been going well but I am now stuck. I have multiple user controls on a form and I need a way to remove a selected one. I was hoping that something like this would do it [code] Private …

Member Avatar for 010Nick
0
206
Member Avatar for mvnk12
Member Avatar for sierrainfo
0
2K
Member Avatar for Ixeman

I was wondering how would you write a new file in vb.net. In vb6 it's pretty easy like some code like this [code] Open App.Path & "\file.exe" For Binary As #1 Put #1 and etc [/code] So i was wondering how could you do that in vb.net. But i also …

Member Avatar for Ixeman
0
90
Member Avatar for novadose

First off i would like to say i am very new to vb, i am using vb 2008 express edition and while making a web browser (which is supposed to be one of the easiest things to do), i decided to some image links to some of my favorite sites, …

Member Avatar for novadose
0
86
Member Avatar for dhanashreegd

i want to use color dialog box and i also want to pick up color from that dialogbox and use it as backcolor in the crystal report textboxobjet

Member Avatar for waynespangler
0
49
Member Avatar for tuse

In most of my VB.NET applications, I connect to MySQL databases using the MySQL ODBC Driver. Recently, I got to know about the MySQL Connector (again provided by MySQL). Which one is better in terms of- a. Performance b. Security

Member Avatar for mwasif
0
51

The End.