20,285 Topics
![]() | |
Hi Everybody, I am trying to compare single precision floating point values in VB .NET. The code runs ok but the results look not right. Results also contain -Inf values. I see that this is not the right way of comparing floating points. Could you please show me how to … | |
Hi all I want to set my data grid column width separate for each column. Can it is possible? I tried as follows... [Code] gridMatchedDB.PreferredColumnWidth = 100 [/code] But its setting width to each column. How to set individually ??? | |
hi can any1 help me ... i want to let different user to log in a system from a database. i know it must check it from the database bt i don't know how to do it. i just want to use only 2 columns. one for username and the … | |
I am wondering if it is possible to accomplish following in VB.NET: I would like to automate files move and sorting from "C:\uploaded_files" (files contain any extensions e.g. .pdf, .tif, .eml, .jpg, etc) to directory under different subdirectories as shown below. F:\Files\Oregon\Sold\Victoria Kraus\2008\OSVK082036PI\ F:\Files\Oregon\Leased\Victoria Kraus\2008\OLVK082036PI\ F:\Files\Washington\Sold\Victoria Kraus\2008\WSVK082036PI\ F:\Files\Washington\Leased\Victoria Kraus\2008\WLVK082036PI\ F:\Files\Oregon\Sold\Dan … | |
You VB .NET developers out there, I have posted 3 threads requesting help on reading floating point values from a binary file but did not get any reply at all. Is it because I am asking a stupid question or noone really have a clue about the question I asked? … | |
Hello! I have an SQL query designed to search a string field and return results based on input from the user. If I use VB.NET to interrogate the Access Db using the following SQL: "Select *FROM TRAINING WHERE ((Trainer Like '*Rob*'));" I get no results. If I perform this same … | |
I converted a large VB6 program (15 .frm forms) + 20 other modules(.bas) to VB.NET 2005 from VB6. (It used a lot of control arrays). After spending almost a week fixed the errors I find that it will not run. Field token out of range at \My Project\ Application.Designer.vb:line 35 … | |
Hi, I am doing my final year project in visual studio 2005, and I am using a datagridview to populate all record from a given table. Well I wanted to know if there is a some kind of way that when the user clicks on a specific record from the … | |
I am trying to add child nodes to a Treeview list, I have the parent node and this is the code I have to add the child node: [CODE] parentNode = New TreeNode() parentNode.Text = Me.headerSelect.Text.ToString parentNode.Nodes.Add(Me.fieldName.Text.ToString) [/CODE] It doesn't do anything - no errors, no adding, nothing.. Also if … | |
dear all actually , m a new to .net, i want to know how to use database connection in .net in sql way using dsn, without using provider like what i m write in vb is dim con as new adodb.connection dim sql as string con.open("dsn=test") dim rs as new … | |
hi all... anyone know how to count files when it selected on dialog box.i use common dialog, but i didn't find any function to count selected files (multiselect properties is true). any help will be appreciated. thanks. | |
Please someone help me with this code. I keep getting an exception saying Unable to read beyond the end of the stream. What I am trying to do is reading a binary file that has a single data type and then writing them into a file. Any help is appreciated. … | |
Hi all, My program reads a binary file (data type is single) and writes that binary file but the file size of the outputted binary file is exactly 4 times larger than the inputted binary file. I just don't know why. I would understantd if the binary file that the … | |
Hi everyone, I've got some issues with a Listview control set to LargeIconView with an ImageList control assigned to the LargeIconImageList property of the Listview. I've got the Imagelist control's image size set to 110,110. The thumbnails which are stored in a database have a MAXIMUM size of 110 x … | |
I have installed a VS 2005 that has a MSSQL Server. When i was about to try running the SQL Server i can't find anything except Configuration tools. I don't know if its express edition or not. Is SQL Server 2005 like this? how would i know that the SQL … | |
I've been working with a class module to make my connection codes abit shorter but when i removed my connection from the class and made it public it was not working anymore. The way I use the class lcon = New ADOcon lds = New DataSet Dim ltb As DataTable … | |
Hi, i have set validating cell control into the datagridview by only allow numeric and a single dot, but i only want to validate specific column only instead all columns. below is what i did [CODE] Private Sub DataGridView1_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles DataGridView1.EditingControlShowing 'source: http://www.devx.com/dotnet/Article/33748/1954?pf=true … | |
how to deploy project at dotnet by cresting bin folder and puting .exe file in that. and creating shortcut for exe file. pls...........any one pls..............elp me for this. | |
Hi all, I did manage reading from a binary file that holds byte values in it by using binary reader but keep getting an exception (EndOfStreamException) when I try to read another binary file which holds floating point values. I would gretly appreciate it if someone could help me out … | |
Hey people! I have been using VB2008 since it came out now, and have also used the 2005 version, but I was just wondering, if there is ANY way to create a Chat Application, or any way to create an IM service. Please help me :) Thanks x | |
Hello All, I a beginner to vba 6.0 and vb.net programming. I have 6 months to come up with a solution that entails putting up an access database, that i created, onto the web so that hundereds of people can access it at the same time from multiple locations. Questions … | |
Hi, im reasonably new to vb.net and am currently trying to use an access (mdb) file (version 2000 to 2003) with ether vb express 05 or 08 releases , but i dont have much idea how to run the quires on the database through vb, at current i have a … | |
I am trying to use a Listview1 instead of a datagrid1 by dropping a oledbDataadapter1 or a SQLDataAdapter1 on the Window form But having the hardest time. I can use this method: Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim MyConnection As New SqlClient.SqlConnection() 'Define … | |
i've been developing a game for quite some time now...it will be finished soon...my only concern now is how to make my game more interesting to the gamer's eyes...so i included a video to be able to give a brief background of how the story unfolds...but the problem is that … | |
im new to visual basic. can i know how to do a xor encrypt password using vb 2005 express? please help. im willing to learn | |
I am currently trying to export data from a excell db to a vb.net and create some for loops so I can generate data from it. anyway I got the whole thing working apart from I cant get the list box to show all the data in the column instead … | |
hi all i m having a confusion kindly help me out i have two textboxes for debit and credit entries. i want to disable the debit textbox when i get text in credit field similarly when i get data in credit textbox i want to disable the debit field. waiting … | |
I have a form that is supposed to update tblMain in my database, and when I press btnSave it says in a messagebox, saved, but when I look at the table or try and recover the data from the dataset all I see is NULL values. Any help would be … | |
Hi I need alittle help. I am doing a VB.Net class and I am having trouble with code for calculating. I dont know hoe to do the code for it. I have to have a calculation for Original Price, Discount rate and New Price. Plus I dont know how to … | |
Hi, I want to use server.mappath to get virtual path of a file, but the function cannot be used in a class file...please advise. | |
unable to start debugging on web server..the web server is not configured correctly.. | |
Hi i want to convert only the first letter of a firstname n his lastname seperating by a space. Note every time he/she input firstname the first letter should be Uppercase and when she/he press the space bar the last name only the first letter should be Uppercase. Help Me … | |
What would need to be done in order to make an application go full screen? this means NO task bar, or Title bar. I did find a small bit of code (a while back), but it didn't work. Any ideas/solutions would be great! :) Thanks! | |
Thank you in advance for any an all assistance. Is there a way to programatically get the Record number and the of {0} count, without using the navigation wizard in VB.NET 2005, in a label or textbox? Michael | |
i've been developing a game for quite some time now...it will be finished soon...my only concern now is how to make my game more interesting to the gamer's eyes...so i included a video to be able to give a brief background of how the story unfolds...but the problem is that … | |
How do u write a code for vehicle registration checker with maximum of 7 character input. The first two letters searches for the list of cities, the following 2(numbers) searches for random numbers of the car(pre written) and the last 3 shows a car manufacturer code.. When a button is … | |
Dear friends, I wrap an unmanaged VC++ 6.0 class in VB .NET like below : [code] Declare Function ACR120_ReadATQB Lib "ACR120U.DLL" (ByVal rHandle As Short, ByRef pATQB As Byte) As Short Declare Function PICC_RATS Lib "ACR120U.DLL" (ByVal rHandle As Short, ByVal FSDI As Byte, ByRef atslen As Byte, ByRef ats … | |
Hey I Want to know How Can i develop a software to send sms pc to all mobile phones using vb.net. Can you guide me how to do it or plz send me a sample code. | |
hello all i have experience with windows forms programming but now i have to work independently for the whole project i need help in two topics pls help me 3 clients will be connected to my server front end : VB.Net my database : Oracle my question is how to … | |
Hi, I have created a window services in vb.net and it is installed successfully. But when I start the service, I get the error [COLOR="Red"]error 1053, the service did not respond to the start or control request in a timely fashion[/COLOR] And this is the code..I suspect that the error … | |
I am writting a program that communicates with Amazon Seller services. One of the tasks involved is the uploading and downloading of XML documents containting order information. Below is the example source code provided by Amazon for vb.net. I finally got most of the code working, but I am stuck … | |
I have two checkboxes on my Form1, one is called "CheckOE" and the other "CheckCDO" I would like to have an option of sending email message using either Outlook or CDO. Both email codes work fine if placed in the button alone, but I dont' know how to skip either … | |
Hey ! I was looking how to use different and more intresting tools in Visual Baisc 2008. We all know that you can add a 'Microsoft Web browser' into your form, but by adding certin tools to your tool box, can we use different browsers with VB.NET such as Firefox, … | |
how to get comp name or user name ??? anyone know this ?? thank you :) | |
Hi I've populates a DataGridView from the results of a SQL query programmatically, so I haven't had to define the number of columns, etc. Just before I display it, I'd like to change the columns with Yes/No in them with checkboxes. Any ideas how I can do this programmatically? Regards … | |
hi, i have a question regarding playing audio file using vb 2005. Here is my working code: [CODE]Dim dlgFileDialog As New OpenFileDialog dlgFileDialog.FileName = "C:\Documents and Settings\wek060049\Desktop\MusicAppreciation\Resources\1.mp3" Me.AxWindowsMediaPlayer1.URL = dlgFileDialog.FileName [/CODE] it is working perfectly, i am wondering if i build an installation file from my project will it still … | |
Hi Can any body point me in the right direction, I have to write a program using VB or any other language that will enable me to record audio from a mic jack, save it to a file in the .wav format and be able to replay this while the … | |
Hello, I am new to Visual Basic.NET, and programming. I am wondering if someone can help me get to understand the VB.NET language. I learned some visual basic 6, but none of that seems to works anymore in the new version. Before in VB6 I could make a chat client … | |
hi frnz!...m a comp. Sc diploma student n m in2 my final(project) semester....whre we need 2 submit our own projects. i hav been asked 2 prepare a Quizzing software...much similar 2 those conducting online exams lyk the MCSE etc....based on VB n MS-Access. plz help me on how 2 start … | |
Hello all. I'm creating a basketball program. There are two teams of five players each. Each player has a randomly generated offensive and defensive stat. The program randomly picks two players to match up. If the offensive stat of the offensive player is greater than the defensive stat of the … |
The End.