I am trying to connect to a Microsoft SQL server database using PHP 5.6 and am getting the error "could not find driver". I am initially attempting to use PDO but I could use the procedural version if necessary. I have downloaded the SQL server PHP driver and placed it in the ext folder in my PHP installation. I have also specified the extension in php.ini. My web server is IIS 7. My platform is Windows 7 Professional (the same box for both the database and the web servers). PHP is executed correctly by IIS. I think I must be …

Member Avatar
Member Avatar
+0 forum 2

Hello. I have a listbox that I would like to display and I would like to set a default selected item, which I will not be able to determine until run-time. Is it possible to set a default item in the program code? I have looked at the Index property but that appears to be a read-only property.

Member Avatar
Member Avatar
+0 forum 1

Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of starting from column 1 to begin with, or do I just have to delete the first two columns and start again? This is (pretty much) my column definition loop For Each Col In RsDivisions.Fields Set c = DataGridDiv.Columns.Add(DataGridDiv.Columns.Count) With c .Visible = True .Width = 1000 .Caption = Col.Name .Alignment …

Member Avatar
Member Avatar
+0 forum 4

I have a VB.NET application that has a site.master with a navigation menu in landscape format. In my default.aspx I have a multiview component. When I select the second view in my multiview the navigation menu momentarily changes to portrait format and then back to landscape format. Ideally, I would like my navigation menu to remain in landscape orientation, or even supress the refresh of the site.master page. I don't know what is causing the component to perform the orientation change at run time so if any one knows what could be causing this, I would appreciate a reply.

Member Avatar
Member Avatar
+0 forum 2

Hi. I've been trying to populate a <select> option list in HTML by querying a Microsoft SQL Server database. For some reason I can not do this by mixing the scripting code (VBscript) with HTML. If I place the query between the <select> and </select> tags it does not run as expected. But I can place (almost) the same code in a file with an ASP extension and it will list the data correctly. The only way I can see to do it is to write the whole web page/form in vbscript but that means converting " to chr(34) and …

Member Avatar
+0 forum 0

I have a configuration/tweak issue that I don't know how to resolve. for the last week or so, whenever I use right-click on SOME of my desktop icons the context menu that appears seems to be double the normal width, showing the icon on the far left, then a gap, and then the accompanying text on the far right. I suspect this may have started when I installed some software but I can't remember which software I have installed that could possibly have done this. I have tried referring to a book called "Windows XP inside out" but it doesn't …

Member Avatar
Member Avatar
+0 forum 2

Hi. I have a problem when I try to scan from any of the applications on my computer. When I try to scan it always fails and I may or may not get a message from the host application. In Paint Shop Pro 7 for example I get the message "The server threw an exception". I can click on OK to cancel the message but then I am unable to end the TWAIN session normally, using Paint Shop Pro. If I try to close Paint Shop Pro I get the following message:; "A TWAIN acquire session is currently running. It …

Member Avatar
+0 forum 0

The End.