Tip Bank

DevX - Software Development Resource

Variable-length data in structs

Question: Can I have variable length fields in a structure. I have tried something like: typedef struct { int length; char data[length];}; but that won’t compile. Is there a way,

DevX - Software Development Resource

String to int

Question: I’m a new Java developer and was wondering if there is an easy way to grab information from a String object and place it into an “int”. For example:

DevX - Software Development Resource

Time formatting

Question: I need to find 2 things. I need a classthat will allow me to take a date and addand subtract days/months/years from it. I also need a class that

DevX - Software Development Resource

Compressed file types

Question: I recently downloaded some applet source code, but they are all stored in “.tar” type files. What program do I need to expand them or otherwise make them useful?

DevX - Software Development Resource

Applet caching.

Question: I have been trying to test my applets under IE4.It seems to me that IE4 must keep applets cachedbecaused I think it keeps running my original applet.Is there a

DevX - Software Development Resource

Browsing with Netscape

Question: I need a way to find the “netscape.exe” file using VB. Then I want to send them to an Internet address using API. Answer: What if Netscape isn’t installed?

DevX - Software Development Resource

Solving problems with Distributed PB Apps

Question: I had some problems with distributed applications. I developed a DPB project (both the server and the client). The server has a NVO that connects to a database and

DevX - Software Development Resource

Web Browser using VB 5

Question: I am currently writing software that will act as client and server software for a small ISP. I waswondering if there is any way to view web pagesusing Visual