20,284 Topics

Member Avatar for
Member Avatar for bchaney

I am currently stuck in one part of my application. I have two combo boxes that i am having the users select from. The first combo box is simply bound to a datatable. that is working properly. The second one i need to populate off another datatable after sorting out …

Member Avatar for Teme64
0
395
Member Avatar for dougancil

I have the following code for part of an application I'm building and I need some instruction on how to store this value and carry it to the next part of the program. [CODE] Private Sub dateEntryTextbox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dateEntryTextbox.TextChanged Dim dateEntryTextBox As Date …

Member Avatar for dougancil
0
87
Member Avatar for dougancil

Is there a way to customformat DateTimePicker to only allow users to select M-F? Thank you Doug

Member Avatar for dougancil
0
82
Member Avatar for vodkasoda

I have found a tutorial that will teach me how to set up my first Database, but the first thing it tells me to do is right-click on the Data Connections Icon within Database Explorer and choose "Create New SQL Server Database" ... unfortunately, this option is greyed out, so …

Member Avatar for Dmlang1985
0
82
Member Avatar for rayda

hi there. i m trying to write codes for new user to fill in the form, then the new data will into my database,however, my codes doesnt work, i cant figure out what's wrong with my codes. below are my codes: [CODE]Imports System.Data.OleDb Public Class NewUser Inherits System.Web.UI.Page Protected Sub …

Member Avatar for rayda
0
141
Member Avatar for ernnymags

i am working on standalone application to send and receive sms, but wan to create my own sms gateway. anyone who can help!. I am using VB.NET

Member Avatar for Oxiegen
0
66
Member Avatar for Maya Pawar

Can we stop the SelectedIndexChanged Event of combobox at runtime? bcoz when i go to last record my sencond combo is refreshed & It will show 1st Item. but i want to see related item with 1st combo.In the database records are stored with related item.but on frontend.......This is my …

Member Avatar for tungnk1993
0
76
Member Avatar for sohaibroomi

Hi, I'm trying to take a print on a Continuous Paper through a Thermal Printer ZP 2844 using Crystal Reports 2008 along with Visual Basic .NET 2008. I've set the page size to 3.00 inches as width & 3.00 inches as height. It prints well when the contents are a …

Member Avatar for Oxiegen
0
825
Member Avatar for Smalls

k, what i'm trying to do is create a windows service to run in the background to monitor [URL="http://www.vmware.com/products/player/"]vmplayer.exe[/URL] to see if it is running or not. then if it is running, then turn on the various hardware, software, and services it needs/uses to run, and if it is not …

0
206
Member Avatar for Geos

Hello, I build an application that have 3 buttons, but I need a code that once the user clicks on a button it will fill the another application(last running application window) textbox with "x" value... can anyone help!! Thanks.

Member Avatar for GeekByChoiCe
0
46
Member Avatar for Totte94l

Hello! I would appreciate if someone could convert this code from VB6 to VB.net. [CODE]Option Explicit Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As …

Member Avatar for GeekByChoiCe
0
566
Member Avatar for comsci2

can anyone help me about this error. "Invalid attempt to call metadata when reader is closed". Thnx in advance. [CODE] Public Sub DisplayCust(ByVal lv As ListView) If cnSQL.State = ConnectionState.Open Then cnSQL.Close() cnSQL.Open() cmd = cnSQL.CreateCommand cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = "sp_DisplayCust" Dim param = New SqlClient.SqlParameter param.ParameterName = "@cust_no" …

Member Avatar for hirenpatel53
0
123
Member Avatar for amanprogrammer

I want to build a very secured system using vb.net could you send me sample code for the login

Member Avatar for hirenpatel53
-1
36
Member Avatar for jzlonely

I am very new to vb 2008 and have create a simple window forms application which link to microsoft access 2007 database. I build the application exe file already. The exe file is run well on my computer, but when i transfer it by copy and paste the whole folder …

Member Avatar for jzlonely
0
4K
Member Avatar for tariq182
Member Avatar for Oxiegen
0
82
Member Avatar for Merovingian

