Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~53.3K People Reached
Favorite Tags

45 Posted Topics

Member Avatar for necrovore

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 …

Member Avatar for Reverend Jim
0
672
Member Avatar for necrovore

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 …

Member Avatar for LaxLoafer
0
221
Member Avatar for javi2015

Going with what i have heard from a mysql dev friend you require a .net mysql connetor installed. And then use the connection/command classes provided by it. maybe that is what you are missing? maybe i am wrong, cant gather much from the OP.

Member Avatar for necrovore
0
179
Member Avatar for necrovore

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 …

Member Avatar for necrovore
0
278
Member Avatar for necrovore

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 …

Member Avatar for rproffitt
0
212
Member Avatar for ArunSP

You could change Line 17 of your code to `System.out.println("*");` to add that '*' you want.

Member Avatar for ArunSP
0
209
Member Avatar for Ali_51
Member Avatar for lithium112
0
301
Member Avatar for john_93

> it only returns 1 value Perhaps that is because you are overwriting the contents of the textbox. Try changing line: `textBox15.Text = reader["Totalprice"].ToString();` to `textBox15.Text = textBox15.Text + " - " reader["Totalprice"].ToString();` then it will show all the nultiple values seperated by "-". If u do this and still …

Member Avatar for JOSheaIV
0
237
Member Avatar for necrovore

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 …

0
213
Member Avatar for necrovore

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. …

Member Avatar for necrovore
0
402
Member Avatar for necrovore

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 …

Member Avatar for JOSheaIV
0
195
Member Avatar for HITMANOF44th

Few things here i cant seem to understand in ur code: -your pinon method takes only 1 argument of type int, but u seem to be passing 5 integer values. - pinoff method takes a argument and being used at all. It will be helpful if you could give a …

Member Avatar for HITMANOF44th
0
127
Member Avatar for necrovore

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 …

Member Avatar for necrovore
0
361
Member Avatar for javed.iqbal.3979

