- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hi all, I have a dell inspiron N5010 laptop, a day back it went off. I tried to restart and it just keeps on beeping. After a bit a looking aboud i figured it is a display error (failed LCD). So is figured if i remove the LCD cable from … |
|
I have a main application (web application) that consumes various other project (directly and chain). One of the projects happens to be Project named Parser. Parser project contains a dll, which is not refered as it is native dll. Properties of the dll file says Build Action: Content and Copy … |
|
I have a program that will connect to mysql server , now how to do for this work? What settings should I do on a mysql server? |
|
Hi, I am working of a PDF to image converstion. I found ghostscriptsharp which is a c# wrapper written for ghostscript. I used it and developed my application. Most thing if not all worked fine when i was testing with my console application. After I integrated it into the webapp … |
|
Hi, I am working on a application the requires some speech synthesis. After some reading around i decided festival and speech tools was the way to go. For recording in speech_tools, a executable program (na_record) is present. but when i use it i get the following error. ESD: record not … |
|
- - - - - - - - - * - - - - - - - - * * - - - - - - - * * * - - - - - - * * * * - - - - - * * * * * … |
|
using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace Genesis_Solutions_CRMS { public partial class formNewAccount : Form { public formNewAccount() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Information info = new Information(); info.Name = txtName.Text; info.Occupation = txtOccupation.Text; info.Dob = double.Parse(txtDob.Text.ToString()); info.Nic = … |
|
try { OleDbConnection connection = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;" + @"Data Source=c:\Users\PC\Documents\Visual Studio 2013\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Main database.accdb"); connection.Open(); OleDbCommand lala = new OleDbCommand(); lala.Connection = connection; string query = "SELECT * FROM [Firebird m0 Damage];"; lala.CommandText = query; OleDbDataReader reader = lala.ExecuteReader(); while (reader.Read()) { var parameter = new OleDbParameter("@Totalprice", OleDbType.SmallInt); parameter.Value = "comboBox6.SelectedValue"; … |
|
Hi, I have been getting this error when doing savechanges(). System.Data.SqlClient.SqlException: New transaction is not allowed because there are other threads running in the session. I read this issue in many places and most are fixed with a .ToList() .First() or similar methods (basically not changing the object while the … |
|
Hi, I am developing a module that will download pdf files to a location. For downloading i have used streams to read and write to file. initially each download would happen in a thread, so for the sake of pausing and resuming i would just pause and resume the thread. … |
|
Hi, I am working on a module that uses a lot of object creation (by lot i mean, really lots). So for obvious reasons i have seen Out of Memory exceptions. Now although the objects are being created are too many they go out of scope quickly as well. So … |
|
i am new to c# i have been working on controlling a io card i have no issue writing to turn on / toggle / or get status turn on bits |= 1 << bit; toggle bits ^= 1 << bit; but i cannot get the item pin to turn … |
|
Hi, I have been working on a application that used sqlserver 2008 R2. we had used filestream that was there in 2008 r2. there was a decision to move from 2008 R2 to 2012 express. Now i understand that file table is a new addition to 2012 and will do … |
|
I have a table `tbl_mdcl` which show the sale details. I got the `tbl_mdcl` data using: SELECT TOP 1000 [Invoice_No],[Invoice_Date],[CustomerId],[Med_Name],[Comp_Name],[Date_Manaf],[Date_Exp],[Qty],[Price],[Discount],[Retail] FROM [MMIS].[dbo].[tbl_mdcl] Following is the result of query: http://i.imgur.com/51seVlK.jpg To gather and report a monthly report using the above table ,i created a new CrsytalReportViewer and set its datasource to … |
|
Hi, I am trying to explore PoDoFo for parsing PDF files. So I tried to build it on Visual studio following the procedure in the ReadMe.html that came with the package. So i used the following cmake command: cmake -G "Visual Studio 9 2008" -DCMAKE_INCLUDE_PATH="D:\PoDoFo_VS\CmakeRefer\ft245\freetype-2.4.5\include;D:\PoDoFo_VS\CmakeRefer\libjpeg\build\include;D:\PoDoFo_VS\CmakeRefer\libjpeg\build;D:\PoDoFo_VS\CmakeRefer\zlib\build\include" -DCMAKE_LIBRARY_PATH="D:\PoDoFo_VS\CmakeRefer\ft245\freetype-2.4.5\objs\win32\vc2013;D:\PoDoFo_VS\CmakeRefer\libjpeg\build\lib;D:\PoDoFo_VS\CmakeRefer\libjpeg\build;D:\PoDoFo_VS\CmakeRefer\zlib\build\lib" -DPODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype245MT_D -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype245MT .. … |
|
Hi, I have been working on the entity framework for a short span of time. My question is regarding savechanges() or rather what exactly is hapening in this scenario. I have 3 tables: Container , subcontainer, innercontainer there is a 1-n relation between tables in the specified order. i have … |
|
trying to not allow doubles if there is a double For example, if the app returns two random numbers that are the same (5 & 5), the app will recognize this and adjust one of the numbers so that it is no longer equal to the other number. The results … |
|
Max and min come out wrong, they go to 0's when it outputs ? How do I fix, any solutions?? #include <iostream> #include <iomanip> #include <string> using namespace std; int main() { int x, y, z; int total; float average; //Read data into x, y, z void ReadData(int & x, … |
|
Hi, I have a filestream enabled DB and a table to store the files. Until now i used to get the path of the file that has to be saved to DB. But due to some changes this was changed and now i get a byte array. my question here … |
|
Hi Guys, Im a bit puzzled on the best way to store data which will later be saved to a csv. I am doing a record search on a database table which will get cycle through each employee and get the relevent information. Once I have done this I will … |
|
Hello everyone I know that my question may be asked before by many people I want to start learning programming games. Have knowledge of the language C, C ++, C-Sharp, and a little Java. Since considerable length of time and I want to start in this field programming games and … |
|
The .Net Framework uses by default radians in its trigonometry calculations. Find out how to convert degrees to radians to use with C# |
|
I am trying to find out the bounding box of a bezier curve. I know that it can be done by getting all the points using de Casteljau's algorithm and then finding the minimum reactangle around the curve. But de Casteljau's algorithm will make my application too expensive, i feel. … |
|
|
|
i am trying to start a form named login. i have changed my start up form in properties but different form start when i click debug. can you help me??? |
|
Okay so first is I am confused with the void function. It is said that void function does not return a value. If for example I have a void function that gets user input, like price and month, how do I use price and month to do another function? int … |
|
|
Kind of stuck here. I'm porting over a section of code from Java to C#, and I'm having an issue with method permissions constructors. Early in my code, i have this class.. public class TCard { int suit; int rank; } and later i've got this method, which throws a … |
|
The code below is a working program, but I just can't figure out how to correct the loop. I need it to loop back at the complection of case A, B, C and to end with case X. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtmProject { class … |
How to make the code with Random numbers and Time Executation? #include <iostream> /* cout */ #include <cstdlib> /* srand, rand */ #include <ctime> /* time() */ #include <list> /* list */ #define BASE 10 // # of buckets to use #define ARRAY_SIZE 50 // max # of elements in … |
|
Hello again, i have this code string descf = //insert string char[] create20spaces = { ' ', ' ', ' ',' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', … |