Answer Questions
Kevlar Checking internet connection using My namespace
Hi all, I was under the impression that I could use the My namespace to check for an internet connection, specifically this: If My .Computer.Network.Ping( "www.microsoft.com" ) Then however this is not working. In vb 2003 I was using the WebRequest and HttpWebResponse method to determine if an internet connection is available. I'm trying to use some of the new features of 2005 and hence why I'm trying to use the my namespace for this. ...Show All
Uday94404 setup - custom dialog
I have a setup project that I put a check box dialog before the installation 'progress'. With 2 check boxes that are: Desktop Icon, and Quick Launch Icon. So how do I check if a check box is selected so then I can place an icon-shortcut on the Desktop and/or Quick Launch Here's a walkthrough that does a pretty good job of showing Custom Dialogs and passing data/conditions using them... http://m ...Show All
CommonGenius.com RowFilter DateTime Comparison
I have two DateTime fields in a datatable, Start and End. In the rowfilter I want to filter records on just the date portion of the fields (ie. Start=#7/16/05#), but this statement will never be true just as the time portion of the 'Start' field will be taken into account which will never be 12am. How can I use just the Date portion of the DateTime field in a rowfilter.. Thanks in advance, Mike Paul ...Show All
amdMcBook Need Help Applying Streamreader
Hello. I need a bit of help with an application of streamreader. I'm very familiar with QBasic, but I've only started teaching myself VB a couple months ago. The following is an abreviated version of the text output of another program, which I am trying to read just the highlighted values from (not the semicolons, just the numbers): Are we talking about VB Express / 2005 or an earlier version. As with Express/2005 you have a ...Show All
Geeee Program Execution from desktop
Hi, Im trying to write a program in VB 2005 that can be executed from the desktop/start menu like any other application. My experience with VB is from writing macros in excel so i never had to worry about executing a program outside Excel. Could anyone please tell me how to execute my program via a link in the start menu It would be much appreciated. Cheers Aaron There's nothing special to ...Show All
MazeGen Class Structuring
I have a set of routines and functions I wish to group together under a class. I have spent some time looking around the Internet and have figured out how to set and use a basic class. However, I need to do more than what I have seen and without training or access to books to tell me, I'm stuffed. If somebody could give me the basic structure for the following, I'll hopefuly be able to take a look and expand upon it to cover my need ...Show All
Alex Thaman unable to convert generic types
Can somebody please explain why the following code causes two compile errors It seems to me that the code should be valid (and very useful in my app). Public Class Manager1(Of TSegment As Windows.Forms.Control) End Class Public Class Manager2 Inherits Manager1(Of Windows.Forms.TextBox) End Class Public MustInherit Class Class1 Protected _Manager As Manager1(Of Win ...Show All
bjpohl Finished Program..
I've had a lotta help from members of this MSDN forum, so I have left a link of my site where you may download the final program. It's an Image Conversion Program with the ability to produce Plain Text reports and save user settings to the Registery. It's no quite so advanced as to convert batches, but the interface is clean, and there are minimal annoyances. Please follow this link to download Image Converter (there is an optional Help document ...Show All
nater1111 stop watch using vb.net 2005
how can i create a stop watch using vb.net 2005 i am performing a data extraction job using windows forms and want to display time elapsed on the form. how can i do it Thanks Dear Lot i suggest to use a Timer control from the toolbox and display it on a label to the user Using Application.DoEvents doesn't help. Are you sure you have the Enabled property and the Interval properties o ...Show All
Robert Kihm PageSettings.PaperSize.Kind
PageSettings.PaperSize.Kind Yeah! haha i was not so far from the truth. I figured out based on that PrintDocument1.DefaultPageSettings.PaperSize = New System.Drawing.Printing.PaperSize(PaperSizeName, PageWidth, PageHeight) And it worked just fine, thank you very much Pardon me What is your question exactly Thanks, Aaron This poor guy's question is: How to change the size of the p ...Show All
Quintin Willison How do you logoff from a button
How would you tell the computer to logoff the current user from the click of a button These should be changed to integers to vs2005 Private Declare Function ExitWindowsEx Lib "user32" ( _ ByVal uFlags As Integer , _ ByVal dwReserved As Integer _ ) As Integer There are lots of ways to do this and those flags which are not included here interact in some surpising ways. You need ca ...Show All
k_samsonov ADO/Access Questions
I've had a moderate amount of of experience with access databases in vb6. We'd declare a file system object and from that declare a workspace and from that a record set descriptor. One could picture and understand what was happening. VS2005 is different though. You could create and delete tables and define them dynamically. VS2005 seems to be different. It seems that things are done up front in the IDE Almost as if the relatio ...Show All
LTaylor Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- ...Show All
EddieBear 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
Jagdeep Sihota register ocx files
Hi, I try to register some ocx files and get the message "Loading in memory of library (filename.ocx) has failed. Illegal access to memory location." I checked the dependencies and they are all OK. What can be the cause of this error Thanks in advance. Jan If you are proficient with using the debugger can you do the following in Visual Studio 2005: From Main Menu select File->Open Projec ...Show All