Now you are just directly taking ur records from the table. Instead what u want is to have your own query that will select only what you want. Use a DataAdapter to write and query and use a dataset to bind to crystal report. something like [this](http://www.codeproject.com/Articles/28899/Crystal-Report-with-DataSet-and-DataTable-using-C).

Member Avatar for necrovore
0
124
Member Avatar for necrovore

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 .. …

Member Avatar for necrovore
0
2K
Member Avatar for necrovore

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 …

Member Avatar for TekknoDraykko
0
554
Member Avatar for rangers165
Re: Dice

From what i understood, when u generate a number you always want two numbers to be different. if i understood right this will work Dim ranGem As New Random Dim dblnum1 As Double Dim dblnum2 As Double dblnum1 = ranGem.Next(1, 7) Do dblnum2 = ranGem.Next(1, 7) Loop Until (dblnum2.Equals(dblnum1) = …

Member Avatar for rangers165
0
290
Member Avatar for DS9596

First thing i see, there are functions within functions. That is not right, is it? Or is it something new that has come along with C++0x?

Member Avatar for necrovore
0
1K
Member Avatar for necrovore

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 …

Member Avatar for necrovore
0
265
Member Avatar for ogsirus

In SQL server you can use the bcp utility for the doing that. [See](https://msdn.microsoft.com/en-us/library/ms162802.aspx)

Member Avatar for deceptikon
0
336
Member Avatar for Amr_Mohammad_R

You might want to search for game engines. there are quite a few of them and also supports a number of languages, so i am sure who will find a engine that has support for the languages you already know. Unity is a tool that lets you program in C# …

Member Avatar for Heanre
0
216
Member Avatar for vckicks

It gives an error because tan(90) is undefined. See [this](http://mathinstructor.net/2012/08/values-of-trigonometric-ratios-for-0-30-45-60-and-90-degrees/)

Member Avatar for ddanbe
1
722
Member Avatar for necrovore

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. …

Member Avatar for ddanbe
0
240
Member Avatar for PornimaKolte

Its very well explained in 'Introduction To Algorithms' by Coreman, Leiserson, Rivest and Stein. Its a good book. There are a number of ways for can find the complexity, few good methods are explained in there. Hope it would be help to you.

Member Avatar for necrovore
0
93
Member Avatar for kaye.santos.92

This has happened for me more than once. I usually do delete all the files in the debug folders and run it again, it works everytime. "Clean solution" on visual studio will do this for you i think.

Member Avatar for Piolo_1
0
164
Member Avatar for redtribal23

You could do it by: 1. declaring the variables as global. 2. pass the variables by reference.

Member Avatar for redtribal23
0
149
Member Avatar for humorousone

I feel default access specifier of java is more inclined to the internal access specifier of c#.

Member Avatar for humorousone
0
24K
Member Avatar for srentrop

This will make the do while loop to be looping till the sResponse becomes X // keep looping while the user's choice isn't X } while (sResponse != "X" );

Member Avatar for necrovore
0
248
Member Avatar for Diellza

Line 24 of the code you posted `rand()%1000 + 1;` is generating random numbers. rand() function generates a random number, %1000+1 makes sure that you get a number not exceeding 1000. SO you get a random number not exceeding 1000

Member Avatar for Diellza
0
617
Member Avatar for kidkardel
Member Avatar for ddanbe
0
140
Member Avatar for Amr_Mohammad_R

If have a `ManualResetEvent` and you can initialize that to false (not signaled state). Then in the thread that opens the other form you can `waitone()` . Once all the statements in the first thread is done you can signal the state by setting ManualResetEvent to true, at this point …

Member Avatar for darkagn
0
180
Member Avatar for alex.alekan

I tried something similar some time back and [this](http://www.codeproject.com/Tips/801032/Csharp-How-To-Read-xlsx-Excel-File-With-Lines-of) came in handy for me. Give it a look if u have not seen it yet. And if i am seeing ur problem right, you are getting the data from the xlsx to be displayed on textboxes in the form. For …

Member Avatar for ddanbe
0
470
Member Avatar for pooja.singh.3950

Check this [Code Chef](http://www.codechef.com/problems/COINS) link. Its the same program. Many solutions are given.

Member Avatar for pooja.singh.3950
-2
391
Member Avatar for andruluchko

Why are you doing `first = p;` everytime you are adding a node. It has to happen only for the first node. After the first while loop first is pointing to the last element. Once you have done this, you need to traverse throught the list to print the first …

Member Avatar for Banfa
0
2K
Member Avatar for Glaven
Member Avatar for Glaven
0
622
Member Avatar for chubbyy.putto

Class Person { string name; string sex; string Dog_name; } ..... ArrayList<Person> persons = new ArrayList<Person>(); Now if u iterate through this. you can get the object, it will ensure u wont get a wrong dog's name.

Member Avatar for zolymo
0
211
Member Avatar for Waldis_1

It seems like you are trying to generate an ID, if i am guessing right. In that case wouldn't it be better if you used the `Auto_Increment` feature of the DBMS?

Member Avatar for Santanu.Das
0
11K
Member Avatar for MatthewVb

If u are only keeping track of score then you only need a score variable that will be incremented after each roll of the dice (which is one ball). But there are limitations to this, you would not be avle to pull out statistics like avg runs per over, highest …

Member Avatar for necrovore
0
196
Member Avatar for kidkardel

Check this out. Not sure if u have already stumbled upon it, if u havent hope it helps. https://inputsimulator.codeplex.com/

Member Avatar for ddanbe
0
199
Member Avatar for necrovore

Hi all, i am working on pulling out text and its properties from a pdf file. iTextSharp library is used for this purpose. Initially i took the fontsize property directly from the tf operator. but then i stumbled on a scenario where tf said font size was 1. So i …

Member Avatar for necrovore
0
1K
Member Avatar for necrovore

Hello all, I am working on a project and i need to basically copy a directory and its files to another location. I have figured out that xcopy comes in handy for what i want to do.but somehow when incorporated into my C code, it does not work. The code …

Member Avatar for necrovore
0
267
Member Avatar for necrovore

hello, I am working on a project that involves a bit of directory manipulation. Until now i only had to create create directories as per user input, so till now the commnad mkdir worked fine: mkdir("c:/test"); But now i have to do some manipulations on the string to get the …

Member Avatar for Moschops
0
198
Member Avatar for kieranrea

I am not sure of this, but i think it is because the stream is not cleared. add fflush(stdin); before the printf("\nAdd In Sale? Y/N: ");

Member Avatar for somjit{}
0
159
Member Avatar for necrovore

Hi, I am trying to generate a sales report for a given date in the crystal report. In my table i have a billdate and other information. Now what i am trying to do is to get all the sales into my report when i specify a date. I have …

Member Avatar for necrovore
0
100
Member Avatar for c#dummie

[MSDN Link](https://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.sort(v=vs.110).aspx)

Member Avatar for jugosoft
0
700