I'm trying to add this XML element: [CODE]<cp:prop name="given_name" value="UK" />[/CODE] It has to be formatted exactly as above. I've tried this but it formats differently: [CODE]Dim cp = XNamespace.Get("cp") Dim newElement As New XElement(cp + "prop", New XAttribute("name", "given_name"), New XAttribute("value", givenName)))[/CODE] It formats like this: [CODE]<prop name="given_name" value="UK" …

Member Avatar for Oxiegen
0
102
Member Avatar for timwilliams77

Hi Can anyone tell me where I can get good free downloads for some of the below? 1) Code Analyser (memory Leaks, Dead Code, Loops) 2) Generate Flow Charts from Source Code 3) Version Control Software Many thanks Tim

0
89
Member Avatar for sidind123

I want to save image from Picture box to SQL Server DB. I am trying to do this using the following code but cannot able to do so. Please help. My Code Snippets are as following: Dim fs As FileStream = Nothing fs = New FileStream(picPhoto.ImageLocation, FileMode.Open) Dim fi As …

Member Avatar for Oxiegen
0
192
Member Avatar for ranapro

hello sir , i am the student of IT. which course should i taken form the following java ,.net, php. please tell me about that.

Member Avatar for Oxiegen
0
72
Member Avatar for stephen lowry

hi guys this is probley simple and i have an external board controlling various things on the board is a button which i would like when pressed activates code within a button on my vb form i have tried button1.select but that only well selects the button on my form …

Member Avatar for Luc001
0
136
Member Avatar for RMelnikas

Im trying to make a little program that gets the computers IP address i have got it to do all of that and have got it to use the default email program to add the email address, subject and body but i cannot get it to add an attachment. [CODE]Imports …

Member Avatar for Oxiegen
0
146
Member Avatar for carylle

Can someone please help me. I want to call an MS Word Document in my system using VB.net what should be the syntax? Thanks!

Member Avatar for augamal
0
282
Member Avatar for Extremist-smj

HI, I have written a code to print the crystal report instead of using print button in the crystal report viewer control.(I have done this in order to keep record of printed pages.) So, now there is a print button in my form, which upon clicked will show the printer …

Member Avatar for Oxiegen
0
123
Member Avatar for TommyRay

Hi, I've made a browser project and beyond making it a default browser, I am having a problem with the Favorites feature TreeView control saving, loading and repopulating it with the users data. It's tough finding the correct code as there are so many variations of this control in various …

Member Avatar for Oxiegen
0
572
Member Avatar for irum siddique

salam kindly help me..... and tell me i want to know about visual basic 6.0......... not in v.b.net........ sooooooo kindly tell me...........................

Member Avatar for Oxiegen
0
53
Member Avatar for adams161

i found this code to update a property on an active directory entry: [code] If user.Properties.Contains("title") Then user.Properties("title")(0) = employeeTitle.SelectedItem.Text Else user.Properties("title").Add(employeeTitle.SelectedItem.Text) End If [/code] I understand it except for the ("title)(0). why is this a double index array. what does the (0) do? Mike

Member Avatar for adams161
0
99
Member Avatar for sujeet3778
Member Avatar for Want2Code

[B]Hi, im new to this forum, and as far as I know. this hasn't been posted. What I am trying to create is a log in system, and in one of my forms I want to limit the date entered into a form. For example a user cannot enter a …

Member Avatar for Smith5646
0
136
Member Avatar for karan khokhar

i wrote a software which would work perfectly fine on vb.net with connection string: SQLConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename='" & a & "';Initial Catalog='" & f & "';Integrated Security=True;User Instance=True" but if i try and run it on a pc with sql server 2005 installed it fails to run what changes …

Member Avatar for finito
0
145
Member Avatar for TommyRay

Hi, I am using VS2008 and for the project I am creating, I have a "settings" text file I am using to save user defined settings like color theme, homepage, etcetera. It works fine, however, I am unsure as to how to handle the eventual distributed apps' destination folder/file. Creating …

Member Avatar for TommyRay
0
150

The End.