20,285 Topics
![]() | |
Hey all, I am a bit lost. I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered. … | |
Hi I am learning how to use database. I am using sql server 2005. I would like to know how to make an sql query to the database from vb.net. I have tried some code. what i would like to know is, how to make the sqldataadapter statement with 2 … | |
Dear Experts I use following codes to display data. Next & Back buttons work fine, but when I enter some sno into textbox1 then it displays nothing Codes on textbox1 lostfocus [CODE] Me.ds.Tables("employees").Rows.Find(Me.TextBox1.Text)[/CODE] Codes in Form Load [CODE]Dim sql = "select * from employees" Dim da As New SqlClient.SqlDataAdapter(sql, con) … | |
Hello All, I am trying to lock some my video, picture, Excel and Word file in my PC by using Visual Basic. I am using Visual Studio 2008 to develop this application but I am unable to do this job. It'll be something like security utility application. Actually without me, … | |
When I run this Code, the access is denied for all users, my current login too. [CODE] Dim di As New IO.DirectoryInfo("c:\folder") Dim ds As DirectorySecurity = di.GetAccessControl() ds.SetOwner(WindowsIdentity.GetCurrent().User) ds.AddAccessRule(New FileSystemAccessRule(WindowsIdentity.GetCurrent().Name, FileSystemRights.FullControl, AccessControlType.Allow)) ds.AddAccessRule(New FileSystemAccessRule("Everyone", FileSystemRights.FullControl, AccessControlType.Deny)) di.SetAccessControl(ds) [/CODE] How do I deny access for folder for all users, except … | |
i am trying to test if a form is open or not, i thought the following was working: [code] if frmname.isdiposed = false then call frmname.somefunction [/code] but it doesnt work like i thought it did basically what im trying to do is determine if a form is open or … | |
I want to get rid of the "publisher could not be verified..." warning messages that users get when they run my Visual Basic 2008 application, after downloading it from my website. How do I digitally sign it to my company name? My website has a secure area (i.e. SSL certificate). … | |
Dear Experts How to apply primary key on sno column in the following dataset [CODE] dim sql = "select * from employees" Dim da As new SqlClient.SqlDataAdapter (sql,con) 'ds.Clear() da.Fill(ds, "employees") TextBox1.DataBindings.Add("text", ds.Tables("employees"), "sno") TextBox2.DataBindings.Add("text", ds.Tables("employees"), "Name") TextBox3.DataBindings.Add("text", ds.Tables("employees"), "City") TextBox4.DataBindings.Add("text", ds.Tables("employees"), "Phone")[/CODE] Please help | |
Background: I have a tool that grabs files from a network location based on the file name. There are various files, but the names are all based on the creation date (report052209.txt). What i need to do is take the date selected from a datetimepicker and save a two digit … | |
I have a datagridview on my form called "mainGrid" and im not very good with XML buti found a small example to load but not one to save I wondered if there was a equally simple way to save! Heres the loading code: [code] Private Sub loadGrid() Dim ds As … | |
Dear All I wrote a code to save a data using text box but there are some error like : [B]ArguimentException was unhandled. Cannot bind to the property or column User Privilege on the DataSource.Parameter name: dataMember[/B] My code for saving is : [CODE]Private Sub btnSave_Click(ByVal sender As System.Object, ByVal … | |
Hey This is going to be hard to explain but oh well.... I have a form with a menu. When I hit option one, it opens another form (form2) inside that same form (mdiparent). When I hit X on form2, then try to open it again from the original form … | |
Hello everyone! I have this assignment that says: Create an application to let the user enter a sentence, then calculate how many words there are in that sentence. I know how to count the "Char" in a word (using .Length), but for this assignment, I really have no idea how … | |
hello guys, i'm just fooling around with vb 2008, and i thought i'd try to make a simple anti virus. my problem is that it only detects and deletes one of the files, i know it's because i use else if, but i don't know what else to use ? … | |
I am in the process of developing an MDI application in VB.NET (2005). Anyway, my child form refuses to center the parent forms' bounds. I have tried setting the 'startposition' via the properties menu. I have also tried setting the 'startposition' with code in the parent form's load procedure. Here … | |
as i m a new in this field so i hope u all guyss r profeshionalist ......................... so plss guide me that how should i link aur connect one form wid another............. | |
Help Pro's :'( I am a newbie in VB.NET .....I am using Sql Server Express 2005 as my database... I am currently working with my THESIS... A Human Reources Information System that concerns only with the file and record management of the employees... With two modules. a. Administrator for HR … | |
I have an invoice form bind to a bindingsource and bindingnavigator. I use the bindingnavigator to add and save records. But I can's save data from an item combobox and total text box. The item combobox's datasource is set from the item table. It's value member is set to item … | |
I'm just trying to add a simple function to the textbox for security that if i only allow 0 - 9 Numbers and i try to put a letter it wont let me i forgot the code so if any can help me ... | |
Hi, i'm hoping someone can help with a slightly odd problem i have. I have a piece of code that can create a folder on a sharepoint site from one machine, but not another. [CODE] If Not System.IO.Directory.Exists(strTargetLocation) Then System.IO.Directory.CreateDirectory(strTargetLocation) End If[/CODE] Originally it was because WebDAV was not running … | |
[QUOTE]Hi I have a datagridview which I would like to change the the color of the text in a cell if the number is negative in the Total column. This is what I have so far. [/QUOTE] [CODE] Dim rowcont As Integer = (TTLGrid.Rows.Count) - 1 For x = 0 … | |
Hi, i need help with loggin the process list and saving it as a text file. I need it so that it will log any new program that opens up. Basically monitoring the process list. | |
HI, im new in using vb.net 2008, and i want to master using it.. i want to create a simple POS system, can you tell me how can i hide group of buttons/ controls on the first load of a form and then group of controls will just show after … | |
hi all I'm new in vb.net and I would like to get some help in something I'm developing a database application with vb 2008 and my database is MS access 2007 but every time I insert some records , they gone after a few moments . When I insert them … | |
Dear sirs, I am trying to learn vb.net in 2005 and 2008.Where can i get good tutorials to learn basic as well as advanced. OOPs and web development etc. thank you | |
In old QBasic I could use the LOG function to get the base-10 log of a number. So I would have something like this... [CODE]sglFormula = 150 - (LOG(intTemp + 10) * 30)[/CODE] ... the LOG function would give me the log base-10 of a variable (intTemp) plus 10. How … | |
Hi I'd made a form using visual basic and added a few check boxes. I want to know you save the check box item into Microsoft Access Database when I click on Save. for instance: checkbox1: item1 checkbox 2: item2 checkbox 3: item 3 and in MS Access, I have … | |
Hey, I have done a little project in the past involving Genetic Algorithms (GAs), written in VB6 (really poorly). Now, after I understand the whole concept of programming much better, I decided to give it another try. This time I've decided to try tackling the Traveling Salesman Problem. For those … | |
![]() | I have two datatables. The first datatable is called DGVS and the second is called DGV_COLUMNS. The DGVS table defines the individual DataGridViews and the DGV_COLUMNS are the columns associated with the DGVS. In my form I have a tabcontrol...the first tab is the DGVS table and the second tab … |
help me on how to write a code in vb2005 to create an sql database | |
Hi guys, i would like to ask that is there anyway to embedded an excel file into a vb.net project? i know the way to read an excel file from vb.net, but i would wanna know is there anyway i can include the excel file inside the vb.net program. This … | |
Hey everyone. I am having problems trying to figure out how the user can select the times they want to start work at, the time they want to have from lunch and finally the time they would like to finish. I then would calculate the number of actual working hours. … | |
Hey guys I need a bit of help with a project. I need to make a program that when you click start game it generates a random number from 1-100. then you pick difficulty, easy has 15 lives, medium has 10 and hard has 5. Everytime you submit a number … | |
Hi experts.... im a newbie with vb.net ...my concern is tht i have a application with mail for my intranet users. Now I wld like to rollback or undo my sent message within a short interval say bfore a minute , i can or should undo . But im confused … | |
How can i reload/refresh the same form again without losing the data stored along with the form? | |
salam hi... i want to make a video streaming server or a Video Lan chat programe in VB.net is there any solution for this? if yes than plz ... it will b realy an act of kind and i shall be very very thankfull to you . :-) | |
I'm creating a printed report of an event; each event has one or more groups, each group has one or more people. The report page is set externally; I can't change that. Each page of the report has a place for up to two groups and up to 6 people. … | |
I am trying to generate random images from access database using hashset as it is said to be unique and there won't be any repeated images appearing. But, it doesn't seem to work. How can i get it to work? By the way, i am very new to the concept … | |
Ok i'M making a program for a game a tool software I made that when I press a button in another dialog it appear a text + textboxs.text so when I press a button it appears in the dialog but all in the same line how do I do that … | |
well the last thing i need is a button that will copy TextBox1.Text like Select All and Copy it all, i use a simple code no very effective... i put sendkeys ctrl & a and ctrl & c but i just realize that all pcs doesn't have the same hotkeys … | |
I wanted to read input equation by user A+B and assign input user value to A and B to ask them to add and give answer. But I just can't get the code to work. I using VS2005 and VB.Net. Can help me with my code: [code] Dim A As … | |
im just learning this is not for my application, just in case in a future i need it... so i have 1 Button Disable and Textbox1.text so when webbrowser navigate to [url]http://whatismyip.com/automation/n09230945.asp[/url] works, i have this script ATM Button 1 [code] Dim WC As New System.Net.WebClient TextBox3.Text = System.Text.Encoding.ASCII.GetString((WC.DownloadData("http://whatismyip.com/automation/n09230945.asp"))) WC.Dispose() … | |
Hi, I'm building an application that reads barcode scanning data into multiple forms and textboxes. At the moment, to handle that data I have created a large nested if statement that checks to see which object has focus so that the scanned data is placed there and focus moves down … | |
I have a project on data conversion for length,weight,speed and pressure. I cannot upload the VB.Net file here. Can someone add me on my e-mail and that I can let you see if my GUI design is correct because the GUI design take up 50% of the whole project. Thank … | |
can any one tell me how to get BarCode reader input to text box in bn.net 2008 | |
Hi guys so basically I am dual booting Windows XP and windows 7. And since my windows 7 is 64-Bit with 8 gigs of ram im basically using this for now on so I copied my projects. I copied them over and most seemed fine except for one and it … | |
Hello I have been trying to get rid of some icons on my Desktop so I made a simpel code, BUT it seems like this doesn't work the same way as opening it like a shortcut. My problem is that, when I open a program with Shell it doesn't let … | |
This is my first VB.NET post as I'm mainly a C/C++ and PowerBASIC developer. I'm trying to figure out how to pass a struct like so as a function parameter to/from a C/C++ or PowerBASIC dll using PInvoke of course in VB.NET. The struct in C looks like this... [CODE=C++] … | |
Hi there , Just wondering if anyopne could help me out with a problem I am having with a update statement. I this error [I] ExecuteNonQuery: Connection property has not been initialized.[/I] I have been at this all day and still can't figure the problem. Hope someone can put a … | |
Dear Experts, How to display INT value in textbox1 in this format 45,75,147.45 I do not want to use MaskedTextbox Please help |
The End.