all groups > c# > february 2005 > threads for saturday february 5
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
How to free heap allocated my malloc?
Posted by ValyaS at 2/5/2005 10:23:06 PM
Is it there a way in C# to free heap memory that has been allocated by an
unmanaged component with malloc()?
I get an exception when trying to use Marshal.FreeCoTaskMem() on the managed
pointer (of type IntPtr) returned from un-managed code as an "out" parameter.
In the C-dll this paramete... more >>
OLE Automation Question
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/5/2005 9:26:53 PM
What is the technology that replaces OLE Automation in .NET? Please.
Sorry, I couldn't find it.
Also, I wanted to know if I have a program, any executable, can I
"automate" it from .net, c#, etc.? Not sure how to ask this, but say I
have an image manipulation program not made by Microsoft, b... more >>
SQLDMO away return NULL
Posted by Dean L. Howen at 2/5/2005 8:07:32 PM
I tries to search for SQL server using SQLDMO, but it alway return null
although I have updated SQL to sp3
Please tell me more.
... more >>
New Promotion, need advice
Posted by pachanga at 2/5/2005 7:45:28 PM
Last week, I got a promotion to a higher position with new
responsibilities and new supervisor. My supervisor ask me about a new
position opening, and I took the position, but I totally forgot to ask
how much is my raise. A week has past and no one has mention it to me.
Next week I start trainin... more >>
Re: Calling form knowledge of closing modeless form
Posted by Rachel Suddeth at 2/5/2005 5:07:12 PM
Oh, how silly of me. The only thing that needed to be different in my
example is handling Closing() instead of Closed() event. (And to make the
newForm visible to the whole MainForm, instead of just to the Click()
event.)
-Rachel
... more >>
Threading with UI elements - dynamically created controls?
Posted by RCS at 2/5/2005 2:40:12 PM
I have a UI that needs a couple of threads to do some significant processing
on a couple of different forms - and while it's at it, update the UI (set
textboxes, fill in listviews). I created a base class for the worker class,
and made up some functions/delegates to handle the invoke stuff f... more >>
Newbie Question: Help with methods
Posted by Keith Smith at 2/5/2005 1:18:22 PM
I know you guys can help me with this...I think I'm missing something fairly
simple.
I'm trying to simply create a method. Here is my method...
string x()
{
MessageBox.Show("hello");
}
....And then later on in my code I would like to call the method like this...
//code
x();
B... more >>
Graphics and Treeviews
Posted by Michael C# at 2/5/2005 12:08:29 PM
I have a quick question, and was just wondering if anyone knew a good
resource, article(s) or sample source code. I want to be able to connect
the nodes of two treeviews graphically via lines. I want the user to be
able to drag a TreeNode from one TreeView to another, and generate a line
c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Repeater, PagedDataSource and Typed Datasets
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 2/5/2005 12:06:41 PM
Hi Fellow Dotnetters
Could anyone please provide a code snippet demonstrating how to use
the Repeater control in conjunction with the PagedDataSource class and
a Strongly Typed Dataset ?
I get an error informing me that my datasource does not implement
ICollection.
All examples of using ... more >>
Calling form knowledge of closing modeless form
Posted by Gary Miller at 2/5/2005 11:17:02 AM
Does anyone know how to detect a modeless form on closing by the form that
invoked the modeless form?
form.Show();... more >>
Where is Application.aspx?
Posted by Brett at 2/5/2005 10:46:33 AM
I'm trying to following along with this code,
http://msdn.microsoft.com/msdnmag/issues/03/04/ASPNETUserState/default.aspx?fig=true.
They reference an Application.aspx and Application.aspx.cs. I'm using VS
..NET 2003 and have created a C# ASP.NET project. I don't have either of
those files.... more >>
ignoring events when loading form
Posted by Norvin Laudon at 2/5/2005 10:23:03 AM
Hi,
I have a form with various controls which are wired to events when their
data, listindex, or whatever changes.
Simple question: As I'm loading the form (in the constructor), I need to set
the control's initial values without their events getting fired. It seems to
be a pretty common req... more >>
Binding DataGrid To IList
Posted by Rami at 2/5/2005 9:51:30 AM
Hey,
I Tried to bind a DataGrid to an ArrayList, and had 2 problems:
1. The DataGrid shows the Length property of the items instead of their
text - how can I change that?
2. After binding, I add new elements to the ArrayList but the DataGrid
doesnt refresh's it's view - I have to set the DataSo... more >>
WebService "not all code paths return a value" error
Posted by Jose Fernandez at 2/5/2005 8:57:08 AM
Hello.
I'm building a web service and I get this error.
NEWS.News.CoverNews(string)': not all code paths return a value
This is the WebMethod
[WebMethod]
public SqlDataReader CoverNews(string Sport)
{
SqlCommand myCommand = new SqlCommand ("SELECT TOP 1 News.idNews FROM
News",... more >>
can't invoke an internal method
Posted by tolisss at 2/5/2005 7:54:31 AM
Hi
there is a method at an external assembly that i want to invoke with
signature
internal void RaiseKeyUp(KeyEventArgs e)
and i m trying like
gridView.GetType().InvokeMember("RaiseKeyDown",BindingFlags.Instance|Bin
dingFlags.InvokeMethod|BindingFlags.NonPublic,
null,gridView,new ... more >>
Download with c#
Posted by dakkar NO[at]SPAM sylveria.gen-dot-tr.no-spam.invalid at 2/5/2005 5:50:16 AM
I want to write a program which will check the executable from a
remote adress and download it if it doesnt exist in the directory
that i want?
Is something like that possible with c# if it is how ?
*---------------------------------*
Posted at: http://www.GroupSrv.com
*-----------------------... more >>
Delete / replace a dll that is in use
Posted by Patrick B at 2/5/2005 2:50:16 AM
Problem: how can I programmatically delete a dll that is being used by
my application? I want to programmatically replace the dll with a newer
version.
I have a c# AppUpdater type application. When run, it opens an Access
DB, then checks my website for updates to the DB. If it finds an upda... more >>
.net assembly question...
Posted by JT_74 at 2/5/2005 12:31:02 AM
I have a windows c# application trying to load in an assembly (windows
control assembly that I built). I first do :
Assembly subAssembly =
Assembly.LoadFrom("c:\\bookmanager\\customereditor\\bin\\debug\\CustomerEditor.dll");
Object newSubApp = subAssembly.CreateInstance("CustomerEditor");
... more >>
|