- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 132
- Posts with Upvotes
- 103
- Upvoting Members
- 66
- Downvotes Received
- 8
- Posts with Downvotes
- 7
- Downvoting Members
- 8
Re: I think in TV and film that there is a term for just believing things or ignoring them for the sake of action and entertainment. I'd still like to add to this list however. A number of to super agents are are chasing a bad guy, the action and shots … | |
| Re: I watched [Bad Grandpa](http://www.rottentomatoes.com/m/jackass_presents_bad_grandpa/) tonight. I never thought I'd laugh so much at silly pranks, but was creased over through the whole thing. |
I'm setting up new install of win 10 home premium on a laptop for friend. After setting up the initial local admin account, I created standard local account for friend to use. I wanted to give her ability to install applications so she gets admin password, but I wanted to … | |
I'm reading data from SQLite database table. If the SQLiteDataReader encounters a negative double an InvalidCastException is thrown. Here is my code. public void DBToArray() { string stm = "SELECT * FROM mtable"; SQLiteCommand cmd = new SQLiteCommand(stm, sqlcon); SQLiteDataReader rdr = cmd.ExecuteReader(); while (rdr.Read()) { Console.WriteLine( rdr.GetInt32(0) + " … | |
Hi, I am following a walkthrough of [Entity Framework Code First to a New Database](https://msdn.microsoft.com/en-us/library/jj193542(v=vs.113).aspx) Everything appears to go as expected right through to the end of step 4, where it says "We can now inspect the schema that Code First created." The database shows up under data connections in … | |
Re: Try Convert.ToDateTime(DropDownListSearchRec.SelectedValue.ToString.()); | |
Hi all. I'm reading about SOLID way of coding and am only looking at single Responsibility of objects (S). I will be creating a string helper class and I'm wondering if I have two methods or more in the class, if I am still adhereing to SR if the methods … | |
Hi all, I have a lot of long boring work ahead of me, unless this long shot comes up roses. I have a lot of classes I need to add a ToByteArray() method to, and I'm wondering if Visual studio 2015 has any tricks up its sleeve where I can … | |
Re: To use different applications on different adapters (internet connections) I have used forcebindip. https://r1ch.net/projects/forcebindip | |
Hi all. I'm working on a client server application, eventually to be a POS (point of sale) system. The model is something like, client (till) does not have access to the database, instead it sends data to the server application, which in turn deals with the database and any other … | |
Hi all. I've had a good look around for info, and come up short. Does anyone know of a way to get the thread id under which a service is running, from either safehandle or unsafe handle properties of the object? wmi with Win32_Service does not appear to provide it, … | |
Hi all, hope you are well. I'm trying to make my code as efficient as possible, and currently regarding logic I have a question. Is there a way, in the following single "if" query, to determine which of the conditions are true? if (mystring.Contains("left") || mystring.Contains("right")) { //which is it … | |
Hi. I invoke method from other thread which did not create ui. Appears to work well... DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); But I need return value from Add method, so I do... int Index = (int)DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); Unfortunately I get an error... "Object reference not set to an instance of an … | |
Here is example class, the commented code in constructor works as well as the initializer. My question is, what is the correct way? class NClass { public: int _pid; std::wstring _name; NClass(int pid, wchar_t * name) : _name(name) { //_name = name; } void Print() { std::wcout << _name; std::getchar(); … | |
I'm having trouble calling unmanaged dll function from the windows win32 apis. I've tried many ways, but the following was my first and what I think should work. using System.Diagnostics; using System.Runtime.InteropServices; namespace Win32DllImports { class Program { [DllImport("Urlmon", EntryPoint = "ObtainUserAgentString", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)] private static … | |
Re: Perhaps I don't know what I'm talking about, but it's quite unreasonable to expect any host to be around for the rest of your life, and perhaps quite foolhardy to expect hosting to be as hosting is at all in 10 years. and unfair to ask personal recommendation from experience … | |
Re: Also, try opening them with some zip/compression tool you have. | |
Hi all, I'm having trouble finding information for what I need. I think it's because I don't really know the nane of what I'm looking for, so keywords are eluding me in my search. I hope my explanation might give someone a clue who can help or at least tell … | |
Re: My first port of call was to http://www.pinvoke.net/ when I needed this. | |
Hi folks. I'm looking for some pointers on how to "stream" a video file which is online. I have no control over its location it could be http://anywhere.com/ontheweb.mp4 for example. In my browser if I put the link into the address bar, it will simply download it to HDD. I … | |
Having problems getting my code to run on non dev machines. All machines are win 10 and my code targets .Net 4.6 which is supposed to ship with it. On one machine I had a problem where an exception to do with System.Data.SQLite was thrown and on another I had … | |
Re: I don't know what ExecuteScalar() is, but should you not have a reader for a db query? | |
My project uses local sql database. I tried the app on a non development machine for first time. Got a message saying it was downloading required files, sql 2008 express, at a whopping 600MB+ file. Please tell me I've done something wrong, and any user of my app will not … | |
Re: I think it's fine to say, that you are *basically* looking at the "travelling salesman problem" Reasearch that. | |
Re: How are you testing that the table is not added to? Check the .mdf file in debug folder. | |
Re: https://www.daniweb.com/programming/threads/502682/i-have-one-error-plz-currect-it#post2197317 | |
Re: Please do daniweb members the courtessy of outlining your error. Thanks. | |
I have many checkboxes on my form, I decided to create a custom checkbox to use instead. I thought I could just change the following two lines of code in Mainform.designer.cs... `private System.Windows.Forms.CheckBox chkapp;` to `private CustCheckBox chkapp;` and `this.chkapp = new System.Windows.Forms.CheckBox();` to `this.chkapp = new CustCheckBox();` And I … |