4,911 Posted Topics
Re: Maybe he/she is saving a spot for a later question. See [here](http://loadingreadyrun.com/videos/view/1665/Loading-Time-PlaceholderURL) | |
Re: It also helps if you indent properly. You probably lost all the indentation because you didn't use the **Code** button to insert the code snippet. I fixed it up for you. | |
Re: I believe this has already been asked by you [here](http://www.daniweb.com/software-development/vbnet/threads/459878/tab-control) | |
Re: I think he wants to scale the controls on the form as well. | |
Re: >And above all, don't mention the war! In the same vein have a read [here](http://www.guardian.co.uk/world/2013/jul/11/microsoft-nsa-collaboration-user-data). All of your Skype communications and Outlook email is in the hands of the NSA. ![]() | |
Re: Or you could use the RichTextBox control and write to an rtf file which is readable by Word. | |
Re: That depends on what, specifically you want to do. If you want to implement a search-and-replace feature where the user enters the text to search for and the replacement text then you do it one way. If you want to allow the user to select a block of text and … | |
Re: You are not going to like this answer but don't use DAO. ADO is not confusing or riddled with problems. ADO is actually pretty straightforward. The only confusing part can be getting the connection string right and we can help you with that as long as we know what type … | |
Re: I will certainly put that on my must-watch list. | |
Re: Please read the [Please Read This Before Posting](http://www.daniweb.com/software-development/vbnet/threads/424836/please-read-this-before-posting). If you had you would have created a descriptive title. You would also have included some sample input and output. | |
Re: I don't follow. That's what the **Catch** portion is for. The **Catch** part is executed if the **Catch As Exception** is true. | |
They say it all [here](http://www.escapistmagazine.com/videos/view/loadingreadyrun/7631-The-Canadian), eh. | |
Re: Except you'd use round instead of square brackets. | |
Re: Show us what you have done so far. | |
Re: My connection at the cottage is spotty. Because of the frequent starts and stops I find I can only watch online video if I download it first and play locally. Because of hearing loss in the upper frequencies I also find it helps to download before playing so I can … | |
Re: This thread has been dead for three years. Please start a new thread. | |
![]() | Re: If you want to do it manually you can use cacls or icacls with the /e (edit) option. ![]() |
![]() | Re: You do not want users to be able to create folders in areas requiring admin credentials. That would defeat the purpose of setting up access rights in the first place. The app should not have admin credentials buried in it. If folders have to be created by the users it … ![]() |
Re: I don't see an INSERT query anywhere but if I had to guess it would be the embedded spaces in the column names. It's always a bad idea to use names with spaces. With a non-spaced name you can do INSERT INTO myTable (idnum,FirstName) VALUES(123,'Jim') But when you have a … | |
Re: Please take the time to explain what you want clearly. You said >if I'll type 5 in the textbox so it'll add in the combobox: 1, 2, 3, 4 and 5. Do you mean you want to do 1+2+3+4+5? Do you mean you want to add the first five items … | |
Re: >gun's are being jeopardized If by that you mean you are worried the government is going to seize your precious guns just because they try to pass reasonable legislation to keep them out of the hands of criminals and whack-jobs the please don't flee to Canada. We don't want you. … | |
Re: There are instructions [here](http://www.timdavis.com.au/general/creating-a-user-defined-service-in-windows-7/) on how to run an exe as a service. | |
Re: If you want the app to run for all users then put the shortcut in C:\Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup | |
Re: >Why do adults like watching cartoons? That's all anime is -- just another name for children's cartoons. That's like judging all westerns after seeing one old episode of the Lone Ranger. I've seen many Anime that had plots that were more complex and better thought out than many adult movies. … | |
Re: A spreadsheet is not the application to use for something with two million rows. For that you should be using a database. There are queries you can run to detect duplicates, or you can make the email address the primary key and detect the duplicate on insert with a try/catch. … | |
Re: It varies with me. Sometimes a page loads quickly and sometimes not. For example, yesterday I went to a member's profile to do an endorsement. The profile page came up but when I clicked on the endorsement tab nothing came up even after several minutes. I tried again with the … | |
Re: You didn't provide the error message. Try "Select * from ADODB where firstname='" & str & "'" Text fields have to have single quotes. I'm also assuming that your table is actually named ADODB. If not then this would be an error. Again, you could have been a little more … | |
Re: Press page down while the listview has focus. | |
Re: A good programmer is not necessarily someone who spews out a lot of code quickly. Sometimes spewing out code quickly is required (fortunately not often), but over 32 years or so of employment I learned that my job was primarily to solve problems, not to write code. And when code … | |
Re: When the message pops up, start Task Manager and go to the Applications tab. Select the application that is displaying the message (you should be able to narrow it down) then Right Click and Go To Process. Once you know what process is generating the message you can use MSCONFIG … | |
Re: >Using the curly braces indicates an array, but the Add method only accepts 1 item. The array is the parameter provided to the ListViewItem constructor which is perfectly valid. The new ListViewItem is the single parameter provided to the ListView Add method which is also valid. | |
Re: Do what I do (aways good advice, right?). Open the forum in one tab and when you want to read a thread, open it in another tab. When you are finished reading all the threads of interest, scroll down and click **Mark Forum Read**. | |
Re: Because the data is in text form and is regular (all records contain the same number of fields and are comma delimited) why not just do a text read followed by a Split to get the fields? The format of the Split command is Split(line,",") It will return an array … | |
Re: As far as I know you can't create a stand-alone, single-file executable for a windows forms app. You have to create an installer. I haven't done this in vb 2012, however, I have a PDF of the Microsoft walkthrough for vb 2010. It's no longer available online so I will … | |
Re: Because this is a SQL problem rather than a C problem I'm moving it to the MS SQL forum. | |
Re: What parameters do you want to get passed to the button click handler that would not get passed if you just clicked the button? If you need to get at a value you could always set Button1.Tag to be the value before you do PerformClick, then clear the tag in … | |
Re: If you are doing it at design time then just select all child controls, cut, then delete the container, then paste the previously cut controls back on the form. | |
Re: That's what the code snippets are for. You might want to browse them. Have a look [here](http://www.daniweb.com/software-development/vbnet/code/423678/create-controls-at-run-time-with-events) and [here](http://www.daniweb.com/software-development/vbnet/code/446753/dynamic-control-creation-event-handlers-) | |
Re: > Slap some bacon on a biscuit and let's go! We're burnin' daylight The Cowboys (John Wayne) "I'm the son of a seacook!" | |
Re: Can you be a little clearer on how you want to present the questions and what you are having difficulty with? Is it the presentation of the questions? Is it the sequencing? Is it the database interface? >I want to show the questions from the questionnaire database to the question … | |
Re: What do you mean by **locked**? One suggestion is to download a linux LiveCD and boot off that to see if the drive is accessible. | |
Re: 1. How is the database file shared on the network? 1. Do you have read/write access to the shared folder? 1. How are you connecting to the database? | |
I find that I occasionaally have special projects where it would be nice to have a context menu for files. I tend to write housekeeping scripts and it is convenient to be able to run these scripts against one or more files at a time without having to navigate and … | |
Re: If I understand you, what you want to do is detect the ENTER key in the rich text box and do some special processing. You can use the KeyDown event for that. Private Sub RichTextBox1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown If e.KeyCode = Keys.Enter Then 'add custom processing … | |
Re: Could you possibly just post the table structure and tell us what you are trying to retrieve? | |
Re: In order to reference two tables you have to join them. Try UPDATE mytable SET mytable.fieldx = othertable.fieldx FROM mytable1 INNER JOIN othertable ON mytable.keyno = othertable.keyno or maybe clearer using aliases UPDATE m SET m.fieldx = o.fieldx FROM mytable1 m INNER JOIN othertable o ON m.keyno = o.keyno | |
Re: And what is your problem? By the way, please use the **Code** tool to insert code otherwise you lose all of the formatting. | |
Re: Two possible scenarios 1. If the data is in tabular form you can open the Excel files using ADO or OleDb and read the data like a database 1. You can use automation objects to access the data cell by cell I have a sample project for each that I … | |
Re: There is a certain query that you can use to check a table for duplicate records. This requires doing a JOIN on a table with itself. As far as I know, the only way to do this is by creating two aliases for the same table. |
The End.