4,901 Posted Topics
Re: You could try opening a command shell as Administrator and typing cacls foldername /e /g everyone:full Then you can copy the folder/files to a FAT32 formatted drive. This will copy everything but the ACLs. Delete the original folder then copy it back from the FAT32 drive. If running as Administrator … | |
Re: You can find that [here](http://lmgtfy.com/?q=What+are+the+ASP.NET+MVC+prerequisite). | |
I got a call from recently from someone claiming to be a Dell tech rep. He said my laptop was reporting multiple errors. Realizing immediately that this was a scam I let him continue while I started a Windows 7 Virtual Machine session. Because I had some free time I … | |
Re: If you are only interested in the number of rows of something then do SELECT COUNT(*) FROM test [WHERE...] Doing SELECT SQL_CALC_FOUND_ROWS * FROM `test` is a waste. In the first case, all the db has to return is the record count. In the second case it has to return … | |
Re: Please show your code. If there are errors with Connection.Open then it may be related to your connection string so please also post details about your database setup. | |
Re: Unless the textbox is set to multiline it will never contain a vbCrLf. | |
Re: Technically any file format, as long as it is structured, qualifies as a database (excel, csv, txt, xml) but i suspect that you will be expected to use an actual database. Since you already have Excel then you likely also have Access so I recommend that. | |
Re: The Microsoft documentation for the use of embedded WMP is obtuse at best. It describes the pieces without giving any useful information on how to use them. Having said that, I have not found a way to enable/disable the individual controls. They appear to be managed by the object itself … | |
Re: I recently rebuilt a friend's PC. He had dual boot Vista/Win7. All I had to do was run `msconfig`, go to the `boot` tab and remove the Vista entry. Once I had done that I was free to delete all of his Vista folders. | |
Re: As far as I know you cannot do this with a bulk insert, only a regular insert. ![]() | |
Re: Whenever I am asked, "what language should I learn first", my answer is always, "English". Being able to communicate effectively is going to be your biggest asset. For example, your thread had the extremely uninformative title of "need help". As an effective communicator you should have taken the time to … | |
Re: I get about 600,000 results if I google `how to do recursion in c++`. Have you looked at any of those? | |
Re: Or you could skip the last `if` and just use while (pick !== 'quit') | |
Re: Greetings from Winnipeg. Good to see you. | |
Re: You could always go to [Rosetta Code](http://rosettacode.org/wiki/Category:C%2B%2B). That link will take you to the C++ page with a list of problems with sample code. You could look at the problem definition (there are a large number of problems), try to code up a solution, then refer to the given solution … | |
Re: That seems like an odd error considering that you don't have a parameter named `@name`. Are you sure there isn't a typo in there? Please add the following code just above Comm.ExecuteNonQuery and post the output here For Each item In Comm.Parameters Debug.WriteLine(item.parametername & " = """ & item.value & … | |
Re: After you create the query but before you execute it add the following line Debug.WriteLine(query) then post the output here. You also might want to have a look at [using paramterized queries](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks). | |
Re: Have you checked out [ConnectionStrings.com](https://www.connectionstrings.com/)? | |
Re: And you could charge him a fee for the installation and configuration and possibly a bit of training. If he is happy with the service he will likely return when he needs more help. | |
I was looking for an Excle/vb.net code snippet that I posted a long time ago. I went to advanced search and selected `Programming` and `code snippets` with the search string `Excel`. The only hits that I got were member names containing `Excel`. I replaced `Excel` with `Reverend Jim` and got … | |
Re: Please read [this thread](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) for suggestions on how to post meaningful questions. Keep in mind that we expect you to show what you have done so far. | |
Re: If you put a little effort into asking a proper question I'm sure you will get some useful feedback. In the meantime please read [this thread](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) for suggestions on how to post meaningful questions. | |
Re: >Does anyone see a use to this? Is anyone even using chat? Doesn't look like it based on reviewing the logs. I don't see the ROI potential here. I think you are more likely to just get more HELP HELP HELP URGENT!!! types who don't want to wait for an … | |
Re: You can start by being more helpful when you post. For example, you said you gave it 40mb and now the space is showing 20gb. That statement is confusing if not meaningless. 1. how big is your physical drive 1. how is it currently partitioned 1. how much free space … | |
Re: You could make an NxM array of buttons or pictureboxes at run time depending on your other requirements. Both allow you to set an image to display. Please refer to [this article](https://www.daniweb.com/programming/software-development/code/423678/create-controls-at-run-time-with-events) on how to create controls at run time. One advantage is you can use the same handler for … | |
Re: I can see several issues off the top of my head such as - You may have to guarantee that your drive is available 24x7. What provisions would you have to make in the event of a failure (hardware or software) - Would you have to guarantee any type of … | |
Re: You can load an image into a picturebox by Dim fs As New System.IO.FileStream(filename, IO.FileMode.Open, IO.FileAccess.Read) pbxPicture.Image = System.Drawing.Image.FromStream(fs) | |
Re: When you declare an array in vbScript the indexes go from 0 to the number declared. As silly as that may be, it works the same for vbScript and vb.Net. Feel free to post any more vbScript questions you may have. It was my main programming language for about 8 … | |
Re: There is an article on how to create vb.net controls with events at runtime [here](https://www.daniweb.com/programming/software-development/code/423678/create-controls-at-run-time-with-events). After you read it please feel free to post any questions you have here. I realize that you are coding in C# but the technique is the same. I'll try to code up a C# … | |
Re: Please consider that when you just post a homework assignment verbatim you are possibly in violation of some sort of copyright. Also please note that nowhere in your post is there any question actually coming from you. To us it looks like: >Here's my homework assignment. I'm too bloody lazy … | |
Re: Are you actually unable to read any of the dozens of books or hundreds of introductory web sites that show you how to do this? You are too lazy to Google this yourself, but you expect someone here to spoon feed you the answer to such a simple question. | |
I frequently find myself looking for files on my computer. 99.9% of the time I am looking for a file by name rather than by contents. Typically there are two ways to find a file when you don't know what folder it is in. You can do it from the … | |
Re: Here's an example of how to [export data from a ListView to Excel](https://www.daniweb.com/programming/software-development/code/464769/export-listview-to-excel-spreadsheet) but it doesn't use OleDb. | |
Re: 13973.88 is closer to 15833 than it is to 10000 so what is the problem? | |
Re: You have to declare your strings to have enough space to hold the longest expected string. Since you declared only one char for name (for example), any unused input chars are used to fill input requests for the other input variables. Try something like char[50] for name, etc. As written, … | |
I'm having issues with my TrendMicro anti-virus software where my disk activity hits 100% for 10-15 minute periods randomly throughout the day. TM tech support has made a few suggestions but in order to track their effectiveness I have to monitor my disk activity in such a way that I … | |
Re: Please provide more detail and show us what work you have done so far. | |
Re: Wouldn't most compilers optimize `y = x-1+1;` to `y = x;` anyway? | |
| |
Re: As a self-confessed beginner you have a lot of work to do before you can get on a real project. | |
Re: Do you have a question? | |
Re: Can you please be clearer on what you mean by "ethical hacking"? It sounds like an oxymoron to me and the word, hack, has been so horribly misused in recent years as to be practically meaningless. | |
Re: Is it part of your desktop wallpaper? Does it appear when you boot into safe mode? What if you log on as `Administrator`? On most Windows systems the Administrator account is not active. In that case, open a command shell as Administrator and type net user administrator /active:yes The next … |
The End.