Answer Questions
RamiHajbi how to sert scrollbars in picturebox in vb?
Hi, how to set scroll bors(HScrollBar asnd VScrollBar) in picture box in vb and one more query is Please help me with code(sample example) as soon as possible. with regards Chinna An easy way to do this is: 1. Create a Form 2. Drag a Panel on into the form 3. Drag a PictureBox into the Panel 4. Change the PictureBox's Dock to Fill 5. Change Panel.AutoScroll to true 6. Change PictureBox.SizeMode to AutoSize That will make th ...Show All
Xeon_boy reading text from a document and displaying it
I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2 ...Show All
MarcvdW What has replaced ---CopyArray--- function is Visual Basic Express Beta 2
Apparently, the new version of Visual Basic Express 2005 Beta 2 has removed the CopyArray Function---What has replaced CopyArray Tell us what did the CopyArray function did and we will try to find a replacement. Dim Arr1 As String () Dim Arr2 As String () ReDim Arr1(1) Arr1(0) = "Hi" Arr1(1) = "There" Arr2 = Arr1.Clone MsgBox(Arr2(0) & " " & Arr2(1)) CopyArray tra ...Show All
Davood Saving Image as jpg with particular size into access database
I want to save image from picture box into access database with size of 400x300, regardless of whatever the original size of picture in the picture box. 1). For example The Picture may be Desk or Chair. Chair size may be 50x75 varias Desk size might be 400x300. The rest area of Chair picture should be saved as transparent or white space into the database. So when we retreive the picture it won't be distorted. Can anyone help me to ...Show All
Timiscool9999 Sql date simple question
Hi there, I want to select the first day of the actual month. i tryed this: select dateadd(mm,-1,getdate()) but it shows me the actual date, less one month not the first day of the amonth. Thans everyone Select Cast(CONVERT(char(10),Getdate()-day(Getdate()-1), 1)as datetime) I'm using it as a query parameter, SELECT Dir.id Id_Pedido,Dir.name2+ ' ' + Di ...Show All
MrBillNJ setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the tot ...Show All
Kieme Ile Add combox in Datagrid 2003???
Dear Team DO you have a simple code for adding a combobox in datagid Thank you very much Are you working with a Datagrid or a DatagridView hi neo Do you have an answer to this problem thank you very much Hi, this is a c# example but classes are the same: http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp look here some vb http://xmlfox.com/VBsa ...Show All
Julio Botelho Visual Basic .NET 2003
I have lost my Prerequisites CD, im wanting to install my Visual Basic .Net 2003 but i cant, it says my system is missing something and says I need to install the Prerequisites. I reformated my computer. I installed : Windows XP SP2 Microsoft Visual J# .Net Redistributable 1.1 Microsoft .NET Framework 1.1 Microsoft .NET Framework 2.0 IIS Server with Front page extentions Windows Installer 3.1 What am i ...Show All
jheike Reading from file errors...
Hi everybody.. This is the problem I have: I have a .txt archive which contains lines for configuring labels, buttons, and other controls of my form. This archive is written in spanish and some letters have an accent. I can read wit no problem the line, but when I assign the value I get (string type) to the text property of the control, the accent letters did not appear at all. Now I tried configuring my regional settings, before I had Eng ...Show All
miles2t17 Use SQL 2000 instead of express
I would like to have webparts, login and other controls use the sql2k instance I have and not express. When I dropped the WebPart Manager on the form it created the express DB. Surprisingly I have not been able to find and documentation on how to configure this Any help would be greatly appreciated. Take a look at this link: http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx ...Show All
Tom J. Read-Only mdf file?
I am writing a VB.NET 2005 program using SQL Express 2005. The application seems to work fine, with a major exception. Changes to the data are reflected in the DB while using the program. However if I end the program and start over, the changes disappear. It seems that it loads a copy of the database into memory and doesn't update the DB file. This is on a laptop running XP MCE 2004, which is supposedly a superset of XP Pro. Thanks. ...Show All
Dien Ba Quang SetPixel() - URGENT!
Hi, I am loading an 8-bpp (bit per pixel) bitmap from a file and trying to set various pixels using the SetPixel method, but no matter what I do (I also tried locking the bits), i get an InvalidOperationException - "SetPixel is not supported for images with indexed pixel formats." After some research i understand that it's not possible to use the SetPixel method in the normal way or possibly not at all for *indexed* bitmaps. If someone ...Show All
Tarun Gujral Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
Andy Henderson Error: namespace and Public declarations
I am a new user of VS 2005 Beta 2, and have a relatively little experience with the indepth parts of Visual Basic. I was transferring my grade twelve computer science project from VB6 to VS2005 when I encountered a problem that said, and I quote, Statement is not valid in a namespace. This error was generated when I typed: Public intCtr As Integer in the General Declarations section of a standard module. Like I said earlier, I have ...Show All
Pete E. form inheritance
I want show the keyboard accelerator keys in all my forms, so I create a base form with that functionality, then I have other forms inherit from this base form, the base form does not have any control on it, when I step through the code, it works, but after removing the break point, it stops working. I have to add a control (such as a button) on the base form and the Visible Property of the control ...Show All
