all groups > c# > december 2007 > threads for tuesday december 11
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Open Source PDF library for C# for data tables
Posted by Benjamin The Donkey at 12/11/2007 11:42:52 PM
I'm looking for an open source C# library that can convert an html
table into pdf document. Right now I am using a commercial
implementation and drawing a table manually. I am losing sleep and
some hair doing it this way... Any recommendations?... more >>
Present updating data
Posted by csharpula csharp at 12/11/2007 11:21:40 PM
Hello,
I would like to know how can I present updating (on the fly) data in a
DataGrid type control. The control will get url as an input and need to
present the log changing content in a DataGrid style control.How to do
it in WinForms? Thank you!
*** Sent via Developersdex http://www.dev... more >>
Updating Control
Posted by csharpula csharp at 12/11/2007 11:21:35 PM
Hello,
I would like to know if there is an elegant way to present updating
content on control such as DataGrid . The inpu of it can be an updating
url. How can I do it in WinForms?
Thank you
*** Sent via Developersdex http://www.developersdex.com ***... more >>
array of BackgroundWorker's hung
Posted by thezim at 12/11/2007 6:51:15 PM
I'm trying to figure out why the following doesn't work. It hang
waiting for a BackGroundWorker to become "un busy". With the 11 item
in the queue the first 10 get to the DoWork but never to RunCompleted.
If the items in the queue are equal to MaxWorker then everything works
okay.
I am goin i... more >>
Stumped here!
Posted by Chevron Boyde at 12/11/2007 5:42:38 PM
Hi All
I have just installed studio 2008 and created a new winforms app.
I have added a sql express db to the project with 1 table called LogEntries
containing 2 columns: LogEntryID (int, auto inc) and LogEntryData (nvarchar
MAX)
I am running some simple LINQ code:
using (LogEntryDataCo... more >>
C# and MATLAB connectivity
Posted by Marcin Piatek at 12/11/2007 5:21:18 PM
Hi!
Does anyone know hot to create an application which will use matlab written functions [as a dll] and be able to show plots created by matlab?
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from htt... more >>
single sign on
Posted by Alain R. at 12/11/2007 3:31:26 PM
Hi,
i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.
could someone help me please ?
i tried to google it but without success.
thx.
A.... more >>
LINQ. Remove problem.
Posted by shapper at 12/11/2007 2:56:22 PM
Hello,
I was using the following LINQ code in VS 2008 Beta 2:
MyDbDataContext database = new CodeDataContext();
database.Tags.remove(tag);
Now, with VS 2008 final release, I get an error on Remove:
"Remove is not a member of 'System.Data.Linq.Table(Of Tag)"
How can I solve this?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
for loop
Posted by Gigs_ at 12/11/2007 2:23:11 PM
public class StreamsIOApp
{
[STAThread]
public static void Main(string[] args)
{
// create, write, close, open, read, close
byte[] buf1 = new Byte[]
{76,101,116,32,116,104,101,114,101,
32,98,101,... more >>
How to find named pipes
Posted by DBC User at 12/11/2007 2:17:36 PM
Hi all,
I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already running?
Thanks... more >>
Using "My" in C#
Posted by Scott M. at 12/11/2007 2:06:00 PM
I've tried following the simple instructions to be able to use MyServices
within C#...Add a project reference to Microsoft.VisualBasic.dll and add:
"using Microsoft.VisualBasic.MyServices;" to the code module. After that, I
expected to be able to use MyClock or MyComputerInfo, but none of the... more >>
multipart/form-data form posting
Posted by Praveen at 12/11/2007 1:59:37 PM
got a form in html
<form style="display: inline" enctype="multipart/form-data">
<input name='inputXML' >
assinging an xml string to inputXML and posting the form
but when trying to access the same from c# like Form["inputXML"] it throws
following error.
'Object reference not set to an... more >>
Garbage collector question
Posted by DoB at 12/11/2007 1:58:17 PM
Hi,
Suppose a situation where some object goes out of scope and its reference
is not kept anywhere, but a reference to some delegate (that references
one of the object's methods) is kept as a value in some map.
Is there a possibility that the object is disposed and the delegate will
b... more >>
CPU usage is high, can I know what is hogging the CPU?
Posted by Sin Jeong-hun at 12/11/2007 1:18:26 PM
In short, is there any way to know the very code that is currently
hogging the CPU?
I've written an application which continously GETting web pages using
HttpWebRequest's asynchronous methods (it only GETs responses
(BegingGetResponse,EndGetResponse), not reads the stream contents).
I've read... more >>
ListView SelectedIndexChanged and accessing the previous value
Posted by David Jackson at 12/11/2007 12:35:05 PM
Hello,
I'm using VS.NET 2005.
I have a ListView populated with data pulled from a SQL Server database.
I have wired up a SelectedIndexChanged event, but I can't find any way of
retrieving the value of the previously selected record.
For example, if the ListView looks like this:
Reco... more >>
Regex Issues - Finding Qualified URLS
Posted by Mick Walker at 12/11/2007 12:08:52 PM
Hi,
I am using the following function to match any URLS from within a string
containing the html of a webpage:
public List<string> DumpHrefs(String inputString)
{
Regex r;
Match m;
List<string> LstURLs = new List<string>();
... more >>
winmm
Posted by BobF at 12/11/2007 11:15:02 AM
I'm porting an MFC app to c#/WPF. I can't find any info on a .net
equivalent to winmm.
Do I have choices other than p/invoke? Is there a .Net mm library out there
I'm just not finding?
... more >>
JESUS in the QURAN
Posted by aassime abdellatif at 12/11/2007 11:10:05 AM
JESUS in the QURAN
The Islamic view of Jesus lies between two extremes. The Jews , who
rejected Jesus as a Prophet of God, called him an impostor. The
Christians, on the other hand, considered him to be the son of God and
worship him as such. Islam considers Jesus to be one of the great
prop... more >>
XML parsing
Posted by DotNetNewbie at 12/11/2007 10:43:13 AM
Hello,
My XML looks like this:
<cars>
<mfg name="honda">
<car name="accord" />
<car name="civic" />
</mfg>
<mfg name="ford">
<car name="escort" />
<car name="taurus" />
</mfg>
</cars>
I want to get ONLY the cars for a specific mfg. example: get me all
the car node... more >>
multi application
Posted by RobcPettit@yahoo.co.uk at 12/11/2007 10:34:40 AM
Hi, Ive written my application and published it. Leaving the editor
open, I install my newly made application and run it. Works perfect,
then I open it a second time so Ive got two instances of the same
application running. The second crashes bringing them both down, when
I choose stop debugging... more >>
Need for BindingSource.Removing event
Posted by jehugaleahsa@gmail.com at 12/11/2007 10:28:43 AM
Hello:
I have a BindingSource that has its DataSource set to a
BindingList<Customer> where Customer is a business object that
manipulates a DataRow. All changes to a Customer instance, update a
DataTable via DataRow.
It is fairly easy to add a new item to the BindingSource. However,
removi... more >>
SQLDataReader
Posted by Dom at 12/11/2007 10:10:41 AM
In the old days, using ADO, I used to be able to move up and down in a
resultset, but using functions like MoveNext, MoveFirst, MoveLast,
MovePrev. I don't see any of that in the SQLDataReader object. It
seems I can only move through it sequentially. Is that true?
Dom... more >>
Datagridview with Linq
Posted by Vanessa at 12/11/2007 9:10:02 AM
I want to develop a datagridview allowing column selection and filtering,
like this:
http://www.codeproject.com/KB/grid/GridFilter.aspx
This example is using dataset. My question is if:
a) I use the same way, using dataset
b) I use Linq converting a query to dataset
c) or if would be done... more >>
Arrays
Posted by plork at 12/11/2007 7:32:03 AM
hi all i have a method that takes an array
e.g. public void Method (string [] array)
the contents of array are somthing like below, i don't know what the
length will be be until i do a array.Length
a snippet of results is
id title description
0] = "1000", "aaa", "s... more >>
How to create password protected files thru C#
Posted by aagarwal8@gmail.com at 12/11/2007 6:50:32 AM
Hi,
I want to create a log file from my C# code. Currently I am encrypting
the contents of this log file, but now the requirement is that no one
should not be able to open this file from Windows Explorer. (Currently
if we open the file using some editor, the encrypted contents are
displayed)
... more >>
SelectedIndex Within EditCommandColumn
Posted by william.oram@gmail.com at 12/11/2007 6:43:02 AM
I have a DataGrid and a column that changes into a DropDownList when
edited:
<columns>
<asp:templatecolumn headertext="Role Type">
<itemtemplate>
<asp:hyperlink id="hlinkRoleType" navigateurl='<%#
"contact_roles_details.aspx?id=" + DataBinder.E... more >>
Feach (read) email headers from pop server
Posted by Jeff at 12/11/2007 6:37:08 AM
I have been searching google for a way to read the email headers for
mail on a pop server but cannot find any source samples. Are there any
sample that anyone know about and if so can they post the links please.
Regards
Jeff... more >>
accessing csv file
Posted by RobcPettit@yahoo.co.uk at 12/11/2007 5:43:37 AM
Hi, I have software that records betfair data into a csv file. I have
no access to the code, al I can adjust is the intervals at which it
records, 1sec up, and which folder/file to save the data to. Ive
written some code myself which uses streemreader to read the file into
an array, which I then... more >>
Passing dynamic 2d array to unmanaged c++ dll
Posted by fahd at 12/11/2007 5:04:06 AM
Hi,
I'm trying to communicate with an unmanaged c++ dll that takes two 2d
float arrays, one as input with data in it and the other will have the
result of the operation in it as follows:
bool Evaluate(float** input,float** output,int nFrames, int
featureWidth);
note: nFrames and featureW... more >>
XPath
Posted by SiJP at 12/11/2007 3:43:38 AM
Consider the following XML
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<Data>
<ID>1005</ID>
<Reference>
<Reference>ABC</Reference>
<Country>UK</Country>
</Reference>
<Reference>
<Reference>123</Reference>
<Country>USA</Country>
</Reference>
</Data>
</Roo... more >>
array of arrays
Posted by plork at 12/11/2007 3:30:55 AM
hi all, i'm calling a method that returns an array of arrays
[???] = id, title, desctiption
e.g.
[0] = "1000", "aaa", "some text"
[1] = "1000", "bbb", "some text"
[2] = "1000", "ccc", "some text"
[3] = "2000", "ddd", "some text"
[4] = "2000", "eee", "some text"
[5] = "3000", "fff", "some... more >>
datagrid columns
Posted by roundcrisis at 12/11/2007 3:17:42 AM
hi there:
Any simple way to change the datagrid columns type at run time?
winforms
I have a datagridview, I need to make some columns checkboxes and some
columns to have a button at the end of the column.
This grid is databound at run time
Thansk for the help
cheers... more >>
Scrolling Large Text File Without Hogging Memory
Posted by Tom at 12/11/2007 2:16:54 AM
I don't want to re-invent the wheel and am looking for a simple
implementation of a text viewer or RichTextBox in read only mode that
allows rapid file positioning within large data files without the time
consuming and memory hogging associated with loading the entire file.
Using the thumb to ... more >>
C# Rijndael encryption. When decrypting I get junk data in the first block
Posted by Fritjolf at 12/11/2007 1:41:37 AM
Hi.
I've got a strange problem...
I've made a simple program to test encryption/decryption.
I use Rijndael encryption and here are the most important properties.
RijndaelManaged cipher = new RijndaelManaged();
cipher.KeySize = 256;
cipher.BlockSize = 256;
... more >>
Edit only date in grid
Posted by Andrus at 12/11/2007 12:49:40 AM
I need to display and edit only date part in DataGridView column whose data
source type is DateTime?.
The following code shows and allows to edit also time part.
How to modify this code so that only date is displayed and edited (without
time part) ?
Andrus.
using System;
using Syste... more >>
Missing "cross-thread" MDA?
Posted by Peter Duniho at 12/11/2007 12:30:26 AM
Okay, I'm guessing I'm overlooking something simple here, but I'm
obviously not going to find it.
Someone please tell me the exact name of the "Cross-thread operation not
valid" MDA, as seen in the "Managed Debugging Assistants" list in the
Debug/Exceptions... menu of Visual Studio 2005?... more >>
|