20,279 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
61
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
95
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
158
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
99
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
139
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
36
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
64
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
92
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
184
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
237
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
54
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
224
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
127
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
96
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
143
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
194
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
55
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
127
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
53
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
93
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
70
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
93
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
77
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
168
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
59
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
81
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
40
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
67
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
73
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
68

The End.