132,726 Archived Topics
Remove Filter ![]() | |
Hi, rather new to vb.net and INfoPath. Can someone tell me what is wrong with the next code : [B] Dim veldje As IXMLDOMNode veldje = thisXDocument.DOM.selectSingleNode("//my:Opdrachtstatus") veldje.text = "changed" thisXDocument.DOM.selectSingleNode("//my:Opdrachtstatus").text = veldje.text[/B] The field "Opdrachtstatus" on the InfoPath-form does not change anything. Suggestions are appreciated, regards, Ger. Software Development vb.net | |
lately i downloaded nasm for compiling .asm files but when im trying to compile something(by using in cmd "d:\nasm\nasm.exe -f bin d:\nasm\myfile.asm -o d:\nasm\myfile.com") i get the following error: "d:\nasm\hw.asm:4: error: parser: instruction expected"... does anyone know why and wanna help me? thanx in advance Software Development assembly | |
Can anybody tell me what are file descriptors in C?? I searched the net but can't clear my concepts!!! Software Development c file-system | |
could someone please provide me with the answersd to the following c++ problems, they are simple problems which are probably an insult to most of your intelligence but i'm clueless and desperate. THANKS FOR HELPING:o 1. how would you write this expression in c++? assume all variables are of type … Software Development c++ | |
Hi ppl, I have made a declaration: char* str; str = " Hi there"; what do i have to do to extract a substring from this? [I]Thanks,[/I] [I]Ishwar[/I] Software Development c++ | |
Hey guys, I was wondering if anyone can help me in terms of using atoi to get my my results to add the 1's of my binary output and then join them together... eg. 110101 and 100101 is 4 and 3 = 43. I was thinking of integer dividing the … Software Development c | |
PLEASE HELP ME!!! P E R L!!! I have a CGI (PERL) file namely 'test.cgi' and it has the correct permission (755) on the FTP [URL="http://forums.devshed.com/perl-programming-6/please-help-me-p-e-r-l-380358.html#"]server[/URL] and it is within the CGI path. I have the following code in it: =================================== 1: #!/usr/bin/perl 2: 3: $cr = '???'; 4: $decrypted … | |
hi, I have written a win application program. In my application i have 5 picture boxes with mouse enter, mouse leave, mouse down, mouse up and mouse click events applied. When each of these events occur I set the image property. actually i have simulated 5 graphical buttons. but they … Software Development delphi | |
I have a Class (base) that takes a TYPE in the constructor and loads the appropriate image into memory - this class is used to fill the level map of my game - so I create like 50 of the objects, 20 walls, 10 bricks, , 20 floors, etc... and … | |
I'm new to VB so my question is probably very simple. anyway here it is.. I want to make a side bar showing one form that is like a sidebar in a web page such as on the left side of the MDI form. Which holds the programs main functions … Software Development visual-basic | |
I get a segfault when I run the following. Seems to fail at strcpy. [code] #include <cstring> using std::strcpy; int main() { char * word = "word"; strcpy(word, "what"); } [/code] If I change char * word to char word[], it's fine. I thought that both declarations effectively do the … Software Development c++ | |
i am using c# with a MySQL database, using OleDbConnection and OleDbReader. When running a query using the count(*) function and try reading the returned value using: OleDbReader.getInt32(0), it gives an exception "Index was outside the bounds of the array". thanks, Software Development mysql | |
I'm new to VB...Really new. The main thing I am needing to accomplish is this program I am trying to make. It's just a counter. You click the button and it shows the number of clicks in the label. Well, There are 14 counters in the one program. But I … Software Development visual-basic | |
i am trying to Calculate the physical memory address generated by the following segment offset pairs. please you check my solution. thanks Answer: a. 1DDDh:0436h [COLOR="Blue"] [B] 1E206 [/B][/COLOR] b. 1234h:7920h [COLOR="blue"][B]19C60[/B][/COLOR] c. 74F0h:2123h [COLOR="blue"][B]77023[/B][/COLOR] d. 0000h:6727h [COLOR="blue"][B]06727[/B][/COLOR] e. FFFFh:4336h [COLOR="blue"][B]104326=04326[/B][/COLOR] f. 1080h:0100h [COLOR="blue"][B]10900[/B][/COLOR] g. AB01h:FFFFh [COLOR="blue"][B]1AB00[/B][/COLOR] Software Development assembly | |
Hi, I am using windows , and I wanto know if there is any api that tells me if a directory exists in windows? Thanks , [I] Ishwar[/I] Software Development api c windows-api | |
Hi all, I am very new to C code and was wondering if someone could please help me. i am using a program that gets run through a windows command prompt and outputs the result to the command line screen by default. i was trying to get it to output … Software Development c | |
Hi ppl, I am creating a program that will update itself through the internet. I am creating a windows app. Can I use winsock to do this , without the [I][COLOR=lime]"[/COLOR][COLOR=darkgreen]Windows Firewall has blocked this program"[/COLOR][/I] dialogue? [I]Ishwar[/I] Software Development c | |
I tried writing a string splitter for my little operating system based on [url]http://www.daniweb.com/code/snippet318.html[/url] but it didn't quite work. Here's my code: [CODE] // BTW, this will eventually return a string containing the token_numth token. But I'm just trying to get it to work for now. void strsplit(const char *str, … Software Development c operating-system | |
[CODE]#include<stdio.h> char *str="char*str=%c%c%c;main(){printf(str,34,str,34);}"; void main() { printf(str,34,str,34); }[/CODE] gives the O/P [CODE] char *str="char*str=%c%c%c;main(){printf(str,34,str,34);}"; [/CODE] Can't say how?? No formatting string is used in printf() like %s or so. Software Development c | |
[CODE]#include <stdio.h> struct FUN { char x; char *y; int z[20]; }; int main(void) { struct FUN fn1; struct FUN fn2; struct FUN fn3[10]; struct FUN fn4[50]; return 0; }[/CODE] is an assignment like fn4[23] = fn3[5] invalid? Software Development c++ | |
elo everyone ;) I wanna learn assembler and I can't find any good sites... what ones would u recommend? Thanks in advance Software Development assembly | |
I'm trying to create the code for a paycheck program where I am paid double time for anything over 10 hours, time and a half for 8-10 hours and straight time for 0-8 hours. For some reason the pay isn't accumulating correctly. Any help would be appreciated. [CODE]#include <iostream> using … Software Development c++ | |
I have a dictionary defined say D, I also have initialized it. When I say len(D), some time it gives me correct answer, but some times it throws me error saying [I]UnboundLocalError: local variable 'len' referenced before assignment[/I] can anybody tell me why is this error. Am I wrong some … Software Development python | |
Now, thing works, should i trash motherboard are can this be salvaged. The computer want even boot up. nothing goes to the monitor "no signal" I put a pentitum 4 processor on a 478 motherboard with max FSB of 533, the processor is 800 FSB. I can't get it to … Software Development assembly | |
hello all, Now my question is - can i apply the code on the part of the board. In order to get a "Copy" of the board with category 17 and category 3 .... see here [URL="http://=http://www.nukeforums.com/forums/viewforum.php?f=17"]=http://www.nukeforums.com/forums/viewforum.php?f=17[/URL] [URL="http://=http://www.nukeforums.com/forums/viewforum.php?f=3"]=http://www.nukeforums.com/forums/viewforum.php?f=3[/URL] readers from here i look forward to hear from you [quote] Let's … Software Development first-post google html-css perl | |
Hey, I need to implement a database using MS Access. I am currently using a java platform and I dont know how to access the information stored in the database. I have used MySQL database in previous programs but it gave me some problems when loading the application. Can anyone … Software Development java | |
Hello everyone, I am trying to get an XTEA algorithm to work. I read the key from another process of which I'm sure it has a valid key at a specific location in memory. My encryption algorithm seemed to work, but when I tested it by making a buffer, encrypting … Software Development algorithm c++ encryption | |
Hi , ppl, I want to get the absolute file path of my c++ app, I tried searching through io.h, but alas , I don't know what the function is.:sad: I am using Dev C++ under Windows. [I]Thanks a lot, [/I] [I]Ishwar[/I] Software Development c++ | |
Hey everyone, I need a little snippet of code that I can use to call a google search. I know I can just use html to link to a google search with a predefined search string in the search box, but what I'd like to do is create a little … | |
I am using c++ and need to devise a method to determine the check digit of a credit card. The user enters the card no. as a string. The card no is then divided into blocks of length, x. these blocks are then added. I have the code to convert … Software Development c++ | |
Hi Everyone, Im new to this forum and im doing a repeat java exam in a week, i was hoping somebody could help me with a few questions? I would really appreciate any help? I can t find a definitive answer for any of these Q's. [I][COLOR=#0000ff]1."Human Central Processes are … Software Development java | |
Hi, Can someone please help me. I have a really large text file that contains a list of hash values, it has about ten million entries. I wanted to do a binary search on this to check if a particular hash value is present in the file and to return … Software Development file-system java | |
Hey guys. I have a prewritten script for uploading images to my server. It already checks filesize which i need. But i also need to check the image width and height to make sure it does not go over a certain size. I am not sure how to accomplish this … Software Development client-server email first-post http-protocol image operating-system perl regex unix web-browser web-server windows-server | |
Ok Im Back I Think these Are the Last Error's Of The Lot This is My Code [CODE] #include <windows.h> void WriteMem(DWORD MemOffset, DWORD DataPtr, DWORD dataLen) { DWORD d, ds; VirtualProtect(address, bytes, PAGE_EXECUTE_READWRITE, &d); memset(address, type, bytes); VirtualProtect(address,bytes,d,&ds); } [/CODE] And These Are My Error's [CODE] error C2065: 'address' … | |
Hi, Hope you can help. The following is essentially a small problem of an overall project, i have been trying to work out how to divide an inputted string, into say blocks of 4 characters and then output these separate blocks on the screen. e.g. 1234567891234567 ----> 1234 5678 9123 … Software Development c | |
I'm using "sendmail" command in perl to send email If I send email using perl script and if I check /var/mail/root I can see a recent copy of mail that I sent using script Is ther any way so that I dont want copy of mail to appear in /var/mail/root … | |
Okay, the test is on Tuesday. Unfortunately, I am a little behind in my studying. I'm a sophomore in high school with other classes that bog me down with senseless homework and projects. I was just wondering if anyone here had any tips as what I should try and study … | |
how do u write this if then statment but in c++ if g=3282 then g=k; to bad there wasnt a then like there is an else in c++ Software Development c++ | |
Good day, Iam traying to get result of my record as below If next record is biger than previous show "1" If next record is same previous show "1" If next record is smallest show "0" if next record is same previous show "0" Example id Time Code Price Res … Software Development visual-basic | |
Hello ... I've been trying to convert a long string of numbers into a number that can be used in calculations ( int, long, or long long ) ... but nothing worked :-| If I have a string of 1s and 0s, and this string could be up to 128 … Software Development c | |
i wan to know the code for the radix sort using a queue and a radix sort using a linked list Software Development c++ linked-list queue | |
Hi All, Is the naming convention typically used for C++ vector arrays, with multi-word identifiers, to use an underscore between the words? I'm finishing up a C++ course offered by the local college - I'm taking one of the "classroom: online" sections - and I'm running into that usage in … Software Development c++ | |
FILE *ptr; char i; ptr=fopen("file.c","r"); while((i=fgetc(ptr))!=Null) printf("%c",i); leads to infinite loop??? but while(fgets(str,80,ptr)!=NULL) puts(str); on the similiar terms doesn't??? Software Development c file-system | |
Is there a way in Java to assign values en masse to an array? To give an idea of what I'm trying to achieve, in Perl, you can do: [inlinecode]@listofvalues = (1..$anynumber);[/inlinecode] to add (in this case) all digits between 1 and $anynumber to the array @listofvalues. Is there a … | |
[code] #include<alloc.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<dos.h> #include<ctype.h> typedef struct node { int dd,mm,yy; int cus_ac_no[15]; char cus_name[25],cus_add[45],cus_ph_no[17]; double cus_bal; float cus_intrst; struct node *next; }node; node *L,*ptr; void add() { node *p,*q,*new; p=q=L; clrscr(); new=(node*)malloc(sizeof(node)); if(new==NULL) { printf("list is full"); getch(); return; } else { printf(" Enter customer account number … Software Development c | |
Is it possible for an app to write to the hard drive? Instead of using normal memory? Then delete what was stored on exit. Software Development hard-drive | |
Hi, I need to implement a kind of real-time morlet wavelet transform for 200-samples of signal in C++. I have the code ready, which does the covolution of incoming signal and complex morlet wavelet and then take the sqare norm of the covolution result to get the energy of signal … | |
What is a closure? I keep reading this word in programming, but never got a good explanation. Software Development python |
The End.