151 Topics
|
|
Hi please help me with this. My head really hurts from attempting to answer this question. Thanks a lot! #define maxCells 1000 #define maxCS 11 #define maxIT 19 typedef struct { char LN[16], FN[24], MI; }nametype; typedef struct studtype { unsigned long ID; nametype name; char course[8]; int yr; }student; … |
|
*I know that this may seem like a re-occuring question, but I can't seem to find anyone who has asked this question in a very succinct manner. They always seem to beat around the bush, instead of clearly expressing themself.* **Here is the situation:** I have an application called S.M.A.R.T. … |
|
I have a highly visible Subscribe Form and several other links to my Newsletter Subscribe form on my website, but people always prefer to 'subscribe' using the 'wp_???' (I forget the HTML code they use) subscribe method which adds them to my site's Users list, but not my Subscribe Form … |
|
When the button is clicked, I want the file (it's a XPS document) to be opened in windows. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? |
|
When the button is clicked, I want the file to be opened. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? |
|
Hello Daniweb Univere, I am looking for a good program to use to store several dozen text documents, make them searchable, and ideally, allow me to link to specific lines of the document. I imagine there are programs like this, I have just been unable to find them. Any suggestions … |
|
This is for the more experienced folks. Recently I found that in Visual C++ 2010 (and 2012, not sure about earlier versions) one can use a std::string as the file name argument for the .open( ) function. I've always known the .open( ) function to take only char* (C-style) strings … |
|
I have this programme to discuss and I think its a challenging one.. Here I have a yml file which contains the data for an image. The image has x,y,z values and intensity data which is stored in this yml file. I have used opencv to load the data and … |
|
I'm given a text document with marks and course codes, and I need to create a function where you input the directory of the file, and the course code. Doing so, the code will return the average mark of all the marks in the text with that course code. Any … |
|
#include <iostream> #include <windows.h> #include <fstream> #include <string> using namespace std; class Entry { public: char name[50]; int id; float sal; bool b; Entry *next; void clear(Entry *head,Entry *tail) { while(head!=NULL) { head=tail->next; delete tail; tail=head; } } }; int main () { ifstream myfile1; ofstream myfile2; char *buff="",temp[256]=""; int … |
|
Hi, I am having a problem when I'm trying to open and read a file with python. My code goes as follows: def main(): f = open('nummer.txt', 'r') text = f.readlines() print(text) main() But when I try to run the code, I get an error. (No such file or directory). … |
|
Hello Community, I need help with this script, i can't seem to use this to switch beteen dll files that contain a form eg. if i use it to open a form from the dll file called "Dll One" then when i click the button again it still opens the … |
|
hello everyone, im having a headache with this error im getting, im trying to read a number from a file but inside a Switch(case) statement but im getting alot of erros only inside the case and i cant figure out why if my open file code is correct (as far … |
|
How to load a yml file in python and work with it ?? I used : import cv data = cv.Load("Z:/data/xyz_00000_300.yml") But when I print data.. it just gives the detail of the image like number of rows and columns etc.... I want read what is there in the pixel … |
|
Does anyone can recommend some application to play Blu-ray on pc? I have CyberLink PowerDVD 8 that came with optical drive, but often there is a lag (visible stop in playback). I would love if VLC player people added BR support to application, but at the moment libbluray is more … |
|
Hello all. My wife and I are getting ready to purchase an established business in the organic coffee industry. After 5 weeks of working in this business hands on, we have identified the need for a POS solution that would interface the business's website to take orders based on daily … |
|
I am working on a open source script at the moment, but I am struggling on one final aspect of the script. I am a bit of a newb to PHP at this level, I have a working knowledge of PHP and MySQL, but this seems to be a little … |
|
hello everyone, I am having a major problem with this assignment that asks to create a function whose input is a reference to an input file, which asks user to enter a file name to open for input, then checks to see where the file opened successfully. the function returns … |
|
|
Hello i'm trying to make a text editor but i cant find codes for Save button....someone please give me? I searched on google but no luck (like always) |
Hi, I am recieving these two errors when attempting to upload an image file to my server: Warning: move_uploaded_file(images/) [function.move-uploaded-file]: failed to open stream: Is a directory in }[I removed the path, this is not part of the error] on line 13 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php2bBihw' to … |
|
**Ok i have this script it opens desired page then closes at desired amount of time. How do i make it redirect to something rather than google.com when closing** <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Test Page</title> <style> body { font-family: sans-serif; } </style> </head> <body> <p><a href="#" id="target">Start … |
|
Hello Daniweb users. I am a security analyst who needs to currently audit the compliance rate of machines for my client. He is having both Windows and Linux machines including AIX. I want to know rather than doing a manual check i.e. document to document, is there any tool (preferablly … |
|
I'm curious. The first language I learned is a small port to java called "Processing." It's been around a while and it was a fun little language to learn. My question is: How many of you use it? Info at processing.org and examples at openprocessing.org Check it out if you've … |
|
hello, i want the code in c#, working on a project. i have code in which i click on the button named OPEN FOLDER, next step is, it open window for browsing, then user select the folder containing images. after selecting folder, the upper half of same folder that was … |
|
Hello Friends, I need help to disable the parent window form as soon as the user will open the child form.... for eg...consider daniweb...when we click on member login the background form gets grayed out.... Disabling the form is not the option cause it will just disable all the controls … |
|
Hello all, I am trying to have my Midlet access a website address, but whenever I run it in the emulator, I get a "Null Pointer exception" Here is the code I am using: import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import javax.microedition.io.InputConnection; import javax.microedition.lcdui.Display; /* * … |
|
OK, let me preface this by stating that this is for an internal application only, so security is not a major concern and we can/do have a fair amount of control over the users browser, operating environment and configuration. I am currently generating some hyperlinks, like this: <a title="L7489" id="MainContent_GridView1_lnkFolderR_1" … |
|
Hi there, I'm trying to implement SoRayPickAction that will, when the mouse is clicked, select a particular node so then I can translate, rotate, etc. I have three nodes: desk, lamp, and frame (picture frame). However, I don't think that my code is at all right. I also have various … |
|
Hi, I was wondering if somone could let me know the best method of sending video by email? Is a specilist bulk mail service provider required or can video files just be compressed and sent by normal mail? What is the best software to use? Look forward to hearing from … |
|
trying to create fifo that can read and write. but some reason its not going below "O_RDONLY" line. any thoughts? char *fifo_name = "fifo"; #define 0666 int main() { int fd1; int fd2; //create fifo if(mkfifo(fifo_name,FIFO_MODE) == -1) { exit(1); } //open fifo for read if((fd1 = open(fifo_name, O_RDONLY)) == … |
The End.