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 bkrike 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: *

  • Users: Raywall
  • Content: Threads
  • Order by date
  1. Raywall

    gif transmision over network

    I have a big problem and i have to solve it in max 15 hours. I've made a chat. Both client and server are applets. What i need to do is send a gif from client to server.I am not alowed to sign a jar archive so i must obay the security manager so I can't read the file that contains the image in...
  2. Raywall

    bytes transmision problem trough sockets

    I have to send a gif from a client to server. I have used sockets and DataInputStream and PrintWriter to stream the data. The problem is that the server recives incorect data; a few bytes are not recognized.This is the source gif sent by the client: //****************************************...
  3. Raywall

    modify javax.swing.jMenuItem graphics

    Hi there, is there any way I could change the way a JMenuItem looks(I would like to change the background for instance and maybe display a custom image when the menu item is selected). The getGraphics() method returns null so... Should I extend the class instead and overwrite paint method ...
  4. Raywall

    path to Desktop and Icon changing for a file

    Please tell me how can I get the path to Desktop(I want to create a shortcut from code) and also how can I change the icon for that shortcut(or any other file). I'm using plain API but if you know how to do these in MFC it'll be ok(though I don't like MFC that much).
  5. Raywall

    highlight text in JTextArea

    I'm selecting text from a JTextArea from my code with setSelectionStart() and setSelectionEnd() which is working just fine The problem is that the text selected is not visible so please tell me how can I highlight the selection I've made. Thanks...
  6. Raywall

    accesing email using sockets???

    I'd like to acces the e-mail box(yahoo for example) using c++. This should involve socket programming (or so i think so).Please tell me how would you consider to solve this assignment. I'm not too familiar with socket programming in visual C++, so if you know some documentation I would be...
  7. Raywall

    image as background fot buttons

    I want to set an image as background for a button without using swing.I've never seen an example but I tryed something and unfortunally the imageUpdate method returns true() and this means that the image is not loaded yet. Please tell me what's wrong with the code below. I wrote the code in a...
  8. Raywall

    creating window from within applet

    From what I know, applets can't create dialogs or some other windows, but if there's some trick to do or simulate this please let me know. Thanks.
  9. Raywall

    Windows registry

    I believe that in sun java there is no class that works with win registers but i wanna be sure. Is there any way for me to read&write windows registers using sun java? I've heard that in Microsoft J++ i can do this, but is there any way to do it in sun's java?
  10. Raywall

    displaying images on frames

    I have an application that is frame based( displays a frame ) and on the frame surface I have to display some images.Since I don't use applet I can't use getImage() and I don't know other methods that displays images(jpg-s for example from HDD). Please tell me how can this be done. Thanks.
  11. Raywall

    Applets and socket problem

    I'm working on a chat program and the clients must be done using applet.The problem is that I have one error when the client connects: something with socket perimision.If I run the server and the clients on the same machine everithing works just fine so I guess there's some problem with security...
  12. Raywall

    adding a menu item to existing window

    I must add a menu item to an existing window. But that menu item must really work and this is my problem. My ideea is to enumerate all windows, get handle of the menu and then append one. Please tell me how will I now that the menu item was selected.
  13. Raywall

    processes management

    I have searched the forum to see what has been told in here about processes but ... The thing is that one of my collegs needs to implement something like Task Manager using Visual C(or Borland) and I must help him(kind of coding it for him :) ).I saw lots of functions in help wich perform...
  14. Raywall

    problem with caret movement

    Hello... I have to do a text editor and I have a problem with the caret.I tryed this: /* TEXTMETRIC tm; GetTextMetric(hwnd,&tm); charwidth=tm.AveCharWidth; */ When a button is pressed the new caret position will be: //xpos=xpos+charwidth It works for a few characthers like 'a,s' but for others...
  15. Raywall

    caret movement(depending on char width)

    what should be the new position of the caret after moving one position(left or right)? tm.tmAveCharWidth(textmetric structure) is no good beacuse chars width depend on their value,so...?
  16. Raywall

    get opened files in wr mode by windows

    I would like to get path,name and altough handle to those files. And is there any metod to now when the list of the opened files has changed(a handle to a file was closed or opened)? Thanks
  17. Raywall

    2 problems:f ind .exe files and bmp transparency

    I am using Borland C 5.02,Win xp. 1. I am interested in finding the names of the .exe files running because i have to make a Task mannager. I now everithing about the windows open but can't retrieve the name of the .exe files who launched the windows. 2. Another problem: How can i display a...
  18. Raywall

    get .exe files and bmp transparency

    I am using Borland C 5.02,Win xp. 1. I am interested in finding the names of the .exe files running because i have to make a Task mannager. I now everithing about the windows open but can't retrieve the name of the .exe files who launched the windows. 2. Another problem: How can i display a...
  19. Raywall

    retrieving a handler for a window

    I don't now if it is possible, but I'm tryng to retrive a handler for a window,(not one created by me !!!).For example I want to retrieve a hadler in my code for an existing window created by any aplication. I'm interested in C.500(or heigher) functions that could do this.

Part and Inventory Search

Back
Top