Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stonee74

    excel process shutdown

    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...
  2. stonee74

    Automatic dimensioning

    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
  3. stonee74

    creating and accessing lists of objects

    thanks, I took queues, works great. regards, stonee
  4. stonee74

    creating and accessing lists of objects

    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...
  5. stonee74

    Accessing GUI

    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
  6. stonee74

    Accessing GUI

    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...
  7. stonee74

    32byte Char[] Unicode array to string conversion

    forget this one, i was not aware of that string can be created with char[] arguments, thanks, stonee
  8. stonee74

    Accessing GUI

    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...
  9. stonee74

    32byte Char[] Unicode array to string conversion

    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
  10. stonee74

    byte[] to int conversion

    found a solution with the System.BitConverter.ToInt32(mybyteArray,4); thanks anyway, stonee
  11. stonee74

    byte[] to int conversion

    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
  12. stonee74

    conversion to byte[]

    It's an Intel, thanks for your help and comments. I appreciated that a lot! regards, stonee
  13. stonee74

    conversion to byte[]

    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 =...
  14. stonee74

    conversion to byte[]

    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...
  15. stonee74

    conversion to byte[]

    serializing is not possible within the available system classes of .NET CF. I guess i need to operate with unsafe code, what do u think? First I wanted to use wrapping instead of rewriting the code, Did u made some experiences already with this? please find attached post Thanks a lot again...
  16. stonee74

    conversion to byte[]

    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?
  17. stonee74

    conversion to byte[]

    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...
  18. stonee74

    conversion to byte[]

    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...
  19. stonee74

    unsafe statement in c#

    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...
  20. stonee74

    conversion form self defined type to byte array

    Hi, How can I convert a self defined datatype into a byte array? thanks a lot, stonee

Part and Inventory Search

Back
Top