432 Posted Topics
Hi folks. I'm having a problem with VS2010 where suddenly one of my projects is displaying the warning "The referenced component 'System.Data.SQLite' could not be found". All i can find about it in my search is a problem with building both x86 and x64 applications, but my project is only … | |
Re: No-one can know until they see how you do it now | |
Re: > fruits/vegetables lose much of their nutritional value when they're converted into liquid format > The experts I spoke to said all you lose with juiced fruits and veg is fibre, and that is only because some juicing methods remove fruit and veg skins/peels. I leave skins on most veg … | |
Re: [Alfred Hitchcock Presents](https://www.youtube.com/watch?v=0_AmqBGDJDs) is a great theme, I believe by Charles Gounod. But my all time favourite is Laurel and Hardy theme, [Dance of The Cuckoos.](https://www.youtube.com/watch?v=snnCKVFzjHE) | |
Re: Or in simpler terms, const means constant, it cannot be changed. | |
Re: It is your responsibility as developer to ensure your update is backward compatible and/or can import the old database to the new. | |
Re: In latest chrome, for me it's fine. I visit daniweb, the chatbox fires up, I shut it, and it does no appear again until I restart my browser. | |
Re: If you post the code you have tried it will go a long way to getting faster help for your urgent homework. | |
I'm writing a small backup app, where a folder is selected, zipped, and stored in an SQLite database as a blob along with it's MD5 hash, date, paths ect.... My problem is that when the zipped file is around 600MB+ I get an SQLiteExecption out of memory. The error was … | |
Re: "I'm also really excited by CERN's discovery of the Force that binds the galaxy together." :) haha. | |
When I try to make a thread and put my code in it I get the following error... > The code snippet in your post is formatted incorrectly. Please use the Code button in the editor toolbar when posting whitespace-sensitive text or curly braces. I've no idea what I'm doing … | |
![]() | Re: Just got a jab in my gum to numb it, and the dentist yanked it out. five minutes, no big deal. |
I'm using the titled library from http://dotnetzip.codeplex.com/ I've zipped up a few folders and files `zip.AddDirectory(path);` where path is a fully qualified path to the folder I want to zip. When I extract `zip.ExtractAll(AppDomain.CurrentDomain.BaseDirectory + "Zipped");` I get the whole directory hierarchy in the "Zipped" folder. That is fine if … | |
I've been using [DB Browser for SQLite](http://sourceforge.net/projects/sqlitebrowser/) to peer inside database for debugging. It's been very good and simple to use. However it does not support a DB which has a password. It is fine with DB that I do not have password. Wondering if anyone knows of a db … | |
Re: Sounds like a recruitment drive to get more people working on projects. Much like the [last one you posted](https://www.daniweb.com/business-exchange/show-off-your-projects/threads/485875/c-lets-play-a-game). | |
Re: Not exactly sure what you're asking but as a guess I'd say write it in C or C++ | |
Re: Will do for £1000 sterling. Will help with your own code for £0 sterling. You choose. | |
Hi, and sorry for the title, I don't really know what else to call it, so I'll get right to my point. I've recently decided to use most of my coding time with C# after having tried a few others over the years on and off. I want to start … | |
When I add a particular form to my project (AdminConfirmForm.cs) I can no longer access design view of Form1. It appears to run a particular section of the code from a static class (Init()), but since the part of the code it runs should only occur if the folder it … | |
Re: I think the poster is wanting to pay via paypal, but with an unverified account. Some people accept that, others do not. I'm surprised Daniweb donation system does not to be honest. | |
Re: You have an ebedded class it seems, and two Main(), along with non declared variables being used. Have a look at this, see if it's any better. Sorry, I forgot to comment what I did as I was doing it. namespace daniwebtestconsoleapp { class Program { static void Main(string[] args) … | |
I'm currently using this code to restart app with admin rights. // If application can not write to path, alert user. if (!pathiswritable) { if (MessageBox.Show("The application cannot use the current location\nRestart as administrator?", "Need elevation", MessageBoxButtons.YesNo) != DialogResult.Yes) { Exit(ExitError.NOT_WRITABLE_USER); } ProcessStartInfo SelfProc = new ProcessStartInfo { UseShellExecute = … | |
Trying to use source control for the first time. I installed git and added it to visual studio 2010. Made my project folder a git repo, commited it, and pushed it. But all I can see in my git bitbucket remote repo is this. http://s12.postimg.org/4w8flnx31/git1.jpg I do not see any … | |
Re: As far as I am aware, each exe has it's own instance (process) and no such collision would occur. | |
![]() | Re: I'm very happy that I cannot grasp the reasoning behind why some people crave attention and worth, and try to gain it through lies and deception. If I did, I might be one. If such people put as much time and effort into learning and improving their skills, it's possible … |
Earlier I posted a snippet which showed [how to create a 2 dimensional string array from an SQLite database table](https://www.daniweb.com/software-development/csharp/code/494083/sqlite-database-table-to-2-dimensional-string-array-). This snippet is the reverse, if you will, where we create an SQLite database table from a 2d string array. It should be noted that this code has it's limitations, … | |
Re: Yes, that's exactly it. | |
Hi guys. I have a date in format "2015-04-04 10:50" (yyyy-MM-dd hh:mm) I'm having a tough time finding a way to alter this date if a condition is met. The condition is not the problem, I can get a true of false but the conversion is proving difficult to fathom … | |
Each time I first visit daniweb after a browser restart, I get a chat popup box appears, just says hello in it. How can I stop it from appearing all the time? | |
I was working on this function which was quite specific to my project, so thought I'd make it more generic and share it, since I could find very little on the subject in my searching. Code also demonstartes how exceptions can work to your advantage when you know they are … | |
Re: Ask the question again **please**, with more information than you have provided. ![]() | |
I'm printing some strings to the output console to visualise an array, so I'm looping though a string array and using `Debug.Write(array[x,y] + "\t")` etc... All was fine before I went to bed, and the output was fine, like this. "type-b flat three core 29/03/2015 23:34 6 £13.65 wire grade" … | |
Hi. In my application I'm using Excel to get some data into an array from a worksheet. Here is my method. public string[,] WorksheetToArray(string path, bool visible = false) { oExcel oXL = new oExcel(); // here new icon appears. if (oXL.Error > 0) { MessageBox.Show("An Error Occurred" + "\r" … | |
Hi guys I'm wondering if this possible in some fashion? I'm trying to create a settings object, and pass it around my forms in project. Ultimate goal is to have my application title, which will appear on all forms title text, in app.config or user.config. Program.cs namespace TestApp { static … | |
Code: Form2 ConfigForm = new Form2(); ConfigForm.Width = 300; ConfigForm.Height = 148; ConfigForm.ShowDialog(); What I get is http://s3.postimg.org/hyiqmmacj/Test_App2.jpg Which is totally wrong size. What it's like in designer, and what shows if I just use ConfigForm.Show() is. http://s3.postimg.org/x5yq6z277/Test_App1.jpg Does anyone know why this ocurrs, and how to fix it? Thanks … | |
I was trying to learn how to add and use User settings and Application settings. And somehow I've managed to create some kind of double setting. Here is my app.config file. <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a6c561934e089" > <section name="TestApp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, … | |
I'm getting an excel range to an array. From my search it was clear I need to use object array. object[,] saRet; oRng = oSheet.UsedRange; saRet = (System.Object[,])oRng.get_Value(Type.Missing); This works fine, but what I really need is for that array to be string. So how might I cast object[,] to … | |
Here is my RegEx declaration. private Regex rxPattern = new Regex("^(book-[a-z]{1}\z)"); I'm expecting it to match start of string "^" To end of string "\z" But the "z" is causing the error. I'm fairly new to RegEx and cannot find a solution, if anyone can educate me a little that … | |
I have a function that counts the commas in each item of an array of string. public int CommaCount(string[] sarray) { int count = 0; int commas = 0; for (int i = 0; i < sarray.Length; i++) { commas = sarray[i].Count(c => c == ','); if (commas > count) … | |
Re: You should really have left your question and provided your answer, This thread is just a useless waste of time now. | |
Re: Does your teacher have the work you missed, online? | |
Re: First thing you do is check the the value of hr. | |
Re: Such a broad question should be first researched via a search. | |
Re: Is this your code or third party app? | |
Re: Here on daniweb, you tend to get from it's members, answers proportianal to the question. If you put no effort or detail and background into your post, you're unlikely to get much of a relevant response. |
The End.