- 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
432 Posted Topics
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 … | |
I'm trying to draw a border around some controls in order to highlight them, but I'm getting unexpected behaviour, in that nothing is drawn. Here is a current event method. I've tried a few variations. private void checkBox1_Paint(object sender, PaintEventArgs e) { if (statechanged) { //Debug.WriteLine(checkBox1.Checked.ToString()); statechanged = false; ControlPaint.DrawBorder( … | |
Re: https://www.daniweb.com/programming/software-development/threads/484455/i-want-to-save-the-capture-fingerprint-into-database- | |
Re: Might be worth taking a look at https://gist.github.com/anonymous/fe757151d37a7f229386 | |
Re: Keep track of "SelectedIndex" property in "SelectedIndexChanged" event handler. | |
Re: I think a potential problem might be that word.length() is greater than the size/length of dir. | |
I'm not even sure what it's called or even if it's possible, what I'm trying to do. I'm hoping the code might explain it. Each class that derives from Base has a method named oPrint, and I want to call them in the below fashion(ish) if possible. namespace nSpace { … | |
Re: Installing malware detection and/or removal software on an already infected laptop is quite close tp pointless. I don;t suggest it impossible to restore to working order, just that your time and resources would be better spent moving important data to an external device and cleansing it from a clean computer. … | |
I recently started to develop a project under visual studio 2015 on my windows 10 machine. I zipped it up and moved it to my windows 7 machine (physical not VM), also visual studio 2015. All it is, is a helper class for reading and writing to the registry. On … | |
Re: Query the Name row for the name in the textbox. `Select * Were Name = textbox1.text` | |
Re: To get a string from a method called categdisplay, you will first and foremost need a method called categdisplay. And probably return a `new` string from it. | |
Re: I've not done this in c# but I'm sure the windows api will be quite ckunky for it and might not even work on non standard win32 windows and controls, So I point you toward [ui automation]( https://msdn.microsoft.com/en-us/library/ms747327(v=vs.110).aspx) | |
| |
Re: > web hosting costs are over $5000/mo I'd change my host, that's just ridiculous. Is it hosted on the moon or something? | |
I have a windows form application, which uses some user settings (Settings.settings) One of those settings if of type bool and set to default of False. In my form_load event I check that value, if it is true then a new form is started where user enters a password, and … | |
Re: class Account { Account() { } ~Account() { } } class Savings : public Account { } class Checking : public Account { } There's your start, now show some willing. Few will do your homework for you. | |
Re: Here is an image of this topic as I see it on my PC. http://postimg.org/image/x98hk6vvl/ Notice anything? It's a mobile phone image in the middle of my screen. I don't have a problem scrolling, It's not hard, I just don't like to scroll past vast wasted space. | |
Tried to cash out over 8 weeks ago, but still just "pending". Has this been dropped now, or was it ever even real? ![]() | |
Re: More info please, and decide whether this is C++ or visual Basic issue. | |
Re: Not a part of the site I'd go to, I certainly don't see a New tab anywhere. I'm probably missing it somehow. (edit) And of course I see it immediately after posting. ![]() |
The End.