20,285 Topics

Member Avatar for
Member Avatar for Netcode

Hello everyone! I want to write my connection strings and functions in a class and always call the class when i need to make a connection to my database to avoid code repetition and increase code reuse but i have an error. Here is my code below [ICODE]Public Class ConnectionString …

Member Avatar for Netcode
-1
89
Member Avatar for dwinn

Hello everyone, I am developing a form in VB.Net and ASP.Net that enables a user to grab data from a SQL Server 2005 Express database and display the data on the screen depending on the search criteria that they provide. What would be the best way to go about doing …

Member Avatar for dwinn
0
220
Member Avatar for Joshua Kidd

Hello, I'd Like to do the Same thing as in this post I posted a while back. But in a Listview Control [url]http://www.daniweb.com/software-development/vbnet/threads/369754[/url] But there is no Selected rows... There is an Item Active But that did not work. And I cant find this anywhere else. Can someone help? Thanks, …

Member Avatar for Unhnd_Exception
0
92
Member Avatar for rEhSi_123

Hello guys! I am a bit confused :?: The following line of code: [code]WebBrowser1.Document.Body.OuterHTML[/code] Does it extract only the body part of the HTML source? [B]As this is what I want :)[/B] And..... [code]WebBrowser1.Document.ActiveElement.OuterHtml[/code] Does it extract the whole part of the HTML source? I have tested the above but …

0
63
Member Avatar for Istw

Hello boys.. I'm here for an advice.. I have table 'users' with : ID , USER.. And 'activities' with : USER_ID , activity.. I want to select the USER_ID from 'activities' to find the user ID in the 'users' table.. I am using the VB database.. On php i know …

Member Avatar for adam_k
0
145
Member Avatar for mogaka

hi you all, I am creating an application which requres generation of random keys cosisting of 4 numbers(0-9). However, i realized that at some point,the random numbers repeats themselves. how can i avoid this repetition.the numbers form the primary key of a column in sql database table.

Member Avatar for adam_k
0
77
Member Avatar for Fa3hed

Hello Everybody prop lame i am making a access sql helper and for writing the insert this code [CODE] Dim i As Integer TextBox6.Text &= "Insert Into " & ComboBox2.Text & " (" For i = 0 To ListBox1.Items.Count - 1 TextBox6.Text &= ListBox1.Items.Item(i).ToString() & "," Next TextBox6.Text &= ")"[/CODE] …

Member Avatar for adam_k
0
137
Member Avatar for Fransh

Guys Help Please I have a textbox that needs to add up values from 3 other textboxes. I dont want to use the afterchange method on the other 3 textboxes. Is there a way i can assign or run a method that does the calculation throughout runtime. Like what excel …

Member Avatar for adam_k
0
140
Member Avatar for kosay

Hi thank you for greate forum can anyone tell give me linke for exe blocker in vb.net can I coded EXE blocker in VB . net or I must use C++ ???? thenk you

0
62
Member Avatar for anuj6928

i m using combo box in vb.net 2008 bt i m using the property as i can type in combobox this is done ... bt on running it ..when i m entering the wrong word in combo it will save the data .or sometimes gives error nd i want that …

Member Avatar for anuj6928
0
152
Member Avatar for Weliaz

Hey there DaniWeb! I have a bit of a problem! I am in need of a way to get the size of a remote file, without download the file itself (so that i can show download status in a status bar) is this even possible? Thank you a lot, Weliaz …

Member Avatar for Weliaz
0
957
Member Avatar for kingofnothing

hi i love daniweb because i feel free here and i know there are many people will help me i surfed from low knowledge in hardware field or in another words inputs devices i need some advice about how to made simple input devices i thinking to bullied board contained …

Member Avatar for debasisdas
0
133
Member Avatar for shers

Hi, How do I run a form that has a progress bar on a separate thread from another form? Thanks

Member Avatar for kvprajapati
0
322
Member Avatar for sujimon

Hi, I would like to know the correct procedure to deploy windows application in VS-2005. There are some specific issues I am facing after deploying the project to the client machine. - I have a CMS (ContextMenuStrip) in one of my forms associated with a TreeView and its not showing. …

Member Avatar for sujimon
0
120
Member Avatar for bklynman01

I have a training program that is used by MANY different people. I have encountered many formatting issues already (like not allowing initials) but now I have a new one that I'm not sure about. When the code tests the name in the TextBox.Leave function, I can find if there …

Member Avatar for bklynman01
0
160
Member Avatar for doomhades666

How can I add a timer in the listview that minuses 1 second at a time when the button starts click and stops when the stop button is clicked? Then save the remaining time in the database. Please help me in my school project. Thanks in advance. I prof. says …

Member Avatar for doomhades666
0
926
Member Avatar for xtianenikkian

Hello guys, i need a help regarding retrieving data in array here is the problem we are asked to get id number, name and section and put it in a array and then if we clicked retrieve button it will prompt an inputbox requesting for the id number of students …

