20,285 Topics

Member Avatar for
Member Avatar for JAM1011

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. …

Member Avatar for akulkarni
0
115
Member Avatar for siEricko

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 …

Member Avatar for siEricko
0
3K
Member Avatar for tqmd1

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) …

Member Avatar for tqmd1
0
84
Member Avatar for sayeedbd

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, …

Member Avatar for sayeedbd
0
191
Member Avatar for Tschuikow

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 …

0
63
Member Avatar for jlego

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 …

Member Avatar for kvprajapati
0
137
Member Avatar for JohnDove

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). …

Member Avatar for kvprajapati
0
102
Member Avatar for tqmd1

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

Member Avatar for kvprajapati
0
104
Member Avatar for napkinbob

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 …

Member Avatar for kvprajapati
0
131
Member Avatar for DJAyzed

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 …

Member Avatar for DJAyzed
0
295
Member Avatar for itzshaheer

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 …

Member Avatar for kvprajapati
0
168
Member Avatar for riahc3

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 …

Member Avatar for kvprajapati
0
139
Member Avatar for TommyTran

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 …

Member Avatar for Stevoni
0
72
Member Avatar for SaintDK

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 ? …

Member Avatar for SaintDK
0
70
Member Avatar for bcheath_1

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 …

Member Avatar for Mortimern
0
735
Member Avatar for bawa

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.............

Member Avatar for good_c_ryan_19
-1
229
Member Avatar for good_c_ryan_19

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 …

Member Avatar for good_c_ryan_19
0
156
Member Avatar for ashukite

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 …

0
66
Member Avatar for xfrolox

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 ...

Member Avatar for pauldani
0
172
Member Avatar for Ranx

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 …

Member Avatar for Ranx
0
203
Member Avatar for VIPER5646

[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 …

Member Avatar for kvprajapati
0
109
Member Avatar for xcarbon

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.

Member Avatar for sknake
0
46
Member Avatar for charle2364

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 …

Member Avatar for charle2364
0
101
Member Avatar for Mr.mham

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 …

0
40
Member Avatar for abhay1234

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

Member Avatar for abhay1234
0
202
Member Avatar for OldQBasicer

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 …

Member Avatar for OldQBasicer
0
119
Member Avatar for umepinkie

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 …

0
43
Member Avatar for sist

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 …

Member Avatar for QVeen72
0
572
Member Avatar for squanch

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 …

0
55
Member Avatar for nzioki
Member Avatar for wish4129

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 …

Member Avatar for kvprajapati
0
170
Member Avatar for JAM1011

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. …

Member Avatar for JAM1011
0
88
Member Avatar for zendet

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 …

Member Avatar for Seten
0
112
Member Avatar for ahzid

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 …

Member Avatar for kvprajapati
-1
81
Member Avatar for liqin

How can i reload/refresh the same form again without losing the data stored along with the form?

Member Avatar for kvprajapati
0
106
Member Avatar for dreamyfriend

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 . :-)

Member Avatar for kvprajapati
0
53
Member Avatar for rcook

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. …

Member Avatar for hu_yang
0
148
Member Avatar for liqin

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 …

Member Avatar for kvprajapati
0
146
Member Avatar for xfrolox

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 …

Member Avatar for QVeen72
0
86
Member Avatar for xfrolox

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 …

Member Avatar for gatzaraki
0
121
Member Avatar for pysdex

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 …

Member Avatar for gatzaraki
0
91
Member Avatar for xfrolox

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() …

0
70
Member Avatar for theMediator

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 …

Member Avatar for theMediator
0
147
Member Avatar for fairy1992224

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 …

0
82
Member Avatar for ashjassi
0
56
Member Avatar for TYDIRocks

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 …

0
53
Member Avatar for Qvintus

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 …

0
45
Member Avatar for Frederick2

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++] …

0
61
Member Avatar for JAM1011

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 …

Member Avatar for JAM1011
0
165
Member Avatar for tqmd1

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

Member Avatar for QVeen72
0
92

The End.