|
I'm sure, so that is not the problem
thanks anyway
|
|
|
|
|
I discovered my problem
It only works in C#. I was trying to add my C# DLL in managed C++.Net. It all work so easy together that I forget this could be a problem. (should have mentioned this, should I?)
I'm still a bit disappointed, but it can rest now
Thanks for the trouble,
Paul
|
|
|
|
|
Is there a application around which could help me convert VB.NET project in to C#?
leo
Kathmandu, Nepal
|
|
|
|
|
|
Our VB.NET to C# converter is Instant C#.
Download the Demo Edition at www.instantcsharp.com
(the Demo Edition is also supported)
David Anton
Tangible Software Solutions
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# Converter and the Instant VB C# to VB.NET Converter
|
|
|
|
|
Is there any sample Tapi3 Application created in c#
|
|
|
|
|
I have developed application in c#. which save data in xml. but i don't want to show xml file to user. so i want to put custom file with custom extention(e.g .abc), and when user double click that file then my application will start and load xml file in my own application. How i can implement this.
(my requirement is like microsoft word. when we double click on abc.doc then microsoft word load abc.doc)
Thanks
|
|
|
|
|
|
How to determine from 10 15 tool bar button that mouse is over which button,and how can we change image item of the button on mouse over event.How to do in Tool Bar.
|
|
|
|
|
Use the Tag property for each button. Then query this value in the form with either with a switch statement or if-else-endif type of construct.
|
|
|
|
|
How do I get the name of the local machine from a C# application?
|
|
|
|
|
Try:
System.Net.Dns.GetHostName();
|
|
|
|
|
|
Thanks, that worked great.
|
|
|
|
|
Hi,
Guess the following code will help you.
string hostname = "";
hostname = Dns.GetHostName();
MessageBox.Show(hostname.ToString());
Thanks and Regards
SGS
|
|
|
|
|
|
I Want My program to hide the TaskBar automatically when it run ?
how can I do that ? and what is the class that controls the main components of the window like (taskbar my computer controlepanel)?
misho
|
|
|
|
|
|
you are not a polit one
misho
|
|
|
|
|
First you will need to reference two Win32 API's:
<br />
[DllImport("user32.dll")]<br />
private static extern int FindWindow(<br />
string className, <br />
string windowText<br />
);<br />
[DllImport("user32.dll")]<br />
private static extern int ShowWindow(<br />
int hwnd, <br />
int command<br />
);<br />
There are then two constants you need to pass in the command paramter of the ShowWindow API.
<br />
private const uint SWP_SHOWWINDOW = 0x40;<br />
private const uint SWP_HIDEWINDOW = 0x80;<br />
Finally, you would then specify the appropriate const value for the ShowWindow command paramter. The Shell_TrayWnd name was found using Spy++.
<br />
int hWnd = FindWindow("Shell_TrayWnd", "");<br />
ShowWindow(hWnd, SWP_ShowWindow | SWP_HideWindow);<br />
I reject to reality and subsitute my own!
- Adam Savage, Mythbuster
life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
|
|
|
|
|
Does anyone out there have an example of an ISO8583 transaction message.
I'm trying to work out how to manipulate the bit map of such a message - i.e. reading in the message and convrting the bitmap to an array of "Bools" so I can work out which fields are active, and vice versa when composing such a message from n array of 128 bools.
my first project using c# and .NET so not soo sure how to go about this.
basically, all I've to go on it this:-
Primary Bitmap
The bits of the Primary Bitmap are numbered from the left starting with ‘1’, up
to ‘64’. Each bit signifies the presence (1) or absence (0) in the message of the
data element associated with that particular bit, according to its position (i.e.
number) within the bitmap. The Primary Bitmap must always be present.
The first bit of the Primary Bitmap indicates the presence (1) or absence (0) of
WHEN THIS DATA ARRIVES I'm not sure how it looks - never actually seen one of these message, so don't know where to begin.
Any tips examples would be very much appreciated
Will
|
|
|
|
|
|
Ahh - I see what you mean. I can represent the individual bits in a BitArray. the "bitmap" is essentially a 128 long bitarray in this case.
what I am a little confused over is how this is represented in an ISO 8583 message - I think it's a HEX representation that's 16 bytes long.
however - I'm not sure how to get from 128 bits to a string that will represent the 128 bits.
e.g.
to get from "0110100100100101000101000100 etc.... to 128 bits long
to
DA10FE43 for example.
the main problem is that I've never seen an example of a message so am stuck as to what it should look like
|
|
|
|
|
Hi,
I would like to take a snapshot of folder structure to campare it in reguler intervel. What is the best approch for that?
Regards
rk.
|
|
|
|
|
If your compare operation is really just looking for changes,
you might want to look at the FileSystemWatcher[^] class in the .NET framework, you will then be notified when a change is made, rather than you polling the file system.
|
|
|
|