• Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Select item in listbox by pressing the Enter button

    Hi, You want to select an item when the user selects the item and presses enter? But the user has just selected the item? Looking at your code, it would …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped 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 G_Waddell
    G_Waddell

    Stopped Watching Bad Grammar

    I can't take it anymore. At first it was only occasionally. Now it seems that every time I turn on the TV someone else is doing it. Doesn't our school …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching How is the weather today in your country?

    How is your weather in your country? I am living in the Philippines and the weather here today is stormy and according to news, we are overloaded of typhoons in …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Question in inserting data in the database with FK

    Greetings, i just want to ask how to insert a data with fk. Like if i insert a data on tblPatient, the patientID will be displayed on the tblRecord. is …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Question in inserting data in the database with FK

    Hi, You would run your insert on your table as normal passing the foreign key in as a value. For instance, to use your patient example, I want to record …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching window form Problem ?

    I have 2 form called form1 and form2 why i cannot use this code form1.textbox.Text = "Hello" ????
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in window form Problem ?

    dim NewForm as new form2 NewForm.TextBox1.Text = "My Text" NewForm.Show
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in create tags for folder in windows.

    [This link may help you](http://www.codeproject.com/Articles/174369/How-to-Write-Windows-Shell-Extension-with-NET-Lang)
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching create tags for folder in windows.

    Please preview image: I want to create something like this. Red fonts is just typed using paint. (it's not software or else) I know how can I know the Size, …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in create tags for folder in windows.

    Hi, I'd say you need to use the System.IO object to get the [DirectoryInfo](http://msdn.microsoft.com/en-us/library/system.io.directoryinfo(v=vs.110).aspx) of any folders and the[ FileAttributes](http://msdn.microsoft.com/en-us/library/system.io.fileattributes(v=vs.110).aspx) of any files selected. Sub DirectorySelected (ByVal DirectoryPath) Dim SubFolderCount, …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching converting a string to DataRow

    I have a combobox that pulls a list of values from a database. When a new entry is entered I want an entry in the combobox to read "New record". …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Problem with combobox binding

    I have a problem with a combobox and no page on the Internet has been able to help me so far. So I hope that one of you can. I …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Running Word Mail merge from VB.Net

    Hi All, In my VB.Net app, I want to read in a load of addresses from a database and then use word to create address labels on an Avery template …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching do events?

    Hi I've written a printing application which is working perfectly when I debugg and step through but does not print anything when running a debugg with no breaks / step …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Help with printers and word docs in VB.net

    HI Guys, I have written an app the prints out batches of documents for postings. Each batch is to be seperated by a red coversheet. I know that in our …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Converting CSV to Excel should be easy but....

    Hi Guys, I'm obviously missing something here. Basically I'm writing a program that will read in a csv file or excel file, and allows the user to pick which fields …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Converting CSV to Excel should be easy but....

    Hi Guys, I'm obviously missing something here. Basically I'm writing a program that will read in a csv file or excel file, and allows the user to pick which fields …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Data type mismatch in criteria expression.

    Hi I need to insert some data from Text boxes in an aspx page into an Access DB but I keep getting a Data type mismatch in criteria expression error. …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Bobcat Motors Solution

    I am so lost on how to get this code to work, and I am pretty sure what I have is all wrong. The problem is as follows: Each salesperson …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching sql in vb.net

    hi im trying to retrieve data from a foxpro database in a date range selected by the user from 2 datetimepicker boxes dim date1, date2 as date date1=datetimepicker1.value.date date2=datetimepicker2.value.date i …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching connect SQL Server 2005 to VB.Net

    How to connect queries from SQL Server 2005 to VB.Net Windows application
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Find word From Ritch Text Box

    [B]i am able to print all file line in to rich text box but i have a problem to find a specific word from the rich text box.please help me …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Read data from SQL

    I am trying to read data from remote SQL base. I have written the function that works great if you need to get 1 Value , but when I want …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching Silent close of MS Word in VB.NET

    Hi, I'm writing a function that takes a word doc and returns the number of pages in it. I have the function working and returning pages except that it opens …
  • Member Avatar for G_Waddell
    G_Waddell

    Stopped Watching forecasting sales

    I am doing an academic project, making a sales forecasting using holt-winters forecasting method. I really need help to make it in vb.net and searching in google for example but …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Clearing of Datagrid View

    hi everyone my question is how to clear a datagrid view in vb.net 2010 i have tried DatGridView1.Clear() but it only works once and i would like to clear my …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Clearing of Datagrid View

    DataGridView1.Rows.Clear() will clear the rows for you. If you want to completely clear everything from the grid you could then add DataGirdView1.Columns.Clear() to clear the columns as well.
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Bad Grammar

    @Learner010 - I know he was trying to write that he had read the book, but I was jokingly pointing out that due to him misspelling read as red, he …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching How to print a report from XML file in VB.NET

    I want to print data from XML in readable formate which is the last section of XML file .My code writes data from database to XML file . Here is …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in How to print a report from XML file in VB.NET

    Hi, I'd use an [XMLReader](http://msdn.microsoft.com/en-us/library/cc189056(v=vs.95).aspx) to parse the XML and output in whatever format you wish: Function PrintReport(byref XMLString as String) as String dim OutPut as String ' Create an …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Populate only the FileName to a ListBox

    Hi Dw I have folder which has all the files and the folder can have as much files inside as possible so I have created the function which gets all …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Populate only the FileName to a ListBox

    Hi Use the [GetFileName](http://msdn.microsoft.com/en-us/library/system.io.path.getfilename(v=vs.110).aspx) function of Path: Public Sub Scan() Dim ScanFolder as string ScanFolder = Directory.GetFiles("C:\examplefolder\", "." , SearchOption.AllDirectories.GetHashCode) for each dFile as String in ScanFolder ListBox1.Items.Add(System.IO.Path.GetFileName(dFile)) next End …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Bad Grammar

    Here is one I know causes confusion with non natives and youngsters learning to write: Did I read the book? or have I just read the book? My son wrote …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Directory already exist in the path error

    > E.g if the file is located in Desktop for instance and the file name is test1.txt and the user browse to this file and select it to copy it …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Code word document

    HI, I am saving my form to word document. But the result, looks too simple. How do i insert table or insert image or maybe,could change the font style and …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Code word document

    Hi, If you look at Interop it should help. Here is a [tutorial](https://support.microsoft.com/kb/316383)
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Interesting Question / Challenge

    I have an interesting challenge and was hoping one of the gurus can assist. I have a program running on a client machine that I need to "trigger". The program …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Interesting Question / Challenge

    You could try setting up a scheduled task to run a script to check if the conditions you are looking for are met and if so run your program.
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Directory already exist in the path error

    Hi Dw I'm trying to copy a chosen file to a directory under 'C:\example' directory folder, I have a textbox to store the address (path) to the selected file, a …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Directory already exist in the path error

    " The target file 'C:\example' is a directory, not a file." you should do something like this: Sub CopyFile(ByRef SourceFile as String, ByRef DestinationPath as string, Optional ByVal OverWrite as …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching Best Practice using Toolstrip on Windows Form

    I'm right at the start of designing a small E:Mail control program for a friend, but would just like to ask some advice on best practice before I dive in …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in Best Practice using Toolstrip on Windows Form

    I have another suggestion which could be easier for you. Leave your main form open, but open each of the other forms using the [showdialog method](http://msdn.microsoft.com/en-us/library/c7ykbedk(v=vs.110).aspx). This will open each …
  • Member Avatar for G_Waddell
    G_Waddell

    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 G_Waddell
    G_Waddell

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

    Hi, is the field `Renter_ID` in the database definately a string type? and not a numeric type? The reason I ask is that you say the error occurs when you …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in dir

    Still not sure what you are trying to achieve... Do you mean you want to save the file in the directory? This function would return the fullfilepath accounting for a …
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching vb form save as document can be saved but its an empty page

    Hello.. good day evryone, i encounter a problem with my save as form..i use savefiledialog..the result is that the page is saved..but when i open the word doc, it is …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in vb form save as document can be saved but its an empty page

    Hi Post some of your code and we can see where it is going wrong...
  • Member Avatar for G_Waddell
    G_Waddell

    Began Watching read the values from the textbox during created in runtime

    hi guys, i am doing a project on vb, now the issues is i am not able to retrive the data from the textbox which in created during runtime. i …
  • Member Avatar for G_Waddell
    G_Waddell

    Replied To a Post in read the values from the textbox during created in runtime

    hi do you specify names for the textboxes i.e. something like this: sub CreateTextboxes() dim i as integer =0 dim txtbox as textbox do while i < 5 txtbox = …

The End.