all groups > c# > january 2008 > threads for tuesday january 15
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
Web Services with SSL
Posted by Chizl at 1/15/2008 9:59:25 PM
When I Google, C# Web Service SSL, I get back everything for IIS, running
SSL for C# developers.. Not what I'm looking for.
I've developed my own Web Server in C# and I want to support SSL. As a
test I changed the port over to 443 and had my browser hit it. It hits it
fine, but as I'm... more >>
Managing Changes in Database
Posted by james at 1/15/2008 9:11:09 PM
Hi Guys,
Would anyone mind recommending some packages for managing changes in
databases? I have used Ruby on Rails Migrations, but have not found
something similar for .Net. As far as I know LINQ will only map to a
database table, not create them for me.
Thanks,
James... more >>
read data from excel file (urgent)
Posted by vimal.424@gmail.com at 1/15/2008 8:56:04 PM
Hi......all....
can any body tell me how can we upload excel file & send the excel
file data in database.
I;m not able to do........please help me......
thanks in advance... more >>
interop memory allocation
Posted by John at 1/15/2008 8:48:07 PM
I would like to ask a question that is obvious to all people porting
applications from the "traditional" C\VB6 interop scheme choosing C# vs
VB.NET.
We have a math library in C which ubiquitously takes a float* which
represents an array of floats. If the memory is allocated by the client,
... more >>
Saving and loading small amounts of user generated data
Posted by Peter Webb at 1/15/2008 7:40:42 PM
I have written a specialised drawing application. I want the user to be able
to load or save a few drawings, which I will implement as an add to
favourites/ load favourites button. The quantity of data is low - a typical
drawing could be completely recreated with a few hundred bytes of data. I... more >>
Create an Access MDB file...
Posted by ATSPSoft at 1/15/2008 7:25:38 PM
Hi,
I'm newest in c#.. i need to create an Access MDB file...
Supose that my MDB file is "mymdb" and my table is "mytableA" with 2 fields
like "field1" as integer and "field2" as string
How i create the mdb file?
I don't want to create a mdb file with 40 mb... (need to be compressed or... more >>
TransactionScope using
Posted by Aleksey Timonin at 1/15/2008 7:05:28 PM
Hi guys,
I tried to use TransactionScope on to defferent TableAdapters like this:
using (TransactionScope transScope = new
TransactionScope(TransactionScopeOption.Required))
{
TableAdapter1.InsertQuery(id, name);
TableAdapter2.InsertQuery(id, customerName, customerAddress);
transScope.C... more >>
Is there a faster hi resolution timer for diy profiling
Posted by colin at 1/15/2008 4:46:08 PM
Hi,
Im trying to time some parts of my code using the Stopwatch class,
but it is so slow, I tried the QueryPerformanceFrequency()
but this seems to be just as slow,
if I just simply call this function in a loop it takes 21 ticks
with a reported frequency of 3.5mhz
its is about 6us wich is ov... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dis-arrayed arrays
Posted by Mini Mouse at 1/15/2008 4:32:22 PM
Being new to C# (coming from PHP) I'm at a lose as to how to do this.
have an array of items where the structure is something like this:
myArray[String AccountNumber]
{
String name;
String City;
Decimal balance;
}
I've tried things like:
Using a Hashtable, but only s... more >>
Destructor is not called
Posted by Eitan at 1/15/2008 4:02:09 PM
Hello,
I have a WinForm application I am working on.
The application has one main Form with a few buttons. Pressing each of the
buttons will open a new Form. On one of these Forms (the one in question,
RunForm) I am instantiating an Object (a class I wrote and named ChannelComm)
that ... more >>
ListBox Populating Question
Posted by NvrBst at 1/15/2008 3:46:05 PM
I populate a ListBox with a LogFile that has about (~1000 lines). The
ListBox's datasource is a BindingList<string>. Whenever I add the
elements, with the datasource set, it takes about 2 mins.
I've tried wrapping "Listbox.SuspendLayout()" and
"Listbox.ResumeLayout()" around the for loop (th... more >>
Some Quick Questions
Posted by NvrBst at 1/15/2008 2:05:29 PM
A few quick questions if possible.
1 - If I have a "List<..> myList" and set it as a datasouce for say
ListBox1, then change items in "myList" is the correct/only way to
update the ListBox with the following?
ListBox1.DataSource = null;
ListBox1.DataSource = myList;
2 - BindingList<...> ... more >>
C# SOAP Authentication to non C# web service
Posted by Enda Manni at 1/15/2008 1:23:29 PM
Hi,
I have a gSoap Web Service written using C++, it uses SOAP username and
password authentication.
I also have a C# form client consuming the web service, all this was working
fine until I added the authentication on the server, now I can not get the
client to authenticate. Can someone... more >>
filter for DataridView
Posted by Ryan Liu at 1/15/2008 1:01:35 PM
Hi,
New control DataGridView in .NET 2.0 is very powerful, and together with Vs
2005 data design is very handy.
But how hot filte data in DataGridView, prefered in VS 2005 visual design
mode.
Thanks!
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Ryan Liu
Shanghai Fengpu Software Co.... more >>
Question on classes
Posted by Keon at 1/15/2008 12:26:13 PM
I am trying to write a class, but I got stuck.
When writing a class, how can you call a recursive function that is also in
the class
file, but without having to create a new instance of the class before you
call it.
// This is my class file
using System.Data;
using System.Windows.Fo... more >>
string trim numbers
Posted by RobcPettit@yahoo.co.uk at 1/15/2008 11:45:51 AM
Hi, using 'mystring = "Robert 123 \par" , Ive used char[] MyChar =
{ '\\', 'p', 'a', 'r', '1', '2', '3', '4', '5', '6', '7', '8', '9',
'0', ':'}; string newstring = mystring.TrimEnd(MyChar);
to trim it. It returns "Robert 123". How can I trim the numbers also.
Regards Robert... more >>
LINQ Dynamic Data Model
Posted by EDBrian at 1/15/2008 11:17:35 AM
My problem is this. Our clients create different fields they want to
collect and we allow them build dynamic filters, reports etc...
We run some TSQL to actually create the column and all works very well. We
are now adding a lot more functionality to our filters and could really
benefit fro... more >>
Protected Memory
Posted by dawson.jon at 1/15/2008 11:16:12 AM
Hello:
In C# is there a way to declare a certain portion of memory protected
or secure, so that when you shut down an application that area of
memory will get overwritten or allow someone to attach a debugger and
read that memory at runtime?
Thanks,
Jonathan Dawson... more >>
To lock or not?
Posted by fritzcwdev@gmail.com at 1/15/2008 10:37:23 AM
I have a class as follows:
public class OperationFeedback
{
DateTime _startTime;
public DateTime StartTime
{
get
{
return _startTime;
}
set
{
_startTime = value;
}
}
}
Set will occur in a ... more >>
select sum from column
Posted by Jeff at 1/15/2008 10:10:08 AM
hey
..NET 2.0
My project have a DataSet. In this DataSet there is a DataTable, which has a
column I want to calculate the sum on... In sql this would be done like this
: select sum(column1) from table1... but AFAIK I cannot use sql statmetns
against a DataTable...
So I've been thinkin... more >>
Imprting DLLs into C# program
Posted by Parrot at 1/15/2008 10:09:01 AM
I am attempting to import a DLL function from a COBOL program using the
DLLImport function but I always get an error that says the Specified module
(dtonsub.dll) cannot be found. I used the link program to determine if
there is a function by the name I am using. I have tried this with both ... more >>
ListView column header text on column resizing?
Posted by Walter Sobchak at 1/15/2008 9:28:11 AM
I have a listview control with a couple of columns. Sort order is
indicated with a litle triangle.
The problem is when the sorted column is resized to a smaller width the
text is shortened and there are 3 dots displayed at the end.
The dots are bellow the triangle so I'd like to delete the dot... more >>
My database class
Posted by craigclister@yahoo.co.uk at 1/15/2008 9:24:52 AM
I'm writing a small 'learning' app. It uses SQL Server.
I am trying to create a common class of database functions. So, am I
right in saying that it should be a static class? I've done that, but
then I can't declare a private class variable, because the class is
static...
internal static cl... more >>
C# to Oracle mapping
Posted by s_madej@poczta.wwsi.edu.pl at 1/15/2008 9:15:48 AM
Hi, Is there a possibility of direct mapping C# class to PL/SQL
records, and vice versa, in Oracle 9i with ADO.NET. I need to map some
simple records (NUMBER,DATE,VARCHAR2) to classes with simillar fields.
Thanks for any kind of info (links etc).... more >>
C# connection statement to CRM 4.0
Posted by The Diep at 1/15/2008 8:23:01 AM
I hope someone can help me. I'm try to find a C# statement that will let me
connect to the new CRM 4.0. I have a UI that was programed in C# that was
connected to SQL Server but I would now like to connect the C# UI with CRM
4.0.
--
Thank you,
The Diep... more >>
Dimiensioned Measurement
Posted by Eric NY at 1/15/2008 4:48:01 AM
There is now a robust java solution I've been reading about called jscience
(http://jscience.org). Is anyone aware of a similar effort in the .net
community? The library supports consistent handling of measurement and
conversion between quantities of the same dimension in just about every
inte... more >>
Aspect Oriented Programming
Posted by ar3492@student.open.ac.uk at 1/15/2008 3:59:57 AM
Hello, I'm a post-graduate student at the Open University in the
United Kingdom. I'm carrying out research into Aspect Oriented
Programming (AOP) to investigate the reasons why it has not been more
widely adopted by commercial software developers and would be grateful
if you could help by taking... more >>
Change values in SafeArray
Posted by Steven Blair at 1/15/2008 3:55:23 AM
I have some C++ code which creates a SafeArray and passes it to my C#
dll using COM:
SAFEARRAY *psaOut = SafeArrayCreateVector(VT_BSTR, 0, 3);
VARIANT pVarOut;
VariantInit(&pVarOut);
pVarOut.vt = VT_ARRAY | VT_BSTR;
pVarOut.parray = psaOut;
InvokeHelper(DispId, DISPATCH_METHOD, VT_I4, (... more >>
Connect to unix server and execute a command
Posted by JB at 1/15/2008 2:22:14 AM
I'm writing a small utility and I need to be able to connect to a unix
server and execute a couple of commands.
How would I go about doing this?
It's fairly simple from the command prompt using telnet - but I have
to wait for the thing to connect, enter username and password, wait
again for i... more >>
dataGridView.Rows.Count and datagridview.RowCount
Posted by SePp at 1/15/2008 2:05:17 AM
Hello all,
I want to display the number of items in an datagridview. I use this
one datagridview for different datasets.
The datagridview.Rowcount works fine for the most of the dataset. But
there is one dataset which has more items
than the others and the Rowcount wont work. The result i... more >>
refresh DataGridView
Posted by Ryan Liu at 1/15/2008 1:11:32 AM
Hi,
In the same application, some other form inserted some data to the
database.
To refresh the DataGridView on the form shows those data, I just simple use
Adapter fill the grid again.
//auto-generated code
this.projectTableAdapter.Fill(this.dsPowerCapi.project);
This works, but... more >>
|