-
Replied To a Post in Read second last line
Why not write a one-shot program that reads the file line-by-line and writes a new file, skipping any blank lines? Replace your old file with the new file. Then you … -
Edited Read second last line
Hi Dw. I have a very huge text file with size "662 MB" and its can't be opened by a notepad on my computer so I created a program to … -
Replied To a Post in Warning: Dell Laptops may cause insanity
The continuing story... We are are just starting to pack up things for the end of summer and return home where one of my first jobs will be to take … -
Replied To a Post in Two-Digit Year Setting Registry Location
You can change the setting for the default profile (which gets used whenever a new profile is created) by navigating to HKEY_USERS\Default User\Control Panel\International and changing the values for sShortDate … -
Replied To a Post in trying to get data from a html file
That's hardly enough information to even begin thinking about a possible solution. -
Gave Reputation to jwenting in Save Listview items to database
even if you're not facing potential SQL injection attacks (and who isn't facing those these days...). -
Gave Reputation to Rakhmat_1 in Save Listview items to database
Dim sqlQuery As String = "INSERT INTO tblSales (proDescription, SaleValue) Values ('" & _ Sale.SubItems(0).Text & "' ,'" & _ Sale.SubItems(1).Text & "')" -
Replied To a Post in Save Listview items to database
You know, I had to stare at that for five minutes before I spotted the difference. Kind of makes the point for using parameterized queries. -
Replied To a Post in auto generation of id in visual basic 6.0
Let's assume your ID field is called empID. You can determine the next available number by SELECT newID = MAX(empID)+1 FROM empdetails -
Marked Solved Status for Unable to debug in visual studio
cmd.CommandText = "UPDATE tbl_System SET S_Name='" & TextBox2.Text & "', S_Function='" & RichTextBox1.Text & "', S_Failure='" & RichTextBox2.Text & "' WHERE EquipTag='" & Tbl_SystemDataGridView.CurrentRow.Cells(0).Value & "' i think this is … -
Replied To a Post in Unable to debug in visual studio
I presume the error you got was regarding incorrect SQL syntax. You didn't post the error message. Without seeing the actual query, determining the problem will be, well, a problem. … -
Edited prevent user from move to next form
hello friends, i need a help in vb6, i just start using vb6 for my project. my problem like this, i have two button, button Ok and Next. if i … -
Replied To a Post in load image based on comboboxselection
Use Private Sub ComboBox_TypeOfSys_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox_TypeOfSys.SelectedIndexChanged PictureBox_FullFeed.Image = Image.FromFile(ComboBox_TypeOfSys.Text) End Sub -
Gave Reputation to pritaeas in The future of DaniWeb
I have to make a feature request though. Would you be so kind as to block url's in the chat. It's getting spam links now too, instead of just links … -
Replied To a Post in Vb.net Calculator
Lacking code, I would hazard a guess that it is not doing a running calculation (1+2+3) but only displaying the result of the last operation (2+3). -
Replied To a Post in Bad Grammar
I just got a coupon via email from a local chain (Giant Tiger) thanking me for taking an online survey. It is good for ten dollars off "on a minimum … -
Edited how to insert selected value from dropdownlist into sql
hi, I want to ask about how to declare dropdownlist in vb.net. actually I'm a newbie to this vb.net language. I'm try to insert selected item from dropdownlist into database. … -
Replied To a Post in Any way to block unsolicited contact requests in Skype?
New version is the same as the old one. Still getting multiple spams per day. I have to wonder why Microsoft thinks this is a good thing. -
Replied To a Post in 4*4 Board Game
Grid(nextRow,nextCol).BackColor = Color.Red -
Replied To a Post in Searching for the bug ... but there isn't any
I found a bug in the PL/1 compiler (verified by my professor) that caused me to had in an incomplete project. I spent two days trying to figure out what … -
Marked Solved Status for 4*4 Board Game
I'm building a board game. The game is played on a 4 by 4 grid in pairs, one player at a time. I would really appreciate if you could help … -
Replied To a Post in 4*4 Board Game
If you declare class level integers `nextRow` and `nextCol` you can generate a new randow row and column by Private Sub btnNumber_Click(sender As System.Object, e As System.EventArgs) Handles btnNumber.Click Dim … -
Replied To a Post in Not responding screen
If you scan the folder when the app first starts and build a list of the files you can have your app notified when any new files are created. Here … -
Replied To a Post in reinstall windows xp, lost validation code
Too late this time but I have a couple of suggestions for next time. 1. Partition your disk into C and D. Make C big enough to hold Windows plus … -
Replied To a Post in 4*4 Board Game
I'm not sure I follow the logic but I'm going to offer a suggestion to see if that simplifies things. The user is expected to click on a textbox and … -
Replied To a Post in load record from sqlserver into form
@Sanu - note that `Me.Controls("CheckBox" & i)` will directly reference the control (but it has to be cast to CheckBox first). @fugio - you have two examples here that do … -
Replied To a Post in Any way to block unsolicited contact requests in Skype?
I'm so used to Skype auto-updating that I didn't realize there was a newer version available. I'll give it a try, although I see there are no new settings under … -
Replied To a Post in reinstall windows xp, lost validation code
You could try to recover the product key using [this utility](http://www.nirsoft.net/utils/product_cd_key_viewer.html) -
Created Any way to block unsolicited contact requests in Skype?
Skype used to have a setting that would allow me to block all unsolicited contact requests. Shortly after Microsoft acquired Skype this feature was removed. I used to get 2-3 … -
Replied To a Post in load record from sqlserver into form
You can do Dim val As String = "10010" For i As Integer = 0 To 4 Dim cbx As CheckBox = Me.Controls("CheckBox" & i) cbx.Checked = val.Substring(i - 1, … -
Replied To a Post in Bad Grammar
I was having trouble deciding whether to post this here (because it's about grammar) or in AD's thread (because it's a joke). I decided to post it here. A "proper" … -
Replied To a Post in Selecting between dates sql
If you install SQL Management Studio (free from Microsoft) you can debug your queries in an interactive window and then code up the same query in your app. -
Marked Solved Status for Failed to Connect to MS ACCESS DATABASE
Im making a simple login form for my project and I faced this annoying database connection problem. The problem is I can't connect to "MSACCESS2013" it directs me to my … -
Replied To a Post in What I've been working on lately ...
I didn't want to start a new thread for this bu, Dani - you might not be surprised by this. Google is being sued for skewing search results. >The claim … -
Replied To a Post in Windows 10
Microsoft [backdates privacy violating Windows 10 "features"](http://www.extremetech.com/computing/213183-once-more-with-tracking-microsoft-backports-privacy-invading-windows-10-features-to-windows-7-8) to Windows 7 & 8. Note that some of these invasions cannot be blocked via stubs in the hosts file because the connecting … -
Replied To a Post in Windows 10 Questions
Microsoft [backdates privacy violating Windows 10 "features"](http://www.extremetech.com/computing/213183-once-more-with-tracking-microsoft-backports-privacy-invading-windows-10-features-to-windows-7-8) to Windows 7 & 8. -
Replied To a Post in Selecting between dates sql
Read my last post. -
Replied To a Post in Selecting between dates sql
Set a breakpoint at SqlDataAdapter1.Fill(DataSetViewEmp, "EmployeeRegistration") then in the immediate window type ?cmd.CommandText ?cmd.Parameters(0).Value ?cmd.Parameters(1).Value and post the output here. -
Replied To a Post in Failed to Connect to MS ACCESS DATABASE
At [ConnectionStrings.com](https://www.connectionstrings.com/access-2013/) the string for Access 2013 (standard security) is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;Persist Security Info=False; Try specifying the fully qualified file name for the database. It also might help (more info) … -
Replied To a Post in youtube downloader
That's not a question. -
Replied To a Post in How can I read my old emails from another laptop?
What format is your email in? What program did you use on the old laptop? For Outlook you can just copy the PST. For Thunderbird, the entire profile folder. -
Replied To a Post in Dazah vs. DaniWeb
> I think its not rude, its truth being told in straightforward way. So, hypothetically, if you make a statement that is contradicted by the facts and I respond with … -
Replied To a Post in What I've been working on lately ...
How does this differ from LinkedIn? -
Replied To a Post in Programmer
For MS SQL an example is SELECT * FROM Orders WHERE OrderDate BETWEEN '1996-07-01' AND '1996-07-23' For AccessDB use SELECT * FROM Orders WHERE OrderDate BETWEEN #1996-07-01# AND #1996-07-23# -
Replied To a Post in Selecting between dates sql
How is EmpJoinDate defined in the database? -
Replied To a Post in Bad Grammar
That takes me to the picosong home page which apparently has nothing to do with grammar. -
Edited Need help with Backend WHMCS
Appologies for posting this help thread here, but I think, DANIWEB communitty can help me out. We have developed an awesome website builder, at present we want some help to … -
Replied To a Post in Using BackgroundWorker On VB.Net
A few things to note here. Do not create the control in the BG thread. Make it part of your GUI. Create a Sub to update the existing label with … -
Replied To a Post in Random Facts
You're right. But "nasty" doesn't begin to describe it and calling it "a stat" just masks the horror. That's a big part of the problem. In the days after each … -
Replied To a Post in need help with mysql data to label
OK. Then the obvious next question is - what is the type of the database field named playerid. I had assumed it was numeric based on the single example. Please …
The End.