Answer Questions
MartinMalek Will system written in VB.Net 2003 work with SQL 2005?
Hi all, I have got a system written in VB.net 2003 and back end is SQL Server 2000. I am about to upgrade to VS 2005 and SQL Server 2005 and i wanted to know whether my existing system will work with SQL 2005 and will SQL 2005 recognise SQL 2000 database Has anyone been in this kind of situation or how do i handle this transaction with minimum disruption. Regards Mits I have mig ...Show All
Marc A1 Can you do algibra in Visual Basic?
I'm writing a program that trianglulates the loction of a point based on the distance from 3 other points. The program's code is fine except I get a stupid "end of statement expected" error message. Could you please help me fix the error Here's the code: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim out_put As Double ...Show All
Ollie Riches Listview Flicker question
I am updating the contents of a listview control quite rapidly and the control was flicker. So I created a new class that inherited from the listview class: Public Class OptimizedListView Inherits System.Windows.Forms.ListView Public Sub New () MyBase .SetStyle(ControlStyles.OptimizedDoubleBuffer, True ) End Sub End Class ...Show All
Roger Williamson getting HTML from a website
Hi guys, I'm making a project that requires getting the HTML source from a website. I'm not at all sure about how to go about doing this. Any help would be greatly appreciated! Thank you so much in advance! -Robert I'll roll express Put your email address in your profile... I will email you. OK, Robert. I'm with you. Let's take it from the top. What version of VB are you using And do you want the raw source... ...Show All
xfiles Compare two text files
Thanks for taking the time to read this. My problem is below. I have two directories with music in them. one on my C: the other on a removable drive. I use dir > list.txt to output a list of the contents of both folders. I want to build a program that will compare the two text files and show me what is in the C: and not in the H: i have the GUI developed and some basic code, however, i am undersure how to do the actual comparision. Any help w ...Show All
Chris Mann Function/Sub name
Is it possible to get the function or sub routine name inside of a function sub routine Would like to include as part of error handling and logging. Thanks Mark Brennan You can use Environment.StackTrace, but you have to parse the string yourself to get just the method name. This probably uses reflection to read the method names from meta-data, so it could be an expensive call - be aware of that whe ...Show All
shyam sunder Need Help with WebService
OK I give up..... I'm working in visual studio 2003 (VB) I'm trying to put something together to answer querys from a hardware device. The hardware can call a url and add a variable string IE: http://someserver/webservice mystringvariant Problem is a webservice doesn't like this format. But an aspx page doesn't respond with pure XML ergo it doesn't fly with the hardware. Neither does the webservice.amsx page for that mater... Note: page ...Show All
dlgreene PC Clock
Whats the best way to call and display the system clock as a string e.g. "Twenty Past Four" I basically want to take the variable from the system clock, and use that in my application to display the time, but in alpha-numeric characters which would be everyday phrases like: "Five minutes past six" "Half past three" etc... So if someone could show me how to call the system clock into my application, and then convert that into the a ...Show All
SpringTime Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Here, let me simplify this: I want PictureBox1 (the panda picture with the pink background) to have the pink in it invisible or transparent or whatever you call it. PLEASE HELP ME! Here's some code to show what I'm saying... Dim TempBitmap As Bitmap TempBitmap = Bitmap.FromFile(" ...Show All
Federico Alves VB 2005 Express Edition toolbox icons
I wasn't sure whether to post this here or in the VB Express forum, so sorry if I picked the wrong place. Anyway.. does anyone know where I can find the icons that are used in the toolbox in this IDE By the way.. I'm working on a form designer for a scripting language I use. I plan on using the icons to fancy the GUI up a bit. This is a personal project and will not b ...Show All
Thorben Problem with API MessageBoxEx under VB6
Hello, I try to use the API MessageBoxEx with VB6 because I would like to display a Message box with the "Push Button Yes No" in English but after many trials the "Push Button" are still in French. I'm a French Software developper and I program a software for a SouthAfrican Company. Find Enclosed the VB Code: Const MB_OKCANCEL As Long = &H1 Const LANG_ENGLISH As Long = &H9 Const SUBLANG_ENGLISH_US As Long = & ...Show All
borix69 Excel 2003 Row Limit?
Title says it all. Thanks. Hi, The Row Limit in Excel 2003 is 65,536. Regards, Vikram ...Show All
doncmorris Video from streem of images
Please help. How can I create video from streem of images and save it Here is an article that shows how to create and edit avi files. Sorry I only know where there is a c# version of the code. http://www.codeproject.com/cs/media/avifilewrapper.asp Thanks. But I need for Visual Basic .NET 2005. ...Show All
Sudipta Banerjee Exception handling doesn't catch errors
I seem to be missing a fundamental point regarding exception handling. My understanding is that when an error occurs, it can be caught by Catch without abnormally terminating the program. Mine will always abnormally terminate when an error occurs. An example is below. When the connection fails to open, the application breaks instead of executing the Catch block. Why Try cnSQL.Open() xMainMenu.ShowDialog() Me .Close() cnSQL.Clos ...Show All
Noxious VB in access
Hi, I'm a beginner in vb I have done following in access : i created a form with several (invisible) buttons and 4 choice buttons which are linked so far so good each button goes and retrieves a value within a list of types so far so good Now I need : 1) to make the corresponding buttons visible. I made a for next but it seems to go wrong with the buttonnames (buttonname.visible = true) 2)to make the text to the correspon ...Show All
