Answer Questions
ETUX Writing to a text file
I am trying to write text to a disk file. I dimensioned a variable, sr, as StreamWriter and used the line sr.WriteLine(strPage) to write the text to the file but all it does is open an empty file and does not write the text to the file. I know there is something in strPage because I also write it to a textbox on my form. Can someone please help Don Dim tempFile As String = My .Computer.FileSystem.G ...Show All
RODOLFO GARCIA CAYUELA Printing a form
After following the code found here to print a Windows Form I now have this Dim memoryImage As Bitmap Private Sub CaptureScreen() Dim myGraphics As Graphics = Me .CreateGraphics() Dim s As Size = Me .Size memoryImage = New Bitmap(s.Width, s.Height, myGraphics) Dim memoryGraphics As Graphics = Graphics.FromImage(memoryImage) memoryGraphics.CopyFromScreen( Me .Location.X, Me .Location.Y, 0, 0, s) End ...Show All
Peterpan24803 Express Version limitations
Can someone point me to a more detailed comparison between the Express and Standard versions of VB I'm looking for a little more detail than the grid at: http://msdn.microsoft.com/vstudio/products/compare/ In particular, I'm looking for limitations, such as remote data access, etc. Thanks, Scott A couple of other limitations in VB Express Edition: There is no Source Control Inte ...Show All
theflu Visual C++ Express Beta 2 & ODBC
Hi I am wanting to use an ODBC connection to play with. The connection exists and works as I can suck data into Excel using it. My suspicion is that the ODBC stuff in Beta 2 is incomplete... I have a very simple working application - nothing more than a form, an empty treeview (which is what I want to populate!) and an 'Exit' button. I have added these lines: using namespace System::Data; using namespace System::Data::Odbc ...Show All
RunerBill Extracting and installing of IMG-Files
Hello! I want to know if it is possible to extract the IMG-Files with IsoBuster and than to copy all the files on a DVD I only ask because i can extract the image files and install it from the hdd but i don't know if i can copy the files on the DVD in the folder for example VisualCSharp and install it from there. Another question: I read in the web that visual C++ don't have an IDE. You have to install the IDE separatly. Is that right or doe ...Show All
Stormblade Inserting Images in the Sql Express database
I would like to insert images that I have stored on my hard drive into a sql server database using my vwd express. I have created a table but cannot figure out how to insert (convert) the image (.jpg or bmp formatted) file into the recommended varbinary(max) column. Any sql sample code available Thanks Hi, If you want to look at the example mentioned above, you need to install VB Express Edit ...Show All
cjbonelli VB Express registration
Hi guys, I have a pair of question about registering my copy of VB Express. Do I have to register each time I re-install the application (e.g. in case of formatting my hard drive) Can I install VB Express on more than one machine and register it more times (I've downloaded the free edition). I've read on MSDN web site that probably in december localized versions will be released, so, in my situation, also the Italian version. Do I have to regist ...Show All
James 39b Problems Connecting To An Access Database
Hello All, I am having some problems connecting to an Access Database and I have NO idea what could be wrong with my connection string. Would someone be kind enough to explain what is going on here please The database is an Access 2003 Database saved in Access 2000 format. I am using the connection builder to help format my connection string correctly. It is a secure database using an MDW file called Accounting.mdw. I can log on to the datab ...Show All
Deffiant How To Loop On Rows From A Database Table
I want to loop on the rows from a database table, but I can't work out how to do it. So far, the code I have is: Dim sConnectionString As String _ = "User ID=myname;Password=myPassword;Initial Catalog=mydatabase;Data Source=123.22.44.35,1433" Dim objConn As New SqlConnection(sConnectionString) objConn.Open() Dim sSQL As String = "SELECT * FROM manufacturer_list" Dim objCmd As New ...Show All
Jim Kat DataColumn.Expression to calc Date difference
Hello, I have two DateTime columns in a table, and I want to calculate the day difference between the two, and display it in another column. I add a DataColumn in Dataset, and write an equation in Expression property as below: Convert(RequiredDate,'System.Double')-Convert(OrderDate,'System.Double') But it does not work, I have also searched help in MSDN: http://msdn2.microsoft.com/en-us/library/system.data.datacolumn.expression(VS ...Show All
Fabio Pintos Distributing Applications
Can somebody please tell me where I can find info on distributing the applications I create with VB.NET 2005 Express I have looked around and a lot of sites say that there isn't a facility to do this but I have got the "Publish" button. I need a complete guide so that everything works - did a little test and sent the setup.exe to a friend but he couldn't use it. Brought up an error. Can somebody help Thanks in advance, VB Express s ...Show All
Mike Turner - MSFT long interval between StreamReader/StreamWriter processes
Hello, in my program I am using StreamReaders and StreamWriters, and they work, but if I use the StreamReader or StreamWriter process, it takes long before I can use them again, so now my question is: can I make the process-intervals(sorry if this name doesn't exist) shorter Or should I use an other way to read and write files, and who can be used in faster time-intervals Grtz, Tom. @ Mike: That's just the problem, I don't know how it ...Show All
VlCi Indigo and Avalon; But VBExpress Beta2?
Should I fallow the same instructions found here: http://lab.msdn.microsoft.com/vs2005/uninstall/ Before installing WinFx (avalon and indigo)... -will, Anyways I've uninstalled everything and installed in this order which I think I found out was wrong: 1. Installed the 'winfxsetup.exe' (which installed the 2.0 frame-work) 2. Installed Visual Basic 2005 Express 3. Did not see any of the 'Temp ...Show All
Julesy microsoft.visualbasic.compatibility 8.0.0.0. ????
I tried to install a small test app, created in VB Express, on three machines. On one machine the app installed and runs perfectly. The two other machines (one XP Home, one XP Pro) refused to install the app, saying "the system should be updated to microsoft.visualbasic.compatibility version 8.0.0.0.". Can't find anything about this "update". The framework 2.0 Beta was installed automatically prior to this error dialog box. How can I solve this ...Show All
oldrocketdog Visual Basic 2005 Express Edition Database Explorer does not show updates to database.
I am running Visual Basic 2005 Express Edition with SQL Server 2005 Express Edition. The project I am working on has the feature which copies the Database into the Bin folder turned off. I manually copied the database into this folder some time ago. This has not been a source of problem/s for me. My application is working. I determined this by steping through the code and examining the appropriate variables. I change a table column. I t ...Show All
