20,278 Topics

Member Avatar for
Member Avatar for nilesh7136

hello, i have a application, with sql database, now i want to backup every week, so i have code a but it gives error: "The process cannot access the file 'C:\Users\yogeishh\Desktop\Restaurant-Stock-Management-System\Restaurant-Stock-Management-System\DataBase\RestaurantStockDataBase.mdf' because it is being used by another process." can anybuddy solve this error?? my code is :: " Private …

Member Avatar for Begginnerdev
0
271
Member Avatar for dinesh012

hi .... im tring to insert a picture with some information to the database when i run the progaram it will display the bellow message NullRefaranceExprasion was Unhandle Object reference not set to an instance of an object. this is my full code is there is any mistake? Imports System.IO …

Member Avatar for dinesh012
0
224
Member Avatar for amvx86

Hello all, I am trying to get a bunch of sub-keys and values from the registry in vb 2010 and i remember in vb6 this was quite easy. Can anyone share code to help? Or a link where I can go? I've been searching for nearly 8 hours on line …

Member Avatar for amvx86
0
2K
Member Avatar for mnorton

Hi - I am a pretty remedial visual studio express user. I recently understood how to do cascading comboboxes using the binding sources of the related tables, eg tbl 1 Make, Table 2 model, so as eg only ford models displayed in cbo2 if Ford selected in cbo1 - thanks …

Member Avatar for mnorton
0
1K
Member Avatar for frontier6444

Hello, I am trying to figure out a way to open MS Word inside a panel in visual studio 2010. The code I have works for certain .exe files but if I try with word or excel it opens it's own window. Can anyone tell me if this is possible? …

Member Avatar for frontier6444
0
505
Member Avatar for Nebil

Hi guys,i was having this problem with inserting a record into access database in visualstudio 2010. here's the problem,here's the code bridgenumber = TextBox1.Text.ToString() bridgename = TextBox2.Text districtname = ComboBox1.Text sectionname = ComboBox2.Text roadsegmentname = ComboBox3.Text bridgetype = ComboBox4.Text bridgespan1 = TextBox3.Text bridgecondition = ComboBox5.Text acquisitionyear1 = ComboBox6.Text evaluationyear1 = …

Member Avatar for Nebil
0
757
Member Avatar for ana_eht

Hi it's me again with the silly problems in my vb .net codes :( I have a serious problem with combo box i need to use the selected item in combo box when user selects for example GREEN from be drop down list after than i need to put that …

Member Avatar for xyudha
0
714
Member Avatar for Ann95

Someone here who can help me on how to add/update/save/edit/delete row from a bound datagridview in vb.net 2010 and automatically update the database (which is MS Access 2007). please give me the code. thanks in advance.

Member Avatar for M.Waqas Aslam
0
111
Member Avatar for Ann95

Hello and thanks for any help you may give to me in advance. Im using vb.net 2010. MS Access 2007 database and a datagridview. I have a problem, I want to add/delete/edit data to bound datagridview and will automatically update the database (which is the MS Access 2007 database - …

Member Avatar for AmrMohammed
0
207
Member Avatar for Papa_Don

Group, I've been working for several hours trying to correctly write to a database file. Here are the parameters: Database Name: DATADESIGNSOLUTIONS Table Name: PRINTERMAINT Column Names: PrinterID (primary Key), PrinterName, PrinterNumber, PrinterLocation, PrinterAddress I've been working at this two ways: through the Visual Basic code and through SQL Server …

Member Avatar for Papa_Don
0
1K
Member Avatar for lcfjoertoft

I want to make a small logo in the upper corner of a Form rotate. I've seen on some forums that they have small avatars dancing and such, so I imagine it would be posible to make a tiny image rotate by it self up in the corner in a …

Member Avatar for klausnew
0
301
Member Avatar for Sammys.Man

hi guys, wondered if anyone could help please, i have populated my combobox with the names i want, but im at a total loss on how to populate the textboxes based on my selection im guessing its got something to do with combobox_selectedIndexChanged but i dont know how to do …

Member Avatar for TnTinMN
0
1K
Member Avatar for samuel terngu

pls i need a vb.net procedure using sql statement to save data with 5 columns and 10 rows from listview for example,to my access database.Thanks.

Member Avatar for Reverend Jim
0
87
Member Avatar for sayakc5

I am presently doing a project in vb 2008 where the database that i need is in MS Access... I have windows 7 64bit OS and msjet4.0.dll in the c:\WINDOWS\SYSWOW64 folder but still when i run the .vb code i get an error ...as follows.. The 'Microsoft.JET.OLEDB.4.0' provider is not …

Member Avatar for TnTinMN
0
114
Member Avatar for rohit69

I want those text files(log files) in a folder that is created today that has name as something20130416 and which has the word error only in the last 5 lines of it. Then attach these files and send to an email address. Am completely new to VB. I don't know …

Member Avatar for rohit69
0
175
Member Avatar for Mr.M

Hi everyone. There is a program that I'm writing and now I'm stuck here, What I'm doing is the verifier where I have 13 words and these words I've wrote them one each label that means I have 13 labels which are named w(number) e.g. label1 is named w1 and …

Member Avatar for Mr.M
0
236
Member Avatar for savedlema

Hi all! I'm trying to perform a mysql database from vb.net. I use this code: Process.Start("C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\mysqldump.exe", "--user=root --password=mypassword " _ & "--host=127.0.0.1 --databases MySQL databasename -r ""C:\GreatestHR Backup\BackUpDataBase.sql""") When this code runs, a command prompt window opens and goes away immediately that i can't even …

Member Avatar for savedlema
0
694
Member Avatar for ratan.jeet.5

1) Wap that draws a pyramid. Use class graphic path and method drawpath 2) Write a console application that implements a csquare shape. Class csquare should contain a property side for accessing private data. Provide 2 constructors one that takes no argument and another that takes a side length as …

