• Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Display groupbox based on inputbox number

    Since you are declaring snumber as string your inputbox statement should be: sNumber = InputBox("Enter a number", "Numbers Only", iNumber.ToString) https://msdn.microsoft.com/de-de/library/6z0ak68w%28v=vs.90%29.aspx
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Automation Error

    in my vb6 application i face this error, Data Automation Error! No elements found, what is this belong to?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Automation Error

    Do check this one out. Maybe it helps. http://www.saetechnologies.com/data-view-automation-error-element-not-found-vb6/ You also can google Data Automation Error! No elements found vb6 which brings up a number of results.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Designer has been disabled

    What about a backup of your project when every thing still was O.K.? What I would be doing is: 1) Remove all powerpck controls from your project 2) Remove all …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Well what you can try is to have another picturebox. Move each part into this picturebox, crop the edge off and than move it into the designated picturebox.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Well that is why I get the line which is part of a neihbouring part of the picture. That means division by 3 will be not exactly give the slicing.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Thanks ddanbe, will work on it when I get time again. Actually was just a matter of setting the forms doublebuffering to true and works like a charm now.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Well if it is always the same picture it just would be easier to load the numbers as single bitmaps into the pictureboxes. It can be split but needs fiddling …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Long threads

    O.K. Thank you Dani
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Well again, is this always the same initial picture with the numbers or does this initial picture change? Is it always the same numbers that stretch and the corners stay …
  • Member Avatar for Minimalist
    Minimalist

    Created Long threads

    I am just wondering about a really long thread on the vb.net forum not beeing displayed in a few pages. At the moment it is a really long scroll job. …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Long threads

    I am just wondering about a really long thread on the vb.net forum not beeing displayed in a few pages. At the moment it is a really long scroll job. …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error Message when Application Opens

    To find the line that throws the exception try the following: On the menu bar in visual basic: 1) Click on the 'Debug' menu item 2) Click 'Exceptions...' 3) Select …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Ok this raises two questions: 1) Is this always the same image? 2)How do you want to resize the different parts of the picture? Button,Clicking on the part etc?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    What should be the end product? Sliding game? It is hard to give good advice without knowing what the result should look like. Ayway one way of doing it is …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error Message when Application Opens

    Could you give us an example of what your foldername looks because I think you got something wrong in the get...
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error Message when Application Opens

    You really need to learn how to initialise your variables. You need an As and an intial value like: dim num as integer= 0 or dim str as string= " …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    Assuming you got the image in a picture box you can simple do something like this: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Me.PictureBox1.Size = New System.Drawing.Size(140, …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error Message when Application Opens

    First put option strict on, this might throw more error msg.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Image Grid Slice

    Hello Daniweb Community, I'm wanting to slice a square image into 9 pieces like below ![Image_Grid_Expected.png](/attachments/small/3/92037daf6101645e42f7718c3f4ccf65.png "align-center") the code I'm currently using is this Private Function CropBitmap(ByRef bmp As Bitmap, …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Image Grid Slice

    I do think crop is not the way to do what you want. Look into split image.Maybe you just want to overlay lines?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Error Message when Application Opens

    Hi Group, I'm getting the following error message as soon as the application opens: ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error Message when Application Opens

    Well the first line tells you: System.NullReferenceException: Object reference not set to an instance of an object. Which means you are referring to an object without having it declared. HAve …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Designer has been disabled

    Hi, I've been working on a project when suddenly an error occured when I clicked a control and shows a error picture on the control. I'ved attached a picture for …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Designer has been disabled

    Maybe check this thread and post3 in it out: http://www.vbforums.com/showthread.php?676983-RESOLVED-Unhandled-exception-on-form-closing
  • Member Avatar for Minimalist
    Minimalist

    Began Watching I cant Delete a row in accessdb (Syntax error in FROM clause.)

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click If Me.dgvData.Rows.Count > 0 Then If Me.dgvData.SelectedRows.Count > 0 Then Dim intPName As Integer = Me.dgvData.SelectedRows(0).Cells("Name").Value If Not …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in I cant Delete a row in accessdb (Syntax error in FROM clause.)

    Your cmd is wrong. Check this example out: http://stackoverflow.com/questions/11519195/how-to-delete-records-of-ms-access-database-using-vb-net-form-and-how-to-enter-a
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Getting data from database (db2) to my combobox vb6

    Can someone tell me how to connect combobox in vb6 to database (db2) I need to select from my combobox and the data should come from database.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Getting data from database (db2) to my combobox vb6

    This link might be helpful connecting with vb6 to db2: http://docs.starquest.com/Supportdocs/techStarSQL/StarSQLODBC/Programming/SQ042_ADOParameterizedQuery.shtml
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to Read a text content (names and Marks) into array names() and Marks()

    I have an array of student names i.e names(9) and student marks i.e marks(9) as double. I have a text file containing names and corresponding marks like this john,30.5 Mary,40.1 …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to Read a text content (names and Marks) into array names() and Marks()

    What have you tried sofar? You need to show us some code of things you have tried.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching For Each Replace

    Hello Daniweb Community, I was wondering if there is a way to replace words from a listbox. So at the moment I've got a listbox with a couple of strings …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in For Each Replace

    It is not very clear what you attempt to do. In your example you replace a single word, in your for each loop you replace all(?) text. Also you should …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Request for help | AI

    Hi. I was wondering creating a Artificial intelligent program. I know that all app wo do even simple tasks are AI. but I dont want a simle task app. I …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Request for help | AI

    There is lot of work beeing done in this field of computing. Adding to what Schol-R-LEA has posted, do a google search on:computer voice commands and also look at this …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in My form get closed after applying print command

    Why don't you close all other open programs and than try? It might be the same problem as described in the thread.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in My form get closed after applying print command

    O.K. than post your code from your trial as this might be shorter than your original code. <Before you do check also this thread on other open programs and the …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in My form get closed after applying print command

    If you can see the form in the taskbar it is not hidden but minimized. So check all of your code for the word minimized using quick find from your …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching My form get closed after applying print command

    Hi, I have vb.net application. In the form I have print button and when I do print, after printing the form is closed. so I have to reopen the form. …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in My form get closed after applying print command

    Maybe you close it in your printform or somewhere else. Definetly not in your button click.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching can someone help me with my pig latin converter?

    I have been working on a pig latin converter. If a letter starts with a vowel or number it should end with way if it begins with a consonant it …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in can someone help me with my pig latin converter?

    Check this out: http://www.dreamincode.net/forums/topic/200879-english-to-piglatin/
  • Member Avatar for Minimalist
    Minimalist

    Began Watching from textboxes to listview

    Hi guys, I have a form called frmSales, with two textboxes and a list box. what I want to do is to fill the listview with product description from txtDescription …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in from textboxes to listview

    You also need to add like this: ListView1.Items.Add(Me.txtDescription.Text).SubItems.Add(Me.txtPrice.Text)
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Invalid String

    There are lots of examples on the net. Here is one for numbers only: http://www.vbforums.com/showthread.php?350067-VB-Numeric-Textbox-input-only
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Invalid String

    I can't see where you open or close your database. So I suggest you check your select statement and check that your database is open etc. On second thoughts you …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Textbox Should not enter the first character as dot

    Hi.. I'm doing a project on Vb.net 2008.. There's a textbox called "Price" which requires validation.. The validation is that the textbox should not enter dot, special characters or alphabets …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Textbox Should not enter the first character as dot

    txtPrice.Text.StartWith should be: txtPrice.Text.StartsWith
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Invalid String

    Your lines 34 to 37 are fine. Which line throws the error?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Theres something wrong with my keyword cipher

    Well he is writing it as a console program as he states in his first sentence. So, yes you can use vb.net to create a vb.net console project. In my …

The End.