Member Avatar for debasisdas
0
79
Member Avatar for john_steve_85

hi, my website was working fine, then I have added this code in my master page: [CODE] Dim css As New HtmlLink css.Href = ResolveClientUrl("~/JS/jquery_ui_1.8.1.4/jquery-ui-1.8.14.custom.css") css.Attributes("rel") = "stylesheet" css.Attributes("type") = "text/css" css.Attributes("media") = "all" Page.Header.Controls.Add(css) Dim jquery_ui_core_min As New HtmlGenericControl("script") jquery_ui_core_min.Attributes.Add("type", "text/javascript") jquery_ui_core_min.Attributes.Add("src", ResolveClientUrl("~/JS/jquery_ui_1.8.1.4/jquery.ui.core.min.js")) Me.Page.Header.Controls.Add(jquery_ui_core_min) Dim jquery_ui_widget_min As New HtmlGenericControl("script") …

Member Avatar for john_steve_85
0
1K
Member Avatar for mogaka

Hi brothers,i am creating an application that i want to load a pre-designed crystal report from database records and print it in pdf format and send it as e-mail attachment. I know how to send it as an attachment but i don't know how to print it in pdf automatically …

Member Avatar for mogaka
0
129
Member Avatar for mogaka

i am creating an invoice creation project where every client has a certain date for payment per month. how do i put the system to update next payment date e.g if client x is supposed to pay on 6th every month and has paid for april,the system should automatically update …

Member Avatar for adam_k
0
74
Member Avatar for rEhSi_123

Hi Guys, Need a bit of advice. Basically I am building a webcrawler and in order to do so I have to extract the page source of a webpage which I can do so like this: [CODE=VB] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim …

Member Avatar for rEhSi_123
0
229
Member Avatar for vijaybrar

Hi I have hard time connecting the if else statement because my teacher is telling us to use this kind of if else if (statement) if (statement) if (statement) condition else condition("error") end if else condition end if else condition end if this is a simple betting game can you …

Member Avatar for codeorder
-1
893
Member Avatar for symeramon
Member Avatar for mogaka

i have developed a system which needs to process funds transfer using means of mobile phone sms(short message sent). my problem is that i don't know how to intergrate the application with the sms gateway. suppose sms has been sent through the gateway,what will trigger the system to respond since …

Member Avatar for adam_k
0
87
Member Avatar for Fa3hed

[B]Text cASES in Vb.NET[/B] [LIST=1] [*][B]Sentence Case [/B][I](This is vb.net code)[/I] [CODE]Public Function SentenceCase(ByVal stringToConvert As String) As String Dim newStringBuilder As New StringBuilder newStringBuilder.Append(stringToConvert.ToLower) newStringBuilder.Chars(0) = newStringBuilder.Chars(0).ToString.ToUpper For letterCount As Integer = 0 To newStringBuilder.Length - 1 If newStringBuilder.Chars(letterCount) = "." Or newStringBuilder.Chars(letterCount) = "?" Or newStringBuilder.Chars(letterCount) = "!" …

Member Avatar for Fa3hed
0
428
Member Avatar for kallas

Hi, I am creating a online visitor tracking application in vb.net. This application tracks the visitor from my website and display records in my application. All the records are carry with xml web services [nusoap]. This Xml is bind to my datagridview control. Every time [on timer tick event] web …

Member Avatar for adam_k
0
95
Member Avatar for bigzos

I retrieved data from access in vb10 between two dates and here is the code for dat: [CODE]Imports System.Data.OleDb Public Class Form4 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try con = New …

Member Avatar for adam_k
0
156
Member Avatar for nitguit