Member Avatar for ratan.jeet.5
0
106
Member Avatar for manoj_582033

Friends, I Want to Update My Connection String During Setup Installation on Client PC, Please Suggest Me How It's Possible...

Member Avatar for Lethugs
0
134
Member Avatar for Papa_Don

Hi group, Within one form, I need to run a routine twice. Obviously, I can write the code twice in the two places it needs to run. Isn't there a way to write the routine one time and the call it in two places within the form? Would this be …

Member Avatar for tinstaafl
0
207
Member Avatar for dusto

I'm getting an error for using a variable before it's assigned a value, but, I'm not sure why. Imports System.IO Public Class Form1 Dim colWeather As New Collection Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Add listbox items upon form load. With lstAltitudes.Items .Add("03000") .Add("06000") …

Member Avatar for tinstaafl
0
174
Member Avatar for joramkaku

'I am working on a dictionary project for word meaning search which is written in VB10.net . it contain around 8,000 pairs of word and meaning. 'When i run, it loads perfectly but when i click on the search button it start "Not responding" for around 30 seconds. Then it …

Member Avatar for tinstaafl
0
304
Member Avatar for Khav

Hi I have 3 textbox linked to an Access DB by Binding source.I am having trouble to do query. Lets me help u visualise the form The form has 3 textbox (each linked to one field of a table in Access) Another textbox allows user to enter a string and …

Member Avatar for ansumariyam88
0
1K
Member Avatar for savedlema

With VB.NET, I'm developing an application that uses a MYSQL database. When I will deploy the application to another PC, the app and the MYSQL database will reside in difference computers. What I'd like: After I install the app to a PC, when it first run, I want it to …

Member Avatar for Reverend Jim
0
344
Member Avatar for grgrl

hi im a noob in vb and i need some help i want to read from the files teachers code and from the file studentscourse bu i only want to get the results if fileds(1) of teacherscourse is equal to the loggin basicly i a teacher to enter his Teacher …

Member Avatar for Reverend Jim
0
188
Member Avatar for savedlema

First, I would thank all the Daniweb team for making this useful site available for us. I'm developing with mysql database. I always declared the details about the database I use at the top of every form. I mean, the database name,username,password and everything about it. We know this will …

Member Avatar for savedlema
0
173
Member Avatar for samir_ibrahim

Hi I have a dataset created programatically and I want to use this dataset to bind it to Microsoft ReportViewer. I tried the Microsoft ReportViewer with DataSet created at design time and it works well. I have searched a lot and this is the best thing I can find but …

Member Avatar for savedlema
0
1K
Member Avatar for samuel terngu

pls someone should help me to format the date_made and date_expired on my form's datetimepickers to "dd/MM/yyyy" date format.See the code below: Dim listofdrugs As New List(Of Drug) For Each ListItem As ListViewItem In lvDrugs.Items 'change list item and subitems to drug Dim newdrug As New Drug With newdrug .drug_id …

Member Avatar for tinstaafl
0
1K
Member Avatar for yuvjeeth

Hi Guys, I would like to know of any way avaliable to Import / Convert Vb6 Projects to Vb10 Project. It would be very helpful to me because it is a large program which has too much of coding which I cannot redo in the Vb10. Any post would be …

Member Avatar for Reverend Jim
0
379
Member Avatar for pixma

Hi there! What I am used to declaring database connection is that in every form I type the codes for it which is a tiring way. Now, I want to use module instead but I really don't know how. And also, how will I call the connection to every forms …

Member Avatar for savedlema
0
2K

The End.