-
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 … -
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 = … -
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 … -
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 … -
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 … -
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 … -
Began Watching window form Problem ?
I have 2 form called form1 and form2 why i cannot use this code form1.textbox.Text = "Hello" ???? -
Replied To a Post in window form Problem ?
dim NewForm as new form2 NewForm.TextBox1.Text = "My Text" NewForm.Show -
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) -
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, … -
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, … -
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". … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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. … -
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 … -
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 … -
Stopped Watching connect SQL Server 2005 to VB.Net
How to connect queries from SQL Server 2005 to VB.Net Windows application -
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 … -
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 … -
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 … -
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 … -
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 … -
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. -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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) -
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 … -
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. -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
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... -
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 … -
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.