CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: slewrate

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    4,756

    SendKeys.SendWait Sends Multiple Characters

    Hello, I am trying to send a string to a webform, using the SendKeys.SendWait function. For some reason I end up with multiple characters instead of one, for example:

    I want to send 'abcedefg' and...
  2. Replies
    2
    Views
    633

    Re: Trying Log During Populating Property

    Sorry, I think I haven't stated my problem clear enough. Aside from all that I mentioned above, I could define the event in my main class and then call my base.log function, however, I will only know...
  3. Replies
    2
    Views
    633

    Trying Log During Populating Property

    Hello. I have a file that was generated with WSDL, meaning I can't touch / change it. It consists of several partial classes with properties, and arrays of properties. Unfortunately, I can't...
  4. Replies
    2
    Views
    1,290

    GetPixel Doesn't work

    Hello. I have this program that draws a curve on a form, and I am trying to read the pixels in order to store the data of that curve. For some reason, the GetPixel function doesn't return any values...
  5. Replies
    2
    Views
    3,998

    bit reversal lookup table

    Hello. I found several solutions about how to reverse bits. Among them was a solution that used a lookup table:



    unsigned char BitReverseTable[256] =
    {
    0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0,...
  6. Replies
    2
    Views
    1,895

    Re: Direct3d, CreateTextureFromMemory Problem

    I figured out what was wrong. In the original problem I parsed the binary file incorrectly. I was off by 4 bytes.
  7. Replies
    2
    Views
    1,895

    Re: Direct3d, CreateTextureFromMemory Problem

    I tried to trace the error. Apparently this line:



    HRESULT hr = D3DXCreateTextureFromFileInMemory(gd3dDevice,(LPVOID)buff,size,&mFrames);


    gives me this error: 0x0044908c...
  8. Replies
    2
    Views
    1,895

    Direct3d, CreateTextureFromMemory Problem

    Hello. I wrote a small level editor that stores some map data, and an image into one binary file.
    I am perfectly able to retrieve the data. What I want to do is, load the binary file, read all...
  9. Replies
    2
    Views
    2,815

    Question about .OBJ and DirectX

    Hello. I exported a simple cube from 3DS Max as .obj file. I am trying to load / display this cube in my program.

    The cube file has the following values:


    #
    v -17.533356 0.000000 9.438950...
  10. Replies
    1
    Views
    1,274

    Re: XML Serialization / Deserialization Issue

    Nevermind. I tried it with a different XML file and then it worked...
  11. Replies
    1
    Views
    1,274

    XML Serialization / Deserialization Issue

    Hello. I have a byte stream which consists of XML data. I want to serialize / deserialize this data. I found some code on the web that looks fine to me, however when using it I always get an error...
  12. Replies
    1
    Views
    1,084

    Re: Getting IP Address

    Never mind. I figured it out. All I had to do was this:



    mystr = html.decode("utf-8")


    That allowed me to use regular string functions on 'mystr'.

    In case anybody is interested, the...
  13. Replies
    1
    Views
    1,084

    Getting IP Address

    Hello. I am new to Python, and what I am trying to do is having a script that gets my IP address and prints it out to the console.

    I started with something like this:


    import os
    import sys...
  14. Replies
    7
    Views
    1,229

    Re: Getting Interfaces and Methods from DLL

    Thanks for your help. My problem was that I was actually not looking for a base type but rather a sub type.

    Thanks for your help though.
  15. Replies
    7
    Views
    1,229

    Re: Getting Interfaces and Methods from DLL

    Yea, I played around with that. No luck.
  16. Replies
    7
    Views
    1,229

    Re: Getting Interfaces and Methods from DLL

    well, you see, I have something like this:


    Assembly asm = Assembly.LoadFile("mydll.dll");
    attributes = asm.GetExportedTypes();

    foreach (Type type in typelist)
    {
    ...
  17. Replies
    7
    Views
    1,229

    Getting Interfaces and Methods from DLL

    Hello, I have a DLL that contains several interfaces. I am trying to get the function signatures of all the functions that are implemented in these interfaces.

    If anybody could show me an easy way...
  18. Replies
    4
    Views
    1,127

    Re: Accessing Nodes and Attributes in XML

    I will check them out.

    Thanks again.
  19. Replies
    4
    Views
    1,127

    Re: Accessing Nodes and Attributes in XML

    Man, thank you so much !!!! That's all I needed.

    Thank you for your help. (Y)
  20. Replies
    4
    Views
    1,127

    Accessing Nodes and Attributes in XML

    Hello. I have an XML file that looks something like that



    <?xml version="1.0" ?>
    <Employees>
    <EmployeeData FName="John" LName="Doe" Phone="911" />
    <EmployeeData FName="Bill"...
  21. Replies
    0
    Views
    3,802

    Move Cursor to End of Line in Rich Text Box

    Hello.

    I am trying to implement a feature that would allow me to move the cursor to the end of a line in a Rich Text Box.

    Is that possible at all ? Is it possible to move from word to word ?
    ...
  22. Replies
    14
    Views
    1,290

    Re: Yet another question about recursion

    I can not thank you enough, Lindley. That helps !!!!!
  23. Replies
    14
    Views
    1,290

    Re: Yet another question about recursion

    I tried to start with a smaller number. Starting for example with 2.

    2
    / \ result is 2
    1 2

    3
    / \ result =4
    2 2
  24. Replies
    14
    Views
    1,290

    Re: Yet another question about recursion

    Thanks for your answer Lindley. I was trying to do it the way you suggested. For some reason I am unable to come up with the same result as my program, which means I do something wrong.
    The final...
  25. Replies
    14
    Views
    1,290

    Re: Yet another question about recursion

    Thanks, I am trying to wrap my head around it. Thanks for your help.
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured