20,285 Topics

Member Avatar for
Member Avatar for jackyxman

Dear All, Pls. help me I have insert data to MS.Access and re-load data to DataGridView, it's always do at LoadAllData() but some time datagridview is not refresh. [CODE]Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\EmployeeDB\EmployeeDB.mdb;User Id=;Password=;" Dim conn …

Member Avatar for Pgmer
0
1K
Member Avatar for marktwo

Hi, In VB6, we can use Picture1.Scale (100,200)-(500,600) to set the coordinate system in Picture1 so that the coordinate at top-left is (100,200) and the coordinate at bottom-right is (500,600). I found there is similar thing in VB.Net: PictureBox1.Scale, but I don't know how to use it. Can you show …

0
47
Member Avatar for acepeda

Hey guys! How can I autosize my datagrid size depending on my rowcount?please give me example..im a newbie trying to make it in this programming world!!;) Thanx in advance!!

Member Avatar for NetJunkie
0
69
Member Avatar for mrbungle

I have a listview that pulls data from a MySQL and I can now [URL="http://www.daniweb.com/software-development/vbnet/threads/386126"]finally sort queries by date range [/URL] (thanks Unhnd Exception!!). Also in that query, I have it sorted by ID number. This brings me to another question. The ReportViewer pulls up a really nice report for …

Member Avatar for mrbungle
0
472
Member Avatar for acepeda

Hey Guys, Im wondering how can I create a grid with a cell with multiple data.I want to Display Product Name,ProductID and Price in one cell.How can this be done in VB2005.Thanx! Examples: [URL="http://dribbble.com/shots/40786-Autocomplete"]http://dribbble.com/shots/40786-Autocomplete[/URL] [URL="http://dribbble.com/shots/199277-Search-Suggestions"]http://dribbble.com/shots/199277-Search-Suggestions[/URL]

Member Avatar for acepeda
0
124
Member Avatar for leo1937ca

I am using vb 2008 express and having a problem adding a Maximize, Minimize or Cancel button to a MDI Form. The default icon does not display along with Minimize, Maximize or Cancel button although the Properties are set true. There is only a "none" option in the Cancel properties …

Member Avatar for Unhnd_Exception
0
173
Member Avatar for Rox Vi

Hi, I am using ASP.NET to develop a system. Would you mind to share with me whether the code can be encrypted or convert to DLL to prevent coding exposure to other?

Member Avatar for NetJunkie
0
310
Member Avatar for vasim jada

Below is my code for login page I would like to show login user detail on home. For login my code works properly but does not show currently login user show following error "NO data exists for column/row". Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login.Click …

Member Avatar for vasim jada
0
180
Member Avatar for blackknight2114

hi am a newbie to the vb.net thing. am using ms access for my database. i have a customer table in my database where sutomer details like first name, last name, address, etc are stored. i've created a form in vb.net and i have a text box, a datagrid and …

Member Avatar for adam_k
0
394
Member Avatar for linezero

I was wondering is there a way to get a button on the application title bar...more likely like the one in the firefox 4 and on opera latest browser. [ATTACH]20310[/ATTACH] Is it any possible to get a button like that or just a regular button on the title bar?...thought it …

Member Avatar for clee_harris
0
2K
Member Avatar for chemes12

hi im having problem with my simple library i dont know what is the code to search a record in the data grid im ung adodc .. any one kindly help with my project only the search code.. is my problem so how to search in the data grid? here's …

Member Avatar for adam_k
0
157
Member Avatar for jianhe99

Hi anyone could help me... let say i have a button click event example : Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Call Save_Action() End Sub then i can call the event using this btnSave_Click(sender, e) now my question is...i use LabelLink Private Sub lnkFromPR_LinkClicked(ByVal …

Member Avatar for jianhe99
0
94
Member Avatar for manika87

I need a coding to execute multiple at commands simultaneously. when first command execute and get the response from the port and then the second command will be executed. how to write the coding. it is possible. i am using siemens gsm modem. FOR example. 1. AT OK 2. AT+CPIN? …

0
91
Member Avatar for mrbungle

Hey, I need to pick from two date ranges from a couple of datetimepickers in the form. Then when I run the query, it should clear the current data in the listview, run the query, then re-populate the listview. I use the same code to simply load the listview, and …

Member Avatar for mrbungle
0
418
Member Avatar for battlex2010

I have made picture viewer in VB which also shows all the pics present in a folder as thumbnails using image list and listbox. The problem is whenever the user clicks refresh it takes long time for the image to load. I want to some how make a cache like …

Member Avatar for battlex2010
0
1K
Member Avatar for geetajlo

hi i just want my form to connect to a database. and also i want my password in my textbox to be encrpted . i want it to check in the database if password and user = true then display next form and the login form should be close whenever …

Member Avatar for yveslemy
1
1K
Member Avatar for anchamal

Can anybody help me how to create a code in VBA that if day is Monday popup message "Your name is Jhon" if day is Wednesday popup message "your name is Tom" Thanks in advance Andy

Member Avatar for adam_k
0
262
Member Avatar for RockT

Maybe this is the simplest thing ever but i'm a beginner trying to learn at least 1 language. How come the Script below keeps displaying the Else message until it finds the string? I was expecting for it to display 1 single Box whether it was found or not? why …

Member Avatar for RockT
0
106
Member Avatar for pfm200586

Hello everyone, I have a little problem that drove me crazy I can't figure it out, I spent hours searching the Web but in vain. I hope that you can help with it. The program must generate 6 unique random numbers but when I click display numbers sometimes it gives …

Member Avatar for JoshuaBurleson
0
333
Member Avatar for jhfire

[QUOTE]unhandled exception has occurred in your application if you click continue exit automatically[/QUOTE] How do I make it just exit without even warning the user? I've tried the "try" function. However, if you hex edit a certain peace of code it will come up anyways. I want to totally get …

0
105
Member Avatar for acepeda

Hey guys! I resolved a few problems I posted here thanx to some advice.But im still having trouble with one.I have a grid with 4 columns(ProductCode,Description,Price,ReferenceNumber).Which data is going to be added with 3 textbox(ProductCode,Description and Price)The ReferenceNumber will be added by combining the Ordernumber+ProductCode+number of times this product has …

0
74
Member Avatar for bentom123

Hi, I currently have a form with about 20 textboxes on, labeled Textbox1, Textbox2 and so on... I would like to know how to get the data from any one of these textboxes from an integer. [CODE] Dim text as String text = "Textbox" & RandomInteger & ".Text" msgbox(text) [/CODE] …

Member Avatar for Unhnd_Exception
0
3K
Member Avatar for bpacheco1227

I need to sort three numbers that are entered in three different textboxes and display these numbers ascending and when I press a different button display them descending. Now I think that I need to put these three numbers into an array, sort and display, but I'm not really too …

Member Avatar for Muhammad Faruqi
0
3K
Member Avatar for alinutzu

Hi. I have an bounded datagridview with cell decimal different formating (N2 and N4). If I enter a 4.5265 value to a cell with N2, I formated this to appear 4.53 ... and this is wonderfull. My problem is when I try to save data ... in my sql table …

Member Avatar for alinutzu
0
324
Member Avatar for aadi_capri

hello friends, can anybody please tell me, how to create an .exe file of my windows project?? thanks in advance.

Member Avatar for abu taher
0
106
Member Avatar for noobies

I had using this code to show the alert_value in repeater. But it no output is shown in the column dso. I want to count the number of alert_value which is above than 150 which the alert id is dso. anyone can fixed it? [CODE]Dim dso1 As Label = CType(e.Item.FindControl("dso1"), …

Member Avatar for hericles
0
164
Member Avatar for Captain_Jack

I'm writing a small app to collect IE command diag. The problem is it's not waiting till the process finishes and it's errors out in the next line. My goal is to copy the log and paste it under a folder in Desktop [CODE]Try Process.Start("C:\Program Files\Internet Explorer\iediagcmd.exe") My.Computer.FileSystem.CopyFile(USERPROFILE & "\Desktop\IEDiag.cab", …

Member Avatar for Captain_Jack
0
1K
Member Avatar for muzhdah

How i can add data to database through combobox but the data is foreign key please help me.....

Member Avatar for Netcode
0
65
Member Avatar for khentz

Hi, I'm working with Mobile Tracking System. Wherein I have assignedDate and expirationDate in my database. What I want to do is do detect wether the assigned phone is going to expire.

Member Avatar for Mitja Bonca
0
82
Member Avatar for thetraeller94

I don't know how to run my application with system level privilleges, so that it does not encounter any [B]UNAUTHORISED ACCESS[/B] in any case and when in seen in TASK MANAGER the user shown will be SYSTEM. I've no idea how to do it,PLZZZZZ HELP

Member Avatar for NetJunkie
0
2K
Member Avatar for MattD00

I have set-up a tab control and have buttons set up to add and remove the tabs. I want to place a text box into all the tabs, so when a new tab is added a text box is already placed inside the tab. I am not sure on how …

Member Avatar for NetJunkie
0
417
Member Avatar for Pavan Upadhyay

Hi..! In My application I need to retrieve/Read data from USB port. Is it possible to Read data from USB cable? or is it possible with COM port? Please Help me if any one of you have knowledge about this. Waiting...........your replies....

Member Avatar for NetJunkie
0
877
Member Avatar for Ruchi224

Hey.. I have a form consisting of datagridview and two buttons of update and load all.. I have used fillby method to obtain data from database. The query seems to be working fine, except that the data is not shown in the gridview. As in, for the qeury, if the …

Member Avatar for Phasma
0
70
Member Avatar for Eternal Newbie

I need some help with Crystal Report and really couldn't find it via Google. I have a report which is like an 8 columns table and the thing is I only want to print out the 7 last ones but not the 1st. Using "Suppress" won't allow me to view …

0
118
Member Avatar for vasim jada

How to find index in vb.net when connected with ms-access2007:) Th'x in advance.

Member Avatar for vasim jada
0
96
Member Avatar for vijaykvr

Hi friends i want to need load the images from the imageres.dll in windows..in vb.net 2008 please help me.. i waiting for your reply....

Member Avatar for NetJunkie
0
71
Member Avatar for VB 2012

Hi guys sory for being ooff grade 9 was a little ruf and yet gr 10 its still the same anyway>For my question I ve got a picture box and in some size modes we all know you cant see everything so aamm then i fought about scrolling and i …

Member Avatar for NetJunkie
0
169
Member Avatar for lollqt

Im currently trying to make a deal or no deal with 26 unique amounts. Here ive added the loopings to try and make all the values unique, but when i debug the program, it seems to be stuck on the first loop but doesnt return any errors... any help please? …

Member Avatar for Reverend Jim
0
391
Member Avatar for krishnisilva

hi there, how can i validate a data grid view column to enter only the date in the data grid view column. i am doing this in a 2008 VS C# standard edition software. how can i do this. thankx

Member Avatar for FijiXzone.com
0
2K
Member Avatar for justMarshall

I've created a user control with a simple text box and a corresponding label and added a few custom control properties. When added to a form, I'm trying to loop through all control of this type and evaluate the custom property. In the below, the cntl.MyCustomProperty is not recognized. I …

Member Avatar for justMarshall
0
227
Member Avatar for mishphar

When I am reading a csv file to dataTable and populating a Datagridview I am getting problem that one blank row inserted into datagridview why? what wrong with my code please somebody help me. below my code Private Sub ReadCsv() Dim myTable As DataTable = New DataTable Dim i As …

Member Avatar for Phasma
0
353
Member Avatar for pepyrs

Hello guyz, First of all, sorry for starting new thread with similar topic but I read each and still can't figure out how to do it. I'm having a database, using GridView I retrieve the data into my WEB application. Then I set the rows to editable (not sure if …

Member Avatar for pepyrs
-1
135
Member Avatar for waleed.makarem

Dear All , I am using visual basic 2010.net . I have a printPreview control . I need to change the background image of the control. IN the design mode , I selected the backgroundImage property and selected a picture. But, the background image of the print preview control is …

0
100
Member Avatar for mpatram

Hi All, I've created a registration form in VB.Net. Now I want to validate it, like if the username is previously used by some one then it wont allow to register. I can do it in ASP.Net, But I m not able to find any solution for VB.Net. If any …

Member Avatar for Netcode
0
993
Member Avatar for Aviplo

NEED HELP~! Does anyone know how to import exel data into sql server using vb.net? I want to create a openfiledialog and allow user to choose which exel file to be imported into the server. Thank you so much~~ >.< PS. I am just a beginner of vb.net. So would …

Member Avatar for Aviplo
0
5K
Member Avatar for jremio

Hi there, I would like to implement a web based UI that allows people to drag and drop "chairs" and "tables" onto a floor layout (grids) and save it to their profile by storing in the database. Just a simple frame that allows multiple tables and chairs to be positioned …

0
79
Member Avatar for HBovenkamp

Hi All, I'm running an application in VB.NET 2003 that loads huge amounts of data into a sql server database ( a conversion project) When the application has run for some time the windows form freezes and displays a (Not Responding) message in the title of the form. In the …

Member Avatar for Art_95148
0
458
Member Avatar for twalton42

I have made a form that loads at the begining of my program. Checks for accounts due on the day the program is run. It loads fine with my SELECT statement. Can someone help figur out how to close the form if the Select returns NULL.. Here is my form …

Member Avatar for twalton42
-1
126
Member Avatar for codeorder

[CODE] With bulbPrgSave1, bulbPrgSave2 .Value = 50 End Wit[/CODE] What would I need to create something as the above and set values to 2+ ProgressBars? A Structure? Property?

Member Avatar for codeorder
0
183
Member Avatar for raaif

I Want to make a class accept string variable like this [ICODE]Dim mystring as custstring mystring = "test var" [/ICODE] like how we declare string classes I tried to use property as such [ICODE] Public class cust dim inputstr as string = "" Public Property cust() As String Get Return …

Member Avatar for raaif
0
371

The End.