• Member Avatar for Minimalist
    Minimalist

    Began Watching how to make Installation Package of VB6 Project For Windows 8

    Hello and Asslam o alekom! I have problem to install my VB6 Application on Windows 8.First there is erorr when i start to install my Application.Please solve this problem?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in how to make Installation Package of VB6 Project For Windows 8

    Please check out this link: [Click Here](http://msdn.microsoft.com/nb-no/vbrun/ms788708(en-us).aspx)
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Partial word match in textbox

    I think I just thought of better waydoing what you want. May be before each search clear the listbox and than do the new search so you only have the …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Partial word match in textbox

    O.K. take it step by step: after you highlight all the matching words in your program you delete the not highlighted words. The following code is just highly guessing. Dim …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching slider control

    i have been working with vb6 but does anyone know how to make a vertical slider(not scroll bar)
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in slider control

    Assuming you have loaded doem the common control pack from Microsoft, you add the slider to your form, you go to the slide controls properties and change the orientation. Otherwise …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Partial word match in textbox

    Where do you want the words disappear? Listbox? Textbox?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to backup a MySQL database in VB6?

    Hello there.. I want to backup my database (MySQL) using a command button in VB6...How can I do that? thank you for answering... :)
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to backup a MySQL database in VB6?

    FileSystemObject.CopyFile "c:\mydocuments\letters\ *.doc", "c:\tempfolder\" [Click Here](http://www.http://msdn.microsoft.com/en-us/library/aa265015(v=vs.60).aspx)
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Application Exception

    Module throtemp Public Class TempIsZeroException : Inherits ApplicationException Public Sub New(ByVal msg As String) MyBase.New(msg) End Sub End Class Public Class temp Dim tmp As Integer = 1 Sub showtmp() …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Application Exception

    The OP's code comes directly from here: http://www.tutorialspoint.com/vb.net/vb.net_exception_handling.htm where also is clearly stated: an exception is a problem that arises during the execution of a program. An exception is a …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Input past end of file Error, somebody help!

    My program worked fine untill i changed it, cause i wanted to be able to see recently opened files in menu bar, after i finished it shows this error: Input …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Input past end of file Error, somebody help!

    You have at the beginning: Dim RFile(3) As String which is an array that should hold 3 elements. But You are trying to put 4 elements in: For I = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in textbox

    O.K. here we go for vb6 Private Sub Form_Load() Text1 = "" End Sub Private Sub Text1_KeyPress(KeyAscii As Integer) If Not IsNumeric(Text1.Text & Chr(KeyAscii)) And Not KeyAscii = 8 Then …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching textbox

    help on textbox to accept numbers only ...thanks
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in textbox

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click Dim str As String = Trim(TextBox1.Text) If Not Regex.Match(str, "^[0-9]*$", RegexOptions.IgnoreCase).Success Then MsgBox("Please enter Numbers text only.") Else MsgBox("O.K") End …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching reads all lines in text file and be able to edit many lines etc

    Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim ofd As New OpenFileDialog Dim strFile As String With ofd .Title = "Select a List" .Filter …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in reads all lines in text file and be able to edit many lines etc

    This will probably work: Dim strFile, strData As String Dim ln As Integer Dim Reader As New System.IO.StreamReader(strFile) Do strData = Reader.ReadLine() ln = strData.Length If Mid(strData, 1, 1) = …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Matching The Value Of User Input To Picturebox Value In An Array

    *Program is attached as well, due to there being pictures of the ships that are required to get the full experience of the program* I am recreating battleship in Visual …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Matching The Value Of User Input To Picturebox Value In An Array

    Once a picture is placed in the picture box it has no memory where it came from or what its name is. What you can do is using the tag …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Visual Basic : Data type mismatch in criteria expression.

    When dimensioning your variables put all the database stuff you need into the event where you need it.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching VB2010 - my 1st Data Base

    i'm building a data base.. heres what i did: 1 - create the forms and put the controls; 2 - create the Service-base DataBase(add New Item); 3 - a toolbox, …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in VB2010 - my 1st Data Base

    I think the Dim statements in the module don't work like this. You need to dim the databse stuff in the event where you are using them. Also put your …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Visual Basic : Data type mismatch in criteria expression.

    Hello, I was trying to view all the data from a single from a database after the button "search" is clicked and the output will be inserted into corresponding textboxes …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Visual Basic : Data type mismatch in criteria expression.

    Your dim statements are out of the button click event.I also can't seew here you open the connection. You would perform these steps: 'Define connection string oConnect= 'Define the query …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching dir

    I have a dir list box db.Close 'Kill (App.Path & "\PhoneTel.mdb") our = (Dir1.Path + "\" + File2.filename) mitt = Left$(File2.filename, 12) ' phonetel.mdb SourceFile1 = our ' DestinationFile1 = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in dir

    You have all done this before 7 moths ago http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/454451/counting-backup-files#post1973491
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Form structure

    O.K. here a re twopictures, one in design mode the other when the application is running. There 2 pictureboxes red andblue and one oval shape yellow. The picture can be …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Partial word match in textbox

    I'm trying to create a program, where a user can use the textbox to search for information, and as soon the user begins to type, any matching results will show …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Partial word match in textbox

    You have to modify it as you need it. I put a second textbox and sat it to multiline Public Class Form1 'Declaration Public Property AutoCompleteMode As AutoCompleteMode Public MySource …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching System.Runtime.InteropServices.COMException (0x80040154)

    I have project of vb.net when i make setup and run in my machine it works perfectly but when i run that setup in another machine it is giving "System.Runtime.InteropServices.COMException …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in System.Runtime.InteropServices.COMException (0x80040154)

    I think that vb.net doesn't install activex controls but net controls. So you might have used some activex control from vb6. VB6 installed these controls and registered these in the …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to detect when the keyboard keys are pressed

    Hi Dw I'm working on a program which has many forms and these forms are for setting the functionality of this program so now I want to detect if, let …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to detect when the keyboard keys are pressed

    Following your posts I guess you want to have a keylogger that does something when a keycombination is pressed. I would like to hate using a worprocessor and a keycombination …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Form structure

    Hi Is there a way a vb form structure the same as its backgroud picture? Its same with making the form invisible and let its background picture remain Im trying …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Form structure

    set the borderstyle of your form to none and play around with the opacity
  • Member Avatar for Minimalist
    Minimalist

    Began Watching array declaration error

    Module avgarr Function getavg(ByVal arr As Integer(), ByVal size As Integer) As Double Dim i As Integer Dim avg As Double Dim sum As Integer = 0 For i = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in array declaration error

    Dim bal As Integer() =( 1000,2,3,17,50) should probably be bal As Integer() ={1000,2,3,17,50} the third error occured because of above http://msdn.microsoft.com/en-us/library/wak0wfyt.aspx#BKMK_ArrayElements
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in exception thrown at the time of loading form

    Well, in this you can analyze the installation scripts and find the differences.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to add textboxes, labels and buttons dynamically at runtime in VB?

    How to create a form with a a button add_subjects which adds one textbox on each click, at runtime in VB and a corresponding label, 3 buttons - Add, Edit …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to add textboxes, labels and buttons dynamically at runtime in VB?

    Check the thread on this website: http://www.daniweb.com/software-development/vbnet/threads/457483/how-to-create-control-in-runtime
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in exception thrown at the time of loading form

    Which program are you using to make the setup file? Also make sure you are not trying to load a file during startup, referencing a file from form load that …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data column discuss

    There are lots of examples on the net. Here are good starters: http://www.w3schools.com/sql/sql_alter.asp http://www.techonthenet.com/sql/tables/alter_table.php
  • Member Avatar for Minimalist
    Minimalist

    Began Watching exception thrown at the time of loading form

    vb.net project shifted from one pc to another pc.project includes some private dlls.I include those dlls and some activex controls are linked with these dlls.At the time of loading form …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in exception thrown at the time of loading form

    Also check that both machines are running the same framwork version.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Data column discuss

    Anyone has any idea about how to add a column to the database's table that already create From the coding part ?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data column discuss

    What do you use? Adox, SQL, Access. To help you you need to more specific.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Console Application Redim Array

    Well I am totally beginner. I came across this program. Module arrayredim Sub main() Dim marks() As Integer ReDim marks(2) marks(0) = 85 marks(1) = 75 marks(2) = 90 ReDim …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Console Application Redim Array

    Dim marks() As Integer ' declares an one dimensional array to hold integer ReDim marks(2) ' inialises the array to hold 3 integers at indecies (0) (1) ans (2) If …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching vb only print half of page

    Hello. i use this code to print my vb page form : PrintForm1.Print() But only half of the page from the form is printed. i tried using this , code …

The End.