20,278 Topics

Member Avatar for
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
815
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
197
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
45
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
558
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
81
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
191
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
71
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
144
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
281
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
122
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
570
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
135
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
144
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
Member Avatar for Trebron

Hi Guys I hope someone can help I have a form that loads a gridview at runtime based on users logon names which is pretty easy the data I load lives in an excel document, I want to be able to read the data from the datagrid view I loaded …

Member Avatar for Oxiegen
0
189
Member Avatar for Feisu

Hello.everyone. I met a problem today and search for a long time without any luck:( I want to limit length in textbox. not total maxlength but maxlength perline. for example. if I choose to limit 7 char per line. when words exceeded 7 in a line textbox will start a …

Member Avatar for apdbrl1
0
894
Member Avatar for dougancil

I'm relatively new to using VB but I'm trying to design a small program that has a lot of SQL involved in it that someone else wrote. What I'm trying to do is to do a date selection of 7 days at a time, and pass that as a variable …

Member Avatar for Oxiegen
0
91
Member Avatar for Vhyr

Hi all, I'm working on a project where the user puts in a value and then the program reads the .txt file and if the two match then show the word behind it.(Example : Hi|Hey "Hey" will be shown in a TextBox). I know that I have to split it …

Member Avatar for finito
0
74
Member Avatar for maqsoud

how to code the sqrt, log, sin,cos and tangent buttons please write down the code for the mentioned buttons

Member Avatar for finito
0
38
Member Avatar for jugnu

Hello I have 2 classes [B]clsParty[/B] and [B]clsAccount[/B] clsParty has a function named [B]GetParty()[/B] clsAccount has a function named [B]GetAccount()[/B] I have a 3rd class named [B]clsDoTran[/B] What i want to do is i want to use [B]GetParty()[/B] and [B]GetAccount()[/B] functions from both clsParty and clsAccount But there is a …

Member Avatar for kvprajapati
0
73
Member Avatar for Sherlok

Attempting to create a login form. Original plan was to search database, and display output (e.g label) if the user exists. No password required. I have limited coding ability with databases, and was attempting to search in an excel file. How do you find a record in a database? Index …

Member Avatar for hirenpatel53
0
111

The End.