-
Undeleted a Post in How to set lines limit in richtextbox
Try the KeyDown event instread Private Sub RichTextBox1_KeyDown(sender As System.Object, e As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown If e.KeyCode = Keys.Enter And RichTextBox1.Lines.Count = MAXLINES Then e.SuppressKeyPress = True End If End … -
Deleted a Post in How to set lines limit in richtextbox
Try the KeyDown event instread Private Sub RichTextBox1_KeyDown(sender As System.Object, e As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown If e.KeyCode = Keys.Enter And RichTextBox1.Lines.Count = MAXLINES Then e.SuppressKeyPress = True End If End … -
Replied To a Post in How to set lines limit in richtextbox
Try the KeyDown event instread Private Sub RichTextBox1_KeyDown(sender As System.Object, e As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown If e.KeyCode = Keys.Enter And RichTextBox1.Lines.Count = MAXLINES Then e.SuppressKeyPress = True End If End … -
Replied To a Post in Video Problem With Dell Inspiron 5748
Mine came with Windows 7 Home Premium pre-installed. I had the option of Windoes 7 or Windows 8. I preferred to have an OS that has had some of the … -
Replied To a Post in Could you share your knowledge about life?
If you make a mistake, own it. When you apologize, make it sincere. Trust me, I've had a lot of practice at this. -
Replied To a Post in speed up insert on ms access DB within a loop
Slno always starts at one so I suggest you make this an identity field (auto-number) and do the inserts in one statement like INSERT INTO table2 (Accountno, Narration, ...) SELECT … -
Replied To a Post in Video Problem With Dell Inspiron 5748
This has been a problem for months. I didn't notice it at first because I didn't do video for the first couple of weeks. I reported this as a problem … -
Replied To a Post in Random Facts
Unlike what you see in movies and on TV, it takes at least five minutes of inhaling an item soaked in chloroform to render a person unconscious. [Source](https://en.wikipedia.org/wiki/Chloroform#Anesthetic) -
Replied To a Post in New here
Unless you have a specific vb.net question you should be posting in some other forum. -
Replied To a Post in Insert data to sql server database using vb.net
I suppose you have already noticed this but composing a query by concatenating multiple strings is just butt ugly. For one thing you have to keep track of where to … -
Replied To a Post in Video Problem With Dell Inspiron 5748
How sloppy of me. Dell Inspiron 5748 Windows 7 Home Premium (all service packs and updates) All drivers are current I just found out that the Intel driver was modified … -
Replied To a Post in Error in listbox
>I was not going through the listbox I don't know what you mean by that. -
Replied To a Post in Video Problem With Dell Inspiron 5748
Intel®HDGraphics4400 -
Replied To a Post in URGENT: object variable or with block variable not set in Search Command
Please post the new code and **this** time identify the line that is raising the error. -
Replied To a Post in Video Problem With Dell Inspiron 5748
Dell won't fix it because it is not a Dell hardware problem. If it's a problem with Windows then Dell can't fix it. If it is a problem with a … -
Replied To a Post in Error in listbox
I've already tried the code I suggested and it writes the lines of text to the file as requested. -
Replied To a Post in URGENT: object variable or with block variable not set in Search Command
What line is giving the error? By the way, you may want to open the connection before you try to use it. -
Edited Video Problem With Dell Inspiron 5748
I have had this problem since I got the laptop last December. Video in full screen is erratic. In scenes where there is little motion there is no problem (or … -
Edited Video Problem With Dell Inspiron 5748
I have had this problem since I got the laptop last December. Video in full screen is erratic. In scenes where there is little motion there is no problem (or … -
Edited Video Problem With Dell Inspiron 5748
I have had this problem since I got the laptop last December. Video in full screen is erratic. In scenes where there is little motion there is no problem (or … -
Created Video Problem With Dell Inspiron 5748
I have had this problem since I got the laptop last December. Video in full screen is erratic. In scenes where there is little motion there is no problem (or … -
Edited VBA Equivalent of getFolderNameGD
Group, In VB.net, I use the following to return the actual name of a folder where data is kept. Is there an equivalent in VBA? I sure hope so. It … -
Replied To a Post in Error in listbox
A ListBox, by definition, contains text. You don't have to convert to String. Try replacing Caminho.WriteLine(line) with Debug.WriteLine(line) or put a breakpoint at that line and check the values. But … -
Replied To a Post in Error in listbox
Try For Each line As String In ListBox1.Items Caminho.WriteLine(line) Next -
Edited Error in listbox
Good evening, I'm having problems when trying to save a listbox in a .txt file, follow the code; IO.Directory.CreateDirectory("C:\Test") Dim Caminho As New IO.StreamWriter("C:\Test\Arquin.txt") Dim i As Integer For … -
Replied To a Post in Is Privacy Important?
I agree that changing the law retroactively is a dangerous idea. Certainly making something illegal retroactively is something that should never be allowed. As for making something legal retroactively, I … -
Replied To a Post in Is Privacy Important?
>In the U.S. principles of government are defined in the Declaration of Independance. I don't believe this is the case. It *does* mention "Life, Liberty and the pursuit of Happiness" … -
Replied To a Post in how to loop through an XML and create toolstrip buttons at runtime
All things considered, I don't see what use that xml file is. It doesn't have any information as to button text, placement or function. You really can't create anything useful … -
Replied To a Post in Is Privacy Important?
So how do you give government the ability to change laws while at the same time restricting them from changing laws? We had a recent case here in Canada where … -
Replied To a Post in Memorable Quotations
“The origin of science is in the desire to know causes; and the origin of all false science and imposture is in the desire to accept false causes rather than … -
Replied To a Post in how to loop through an XML and create toolstrip buttons at runtime
You can't get that toolstrip from the given pseudo-xml. You might as well have posted <Buttons> <tag>Some Buttons</tag> </Buttons> -
Replied To a Post in how to loop through an XML and create toolstrip buttons at runtime
How about posting the xml and an example of what you want the tool strip to look like? -
Replied To a Post in Random Facts
Also used, I hear, to hack into Kaspersky. -
Replied To a Post in OLEDB Insert Statement Syntax Error
If you use [Parameterized Queries](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) then you don't have to worry about what delimiters to use. -
Replied To a Post in Cannot Bulk Load. The File "D:\xyz.pdf" does not exist.
You could try to reference the file as \\machine\D$\file.pdf This assumes that the server has access to your PC using the admin share. If not then you may need to … -
Replied To a Post in Please can someone define pneumonoultramicroscopicsilicovolcanoconiosis?
Science/medicine has to have impressive sounding terms for things. For example, sphenopalatine ganglioneuralgia is the technical term for brain freeze. -
Replied To a Post in Text Box In TreeView Nodes
A TreeNode already has a Text property. Why do you want to add a TextBox? -
Replied To a Post in Is Privacy Important?
I highly recommend [The Dead Past](http://www.5novels.com/ScienceFiction/Asimov41/27323.html) a possibly prophetic short story by Isaac Asimov. -
Replied To a Post in Container for Questions in Trivia Game
I would start by creating a class which has a string property for the question, a string list for the possible answers, and a property (your choice of type) that … -
Replied To a Post in OLEDB Insert Statement Syntax Error
Try cmd.CommandText = "INSERT INTO POSITION " & "(positionID,stockSymbol,stockName,cashTransaction," & "lastUpdate,initialQuantity,initialValue,currentQuantity," & "currentValue,positionStatus)" & " VALUES (2,2,2,2,2,2,2,2,2,2)" You don't need quotes around numeric values. -
Replied To a Post in Please can someone define pneumonoultramicroscopicsilicovolcanoconiosis?
It's a small seven-legged marsupial. -
Replied To a Post in Display groupbox based on inputbox number
When used as a single statement iNumber = 1 assigns 1 to iNumber. When used as a conditional it evaluates to a Boolean which is actually 0 or -1 so … -
Replied To a Post in SQL search | Help needed
>I want to show all people who's called Andrea and in the some time is a cop (or something else) If you want only `cop` then just do SELECT * … -
Replied To a Post in SQL search | Help needed
The actual query would look something like SELECT * FROM tablename WHERE name LIKE '%Andrea%' AND occupation IN ('cop','butcher','baker') -
Replied To a Post in Things I hate about TV shows
It's amazing that even after all the times he has been caught he still thinks he has credibility. I loved the segment that John Oliver did on Oz being grilled … -
Replied To a Post in Things I hate about TV shows
A great moment from the original TV series, The Odd Couple, had Tony Randall filming a commercial for some medical thingy. He was wearing a lab coat and opened wth … -
Replied To a Post in Is Privacy Important?
What I find amazing is that as we find our privacy rights being stripped by governments who have decided we shouldn't have any, we have to rely on organizations like … -
Replied To a Post in Long threads
That's what happpens when someone goes through the older posts (likely from doing a Search) and posts: * Thanks. Just what I was looking for * A follow-up question * … -
Revoked Solved Status for QA Session
Just an accumulation of worldly wisdom in question answer format. Q: "How Do You Get Holy Water?" A: "You Boil The Hell Out Of It." -
Replied To a Post in passing variable from one appication to another using memory
I think your best bet would be [Named Pipes](https://support.microsoft.com/en-us/kb/871044). If both processes are on the same computer you can use a simpler method, [Anonymous Pipes](https://msdn.microsoft.com/en-us/library/bb546102(v=vs.110).aspx).
The End.