Answer Questions
CUI WEI AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as desc ...Show All
Maf 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
ErnieBilling Change Font Style
Hi, I am a beginner in VB.Net and want to ask a question. I hope somebidy can help me. I want to change the font style from a text in textbox by checking a checkbox. When checkbox Bold checked, the text in textbox change to Bold. When checkbox Italic checked, the text in textbox change to Italic. Etc, etc..... I have my code here: ---------------- If tbxTeks.Font.Bold Then tbxTeks.Font = New System.Drawing.Font(t ...Show All
CWIUS Listview control.....removes selected item(s)
Listview control.....removes selected item(s) How to remove a selected items or checked items from a listview control in VB.NET Listview1.Items.Remove(lstapplications.SelectedItems(i)) I thought I can do the same as in listbox but did not work. ReneeC wrote: The following works when multiselect is not set: lv1.SelectedItems(0).Remove ...Show All
Aner Ben-Artzi Problem with spacials characters
Hi, This is problem: i have two machines one with xpsp2-english and the other with xpsp2-spanish. When i query data from mysql with specials characters example: N R a e i o u in xpsp2-spanish it display correctly but in the other pc dont. Both computer have the same configuracion in the control panel in: "Regional Options" What i have to change for the my application display the correctly data. Thanks You DooH VB2005 BETA 2 + MYSQL + CONNE ...Show All
prof.gabi Code Ran When Form Is Activated???
I'm trying to make some code run whenever the startup form first appears. It's name is "Form1", and whatever I do, it doesn't seem to work. I tried: Private Sub Me_Activate() 'Do some stuff... End Sub Private Sub Form1_Activate() 'Do some stuff... End Sub and I've tried Private Sub Form_Activate() 'Do some stuff.... End Sub ...Show All
Anddos multiple forms
Lets say i have Form1 as the form that opens up when the .exe is launced. I have another form LoginForm1, how do i make a button that where when you click it on form1 it opens up the LoginForm1 in a seprete window Inside your click handler for the button, create an instance of the form you want to show, and call ShowDialog to show it. Dim f2 as Form2 = new Form2() f2.ShowDialog() thx ...Show All
Lee_1972 How to shutdown, log off and restart a system using VB2005..
Hi, Can anyone explain to me how I can include the commands for shutting down or logging off or restarting a system using VB2005 Any help will be appreciated. Regards, Arun. Thanx a lot Spotty, Now, I have another query for you. What would be the method to login to a system on LAN Thanx again. Arun. http://www.codeproject.com/useritems/Shutdown_Restart_VBN ...Show All
m.zirino Trouble with my buffer.
I have a program that reads a file and sets all the bytes into the buffer, then takes certain bytes from the buffer and places them into certain NumericUpDown controls. But, I cannot figure out how to write the bytes back to the file. I got a function that writes the buffer to the file but the buffer is not updated before writing it back to the file. Say, I change the value of one of the NUD's and click on a Save button. I cannot figure out h ...Show All
Chris Breier Filling StronglyTyped DataSets
This is a Master/Detail kind of application using access and vs2005.Since I had tables that contains large data, I want to implement a selection criteria for a user to load customers' name in a gridview.Because using the Fill() takes too much memory, I want populating the grid done just like in FillBy but instead of toolstrip I want it in a textbox.So I had a textbox(tboxSeachCustomer) and when the user inputed 'A' the grid will show all ...Show All
wkunz Windows Forms Problem
Am I going mad I have a form with a bindingNavigator bar and a bunch of text box controls. It appears that Click events on the bindingNavigator buttons fire before the control that loses focus fires the Leave and LostFocus events Is this behaviour by accident or design or am I doing something wrong The order of events posted is fro entering and leaving the same control... I would suggest moving your code to the validating event. ...Show All
Gdombroski Process.Start isn't accepting my arguments
I have a program that works correctly when I open cmd.exe and use the following argument line: 7za x archive.7z -aoa -r However, when I use the following (in my code) it doesn't work. Process.Start(temp & "7za.exe", 7za x archive.7z -aoa -r) or Process.Start(temp & "7za.exe", x archive.7z -aoa -r) The program (7za.exe) pops up but exits immediately, as if the argument line was incorrect. Any ideas Ray ...Show All
Mike from symbol Monthly Payment Formula
I am trying to find the formula for calculating the munthly payment for a auto loan and a home mortgage. This is what I have for a car loan, but it doesn't give the correct answer; Private Sub btnCalculate_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _ btnCalculate.Click Dim Principal As String Dim intRate As Decimal Dim Months As Integer Dim Pmt ...Show All
Sathish Alagirisamy TextBox array
I am upgrading a program that I wrote in VB6 to VB2005 and am having trouble with textboxes. In the VB6 version, I used an array of textboxes to display and order text on screen according to it's priority. This was done in a module. The VB6 program takes a new message, checks it's priority (assigns the texbox color according to priority) and then adds it into the array according to the textbox color and arrival sequence of both itself and the ...Show All
robbrianius Microsoft Office Document Image
I am trying to perform some pretty simple operations with MODI control. Everything is pretty straightforward with the control but I am running into issues letting go of the reference to the control. The basic concept of the application is that the user opens up a .tif file and views it with the control. Once they get the info they need, they delete the .tif file. This is the problem, I am using the file system object to d ...Show All
