Answer Questions
enablerbr Cant' get click event to occur in TabControl TabPage
I created a Smart Device project in VB 2005. I added a TabControl with 5 TabPages on it. I added various controls in the tab page, but I need to get some code to work and have to test it. I installed a click event on the tab, but it doesn't work since a breakpoint on the code inside the event doesn't catch the click. I've tryed other events as well, but none of them are working either. Can anyone give me an idea as to why this isn't ...Show All
biloxibeachboy My.Computer not available in windows services
Hello there. I am using the standard version of vs2005. Want to buid a service for the first time, and there is no template with this version. So I started from a blank project, and followed the "HOWTO : Write Services Programmatically" instructions. It works fine when I ask the service to write a log file with the old fashioned methods. Then I read that the My.Computer methods would be much smarter and more efficient, but ...Show All
Sergio Sevilla FIleOpen Dialog - fileopendialog.showdialog() - Change default view from List to Details
In my app a user can mouse to File Menu - Open. The fileopendialog.showdialog() has default view of ListView. The user is alway going to have to sort the file list by Date in descending order in order to open the most recent file stored in the network location. How can I make the FileOpenDialog display in Detail View by default and not List View. Thanks, MIke Code Sample dlgOpenFile.InitialDirectory = sDefaultDir dlgOpenFile.F ...Show All
fsa What is the closest date.
Hi, I want to build a function, that takes a list of dates (DateTime Format), in a CheckedListBox, and to see which of them is the closest date and is IN THE FUTURE. How can I do that Thank you very much, Ofir. Just as an example...you will have to ensure that your list items are properly formatted but any ways... [Code] Private Function GetClosestDateTime ...Show All
Pablo Braga How do make progress bar work on the working interface?
Hi, I am programming two interfaces for a Windows application: interface1 is the main interface, and there is a button on it. When I click the button on the interface1, the interface2 should be shown. But it will take long time to display the interface2 (the working interface), since the interface2 is doing many computings. I would like to set a progress bar so that the interface2 can display immediately after I click the button on the interf ...Show All
TrevNet Trouble reading bits.
I am trying to read a byte from a certain address in a file. But, I am trying to read the byte in bit format (bits 0-7). I have tried to use the BitConverter and the BitArray classes but I cannot figure it out. I am pretty sure that BitArray is the one I need but there are no methods that look like they would do anything I want. Maybe I am just missing it. I checked the help section but the examples there were not what I am trying to do. Any ...Show All
mgbee110 missing components menu!
Hi there, Please can someone help me. Im at the end of my wits with this!! yesterday, by accided, I pressed the x button to close the component menu which appears on the left hand side of the Microsoft Visual Studio IDE for VB 6.0. Well, I think its called the component menu - it has all the different objects you can place on your forms, like buttons and labels etc. No matter what I do I just can manage to get it back now, and I desperately nee ...Show All
Juan Gabardini ASP.Net Calendar
I want to use a calendar in my asp.net web application.But even if I don't select it is showing Calendar1.selecteddate.ToShortDateTimeString() as {1/1/1}. How can I track whether a caledar date selected or not. &nbs ...Show All
Paul J.M. Settels Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
cloudycity Opening .NET 1.1 project in VS 2005
Hi I need to open a project developed using VS2003, .NET1.1 in VS2005. I want to maintain it in .NET 1.1 and don't want to convert the soln to 2.0 since my production environment doesnot have 2.0 yet. how do i do this. Once a projct is converted, there's no going back: you either work it in 2003 or 2005. But there is a difference between 'development' and 'production' (or deployment). Are you saying your de ...Show All
jerry born Issue Setting Bookmark Background Color
I tried to edit the background color for Bookmarks thru Tools-Options-Environment-Fonts & Colors-Item Background with no success. Bookmarks should have a light blue background color by default which of course doesn't work either. I edited the background color for Breakpoints as a test and it worked just fine. Am I doing something wrong here or is this a bug in VB 2005 Professional Can anyone confirm ...Show All
mattheo SQL and Access combined insert
I'm wondering if there is a way to write an SQL statement within VB that can use an SQL table, and MS Access. What we need to do is select certain information from our ERP system (SQL DB), into an Access database, for further manipulation. I know within access you can combine Local access tables, and linked SQL tables and do queries, but I'm not sure how to do this in VB. For example Select * from SQL table Into MSAccess table Thank ...Show All
WoZoI SAPI 5.1 issues
sapi 5.1 is great, I've gotten it to talk to me now using this code: Dim Voice As SpeechLib.SpVoice Voice = New SpeechLib.SpVoice Voice.Speak( "hello world" ) only problem is, when i run this code, it freezes the entire app's movement until the text has been spoken...is there anyway to stop that from happening I have a video preview box open and it stops it dead. thanks! Hello, I tested t ...Show All
The Elk Mechanic 2005 .Net Nightmare
As a visB programmer who has been happily coding very successful applications for many years, I have been shocked at the verbose incomprehensibility of the .net framework. Where is the wonderful Basic language that has served so well for so long Is there a way to disable all the garbage in VisB 2005 in order to just write simple single thread applications in the Visual Basic language I have been unable to get even the simplest microsoft SDK exa ...Show All
Rugby Joe Common Language Runtime detected an invalid program
Alright... Now I have made some research and I found out that this exception can be thrown by invalid IL or by too many controls on a page. But since I have not more than 30 controls in my page that throws this exception it must be the IL. I have also run the PEVerify.exe on the assembly Here's the output: [MD]: Error: MethodImpl's Decl and Body method signatures do not match. [token: 0x0000017D] [MD]: Error: MethodImpl's Decl and Body method si ...Show All
