|
nahumtakum wrote:
I read about installutil.exe but I can't find it.
Can someone tell me where can I find it ?
On my machine in C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705
heinz r. vahlbruch c++ & c# programmer from germany
If IntelliSense doesn't have it, it ain't worth calling - Anonymous
My compiler compiled yours - Seen on a VC++.Net T-Shirt
|
|
|
|
|
I know it should be there... But its not !!!
Can you please send it to nahumtakum@hotmail.com ?
|
|
|
|
|
nahumtakum wrote:
Can you please send it to nahumtakum@hotmail.com ?
Perhaps you'll need some more files. You can get them all by installing the .NET Framework SDK instead of the Redistributable version you may have installed. You can find the SDK here[^].
Greetings,
heinz r. vahlbruch c++ & c# programmer from germany
If IntelliSense doesn't have it, it ain't worth calling - Anonymous
My compiler compiled yours - Seen on a VC++.Net T-Shirt
|
|
|
|
|
|
There are 4 fields in my database table. First fields is an integer, second is a string, third is a date field, and the fourth is a currency field.
I am using a combo box to select the field to be search, a text box for the value of the field to be searched, and a command button once clicked will invoke the filter.
Items in the combo includes the 4 fields names and another item "<everything>" which will disable the textbox for the filter value but once the command button is clicked, the recordset will be refreshed and set filter to nothing.
How to implement it. Please show example statements to filter using each of the above 4 fields. Also please include how to set the filter to nothing.
Thanks in advance
|
|
|
|
|
Can someone tell me what the best way is to split messages received from an irc server. So that I can simply use the parameters parsed from the message ?
Greetings....
|
|
|
|
|
I suggest using the excellent Sharkbite IRC library on SourgeForge. It gives u a solid framework to build a GUI on.
Sorry I cant find the link now.
Hey leppie! Your "proof" seems brilliant and absurd at the same time. - Vikram Punathambekar 28 Apr '03
|
|
|
|
|
in addition, check out my irc client lib, Nebo.
|
|
|
|
|
Hi there,
I want to show all of folders (looks like Window Explorer) on the TreeView but I dont know how to do. If you know, please help me!
Thank for your reading.
Tran Hoang Chuong
|
|
|
|
|
See the source code for Carlos Perez's ExplorerTree control on CP.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
I'm wondering how to have an MDI application that behaves like the newer versions of Word and Excel. I notice that they don't actually keep each document inside the main container like all of the MDI tutorials I've ever seen seem to show.
I'd like to have my app follow this more mainstream form of interface, but I haven't been able to find any resource that explains and/or show how to do this.
Can anyone point me in the right direction?
Thanks.
Bob McCormick
XebraTech
|
|
|
|
|
I wrote sth like this :
Object [] idxProp = index.ToArray();
pi.SetValue(obj, null, idxProp);
i want to set just one value of a index property using Reflection (or all if its not possible)
when i use this form, it throws :
"
An unhandled exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll
Additional information: Parameter count mismatch.
"
what am i doing wrong ??
|
|
|
|
|
Seems to me like you might need to include both the index and the new property value in the array.
Burt Harris
|
|
|
|
|
I'm tring to create a program that can read and write cab files. Unfortunatly the CabCreator class was removed from .NET after the beta and the Setup SDK doesn't appear to have the functionality that I need. Does anyone have any ideas on how to accomplish this???
Thanks!!
|
|
|
|
|
You can use the SharpZipLib[^] to create zip files. It is free and open-source.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
Thanks for the reply that looks like an interesting library unfortunalty the LZW compression alorgthium is patented, and unfortunatly it is impartive that I use the CAB format.
Thanks,
John
|
|
|
|
|
The cabinet reader/writer is a C dll (cabinet.dll) provided by MS along with their CAB SDK (cab-sdk.exe).
You can find the CAB SDK here[^] for instance.
To access these functions using C#, you only need to premarshal these structures and function signatures (less than 10).
In case premarshaling is too hard a job, consider using MC++ mix mode.
|
|
|
|
|
hello,
is there any way that we can use C language code in C#?
What are the alternates of header files in C#?
and
How to convert a header file to a namespace if namespaces are the alternatives to header files?
regards
|
|
|
|
|
You can declare C functions in C# using the extern keyword along with the DllImport attribute. Once the function is declared, you just call into it. For example:
using System.Runtime.InteropServices;
<P>
[DllImport("User32.dll")]
public static extern int MessageBox(int h, string m, string c, int type);
<P>
MessageBox (0,"API Message Box","API Demo",0);
See the following and other articles on the topic:
http://www.thecodeproject.com/csharp/c__and_api.asp
There is no need for headers in C#. You just put all your code in the .cs class. You generally wrap your code within a namespace as a way of organizing things and to avoid name conflicts with other code -- it doesn't really correspond to a header.
|
|
|
|
|
I am not using any C functions from any dll.
Actually i have a packet driver library (which is completely written in C). I want to use this library from a C# file.
I have the source code of the library, so, I have to supply header files definitions of 'structs' used in function calls and these function calls are linked statically.
Simply i want to use the library from a C# file as i use it from any other C file.
Tell me if i m unable to explain my question or some extra details are required.
regards.
|
|
|
|
|
If this library has only a few entry points, then it's worth using P/Invoke to use it from C#.
If the library has many entry points, or requires a significant amount of structure marshaling, then use MC++ instead. With MC++, you can mix managed code and native code without reexposing signatures.
|
|
|
|
|
thanks
as it came to me, i switched to visual C++ .net. I am now able to mix the unmanaged code of the library and the managed code of .net. It is working nice.
But can you give me some favour by telling that whether there is any "Network packet capture" support in .net library? Any namespace, classes etc.
|
|
|
|
|
hashimsaleem wrote:
But can you give me some favour by telling that whether there is any "Network packet capture" support in .net library?
Although the System.Net.Sockets.TcpClient wraps sockets to read/write packets, I believe this is not what you are looking for. I believe that what you need is at a lower-level, much like "Network adapter" and, at this point, there is no better substitute than the Windows DDK (plain WIN32 C code, as you may know).
|
|
|
|
|
I've tried to get an example of a simple (Drawing Background, Text, FocusRectangle) owner draw ListVIEW but couldn't get one. There are some example with the UtilityLibrary which do not work or are hopeless complicated because of overloading its possibilities.
Is there anybody who knows where I can get a working example of a C# Owner Draw ListView Control?
I would be extremly happy to have one!!! (Ein Königreich für ein Owner Draw ListView)
Any hints for WndProc would be help.
Thanks!
Stefan
|
|
|
|
|
In windows XP there is a feature "Group similar Taskbar buttons"
How I can set the icon and title for taskbar button for my application's grouped windows.
Sonork ID 100:25668
|
|
|
|