Answer Questions
Sorean How can I put a delay in between code strings?
Have an OLE wave file that I want to allow to finish playing before the system executes the next line fo code. I've tried "System.Threading.Thread.Sleep" and it doesn't work. Here's the section of code. oleChevronLock.DoVerb______________I want the delay here imgGate.Picture = img1Engaged.Picture Quick responce appreciated. oleChevronLock.DoVerb DoEvents() imgGate.Picture = ...Show All
Jackson Davis - MSFT a simple I/O Question
Please provide me with a sample on how to read the content of a word document ".doc". i can read any textfile ".txt" using the "streamreader" for example, but when i try to read a .doc it gives me nonreadable output. regards, You are correct in that microsoft didn't include a simple word reader with Visual Basic. There are a number of formats word can write to - some are si ...Show All
RameshPa Using TabPage and binding data
I had a tab wherein there are two tabpages(tabList,tabEditList)...On the tabList there is a datagridview(dgvPatients) which displays all data of a certain coulumn(Name)..The table("PATIENT") where Name is a member had other columns(ID,LastName,FirstName...etc) I make this other columns hidden in the dgvPatients as what i only like to show here are the names...What i really trying to do is, all of other details of such certain name would be ...Show All
Andreas Sieber URGEN~!! I cannot save data in vb.net
Hi guys, I'm a new vb.net user and trying to add year with the numericUpDown. I used the same coding in other forms, it works. Only this form can't work. The error is pointing to syntax error in INSERT INTO statement. Can anyone help me sql = "INSERT INTO Year VALUES " & "('" & YOB.Value & "'," & "')" Dim cmd As New OleDbCommand(sql, con) ...Show All
Sudhir How to download file with vb 6.0
hi i am getting a problem in downloading file from the internat in visual basic 6.0. e.g. i want to download file from www.sitename.com/file.pdf site where sitename is the name of the site and file.pdf if the file which i want to download . If anyone have idea so please help me.Its urgent Thanks. You are welcome! Thanks for participating on the MSDN Forum. Please mark the best answers as reply a ...Show All
TulioBourbon Graphics.DrawString Text with multi-line
Hello everyone, I have a textbox with multiple lines. I can draw a string from a textbox only if the text is in single line. Can you help me find a way how to draw if the textbox has a value of multiple lines Thanks in advance. Michael Hi all, Please disregard this question. I already solved my problem. I split the text to string array and loop to it then draw each word from loop using drawstring method. Thanx, ...Show All
Nash Alexx Create a Progress Bar which follows the file's length copying
Hi to all, I'm a french developper from south west coast in France. And I 'm creating a progress bar while copying a big file. I'd like to manage the progress bar while the file is being copy, and set it with the current length. I tried to do it with a thread but I don't succeed. And the threads in a form are very annoying, cos it can't use global declaration and get arguments in the thread function. I'm using msdn and visual studio 2005, and t ...Show All
M.A.D Second time I run a process I can't capture output, even though process runs
I am trying to run an external program via a process. I need to start the process several times and capture the output each time. However, VB.NET will only capture the output of the first run even though the process does actually run the second time. The process is started by the button handler Button1_click() which calls the process initialization function InitComp() then runFemtoI2C() which starts the process. I am capturing the output asynch ...Show All
Sincerus Adding Timestamp to RichTextBox
how do i go about doing so all im looking for is the time "HH:MM AM/PM" Look at the properties of DateTime.Now and you will see that you can get hours, seconds, minutes or month or hwatever individually. You just have to glue the parts you want together. Could you be more specific. I really don't know what you would like to do. hi, addin time stamp u can do like this: Dim time As Date = System.DateTime.Now ...Show All
Stefano_Azzi Trying to use upgrade wizard in VS 2005 beta 2
I have a VB 6.0 project I'm planning on moving to VS2005. I thought I could just open it in VS 2005 and the upgrade wizard would do something for me, but all I see is the text of the .vbp file. How do I get the wizard to work Thanks The Open Project dialog doesn't allow you to select VBP files. Turns out I hadn't installed the relevant component. ...Show All
Jeff Pettiross - MS Clickonce deployment - An attempt to attach an auto-named database failed
Hi, I have an application which I wish to deploy using clickonce from a web server to a number of client machines using VS 2005 Beta 2. The application requires an SQL Server Express instance on client machines to manipulate user data. When I publish my application to an apache web server the client machine is able to install the application with no problems. However whenever the application is loaded on the client machine I ...Show All
Bill Allen unable to cast COM object error
Hello, I am having a strange problem that I can't seem to figure out. I am using visual studio 2005, visual basic, .net 2.0. In my application I am using the Microsoft Internet Controls COM object to automate an Internet Explorer instance. The whole application runs fine in debug and release on my development WindowsXP machine. When I publish the project to Windows Server 2003 to run as a release, I receive the following error. I was read ...Show All
Philippe Caron log on parameters error 20536 - common problem but whats the solution?
I have found lots of posts on the web citing this problem but none of them have solutions, please could someone shed some light on this and help me find a solution otherwise my applicvation will lose a lot of the functionality I have planned I have produced a program in VB5 and I have designed a report in crystal reports (4.6). I want to click a button on a form in the program and view the report in a view window not in the CR4.6 editor. I ...Show All
mhweiss [OTP] vb6 ADO error message "rowset does not support fetching backward"
hello there, i am trying to move to the last record using recordset object but i am receiving the following error message: "rowset does not support fetching backward" and this the code: Private Sub Form_Load() Dim con As ADODB.Connection Dim rs As ADODB.Recordset Set con = New ADODB.Connection con.Connecti ...Show All
selotz Btn nothing Event
I have a WForm with a button, this button pulls up a word document when a letter is chosen...great......now if a letter is not chosen and i click extract i get an unhandled exception error...any ideas on how i can solve this...so that when a letter is not chosen and i click extract a message box will come up and say no letter chosen....... 'Creating Varibles for Word Application Dim wordApp As Word.Application Dim wordDoc A ...Show All
