20,285 Topics
![]() | |
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 … | |
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 … | |
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, … ![]() | |
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 … | |
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 … | |
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. | |
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] … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
Hi, How do I run a form that has a progress bar on a separate thread from another form? Thanks | |
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. … | |
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 … | |
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 … | |
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 … | |
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") … | |
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 … | |
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 … | |
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 … | |
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 … | |
As written in the title, I need your precious helps... urgently... :( | |
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 … | |
[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) = "!" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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=" … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
How would you be able to Capture the Value of a Cell when the User Selects a Row? | |
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 \ … | |
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 | |
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 … | |
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 = … | |
Hi, I need to know whether Chart Fx can be implemented using Active Reports 3.0 in Visual Studio 2008? and if yes, how? | |
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 … | |
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. | |
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. | |
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 … | |
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) … | |
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 … |
The End.