20,285 Topics
![]() | |
[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If (TextBox1.Text = " ") Then MessageBox.Show("Value cannot be null") End If daRates.Update(DsRates, "rates") End Sub [/code] im using vb,net 2003 and access xp i cannot save data and im using oledbconnection etc all is fine if … | |
i want the browser i am making to accept cookies but i don't know how to do this as i am new to vb, google hasn't been any help to me and this browser is past its due out date. i am making it in vb 2008 .net | |
Hi all, I want to install both SQL and the MS.NET software.The normal order is install MS.NET first ,then the SQL .But I wat to install SQL first .Can MSSQL sever installed before MS.NET? Suggestions please !!! Thanks in advance ! | |
As many of you that have worked with VB.NET know, and have been irritated by, you can't use a nonconstant variable to size an array. A simple workaround, reply if this is a problem, is to take input on the size of the array (Yes, I know you can't do … | |
New to VB 2008, I was discouraged to Google results that said, "printing is not easy in VB," and found only baffling examples I could not understand until I found and tweaked this simple example. Here is how to create a simple "Hello, world." to the printer. First, on the … | |
Hi. I have a couple of combo boxes. Any combination chosen from the combobox works. I am getting 2 errors in it. error1: When I chose RAM as 2.98 i get 4 results but when i chose RAM as 8 I get 2 records of 8 gb and the 4 … | |
i tried putting in actual values and it works..this code gives results of RAM > 0.500 and less than and equal to 2.000 but how do i make it parametrized ??????????????????? [QUOTE] Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim con As OleDbConnection = New … | |
Hi, Just wondering if anyone can help me with an issue I am having regarding updating a row in a gridview. I am using nested gridviews, and I want to compare two values, one of which exists in each grid. For some reason however, my gridview2_row_updating event fires but my … | |
I need some help here I guess I am suppossed to put this code inside a while loop. Don't have a clue this is my first scripting class. [code]if (x <=20 and >=25 ) then print x Else If (x <=40 and >=45 ) Print x endif[/code] | |
hi, Is there any tool in vb.net like windows rising. thanku | |
Hello, Does anybody know a way of adding captions or subtitles to a video playing in vb.net? .xml would be my preferred choice of file to hold the captions. I have done this in flash cs3 which has a built in functionality for it but any advice on how to … | |
I want to add a list box onto a form, and have it (once the form loads), it'll list all of the files in [icode]C:\WINDOWS\[/icode]. Is there any easy way to accomplish this? | |
I have a USB downloader executable and tryint to automate with a .net application. Well the USB executable asks me for libusb0.dll FILE TO E INSTALLED. I beleive its a driver file that needs to be installed. May I know where I can get that file (online)? Thanks for your … | |
I need to make my application look like it's doing a lot of work- it is a prank application I'm making as a joke for my friends. Any idea how to do this? | |
This is my first scripting class and I am a little confused about nesting if statements. I need help on when numbers should be printed. | |
If someone has any idea that how to print the xml file. | |
Can anyone please help me , I am currently designing a small school project now my problem is I have done access tables and did connect these tables to my VB forms but now I want to code for the button login, I want to use the information that is … | |
Hi, I am a beginner in VB.net. I have some problems here, that is how to transfer data between 2 different mySQL servers using VB.net? Myself have 2 solutions this problem but when i implement it, i face some difficulty. 1st solution is insert the data line by line means … | |
Hi, I m new to vb.net. i need help. How can I increment a number in a textbox everytime when the form is loaded? Suppose Customer_id I want that first time when the form gets loaded Customer_id should appear in the textbox as CDD01. Second time it should appear as … | |
I am having trouble defining the get/set for an array in a class I have created.... how do you get/set arrays within classes? basically I have an array with x and y as width/height for a map i am creating, and i want each x/y point to have the "walkable" … | |
I downloaded a graph control... However I dont know how to code it I tried copping and pasting sxamples codes but the code refuses to work. HOW DO I CODE THE GRAPH CONTROL, I KNOW I CAN USE ARRAYS BUT MY UNDERSTANDIG OF ARRAYS IS MINIMAL...?? i need help | |
Hi, using VB 2008 Express, I have a button on a form which is to use a datareader to loop through all the records in a file. When I try to run it I get a message indicating it could not connect. I assume something is wrong with my connection … | |
Using VB 2008 Express, this is not a problem but a philosophical question. Which is preferred method of providing user with error messages on forms, errorhandler or message boxes? Error handler seems like it's the direction Microsoft would like us to go in, with providing even the errror message as … | |
Im trying to set up an application that will connect to a MYSQL database across the a distance using internet connection. i did it with VB 6 but it seems like the connection is not that stable and sometime it wont connect. Is it because of VB 6? would be … | |
My program performs a search on a user selected directory and produces a list of files and attributes in a listview. The user then has the option to open files, move them, or delete them. This program will be used accross a wide variety of users and I want to … | |
heelo, i have a combobox,button in form1. a listbox in form2. the listbox and combobox r populated iwth customernames. now, if itype a string or char in my combobox say 'l' then it should display all customernames starting with 'l'in the listbox . how do i go about it? | |
Hi i have a formula which works fine in excel but i cannot get written in VB. Presume in my limited knowledge of VB that it should be if / else if etc. the excel formula is [CODE]=IF(B1995=1,VLOOKUP(A1995,'Pay Rates'!$A$2:$H$5000,8,FALSE),IF(B1995=2,VLOOKUP(A1995,'Pay Rates'!$A$2:$H$5000,7,FALSE),IF(B1995=3,VLOOKUP(A1995,'Pay Rates'!$A$2:$H$5000,6,FALSE),IF(B1995=4,VLOOKUP(A1995,'Pay Rates'!$A$2:$H$5000,5,FALSE)))))[/CODE] any help would be much appreciated. Thanks Sarah | |
Please help me how can i use thermal printer auto cut facility in my vb.net 2005 window application using crystal reports. | |
Hi, Does anyone know how to change the date format on the calendar components? The default is [B]MM/DD/YYYY[/B] and I would like to change it to [B]DD/MM/YYYY[/B] Thanks... | |
hey frnds, Can somebody tell me how to extract icons ,Cz I have no idea from where to start. | |
Below is the code in VB. I want GetSetting + SaveSetting in VB.Net--- [b]VB[/b] Call SaveSetting(App.ProductName, App.title, "CheckBox1", values) call CheckBox1.value=GetSetting(App.Productname,App.title,"CheckBox1",VbUnChecked) [b] VB.Net[/b] Call SaveSetting(Application.ProductName, Application.ProductName, "CheckBox1", values) Abive SaveSetting is rite or not??? Secomdly. what is the code gor GetSetting??? | |
Hi friends, I'm coding an application using VB.Net 2008 Express which work with images. It can save the results of this work in a file using an own format (not a regular image file) for future re-processing. I wish to put a thumbnail inside the saved file, so it can … | |
Hi, I have a HTML page with a form in it. I need to pass a parameter to my Visual Basic application if the signup was successful. My HTML form is simple: [CODE=HTML] <form action="signup.php" method="post" name="signup" onSubmit="return signup();"> <!-- Some text boxes and check boxes --> </form> [/CODE] On … | |
Hi I was wondering if anyone knew how to make a highscore list in VB 2005. This is for my project which is basically a quiz, and I would like the user to be able to click on the highscore button so that they can see their name, ranking and … | |
There are two Textboxes & One button on mine form. I save the Textboxes data to the TextFile on Button click. I want the data in the TextFile as : STUDENT RECORD INFORMATION Roll : 1 Name : Ruchi Roll : 2 Name : Ruchika Mine Code is as Under- … | |
I have a TextFile that contains Records. On Form Load I m saving those records into the listview. I set the MultiSelect property of the listview to true. I have one button, I want that suppose user Selects multiple items in the listview by using ctrl. & Click on Button,Firts … | |
Using VB 2008. I have a form with a text box and a button on it. The button displays another form with a datagridview from which I want the user to select from to populate the text box. On RowHeaderMouseClick, I populate the text box field from the first form … | |
hey all.. i have a drop down list with 2 data in it..ECC and MIT is it possible to bind the drop down list to 2 gridview? for example, when i click on ECC only the ecc gridview is suppose to show.. the MIT gridview should not be visible.. thanks … | |
Hey guys/girls I am having trouble adding Nodes from a TreeView into a TreeViewCollection My code below: [code] Dim treeNodes As TreeNodeCollection For Each node As TreeNode In TreeView1.Nodes treeNodes.Add(node) Next [/code] I am getting Object Reference not set to an instance of an Object error... There is no Constructor … | |
Hi........ i'm currently working for an application that requires reports. So i used crystal reports. I did the standard way of connecting database and adding table to the report. However after doing all the necessary part, when i click the "preview report" button it doesn't show required output. Instead it … | |
Hi Guys, I've got a code that basically storing data from several controls, one of the control is GridView. when I "Submit" I get all rows from GridView and I need only the selected rows.. I've tried to use: str = GridView1.SelectedRow.Cells(1).Text but it gives me an error when I … | |
Hi folks: I will need to upload my Access DB and my VB exe file to a server.. Will it be ok if I changed the pathname in the connection string to the path of the server where my DB is located now ? my vb form has to comboboxes … | |
Hi, I need help solving this problem. I have a dataset with four columns col1,col2,col3,col4 and the data could be col1 col2 col3 col4 ===================================== t1 abc a 1 t1 xyz a 2 t1 mnp b 3 t2 abc 1 t2 kkl 2 I want to create a datagrid which … | |
Below I listed the errors that I received and since I am new to VB .net I am not sure what I need to do to fix them. Can anyone give me an idea on how to fix it?? Error 1 Statement is not valid in a namespace. C:\New Folder\WeatherReport.vb … | |
hey ya, recently i've undergone a dotnet trainig in my college.i tried to use as much asp.net tools as much i could to make a website in a week.there's a login control in asp.net ,i just don't don't have any idea of authentication,autherization and all these stuff,i wanna make a … | |
Hi Everyone, this is my first post so I hope I don't break any rules/codes of practice. I have developed an application and produced the appropriate setup files by adding a 'setup project'. I have no problems installing it on a standalone machine. However, I want to install it on … | |
I am currently using a database within my program and I have no problem backing it up or restoring it when i am simply debugging. However if it is published and downloaded it cannot find the path that it needs to get to the database to copy it. My code … | |
hi, I juz started learning vb and using visual studio 2005. I need to get the info from datalist to show in another page. eg. first page displays the summary list of products available using datalist and i wan to make it so that when a particular product is clicked … | |
I have a very large MS Access database with over 80 tables and 15 queries. My problem is I can get the data that's in the tables to show and load, but I can't add any new records and get them to save in the database, using the DataBase Wizard … | |
I am using microsoft access in doing a program in ASP.Net using VB.Net language. I want to know how to create dll file. Could anyone please guide me in this aspect. Thanks alot in advance. |
The End.