20,285 Topics
![]() | |
hi i need to get input of mail body in textbox. how can i get it formated in html? plz guide. thanks in advance. | |
Hi guys. I need to create an application which allow the user to read a line of text, and then be able to record and store an audio version of this text in a wav file. Can someone please help with how i should go about this. I am coding … | |
I am encountring a strange problem. Consider d following code : NOTE: MY CONNECTION IS ESTABLISHED SUCCESSFULLY 1 .[QUOTE] Dim dtattendance As New DataTable dbadapterattend = New OleDbDataAdapter("select tbladmission.[admid],tbladmission.[vName],tblattendance.[status] from tbladmission INNER [ dgattendance.DataSource = dtattendance[/QUOTE] I DO GET DESIRED OUTPUT AFTER EXECUTION OF THIS CODE. However if i REPLACE … | |
I'm having a problem with my for loops. The program is supposed to get a number from the user and when button is pressed add 1 and skip a line until the tenth number is reached. I fell like I almost have it but I'm missing something. Please help. [code=VB] … | |
Hi all, I have a developed billing application using VB.NET .I use e.drawstring to print all the datas from my form to bill. Now before printing my bill, i want the printer to align my bill so that it starts printing from appropriate location. How do i do that programatically … | |
i want to change first letter of both First name and Last Name to uppercase here is my code however, i am getting error..as Index and length must refer to a location within the string. Parameter name: length MY CODE IS AS BELOW : [QUOTE]Function uppercasefirstletter(ByVal oldString As String) As … | |
Hey I'd like to be able to play an mp3 file in a an application in one of my Load procedures. I just need the syntax for playing the file. thanks, Lee | |
Firstly i am very sorry if , this is REPOSTED....actually am posting it again because i am finding no proper solution what so ever....i have mentioned excatly what i want...i am a beginer so i dont expect some hify code..simpler d better.....Plz help me out....its very urgent plzzzz 1) i … | |
how to change the crystal image during run time and not during design time? assuming the image is on section3 of the crystal report | |
Hi i am trying to open a pdf file using vb.net with the following code. it gives an error messages at ar.src=splitout(i) and the message is "Attempted to read or write protected memory. This is often an indication that other memory is corrupt.". please help. Thanks Dim dlg As OpenFileDialog … | |
I converted TGREER's C# implementation of a hacked StreamReader class to VB.NET and wanted to provide it for anybody who has run into the following issue: when using a [B]StreamReader[/B], and [B]ReadLine[/B], to process a text file, you cannot determine where you are "at" within a file. The following is … | |
I have a GridView, bound to a SqlDataSource. The SqlDataSource points to a table with seveeral fields, including an Activity Date field and a Name field. By default I want it to display every entry in the table, but I want to be able to dynamically filter it with three … | |
I am a beginner with VB, I'm coming from C++. When I compile and test the program the base pay textbox changes to 0, gross pay textbox to 0 and the total deductions turns to 0.25. For the life of me I can't figure out why. My little experience with … | |
Hi lads (and ladettes) I have to create a mobile application that gathers user input, saves it to a document so that it can then be emailed back to HeadQuarters. Im new to this area ... although I have used the StreamWriter/StreamReader classes to create a new TextFile and save … | |
hai i am sridar in my project there is a database it is created by msaccess and at present i am using mysql database by vb.net coding by clicking the button i want to download a datas from msaccess database to my sql please any one help me my mail … | |
Helo, i want to include paint application in my project but i dont know what to do? what i mean is do you any paint program using vb.net so that i can download?. i have no idea how to create it w/ my own.. thanks guys | |
i want to create a login text file at each login , that will be stored in system folder that can be viewed but not modified....so that the person who logged last can be traced... here is my code : Is the code correct ??? if not what are the … | |
I m writting a project i want to save finger print image in sqlserver but io.filemode.open is error occured, how can i solve for this, help me '///////////////coding [code=vbnet] Dim sqlConn As New SqlClient.SqlConnection(ConnectionString) sqlConn.Open() Dim sqlComm As New SqlClient.SqlCommand("SELECT * From InkPaperData", sqlConn) Dim SaveAdapter As SqlClient.SqlDataAdapter '(" Select … | |
my program : When i enter a name in the textfiled and click on search i should get that name along with its ID listed below in my data grid and if such name does not exists i should get msg "enquiry not found"... Am getting the result however not … | |
Hey I been messing around with a web browser appliation. I didn't want to use the IE renderer but I wanted to use Gecko. (mozilla) after some research I came across: Mozilla Control 1.5. It was ideal as it added the renderer as a COM component. Well Supposed to! It … | |
Hello. I wonder if anyone can help me. I have the Following XML file, where I load multiple SQL database connection details: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ConnectionDetails> <ConnectionName ID="1">DAWS</ConnectionName> <ServerName>LOLLIE</ServerName> <DbName>DAWS</DbName> <UserName>sa</UserName> <Password>sa</Password> <Network>TCP/IP</Network> <ConnectionDetails> <ConnectionName ID="2">FreightEquipe</ConnectionName> <ServerName>FREIGHTFOCUS2</ServerName> <DbName>FE</DbName> <UserName>sa</UserName> <Password>sa</Password> <Network>TCP/IP</Network> </ConnectionDetails> <ConnectionDetails> <ConnectionName ID ="3">Media Express</ConnectionName> <ServerName>FREIGHTFOCUS2</ServerName> <DbName>ME</DbName> … | |
Hi I am currently writing code to read and write certain labels and textboxes. The code for the save button works fine: [ICODE] Dim savef As New System.IO.StreamWriter("c:/text.txt") Text savef.Write(TextBox1.Text + ControlChars.NewLine + Textbox2.Text + controlChars.NewLine + label2.Text) savef.Close() [/ICODE] I need to have a load feature, here is my … | |
i need help on setting the timer control to close an animated form within a specific period of time. | |
[code] i have writen a function in the vb class file and i am trying to read the function form the asp.net but it is showing an error Error 13 Reference to a non-shared member requires an object reference. can you help please i am new to this subject elvin … | |
[QUOTE]In Visual Basic 6.0, control arrays could be used to specify a group of controls that shared a set of events. The controls had to be of the same type, and they had to have the same name. In Visual Basic .NET, control arrays are no longer supported. Changes to … | |
[code=vbnet] Imports mshtml Imports SHDocVw Imports Microsoft.Win32 Imports System.Runtime.InteropServices Public Class Form1 Public Const BaseKey As String = "SOFTWARE\Microsoft\Internet Explorer\Extensions" Public Const SubKey As String = "{10954C80-4F0F-11d3-B17C-00C0DFE39736}" Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim reg As RegistryKey = Registry.LocalMachine Dim sk As RegistryKey = … | |
I'm having a weird problem with a MenuStrip, in which it's just white untill clicked on, when it behaves normally (Screenshot here: [URL="http://i312.photobucket.com/albums/ll353/anticipation33/WeridMenuStrip.png"]http://i312.photobucket.com/albums/ll353/anticipation33/WeridMenuStrip.png[/URL]) It's never happened to me before, and it just started happening by it self, after no changes. Any help would be appreciated, thanks. | |
how can i set that it will count also from the label that "how many rentals are overdue"[CODE=vbnet]Structure rental Dim rentalid As Integer Dim familyname As String Dim Firstname As String Dim dateborrowed As Date Dim duedate As Date Public Overrides Function ToString() As String Return " " & rentalid.ToString() … | |
Dear All, In VB.net, (1) Place a textbox on the form with bigger size and multiline property TRUE (2) Allow AutoScroll of the form TRUE (3) Run the application (4) Resize the form in such a way that there should be vertical scrollBar along the form (5) Now click on … | |
Hi..out der... I want to do attendance marking appl...in dat when i select a date and click ok....all the selected colms frm my database should be visible in my LISTVIEW... Besides these columns i want check box so that i can check dem to mark present.... and when i click … | |
Does ne one knw how to create an uneditable text file ? plz tell me.....n also about check box in datagrid.... | |
I want to delete the text file output.txt ,but I get error message. File cannot be deleted used by another process. Can you please help me..I tried close nad flush commands for filestream and stream readers..but did not help.. Here is my code. [code=vbnet] Dim chkstr As String chkstr = … | |
Hey, I'm writing an application that requires a login procedure. My problem is I don't know how I can compare the Username field to make sure it doesn't already exist in the table. I'm using VB.Net 2005 and Access 2007 and my database is stored as a .mdb file. thanks, | |
Hi all, I am trying to extract some records from a SQL Server 2005 database and insert into a MySQL database. The extract from SQL Server must also be captured as an XML file. I want to call this from a button. Unfortunately, I have not been able to do … | |
hi friends i need a good tutorial for learning creating macros in excel using visual basic. i have never programmed in vb.so i dont know how much it will take me to learn. i serched online but most of them were available only after registeration. can someone suggest me some … | |
I have two OUs OU=Student and OU=Teachers and my root OU is LDAP://dc=test,dc=labs,dc=edu in the Student OU i have three computers named Std1,Std2,Std3 and three computers in Teachers OU named Tea1,Tea2,Tea3 I am writing a VBA script in Excel in which i want to display my Computers in that OU … | |
hi everyone, i m a university student. currently i m doing a project dealing with 2 Serial Port IrModem. i have successfully construct d sending and receiving part.but is jus a string. what should i try out for sending a file or compress a big file and send to each … | |
I am currently writing a Poker Clock program in VB 2008. I have got everything working up until I try and type this (on a button) Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Interval = 120000 End Sub End Class 120000 being 2 minutes, I … | |
I'm drawing onto a PictureBox, using the code [code=VB.NET] Dim XPrev, YPrev, XCur, YCur As Integer Private Sub picCanvas_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles picCanvas.MouseDown 'Setting the previous points for line drawing XPrev = e.X YPrev = e.Y End Sub Private Sub picCanvas_MouseUp(ByVal sender As System.Object, ByVal … | |
Hows it going everyone. Im pretty sure theres a simple way to do this, but cant figure it out right now. Im still relatively new to vb .net, and have a function that reads a csv file into a datatable and fills a datagrid. But what I want to do … | |
I have created a small application for mobile device using vs2008. i can retrieve the data . But i cant insert the data's into the database. These are methods i used to insert. But no work Any one can help to solve this issue. [B]Method - 1 ---------[/B] Dim conn … | |
:confused: I have to modify a hangman game to open a sequential file, read thru the file and count the no. of words, generate a random no. from the file and read the word from the file corresponding to the random no. and use it in the game, as well … | |
Ok I've search around and can't find a solution to it. I'm making a program to manage DKP for a game (World of Warcraft) and I need to import the roster from a website. The website is [url]http://www.wowarmory.com/[/url]. The link a guild roster will look like [url]http://www.wowarmory.com/guild-info.xml?r=Skullcrusher&n=Dark+Depths&p=1[/url]. I will have … | |
Ok , I'm new here and looking for help already. I am working through Sams teach yourself VB.net and I've lost a form! Well not quite but i am trying to get to my form in design view and I just cant seem to get to it. It opens when … | |
Hey I got a form which has no form border style. The problem is, when I run my maximise code the form covers the whole screen including the start bar. Is there anyway around this? Obviously when you click the form border's maximise button it fits nicely with the start … | |
Hi all, first of all I'm totally new to this programming thing. I've just started a degree course in IT and struggle a bit with getting the right code to do stuff. Are there any books anyone would recommend to someone who thinks "Dim" is what lights do? Oh yeah … | |
Hi..look this mi module [CODE] Module Module1 Sub Main() Dim nume As New numeros Console.WriteLine("Numeros aleatorios") Console.WriteLine("Escriba numero 1") nume.setnumero1(Console.ReadLine) Console.WriteLine("Escriba numero 2") nume.setnumero2(Console.ReadLine) Console.WriteLine("Escriba numero 3") nume.setnumero3(Console.ReadLine) Console.WriteLine("El menor numero es {0}", nume.numeromenor) End Sub End Module [/CODE] this mi class [CODE] Public Class numeros Private numero1, numero2, numero3 … | |
Hey Guys, I am currently making a VB.net version of the Classic Ski Free at the moment. (which is going really well) But I got a issue where I got a panel on the main form (the player movement area) and when I full screen the application obviously the panel … | |
Please I need help urgently in summing up several numbers in a list box using VB.NET. I,ve stayed too long tring to figure it out, but it all proved abortive. Looking forward to a reply soon. ![]() | |
Hi friends, In VB.NET which is most popular visual C#,Visual Basic,Visual J#,Visual C++ Thanking you |
The End.