Hello there,
I wrote an application using VB and OLE connections to excel.So far everything works fine. But I have problems if I close my application: an excel proces stays in the Process list of windows. This is very annoying, coz when i want to open another workbook from explorer, it hangs.
I...
Hello,
I am using MDT6 and try to automatically dimension an imported iges file.
The command prompt states that blocks should be selected.
What am I doing wrong.
Are there specific tutorials around?
Any tricks are greatly apprectiated
stonee
Hi there,
I would like to create a kind of list which can hold different objects created at runtime.
(list.write(xxx))
Then i would need an instance of that class and read values from that list out to a self defined time (list.read()).
What'a the best approach to do such a thing in c#?
thanks...
but the GUI part must be informed somehow, that a message has been arrived. Doing that with delegates and events i guess.But i do not know if an event can take objects with it?
thanks again,
stonee
Just for my understanding;
I have a method in class a, providing a certain information.
internal void OnAnswer(object myobject)
{
myobject.message
}
and my main class
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.ListBox listBox1;
}
what's the...
Hi there,
I want to split up my app into a GUI part and the some "working" parts behind.
Which means to access certain parts of the GUI (e.g. Listbox) and fill it with data generated in nother methods of other classes.
For me as a newbie i could maybe imagine some ways to do it, but...
Hi there,
What's the best approach to convert a 32byte Char[] Unicode array to
a simple string?
char Name[0]
char Name[1]
char Name[2]
...
char Name[31]
thanks for your help,
stonee
hi there,
Just a quickie:
Are there classes around to directly convert a 4byte big byte array to an Int32, or do I need to go the manual way?
Thanks a lot,
stonee
I guess I'll need to go that way:
myclass Data = new myclass(dVal1,dVal2,dVal2);
byte[] myByte1 = System.BitConverter.GetBytes((System.Byte)Data.DataPacket.packetInfo.packetHeader.lPacketSize);
byte[] myByte2 =...
chiph,
I tried what you were suggesting, receive a string with value "12|7|0", exactly what I assumed.
size, enum1, enum2.
But then the conversion part is not ok, I do not want to have the ascii representation of each digit. I want to have the description of that value in memory...
and another thing, my object is a class of structs and enums, not a string. I need to take out the binary data from memory (kinda pointer)and send that to the server.... but how?
Chip H.,
Thanks a lot for your help.
There's one thing i have not mentioned in the post before, this app should run on the .NET Compact Framework, where, among others, serializing is not possible within the available system classes. Do you think there is a possibility I could do it anyway, or...
hello again,
I'm really getting crazy on this:
I have an object, derived from another class containing some enums. I need to send this object down to a server via a socket.
My problem is, that in c# this socket.send() method does not accept ref or pointers but by byte[].
I'm trying now since...
I receive the following message when I compile;
unsafe bool Initialize()
{
//You can only take the address of unfixed expression inside of a fixed statement initializer
CInit Data = new CInit();
return SendPacket(&Data.DataPacket...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.