20,285 Topics
![]() | |
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. | |
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 … | |
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" … | |
I want to build a very secured system using vb.net could you send me sample code for the login | |
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 … | |
| |
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" … | |
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 | |
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 … | |
hello sir , i am the student of IT. which course should i taken form the following java ,.net, php. please tell me about that. | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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........................... | |
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 | |
i want to develop a game for mobile,to do this which software is used | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to code the sqrt, log, sin,cos and tangent buttons please write down the code for the mentioned buttons | |
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 … | |
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 … | |
Hi there, I want to picture a line graph based on my array. I can create a graph line with 3 different series, but I don't get my exact chart as in excel. As can be seen from graph in the attachment. It has additional lines. I want just the … | |
I bind the two comboboxes with table. one combo contains product and another contains subproduct. when i clicked first combobox then subproduct of that is filtered in another combo. when i clicked next,previous ,it is working properly. but when i go to last record second combo is refreshed means it … | |
hi;friends i am asad shah frm islamabad i am in final year of bs(IT)program.but confused in selecting my project i didnt know about market trend can any one gave me idea in selecting my project. with regards asad shah | |
Create Panel And ToolStrip in panel Panel Property [CODE] Dock = Dock At Left Or Right Or Buttom Or Top High = 40 Backgroundcolor = Black [/CODE] ToolStrip Property [CODE]Dock = None RenderMode = System GripStyle = Hidden Background = Transparent ImageScalingSize = 32,32[/CODE] U Can Extend any side by … | |
I use picture box to view web cam, it works. But i wan to add another transparent picture box on top with upload a picture transparent background circle . So when i open web cam there is a circle on the web cam. Is that possible? How to make picture … | |
This code should get one random line from sample.txt and put it in Label1 - problem is that it's only getting line 2. Every single time. What's wrong with it? Please help. I bet it's something rediculously obvious but i can't find it :'( Thank you so much in advance. … | |
Hi. This may seem simple to most but has consumed 3 days so far and a bit of $$ trying to learn simple how to use Enter as a Tab (Yes I know it is a Fau-par but I need it regardless). The idea is to move the focus to … | |
Hello, Could I have been googling with no joy regarding the fact that my program is not displaying changes made when I run it (Debug). It is an old program (hence the 2003 VB.NET code) I wrote for my daily use and I decided to make some modifications to make … | |
I have used Resource Hacker to extract all the files from an .exe so I could translate the menus right (translating in the program shows me wrong characters). Now I want to compile these files into an .exe file. How can I do that? Thank you in advance. | |
I am trying to create an Inventory/Stock Control system as a windows application using vb.net with an Access database. This is my first time trying to use vb.net and im having difficulty making the application interactive. I am unable to update records to the database from the front end. I … | |
ive been able to succesfully link a mdf databse to a vb.net program.My program runs flawlessly but if i change the location of the database from e:\new\xyz.mdf to c:\new\xyz.mdf then it throws an exception : System.Data.SqlClient.SqlException' occurred in System.Data.dll [CODE] SQLConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename= e:\new\xyz.mdf;Initial Catalog=xyz;Integrated Security=True;User Instance=True" [/CODE] And … | |
I've been trying to figure this out for a week without luck. My program needs to examine two XML docs for missing contacts, when it finds a missing contact it then needs to merge the information across. I've got the examination part working with this code: [CODE] Private Sub findAllDisplayNameMaster(ByVal … | |
Hello everyone, I have been disturbed for a week now. I have a project in vb.net. And on forms I have two masked text boxes. One is for the user to enter their date of birth and in the second one Iam trying to get the date the record is … | |
Has anyone tried this software? I'm going to download the Trial version but I wanted to see if anyone use's it and if it is any good. Thanks. | |
Hi! I am a student of PGDCA. Please anybody help me for making a project of LIBRARY MANAGEMENT SYSTEM IN VB.NET 2005 VERSION. TODAY.......... | |
Hi, I'm developing a window-based application where I've a Main Form A. I open another form B on a button click. When I close Form B, I want to reload the Form A. Please help as soon as possible. Thanks in anticipation. | |
Hi, how can i send message from mobile to pc then the pc must retrive data from database, finally send it again to mobile? can any help me please | |
Hi I am trying to get which checkboxes the user checked from one page to another. If that doesn't make sense then let me explain. On one aspx page, lets call it page1.aspx ...i have a checkboxlist; on the other aspx.page, lets call it page2.aspx...Page2 has to know which checkboxes … | |
Im trying to make a password input box but i dont know how to make it read and check if the password is right from file pwp.pw, so if password is right then it will let me come to form1. This code is inside of form1 in form1_load [CODE] If … | |
Hi, I am beginner to WIN32 API Programming. I need to develop a voice recorder application using Win32 Waveform Audio API interface in C# or VB.NET .. Gus please help me on how to start programming...Related articles please show me the link. | |
Ok here it is .... Since there is no more autoredraw property I am trying since 3 days now to simply draw lines in a picture box from data that are inside 4 different listbox one for each point x1 ,y1,x2,y2 my syntax is as follow.... the lines seems to … | |
Hi, I am using vb2005 with access database and I have a crystal report which I want to preview and print only the last saved record. How can I do it? Can any one help me with sample code |
The End.