20,285 Topics
![]() | |
when mouse pointer comes to a row, it should be different from other rows.is it possible. thank you for ur answer | |
hi,i dont anything about cache.i am using window authentication. when i was logged in,no other should log into my account with my account.some body said, you can use cache.but i dont how to use.please help me. thankyou | |
I have a textbox with "10000" i want to format it to "10,000.00". How i can make it in vb.net .. | |
[CODE]myconn.Open() MySQLstring1 = "select picture from naw where id = 17" myCommand1.Connection = myconn myCommand1.CommandText = MySQLstring1 myReader = myCommand1.ExecuteReader If Not myReader.HasRows Then MsgBox("now rows found") Exit Sub End If If myReader.Read Then Dim imgByteArray() As Byte imgByteArray = CType(myReader.Item("picture"), Byte()) Dim MyStream As New System.IO.MemoryStream(imgByteArray) [COLOR="red"]PictureBox1.Image = Image.FromStream(MyStream) … | |
Hi, I have been figuring out how suppose to trigger 2 events when a timer start. For example, let say i set an alarm 1 hr before 10:00am to trigger the 2nd event, but at 9:55am, the 1st event like countdown timer should kick start. Using VB. Can anyone show … | |
I want to question for all. I use Visual Studio 2008. Why everytime i show my form, i must declaration variable. Example [code] Dim form1 as new Form1 form1.show() [/code] Why i can't use form1.show() direction. My friend can use form1.show direction without declaration variable in Visual Studio 2008. What's … | |
Hi all, I know I can do basic text searches to see if the text is there but I have no idea how to actually pull some select data out of a text file into a variable. I can search with something like this function: [CODE] Private Function CheckFile(ByVal FileName … | |
Hello Guys.. I am working in VB.NET I have to textbox : txtStartTime and txtEndTime After filling in values i need to validate that Start time must be less then Endtime. Values are entered in 12 hour format like 08:32 AM I can go for sub string logic and split … | |
[code=vb.NET] Hi, Pls I'm trying to move across tabpages without clicking on the tabcontrols but by using a command button to move across tab controls | |
I have designed a copmrehensive project in VBaccess for my company that is able to monitor all records regarding processing and reception of raw material. Dispatch of the final product and handling the transporters and buyers catalogues and finally the market analysis, i feel its getting out of hand since … | |
I Need To Change a detailed database i have designed for my company into VB.Net I It possible | |
I am writing an app where I will need to pop up a form to allow the user to enter data and then pass back at least a portion of that data (an ID perhaps) to the calling form. I have not completely decided how I am going to handle … | |
![]() | Hi all, I've followed links to this site many times but I've never really taken a good look until today... what a great site!!! Anyway, I'll stop kissing the mod's bottoms and post a query! I've been tasked with creating a kiosk style system to browse a college library catalogue. … |
i know some about vb.net programming and i'm interested in developing some software which is able to Get Data From Serial Port /parallel Port to my working form. can somebody advice me ,how to start such kind of developing and what should i refere (web sites /e books) for this … | |
Ok, I mostly used Python to learn programming.. I am now trying to learn VB.. This is my problem..It seems that tutorial after tutorial I read has no examples as I am trying to do.. 1. Dim x As Integer = 100 # this should make x = 100 right? … | |
Hello, How can input number to database where my field in database data type money.. This is my code: [code] Private Sub SaveData() Try If adcLEDGER.State = ADODB.ObjectStateEnum.adStateOpen Then adcLEDGER.Close() adcLEDGER.ConnectionString = strCONNECT adcLEDGER.Open() Catch ex As Exception MsgBox(ex.Message) End Try Try Dim vANSWER vANSWER = vbYes modPY.LookUpST(adcLEDGER, "SELECT * … | |
i got problem to refresh my database when : save= i already save but need to restart vb to find that data again. delete= when i delete and try back to menu then find that data, the data not delete yet..same with save need to restart vb.net then the data … | |
Hi, I'm already create connection to database with datagridview to view the data. I also create header unbound like this :- STUDENT ID,STUDENT NAME,REMARKS(CHECKBOX). I need to pull data from database with column SM_STUDENT_ID,SM_STUDENT_NAME then insert under this datagridview column.....how to do that..c.an anyone assist me.....so long to setle it..plzzzz | |
how i can create a dll file in visual studio 2008 using vb.net Thank's.... | |
Hi I have made a program that reads a raw pcm file and plays it. The function itself is working (finally) but when i play the sound a lot of noise is playing along. Writing the array to harddrive before playing proves that it's the reading to the array that … | |
Anybody have any experience calling web services from other web services? I have a web service for connecting to the database as odbc connection and then I have another service that searches a database. Is there a way to call the connection service, make the database connection, and then pass … | |
.Freezing { position:relative ; [[COLOR="red"][COLOR="Red"]B] top:expression(this.offsetParent.scrollTop); [/B] [/COLOR][/COLOR] } i used this code but an error saying 2.1 top has expression prop.top:auto|inherit|unit. so i changed top:auto.then also i am not getting .what to do thank you | |
Hello can some1 help on how to create a subform in vb.net, cause i dont have any idea how to do it. Please help | |
i have 26links.when i click on "a", a grid is visible with footer row having textbox and addbutton along with words related to "A".But when i am entering words with other words also it is taking.when i click on addbutton, it should say u should enter word starting with "a" … | |
i have skinid for label.In my grid, i have several columns and i took labels in itemtemplate for that columns.i have several grids in project.how to apply for all columns for all grids where i use label thank you | |
Hi all, i need to select the paragrah from the current cursor position. any ideas? | |
I am writing an windows application in VB.Net to automate the internet explorer using Visual Studio 2005. There is a website with list of orders. I need to accept the orders automatically whenever they arrive. There are 2 pages in a websiteand they will refresh at regular intervals. In the … | |
how to delete the current record datagridview using adodb in vb.net... this is my code: [code] Private Sub cmdDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDelete.Click adrCURR.Delete(ADODB.AffectEnum.adAffectCurrent) end sub [/code] the code is working but not the current rows is deleting, but the first record is deleting... Please … | |
hi, the below coding of inserting data into database MS Access. So , may i ask what is the meaning for the coding i bold. Why the maxrow>0 , the message will come out? thanks. [code] con.Open() sql = "SELECT * FROM summary WHERE line = '" & cbLine.Text & … | |
HI experts, I created a crystal report that works great, however I need to have a different page that always shows up at the end of the report. I cant figure out how to create a new report that does this. Thanks in advance. | |
Hey all i have gridview with two buttons up and down inside gridview. by clicking on moveup button row should move up and down when user clicks on move down button. How can i achieve this.Please provide some sample code | |
Hi, I have written an FTP application that is working with no issues. It uploads one of 4 files to various printers on my network. I maintain a list of IP addresses. The 4 files are printer configuration files, that contain either 1 or 3 lines of code. Very simple … | |
Hi.. i have a little homework from my school my lecture want me to create a little program in VB.NET he wanted if i pressed Ctrl + S in ...it will appears msgbox.... and one more...if i click button...it like i press Ctrl + S Can u help me.... thx … | |
Okay, I've tried my professor, and he's impossible to get timely feedback from... When he has responded, he has sent me coding - most not even close to containing the proper elements to complete the assignments, and he isn't much for explaning. Although I could copy and paste all my … | |
I have declared the following variables in the form transoverride.vb Dim Account_Name, PolicyNumber, TransCodeOrig, TransEffDate, Override_Action, Override_New_Renewal, Override_Transaction_Code, ModifiedDate, ModifiedUID, Plan_Year As String Dim RowNum As Integer The goal of this question is that I want to pass the above variables to a dialog form called edittransoverride. Public Sub DoModify() … | |
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an … | |
Hi all, I'm loooking for somebody willing to write complete working example for: - connection to access database - show one table form mdb in datagridview - implement code for 4 buttons (Add, Update, Delete, Refresh) - every press to buttons reflects to mdb database and datagridview This will help … | |
How can i passing an inf file data into a label... | |
I'm trying to get a picture box to load a new picture every second with a timer. Heres my code. [code] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Do While Timer1.Enabled = True frame = frame + 1 frame1 = 'Picture Location frame2 = 'Picture … | |
Hello, Is there something similar like this: ? [ICODE]If (obj isSubclassOf(Enum)) Then End If[/ICODE] This is always false: [ICODE]obj.GetType Is GetType([Enum])[/ICODE] I need this for reflection. | |
Hi! everyone can some one share a piece of light with me is it possible to manipulate database access inside a class constructor.Cause i can create a connection but don't know how i'm going to things like data adapter an data set since.Any link Any Help Is appreciated.thanks | |
hie i have 3 columns in the data table. id, name, telno. i want to display only specific names and telno. depending on the charactes the users inputs in the text box. this part has been taken care of. wht i need to do now is, i want to display … | |
![]() | hellooooo People! well I have the following problem: I want to recreate something like the Office-"adressbook" in my application, so the user can search through his/her outlook contacts directly, without first opening the outlook adressbook dialogue. That means that I have to search through my contacts in a Datagrid...but I … ![]() |
Hi all, I am writing a program which needs to connect to a mysql server I have set up. I use the proxy server at school to access internet. I found that my program cannot connect to the database. So how do I connect to mysql through the proxy server? … | |
Hi All, I want to update a row in existing excel sheet using vb.net where the row identification is according to the textbox text and the first column entry of that row in the excel. I just can't find a starting hint. Any Help? | |
My first task in this assignment is to create a datagrid view that can be used to fill in grades for students after each exam.... This is what I've coded so far - no Visual Studio assist used in this - and it works until I go to save the … | |
I have an abstract class NetworkTest and some derived classes PingTest, SMTPTest, and POP3Test. Each Test class overrides a Run() function and has it's own private member variables. I have a txt file for each type of test - ping.txt, pop3.txt, smtp.txt that defines the tests that should be run, … | |
Hi, sorry to ask this, I know it has been asked before but despite reading the answers I still dont get it. I am using visual studio 2008, vb.net. I have a lable, label1. I want it to display the results of a calculation, a/b. The answer is a number … | |
hello press save, i got and error and said ExecuteNonQuery: Connection property has not been initialized. Here's the code: [code=vb.net]Private Sub cmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSave.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Sales values('" & txtSalesId.Text & "','" & … | |
I have a superclass NetworkTest and 3 derived classes PingTest, Pop3Test, SMTPTest. I want to create a big list of all the tests, like this: [code] Dim Tests As New List(Of NetworkTest) Dim PingTests As List(Of PingTest) = ReadPingTestsFromFile(PingFile) Tests.AddRange(PingTests) Dim Pop3TestResults As List(Of Pop3Test) = ReadPOP3TestsFromFile(POP3File) Tests.AddRange(Pop3TestResults) Dim SMPTTests … |
The End.