all groups > c# > july 2004 > threads for saturday july 17
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
Enumerating Named Instances of SQL Server/MSDE
Posted by Michael C at 7/17/2004 11:03:28 PM
Hi all,
I am currently using a Win32 API call to NetServerEnum to enumerate all SQL
Servers on an NT Domain. The function returns the names of all servers
running SQL Server on the network, but it doesn't return any SQL Server/MSDE
named instances. Does anyone have any ideas on how to enumer... more >>
Web Services Shared Resource/Memory
Posted by Grandpa Pete at 7/17/2004 7:03:23 PM
How can I share resources across all users of a web service for read/write
access.
*Situation* *one*:
I want to have an in memory counter that all users of the webservice could
access. Call it g_count.
Then I create a web method called Update_g_count.
public int g_count( int incr )
... more >>
Displaying Excel chart in C# application
Posted by JT at 7/17/2004 6:49:21 PM
Hi,
I've read (and tried) the article "How To Automate Microsoft Excel from
Microsoft Visual C# .NET" (available at
http://support.microsoft.com/default.aspx?kbid=302084). This opens up Excel,
fills in a spreadsheet with numbers, and creates a chart in the spreadsheet
from the data.
Is the... more >>
assembly reference
Posted by freddy at 7/17/2004 6:34:02 PM
private Playcontrol control = null;
private void Form1_Load(object sender, System.EventArgs e)
{
control = new PlayControl (this);
control.Show();
error:G:\Freddy\vb.net\iPlay\Form1.cs(75): The type or namespace name 'Playcontrol' could not be found (are you missing a using dir... more >>
C# programming for MS-Access CDB file of PocketPC
Posted by hijack at 7/17/2004 3:53:17 PM
Thanks for reading this message.
I'd like to know the programming for accessing CDB File( MS-Access) in
PocketPC.
Can I use OLE DB provider of ADO.net ?
... more >>
C#, ADO.NET and MS-SQL
Posted by DJ van Vliet at 7/17/2004 1:21:47 PM
Hi All,
Question regarding the processes between C#, ADO.NET and MS-SQL
I need to understand the complexities of using the distributed method
(ADO.NET) of data retrieval and the subsequent update of database with
regard to transactions.
E.G. - Stock Item Purchase Order.
Header:
Ledg... more >>
Design patterns
Posted by Frazer at 7/17/2004 12:36:48 PM
hi are there any good samples illustrating design patterns in C#?
builder, adapter, facade etc.
i found a few but the reviews of that article were bad.
eg http://www.codeproject.com/csharp/csdespat_1.asp#xx327127xx
thnx
... more >>
BLOBs
Posted by yang at 7/17/2004 12:33:01 PM
what are the disadvantages of BLOBs?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Object Browsing in 2003/ SharpDevelop
Posted by Mark Broadbent at 7/17/2004 12:17:07 PM
In SharpDevelop, there is a lovely utility called assembly scout which
allows you to search through all the namespaces for members and namespaces
equal to your search criteria.
I have looked for the similar kind of functionality in 2003 but yet to find
it (object browser is similar but you can... more >>
Server.MapPath in .NET
Posted by Jay at 7/17/2004 12:02:27 PM
How do you say Server.MapPath in the web config file .NET. I am trying to
put an entry in the web config file which points to the current bin
directory where my database resides.
Thank You for any help with this!
... more >>
Large project slowing down IDE?
Posted by Adam Clauss at 7/17/2004 12:00:51 PM
I have a fairly large project (over 1800 files). When I open up the solution, the entire IDE slows to a crawl. CPU usage sits at
about 50% for a couple minutes, and then everything is normal again. This happens EVERYTIME I open the solution and is getting
rather annoying. Is there anything tha... more >>
IShellFolder::BindToObject() problem
Posted by choo_chu NO[at]SPAM yahoo.com at 7/17/2004 11:47:53 AM
hi all,
i'm having problems with BindToObject(). when i call the method it is
throwing a System.NullReferenceException error, but i don't understand
why. what i'm trying to do is get a reference to an IShellFolder for
a folder of a PIDL that i already have. i'm doing that using by
calling ... more >>
StringBuilder's buffer unmanaged address
Posted by goldensaint NO[at]SPAM ua.fm at 7/17/2004 10:48:43 AM
I need to take an unmanaged address of the StringBuilder's internal
string buffer without tricks like writing native function or accessing
private field m_StringValue through reflection. Does anysone know less
"evil" way to do this?
Thanks... more >>
C# Compact Framework
Posted by David at 7/17/2004 9:07:33 AM
Hello.
What limited possibilities has C# Compact Framework and where can I get good
documentation about C# Compact Framework programming?
... more >>
Assembly(dll) Load Memory Question
Posted by Abubakar at 7/17/2004 7:27:03 AM
Hi everyone,
Lets suppose I'v a class lib mylib.dll which is about 3mb in size. Now if I refernce it from a windows forms app which uses mylib.dll, will all the 3mb be loaded into memory as soon as my app starts using it? Or will the mylib.dll get loaded part by part as its different objects are in... more >>
2 questions: one about datagrid and one about forms
Posted by Gidi at 7/17/2004 7:27:01 AM
hello i'm writing an appliction in C# and i have 2 questions:
1. i have a dataGrid which contains data from my DataBase, and when the dataGrid loads the scroll is at the first line and i want it to be at the last line, so i can see the last lines, how can i make it to be at the bottom?
2. i ma... more >>
System.Diagnostic.Process
Posted by adish11 at 7/17/2004 6:31:28 AM
I'm using Web Application and want to execute an MSDOS executable with some
parameters like this example: software.exe -i -x
How do I use System.Diagnostic.Process to execute this .exe with
parameters? Could you give me the code lines with this example?
Thanks for your answer.
... more >>
.NET generics & the .NET framework: not generic enough?
Posted by ah2003 NO[at]SPAM gmx.net at 7/17/2004 3:41:03 AM
What follows is a discussion of my experience with .NET generics & the
..NET framework (as implemented in the Visual Studio 2005 Beta 1),
which leads to questions as to why certain things are the way they
are.
***** Summary & Questions *****
In a nutshell, the current .NET generics & .NET f... more >>
How To overload =
Posted by Harry J. Smith at 7/17/2004 1:17:20 AM
How do you overload the = operator?
public static MultiUI operator = (MultiUI left, MultiUI right)
{
return right;
}
gives an error of "overloadable binary operator expected"
-Harry
... more >>
Icon question
Posted by Adrian at 7/17/2004 12:10:08 AM
How do I put an icon on a form using code?
Thank you.
... more >>
Threading...
Posted by Robert Vasquez at 7/17/2004 12:10:01 AM
I'm practicing using threads under c# and have made a simple program that contains a 'System.Windows.Forms.Label' label1. This label will then be updated by a separate thread displaying a count from 1 to 10000. The program works but sometimes the numbers instead of counting from 1 to 10000 pauses ... more >>
|