20,285 Topics
![]() | |
i have 2 comboboxes filled with ram values..both are the same.. i need to choose 0.5 from combobox6 and 2 from combobox7. and when I hit the click button, I want the sql query to get executed. 1. how do i fill the comboboxes with the same values from the … | |
Hi I have 12 comboboxes for data entry. Everytime I type in some input in the form, it gets stored in the Access Database. Every time my form loads, it picks up all distinct values from the database and fills the combo box. But there are several repeated values because … | |
Hi, i need to display a query result in textbox. can you please show me how to do this, here is the query: Dim CouponDes As String = Convert.ToString(Me.cboDescription.SelectedValue) Dim sql As String = "select Code from QueAns where Description = '" + CouponDes thanks | |
I use VB .net to create Excel 2003 workbooks (.xls) based on a template (.xlt). Currently, I make a copy of the template (xlReportName = C:\VisualStudioDotNetProjects\VisualBasic\MillsReport\Reports\MediumMi ll200807.xls and xlReportTemplate = C:\VisualStudioDotNetProjects\VisualBasic\MillsReport\MillReportyyyymm .xlt both are stingbuilders): [code] With xlReportName 'Create new report(make copy of template). File.Copy(xlReportTemplate.ToString, .ToString) 'Make the file writeable. … | |
Hello! I was hoping someone could give me a little advice. I have successfully got my flash files and movie files playing together on a vb.net form. (flash files in shockwave object, movie files in activeX object). What i really want to do is to: 1). play transparent flash objects … | |
Folks: I am trying to get all NVIDIA users on the list and I am saying NVIDIA* in my SQL statement since there are different versions of NVIDIA.. if instead of NVIDIA* i said 'NVIDIA Quadro fx 4600' i get a list of queries.. but if I said 'NVIDIA*' i … | |
Hi, using VB 2008, I have a datagridview bound to a datasource and want to position to a row based on the value keyed by the user in a textbox. I can sort of accomplish this with one line of code on the textbox changed event i.e.: Me.BindingSource.Position = Me.BindingSource.Find("ColumnName", … | |
I am using VB Express in Vista. How do I get access to the cookies folder? It is marked as hidden and grayed out so I can't change it. I am trying to delete some cookies but it won't let me. My code for deleting is: [CODE] Dim s As … | |
Hello, I have an problem with updating a database after I have deleted or edited a database row in VB.NET. When I insert a new row it works well. When I delete I get the following error message: [I][COLOR="Red"]Update requires a valid DeleteCommand when passed DataRow collection with deleted rows[/COLOR][/I] … | |
I need to copy the data from the top row of a worksheet to all those empty rows underneath it UNTILL you get to a row that has data…then start over and copy that new data into the empty rows….and so on… I have the code that we've written so … | |
When I uploaded my Vb Project on the server I was getting the following error: "Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission contact your system administrator or use the MS.Net framework Configuration tool. I came across the following … | |
hi: I have a db which has RAM field in it. I have set it as text because I need to have the GB or MB along with it. I had 5 modules in my project and this is my last one. i also have decimal values in RAM like … | |
Is anybody have the solution for getting source code or some particular contents of an active webpage to a vb application? Pls help me | |
My problem is that I am not receiving all of the data that I should be. I am only receiving 7 records rather then receiving 12. Is there a time limit that a socket can recieve for? Is there something else that could be my problem that I would not … | |
hey all.. for example i have a whole letter page on a webpage.. i want to know how i can print only that letter and not the entire webpage.. should i put a button and declare the codes from there? what kind of codes do i implement..? some examples would … | |
I create 2 datatables and add them to the dataset and add the relation. The problem is only the parent table seems to be bound to my gridview. Any idea of what I might be missing? [code] Dim connVT As New SqlConnection(ValuTrak.strConnVT) Dim strSqlAD As String = "SELECT * FROM … | |
Hello, I am 'learning by doing' .net programming for excel macros, i.e. I am not an advanced user. I have been trying to solve a problem for quite some time. The issue is regarding an add in called Essbase, which is an excel environment for viewing BI data (Hyperion system … | |
Hi, I'm trying to find out what method the VB .NET GetHashCode() function uses with the view of using the same hashing method in PHP. Can anyone help? | |
hey suppose I have 3 Rows Items in a ListView. I want that when i Click on Row1 msgbox comes Yogesh 0 When I click on Row 2 Msgbox Comes Yogesh 1 & SO ON> But with mine code- When I click on Row1 msgbox comes Ruchi 0,Ruchi 1, Ruchi … | |
Hi , i 'm a newbie in vs 2005, current developing a module that need user to key data at the text box and save it to table that created MySQL in vb, here is the code i had generated but it return an error of [B]Sql Exception was unhandled … | |
Hello, I have four textboxes in my calculator. Textbox 1, Textbox 2, Textbox 3 (acts for the Operand) and Textbox 4 (the result). I have a button called Result and when clicked, I want the result to show in the 'Textbox 4'. How would I go about that. Also, when … | |
I am making a program to list all files in a listview (currently it lists the file name, file path, last access date, and size) in a specified directory, and I want the user to be able to select files using checkboxes, click a delete button, and see those files … | |
I have a project. I need to know how to access source HTML code of active HTML page. I had tried with VB program its working this way : [code] Private Sub Command1_Click() On Error GoTo command_error With Label1 .Caption = "" .AutoSize = True .LinkTopic = "IExplore|WWW_GetWindowInfo" .LinkItem = … | |
I have developed an application in vb.net to generate reports against a SQL database where I used visual studio 2003 - crystal reports. I need to deploy the same as a setup file to install it in other client PCs where there is no crystal reports or visual studio installed. … | |
Hello i need help about hide and show form . Can anyone provide code to write for hide form and show other form thx you | |
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 = … | |
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() … | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
Hi How can i convert code from c++ to VB ....step by step? Thank you in advance | |
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 | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.