Answer Questions
berandor loopinh and string problem
I have a problem loading my data to my database. I am using mysql. I noticed the problem when i executed my code and it kept giving me a "Argument 'Prompt' cannot be converted to type 'String'" error. But when i checked the db it had some the information in there it would not have the last 3 or 4 data entries in the db. I went back to check the string that was providing the command and I saw that the program was running most of the com ...Show All
Jon13 MySQL and VB2k5
It doesn't seem that vb2k5 have any support for MySQL. So I downloaded .net connector for MySQL, but I don't think I can use the wizards and visual tools that you could for other db's like MSSQL (of course), oracle, etc. Is there a way to use the visual tools for db's with MySQL Dat Well I must say that MS is good at "forcing" you to use their products, lol. And I do frequent vbmysql.com, very useful. TY guys http ...Show All
briandra3 Crystal Reports Paper Source
I need to specify which paper tray will be used for a report but I keep hitting dead ends. I started out using code like this: ReportDocument.PrintOptions.PaperSource = CrystalDecisions.[Shared].PaperSource.Lower I tryed every option in the enumeration and it always pulled from the upper tray. I searched the web and found a number of people said "PaperSource" doesn't work, use "CustomPaperSource" instead. I tried it, bu ...Show All
LM321 Load Gif on Key Press up
How do I load a gif I want to load from specific gif on my computer... I have an empty picture box and I want a transperant Gif to load (and play) when i press key up. I also want to know how to move a picture with key up, my background picture down 1 pixel. when i press and hold key up. Easy stuff but i don't have the knowledge I have a IDE installed again. Here's a sample code. Although, i just noticed that th ...Show All
Slimjim100 Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael Michael, I've had the same problem as you. Fortunately I managed to sort it out. The steps: 1. Set up your ODBC DSN in: Control Panel -> Administrative Tools -> Data Sources (Use the MySQL ...Show All
Mauro Sagripanti Image list stopping a form being loaded
Hi I have just started a project using the explorer form template as my main form. This template has an imagelist for the treeview I have just added an imagelist for the Listview but if i add any images to it My form wont load and i get an unhandled error exception with the error as "index out of range" ! aaaa This is before i tie the listview to any control! as an experiment i tried adding another image to the treeview imagelist and got the sam ...Show All
g0mZY TextBox BackColor change OnFocus and LostFocus
Hello, Is it possible to extend the TextBox class to include an event where the TextBox changes it's background color on focus and returns it to the default on lost focus Kind regards, Hello, Thanks. 1. Please review this code. Is this the 'best" option The code included here (although it maybe not what you did suggest) works: it changes any TextBox's backcolor when the TextBox get focus (Enter) a ...Show All
Andrej Ruckij TcpListener Object
I am writing an application that uses the TcpListener object from the System.Net.Sockets namespace and had no trouble in .NET 1.1, but am getting a message now complaining that my constructor has been depreciated. Here's a code snippet: Try m_Listener = New TcpListener(5000) &nb ...Show All
NEC MultiSync90GX2 NT Windows Authorization
I have a vb.net 2003 application that runs on client computers and talks to a database over the network. I would like for my client application to capture the Windows Authorization of the machine on which it is running. Can I see a code snippet. Fred H It does until after the proxy server. 1.)Are you saying that A wants assurances of protection from your software accessing any of their software Furthermore Are you s ...Show All
shfoggy Escaping " in a string
How do I escape a " character in a string. I am used to "this is a \"string\" with 3 \" characters in it" but that doesn't seem to work and I cannot find any reference to doing this. VB.Net 2003 Thanks Ken if you just want to display a sting you can use string = "this is a " & chrw(34) & " String " & chrw(34) & " with 3 " & ...Show All
Peter S Synchronize settings button isn't working
Using VS2005 version 8.0.50727.42 RTM, I am experimenting with application settings to add some persistance to a VB windows app. Changing the scope of a setting from User to Application leads to a Configuration system failed to initialize exception at run time. I eventually realized that the Synchronize button on the Settings tab isn't working. It always gives me a dialog No user.config files were found in any of the following locations: [OK] ...Show All
DMTUC10 OO Pattern for batch processing
I am on this project that will necessarily have to do a batch processing of some transactions. Are there any design patterns that you are aware of regarding batch process implementations in an object oriented fashion. The features required are: => Paralled processing of mutually exclusive calculations => A multi-step process wherein after all the parallel calculations in step1 is done then run all parallel calculations in step2. I a ...Show All
Christopher Bermingham Visual Basic 6 Reload
Hello World !! La Cuestion es que creo Firmemente que Visual Basic 6 es MUY superior al VBasic NET, ademas Pregunto: 1. Que se Puede Hacer con NET, que no se pueda en VB6 2. Que sera el Futuro de los OCX 3. Que seran de la Bellas Apis 4. Vale la pena el Cambio Realmente soy de los que cree que es mas facil programar en Visual C++ que en NET, o que NET se parece mas a Delphi que a Visual. Parece que la Filosofia de Una Pr ...Show All
er1067 add Data connection in VS server explorer
hi everyone, I'm new to .net programming and to VisualStudio. I installed VisualStudio 2005 Beta 2 and SQL server Express on my PC and created Pubs database for my exercise using a script downloaded from MSDN site. Then I tried to add a new Data connection in VS Server Explorer. choose SQL server as my Data source and enter {machine-name}\SQLEXPRESS as my server name and tried to testConnection. I got an alert -"timeout expired ......server ...Show All
greenie Address Of just got funkier!
I hate to continue the bashing of the addresof but here's the problem i'm facing. 'any function that takes a type as a parameter and returns the same type delegate function Funk(of TBoth)(byval param as TBoth) as TBoth 'a function that satisfies the above signature (takes and returns an integer) function AddFive(byval param as Integer) as Integer return param + 5 end function 'a function that takes a value and a function as parameter ...Show All