Hi, My Access database has one column named 'Term' and the Table name is 'ATG'. I require to populate my listbox with data in the 'Term' columns. I'm unable to do that using this code. Can anyone tell me what's wrong with this (it displays numbers from 1 to 10 …

Member Avatar for adam_k
0
579
Member Avatar for Xcelled194

Hi guys, I'm writing a program that needs to log on to a remote computer to preform a task. I have the user name and account, but I need a way to logon as that user on the remote machine. Edit: All I need to do is copy a file …

Member Avatar for Xcelled194
0
147
Member Avatar for eniine

Hello . I have a toolbar in my application . IT display image and text in english. Now i want to change the font family of the font. For example the font is ARIAL and i want to convert it to a new font(ex HINDU) that i have installed in …

Member Avatar for BitBlt
0
288
Member Avatar for bluehangook629

Hey guys, I am having trouble with keypress event for a button that I have. This button is programmed to run a function to add data to the database when the button is pressed. [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click funcAdd() End Sub …

Member Avatar for bluehangook629
0
1K
Member Avatar for jayawant.sawant

hi, how to create a setup file with inno software including interop.MessengerAPI.dll of any application.I have created a setup file with inno.but it is work in only my pc it is not work in anather pc after creating a setup file.In my application is chatting application.how it is work interop.MessengerAPI.dll …

Member Avatar for jayawant.sawant
0
169
Member Avatar for SaaDwTk

I got this error sometimes, thats weird... Sometimes the software works and sometime it gives this error. cmmBox.SelectedItem is a URL HTMLSource is a function to grab the HTML page. myPageNumber2 is a integer. Here is the specific line and the whole code: [COLOR="red"]Specific Line:[/COLOR] [CODE]sourcePage2.Text = HTMLSource(cmmBox.SelectedItem & "/members?p=" …

Member Avatar for ChrisPadgham
0
190
Member Avatar for dwinn

I am trying to download a selected FTP file from an FTP site in ASP.Net and VB.Net. Earlier I was having problems that the box wasnt registering my selection being made, but now it is. However, when I go to download the file I get an error message that says: …

Member Avatar for dwinn
0
1K
Member Avatar for sicko

Hi Guys, I have an application in windows forms and I'd like to improve the GUI with customized buttons, forms and textbox. I've been searching but I didn't figured out the best way to do it. Is it a good idea create my components in C++ using images? Or use …

Member Avatar for debasisdas
0
66
Member Avatar for RameshKumar.M

Hi, Am getting the below error at the time of running form to save data. Am checking step by step, at that time i found the error occured in the open connection line [Con.Open()]. Am Using MS Access 2007 for Database, format is (Dashboard.accdb). Kindly give any solution to solve …

Member Avatar for RameshKumar.M
0
81
Member Avatar for Evesy

Hi, I recently got a wireless printer which is downstairs and I want to make a program that turns the printer on/off. If anyone knows how I can do this, that would be great. I may be able to do this in C# if necessary. I will post more details …

Member Avatar for debasisdas
0
212
Member Avatar for Afi83

Hi there, My program runs and after running creates some data in datagridview. I export the data to an excel file. Till now all things are okay, but I want to have the excel file open and export the second iterations data to the same file but different sheet. I …

Member Avatar for adam_k
0
101
Member Avatar for Joshua Kidd

How would you be able to Capture the Value of a Cell when the User Selects a Row?

Member Avatar for adam_k
0
325
Member Avatar for kosay

Hi how I search text box for a specific word and if text box contain words msgbox shown (text founded) or (text not founded) ???? for exambel I have text and I want to search if this text contain ([url]www.daniweb.com[/url] for visual basic and web development) if text is \ …

Member Avatar for codeorder
-1
75
Member Avatar for obsy

Hi! I need to convert bindiangsource.datasource (which is a list) to dataset or datatable. Can anyone please give me a sample code? Thanks Obsy

Member Avatar for debasisdas
0
32
Member Avatar for dwinn

I have created a program in ASP.Net and VB.Net that allows users to loging and download and upload files to and from an FTP site. I have so far got it to the point where the user can download files and when they go to the download page, a listbox …

Member Avatar for dwinn
0
160
Member Avatar for bigzos

I have a login form coded as : [CODE] Imports System.Data.OleDb Public Class Form2 Dim ctr As Integer Private Sub Ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=C:/Users/Space Era/Documents/User.mdb") Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM Users WHERE userid = …

Member Avatar for bigzos
0
3K
Member Avatar for shruti1210

Hi, I need to know whether Chart Fx can be implemented using Active Reports 3.0 in Visual Studio 2008? and if yes, how?

0
54
Member Avatar for kipslem

Hello, Please could someone help me on this. I have a button on which when clicked will display the crystal report. This report displays as required but when I want to view the report the second time, there's this error message: "Index 0 is out of range, Parameter name:index". FYI …

Member Avatar for kipslem
0
722
Member Avatar for Sophiron

I'm trying to open a text file in a program I've created but it won't work unless I specify it as an absolute file path. I can't seem to make a relative path name.

Member Avatar for Sophiron
0
220
Member Avatar for AnooooPower

Well i somehow failed to use the search on this site. How do i connect to an online mysql database via VB.NET? I did lot's of search the past few days Could not find my answer.

Member Avatar for AnooooPower
0
521
Member Avatar for mrbungle

I have a textbox, and it's set to multiline, so a user can enter a few sentences. The problem is, if the user hits the enter button while in the textbox, it's starting a new line. This data is being saved as a text file, and it's causing problems when …

Member Avatar for mrbungle
0
2K
Member Avatar for leo88

Hi, I have 2 links within a datagridview. The 2 links are in the same row, let say link A and link B. How to let link A go to Form A and link B go to Form B? [CODE] Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) …

Member Avatar for Stefan_Lam88
0
145
Member Avatar for tstory28

I was following some code presented by another developer and for some reason the program is not reading the txt file that I created with the csv data. What am I doing wrong? [CODE]Option Explicit On Option Strict On Imports System Imports System.IO Public Class ConverterUpdated Dim UnitConvVal As Double …

Member Avatar for hericles
0
171

The End.