...to get the ObjectID and ClassID for me by passing the point of the object struct to them.
These are the C functions I must call:
struct object *YObject_CreateFromClassName(char *name);
void YObject_SetProperty(struct object *object, const char *name, const char *value);
char *...
I'm pretty sure the error is with this line:
foreach (string s in linetext)
What is essentially happening is you are moving through a collection of chars not strings (strings are just an array of characters). The following code would be correct, but not what you are looking for:
foreach (char...
...I'm very new to this but I have considerable experience with C#.
Here is the struct defined in C:
struct object
{
int oid, cid;
struct object *next;
struct eventType *firstET;
}
struct eventType
{
struct eventType *next;
const char *name;
void * (*eventCallBack) (struct object...
I'm importing data from an Oracle database into Sql Server. Everything is going smoothly except oracle table timestamp columns.
I've made the conversion from timestamp to char using TO_CHAR(field_name,'MM/DD/YYYY HH:MI:SS PM') which puts in in the sql server format.
Am I doing something wrong...
I think you are confused on how the BufferedReader works... the buffer deals with the current line that is being read. Your file may be large but I'm sure that each line is not an insane amount of characters. This class should work for you without a hitch. Have you tried implementing this class...
For the most part when I get that exception the value I'm apparently passing to the parse methods turns out to be a null value... this is the first thing you should explicitly check for. I hope this helped! ;-)
- Casey Winans
...of how to execute sql server stored procedures in php... I've searched everywhere I could think of and found nothing? Maybe instead of using the built in mssql* functions someone knows how to do it using the generic odbc functions? Is it even possible? I hope this helped! ;-)
- Casey Winans
I just tried it and it didn't work for me either.... it created the text file for me but still spit the error messages to the console.
So I'm baffled too. I hope this helped! ;-)
- Casey Winans
I've only skimmed these questions and responses, but I would like to suggest a different approach. You are using the Observer interface and Observable class. These are great ways to implement an MVC architecture in a simple application. You have numerous things happened from one user action...
Thank you both for your help. I have already figured it out using the MouseListener.. but now someone else in the future will have good examples to look at. Thanks a bunch.
I'll put a link to the game in another post when I get it done. It's due the middle of December and I love to program so I...
I'm currently developing a version of MineSweeper in Java for my Special Topics course at Penn State. I've seen lots of versions out there... none utilizing the full benefits of Java and it's object oriented abilities. I've written the underlying model for a truly object-oriented version. I'm...
I am behind a proxy at work. I found an example to get through it but it doesn't work. It was just a matter of setting a couple properties such as:
Properties props = System.getProperties();
props.put("http.proxyHost", "http-proxy.trans.ge.com")...
Is there a Javascript (JScript) API available for manipulating PDF files in a web browser such as searching for text within a pdf file being displayed in Internet Explorer? I hope this helped! ;-)
- Casey Winans
I was recently given the challenge to find a way to find text in a pdf file from out side the pdf viewer.
For example, there is a framed web page, on the left is a list of "bookmarks" which are all links from an html page.
The right frame is loaded with an PDF file. My employer wishs...
I'm not really quite sure but try this methodology.
Try replacing "\n" with "<BR>"
As far as String documentation goes, visit this site for the Java API documentation.
String resides in the "java.lang" package.
http://java.sun.com/j2se/1.3/docs/api/index.html...
Also... you can replace 'thin' with 'oci' depending on what your use is ... I'm not real adept at what the differences are but you can find lots of info on them at http://technet.oracle.com I hope this helped! ;-)
- Casey Winans
Driver : 'oracle.jdbc.driver.OracleDriver'
Url : 'jdbc:oracle:thin:@ip_address:port:database'
ip_address is ip of oracle box
port is the port the oracle dbms listens on (1521, 1526, etc)
database is the name of the database I hope this helped! ;-)
- Casey Winans
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.