64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for smithss

Hi i have written a standard library function 'strcat' on my own, even though the output seems ok, can someone please verify if what i'm doing is right? i get confused using pointers. [code] void mystrcat(char *a,char *b) { while (*a++ != '\0'); *a--; while (*a++ = *b++); } [/code] …

Member Avatar for smithss
0
115
Member Avatar for Squirrel1984

When an object is created are these stored on the client CLR or in the Server CLR? or if im completly off where are objects stored after instantiation?? Thanks in advance :)

Member Avatar for Squirrel1984
0
117
Member Avatar for tableray

i want to fill up the userID and password fields of the yahoo mail login page with the click of a button on the form but just cant get it right. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("https://login.yahoo.com/config/login_verify2?.intl=sg&.src=ym") Private Sub Button1_MouseClick(ByVal sender As Object, …

Member Avatar for Teme64
0
183
Member Avatar for dinilkarun

Please help me in automatinng the following in my EXCEL sheet using VB. I want to make my first two rows as Repetitve in every page of print.In excel it can be done as PAGE SET UP->SHEET -> Print titles -> "Rows to repeat at top". here i can choose …

Member Avatar for Comatose
0
138
Member Avatar for ayi_102

Hi i make list box to change the font type, font color, font size and bacground color in listbox this is what i made so far [CODE] <html> <head> <!--Function to do the background color--> <script language="JavaScript"> var backColor = new Array(); // don't change this backColor[0] = 'red'; backColor[1] …

Member Avatar for ayi_102
0
2K
Member Avatar for tomtetlaw

i am doing the 'getting started' tutorial that comes with the dark gdk, and i ran into this error: c:\documents and settings\tom\my documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2065: '“animatedsprite' : undeclared identifier heres my code(that i copied from the pdf): [code=c++] #include "DarkGDK.h" void DarkGDK ( void ){ …

Member Avatar for springwater
0
170
Member Avatar for TechExpressInc

We have an MS-Access DB that we would like to create emails from is that possible. Approx. 140 employees we like to create emails to from Access. Thanks for any pointers. Russ @ scaninc.org

Member Avatar for freshfitz
0
184
Member Avatar for Luckymeera

I have a simple Rectangle drawn on Canvas. How can I retrieve the color on the Canvas AFTER the Oval is drawn without using Image, say, at the coordinate (100,100) ??? could anyone help plz...

Member Avatar for vegaseat
0
123
Member Avatar for mayfieldjr

I have a table with 32 fields. Is there a shorter way - [ other than select sum(field1 + field2 + ... Field32] to get the sum of all fields for a date range. I know, I know, once I create the query I can save it for future use …

Member Avatar for peter_budo
0
2K
Member Avatar for lameassthemity

I'm writing a class planner, where the user is given the opportunity to enter certain information about their classes and have it printed back to them upon request. The problem I'm having is that whenever I enter any text into the input with a space in it, it returns me …

Member Avatar for zalezog
0
134
Member Avatar for csharplearner

Hi all, Is there a way to check what is the error for not displaying the code correctly while practising it in a website? Just like when the s/c is compiled in the vs editor. I tried using trace.axd but i found it less helpful. when i wanted to make …

Member Avatar for csharplearner
0
86
Member Avatar for RahulV

Hai, I have a multi-line TextBox (Text1), whenever i click a button (cmdPrint) the contents of this Text1 should be printed out to a Printer selected using a Comon Dialog Box (cdlgPrint). Can u help! An explanation to ur codes will be highly appreciated. Thanks.

Member Avatar for Comatose
0
256
Member Avatar for revenge2

I need help understanding classes better. [CODE=Python] class person: def sayHi(self): print('hello world!') p=person() p.sayHi() [/CODE] here what is the use of 'self'?, I've read two tuts on this but don't quite understand fully.... [CODE=Python] class person: def _init_(self, name): self.name=name def sayHi(self): print('hello, my name is', self.name) p=person('rs') p.sayHi() …

Member Avatar for sneekula
0
220
Member Avatar for Lensva

hello gents, i have two pages: page1.php takes user input, page2.php should process it and then return page1 either error or success messages. there seem to be an error(s) i cant figure out: when you fill the form with correct data you get: [code]Warning: Invalid argument supplied for foreach() in …

Member Avatar for Lensva
0
229
Member Avatar for smelf1

I am able to read the data from the application event logs but when i try the security i get an error Requested registry access is not allowed. {"Cannot open log security on machine .. Windows has not provided an error code."} {"A required privilege is not held by the …

Member Avatar for smelf1
0
162
Member Avatar for t_yalthis

hi everybody, my connection code is like this: Set conn = New ADODB.Connection With conn .ConnectionString = "Provider = Microsoft.JET.OLEDB.4.0; data source = C:\Documents and Settings\kullaniciadi\Desktop\reservation97.mdb; persist security info = false" .Open End With This database (reservation97.mdb) is going to be moved to a server.. How is going to be …

Member Avatar for Comatose
0
668
Member Avatar for guest7

Hi, I am getting the following error while compiling: "Undefined symbols: "main_class::binary(int, std::vector<int, std::allocator<int> >&, int)", referenced from: main_class::identity(int, int, int)in test_sat.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [test] Error 1" Following is the code : [ICODE]int main_class::identity(int rowno, int size_row, int loop_iterate) { …

0
50
Member Avatar for serkan sendur

i want to create a document using apache xml parser, can you guys provide me with sample code? After creating the document in the memory, i want to save it as an xml file.

Member Avatar for Comatose
0
99
Member Avatar for Kusno

Dear all, How do I access folder+files is located outside webfolder ? My Intranet application website address is [url]http://160.115.30.20/BMI[/url] and physical folder in server is C:\Inetpub\wwwroot\BMI. Folder I want to acess is located in C:\Inetpub\wwwroot\Documents. Now, The folder is in webfolder. I want to move it to outside webfolder to …

Member Avatar for serkan sendur
0
2K
Member Avatar for darylesha

I have researched and have not come up with any examples and no answer as to how to do this. Please help... The molecular2.java does all the computation. I will only include a snippet of it. This file is like this because I needed to return multiple items and could …

Member Avatar for peter_budo
0
192
Member Avatar for malg

Could anyone tell me how to programmatically list the filenames of all open office files (winword.doc files, excel.xls files) ?

Member Avatar for samir_ibrahim
0
112
Member Avatar for noamjob

I'm trying to get the content of a web page that is written in pdf format. The following code worked very well for me when I tried to read a regular web page, but it prints all kinds of weird letters when I try it on a pdf page like …

Member Avatar for Stefano Mtangoo
0
6K
Member Avatar for TasostGreat

i'm trying to figure out what is the fastest way to do an odd / even check on numbers i don't know whether there is a mathematical way of achieving this i've heard that the fastest would be checking the last bit in the binary array but i wonder what …

Member Avatar for TasostGreat
0
110
Member Avatar for TasostGreat

i'w wondering whether there is a difference between fstream and stdio.h when processing a file with these data [CODE] 10 10 P[/CODE] with fstream it's easier to get the data since with stdio.h i'd need to get every single char and number with getc() and translate i t into whole …

Member Avatar for TasostGreat
0
527
Member Avatar for Stefano Mtangoo

Hello colleagues, I wan't to upgrade to python 2.5.4 from 2.5.2 but I don't want to lose my modules. Is it possible to upgrade without removing those modules? Thanks

Member Avatar for Stefano Mtangoo
0
91
Member Avatar for Torquai

I am writing a small wizard to help the user gather data in a pleasant way, but I don't want to use the standard install wizard layout, so I am working on writing my own. I have tried using a standard TabControl but I don't want the line of tabs …

Member Avatar for Torquai
0
83
Member Avatar for skynwa

Hi! I am trying to make a function, which transposes matrix. When declaring it, i get this error, which i mention in the title. I`ve tried to find the solution myself, but i am quite new to C, so i don`t even understand what does this error mean. (I know …

Member Avatar for Patel S
0
267
Member Avatar for shers

Hi all, I'm creating a progam in C# that reads a file location at start up and displays the parent folders in a combo box. This file location may change in future. So I intend to keep this in an xml file and allow the user to change it when …

Member Avatar for LizR
0
4K
Member Avatar for RenFromPenn

I'm creating a program that is supposed to have enumerated constants that contain days of the week. I am also supposed to have a variable called today that is of type week. Okay, I think I have done all of that correctly. Now I am supposed to assign a value …

Member Avatar for Alibeg
0
134
Member Avatar for VernonDozier

I am developing a program that creates random mazes. One part of the program involves keeping track of the correct path. Each point on the path is a (row, column) coordinate. I am trying to store each coordinate as a 2 element integer array and push it back onto a …

Member Avatar for VernonDozier
0
149
Member Avatar for winrawr

I'm trying to learn C++, and I thought I'd start by exploring classes, so I wrote this: [code=c++] #include<iostream> #include<string> using namespace std; class user { public: string logonName; string firstName; string lastName; int uID; }; int main(){ user users[2]; int i; users[0].logonName = "rawrMander"; users[0].firstName = "Rawr"; users[0].lastName = …

Member Avatar for Freaky_Chris
0
140
Member Avatar for shers

Hi, I'm working on C# with COM. I have a COM OLE control that I wish to create on the form as control array during runtime, as the number of cotrols depends on the number of files in the corresponding folder. How do I go about it? I'm attaching a …

Member Avatar for shers
0
135
Member Avatar for FrancisC07

hi! i have a problem.. i want to make a program the will input your name and age, and the output will count the char i been input. but my problem is i don't know what would be the code so that i can count the char i been input.. …

Member Avatar for FrancisC07
0
158
Member Avatar for winrawr

Should I avoid casting between data types? I haven't really seen much about the use of this, but it seems like one of those last-minute-no-way-around kind of methods... but, for example, how would I use the length of a string in a for loop? The length property of a string …

Member Avatar for grumpier
0
168
Member Avatar for Jacky1

OK i have an array of 10 elements and I want to color the 5th element with a different color than the default color , is that possible ? Thanks

Member Avatar for Jacky1
0
102
Member Avatar for Manutebecker

So I'm having trouble with classes today, I want to do something like [CODE] #include <iostream.h> using namespace std; class Dummy{ char Name[256]; void setName(char nam){Name=nam;} }; int main(){ char[256] temp; cout << "Name?\n"; cin >> temp; setName(temp); } [/CODE] I want something like this to store a char array …

Member Avatar for Manutebecker
0
8K
Member Avatar for JoeK

[B]This assignment requires that I allow for user input in a GUI for principal, interest rate, and term in years. I also have to provide a pulldown with 3 preset rates that will also load a cooresponding term length. All of that plus an amoritization table as well. I have …

Member Avatar for JoeK
0
457
Member Avatar for ravikiran032

If we consider a pointer variable if takes size of 2 bytes and it can carry max address value of 65535 but actual address are larger than 65535 , how it is able to manage these address..... will u please explain me.

Member Avatar for Alibeg
0
90
Member Avatar for sacarias40

i get this error:[quote]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index, user_id, username, message) VALUES(' ', '4', 'zack', 'jh')' at line 1[/quote] [code]<?php session_start(); $_SESSION['user_id'] = 4; $user_id = $_SESSION['user_id']; $_SESSION['username'] = …

Member Avatar for sacarias40
0
95
Member Avatar for winrawr

Can I do this? [code=c++] while(variable=functionCall()!=0){ /* ... */ } [/code] the function I'm calling, is returning a 3, but the variable in the while loop is equal to 1... I'm not sure what is happening in this statement, Originally I thought it would just always evaluate to true and …

Member Avatar for winrawr
0
121
Member Avatar for piotr_kast

I write application which continously reads and rewrites files (this program converts web links in htm files to local links, because I want use this files offline). When I wrote procedure: [code] // index.htm FileName = (string)kolekcjaPlikow.GetValue(0); StreamReader myStreamReader = null; myStreamReader = File.OpenText(FileName); bufor = myStreamReader.ReadToEnd(); myReadBufor = bufor; …

Member Avatar for piotr_kast
0
168
Member Avatar for Borderline

I wonder if someone can point me in the right direction for securing my site more effectively. Having experienced problems with Google warning pages being placed on my site relating to potential malware, I've been looking into "beefing up" security, but am find the tutorials relating to safeguarding against sql …

Member Avatar for Borderline
0
116
Member Avatar for Freaky_Chris

OK, I've been looking at templates recently and eveything was fine...never had a problem with them at any point. But then when I decided to write a function that would either return the given template type or not. the following code explains what I mean.[code=cplusplus]template <class T> T find(char x, …

Member Avatar for Freaky_Chris
0
125
Member Avatar for Gribouillis

In python, a "function object", that is to say an object which can be called as a function, is simply an instance of a class which has a [icode]__call__[/icode] method. An example is [code=python] class FuncObj(object): def __call__(self, *args): print("args were %s." % str(args)) func = FuncObj() func(1,2,3) # output …

Member Avatar for Gribouillis
0
184
Member Avatar for gauravmishra

I am trying to take continuous pictures of small window of my screen and create a continuos motion picture sort of thing and display it on the java panel . For this i am taking snapshots of the screen window by using "Robot" class . but the panel is only …

Member Avatar for puneetkay
0
165
Member Avatar for chococrack

I am having trouble finding out info regarding how to stop my application from "Beeping" every time I change focus with the "ENTER" key. For the sake of clarity here is the specific action and code which produces a sound (which I want to eliminate): I am simply trying to …

Member Avatar for chococrack
0
176
Member Avatar for revenge2

This is my first official python program/scrip which I've done my self;) yay!:D. Im sure most of you guys know the 21 card trick where you guess what card a person is thinking of accurately. anyway, I have trouble passing information between modules within modules and functions within functions. this …

Member Avatar for Murtan
0
332
Member Avatar for rapture

ok, I'm taking my first Java class and in my first week. I've searched but this is different from .Net so much that I have a headache just getting eclipse set up and how to navigate the environment. That said, I have a program that would take me 5 minutes …

Member Avatar for rapture
0
104
Member Avatar for Phil++

Hey, what I am trying to do is change the way people open text files in c++. What I want to do is: open("example.txt"); which will then open the text file "example.txt" and have a header file that displays like: [code] string line; ifstream file ("example.txt"); if (file.is_open()) { while …

Member Avatar for Phil++
0
152
Member Avatar for samir_ibrahim

Hi all, Is there a function in vb.net to get how many times string1 is exist in string2? I had search google and all I found is long code such as this one ( i did not test it) [URL="http://www.freevbcode.com/ShowCode.Asp?ID=1025"]http://www.freevbcode.com/ShowCode.Asp?ID=1025[/URL] Is there better way?

Member Avatar for samir_ibrahim
0
209

The End.