199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for serkan sendur

i know how to get property values : [CODE]Context.Parameters["nameOfProperty"][/CODE] but i dont know how to set them from custom installer class. any ideas?

Member Avatar for serkan sendur
0
112
Member Avatar for nyks.up

Create a text file on desktop as “text.txt”, content of file will be a single line as “FILE ORGANIZATION AND ACCESS METHODS”. Write a program to read from file only “ORGANIZATION” word and print it on screen. And i am doing that but it does not work . [code=c] #include …

Member Avatar for nyks.up
0
88
Member Avatar for dfswart

I am usinh C# to create a Webservice. The applications that uses he Webservice does not have the capability of formating fonts, but uses it as it gets it. I would like to chnage the color of the data I send to the Webservice to something else in certain cases …

Member Avatar for serkan sendur
0
114
Member Avatar for xixpsychoxix

Hello all. I am attempting to write a small operating system, just for kicks (i'm a strange person...), only problem is, i can't seem to make the protected mode switch. I am targeting Intel 80386 and better using NASM to assemble the source. Here is that source: [code=assembly] bits 16 …

Member Avatar for xixpsychoxix
0
358
Member Avatar for bhanu1225

Hello All ... Bit information from your side. Which PHP version will support on Mac OSX ?. I am using Mac OS 10.5.7. If so, what are requirements for designing an application ? Like (web server , database server , etc ...). With Best Regards, Bhanu.

Member Avatar for chrishea
0
88
Member Avatar for skullish

Hi, I created an asp.net website that wrotes information on an Access DataBase and allow users to upload pdf files. But I have a security error, telling that ASP.NET doesn't have the rights to create de file (but writing in the DB works perfectly). This is the error message : …

Member Avatar for skullish
0
224
Member Avatar for a1eio

i've made a little animation using python and the pygame module, I'm just wondering if it's possible to turn that into a screensaver? is there a format i have to save it to? If anyone knows i would be grateful for the solution thanks, a1eio

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for DoEds

[i][color=#33CCFF]/*Help me finished this code.I trying to make a program that will ask 2 choices. 1 is for converting dollars to peso and 2 is for converiting peso to dollars. Im trying my best but i dont seem to get the right code for it. Im just a beginner in …

Member Avatar for Tom Gunn
0
359
Member Avatar for lovley

Hey you guys, I am finishing my last two assignments in my class and I am having trouble because as you will see, the directions are not as they appear. My class is online so I don't have anyone I can rack my brain to or with and did I …

Member Avatar for VernonDozier
0
246
Member Avatar for kostasxx

i cant understand why this happens i m making a simple implentation of sieve of eratosthenes algorithm but code doesnt run on gcc [code] // calculate primes from 1 to 100 #include <stdio.h> #include <math.h> int main() { unsigned long i,x[99],w; for ( i=1; i<100; i++ ) { x[i] = …

Member Avatar for kostasxx
0
94
Member Avatar for sarithak

Hi frnds... here i am phasing a small problem...after successful completion of all my queries ,it is not redirecting to back page..plz check this one.... [B][U] Need Logic[/U][/B] At the bottom of this code i execute 9 sql queries..all are in same manner..If there is any logic in this plz …

Member Avatar for somedude3488
0
404
Member Avatar for serkan sendur

ayesha789 asked me how to use my smooth scroll script in code snippets section. i created an example for him here : htmlpage : [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <script type="text/javascript"> function elementPosition(obj) { var curleft = 0, curtop = 0; …

0
273
Member Avatar for ariez88

hello all, i am creating an online aptitude testing system in C# using ASP.NET. for this what i want to know is that when a registered user enters his login id and password, it should be compared with those already present in the database and it matches with tht in …

Member Avatar for sknake
0
1K
Member Avatar for karamjeet2004

[code=java]import javax.swing.*; import java.awt.*; import java.awt.geom.*; import java.sql.*; public class panel extends JFrame implements ActionListener { ResultSet res; Connection conn; Statement stat; String lang; JFrame frame = new JFrame("Graphics Button"); lang="abc"; JButton b1; JLabel l1,l2,l3; JPanel p,p1,p2,p3,p4; p.setSize(100,100); p.setLayout(new GridLayout(3,0)); p1=new JPanel(); p2=new JPanel(); p3=new JPanel(); p4=new JPanel(); l1=new JLabel(lang); …

Member Avatar for karamjeet2004
0
187
Member Avatar for walter clark

For a CLR type program in Visual C++, I need to record the file date of the version of the program being run. That seems like a very normal thing to do but I can't find a solution (that works) on the web. I'm able to read the date of …

Member Avatar for walter clark
0
135
Member Avatar for makymakaru

so i finally got the server.c program to run in linux environment i was elated to start the client.c program it turned out that there would be another problem. below codes are the codes of client program i compiled it and it produced an exe but there is a warning …

Member Avatar for tux4life
0
109
Member Avatar for Stefano Mtangoo

I hear alot from my fellow developer about these schema stuffs. Im new to database and I wonder what Schema is. I can play with tables and databases,

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for warp

Hi Please look at this small piece of code: [code] char* pArray = new someArray[128]; delete pArray; deleta[] pArray; [/code] Will this generate a mem leak? "delete pArray" wil deallocate only the first char of someArray but will "delete[] pArray" deallocate the rest of someArray or will the compiler see …

Member Avatar for warp
0
122
Member Avatar for akulkarni

i wish to print something like this ******** r ******* er ter uter puter mputer omputer computer where * is a blank space for each line i used array of strings String []s1=new String [20] for 5 blank spaces i used s1+" " + " "..+(5)"" then 4 blank spaces …

Member Avatar for VernonDozier
0
202
Member Avatar for seebharath

Hi, How do I modify an audio file( say mp3 or wav) using c# . I want to compare 2 audio files if they are same.. Also if someone could tell me how to record an audio using code would be great...

Member Avatar for Ramy Mahrous
0
120
Member Avatar for akulkarni

i was trying to explain a friend about interface i have followed the abstract concept but dont know to how to demonstrate [code] inteface a { void meth(int i){ }; } class dani implements a { public static void main(String args[]) {int i; public void meth(5); System.out.print(i); } }[/code] if …

Member Avatar for JamesCherrill
0
91
Member Avatar for rapture

Hello All, I'm wondering if anyone can help me by either directing me towards a source that would help me understand Access syntax better or help me figure out if it's possible to convert this SQL syntax to Access. I've tried but can't seem to get it to work. my …

Member Avatar for gtd
0
144
Member Avatar for redburn

I'm writing a function that creates an html file, loads it into a invisible browser, prints, then deletes that html file. However I'm getting an error in the print and delete portion. [B]Here are the two errors[/B] [B](Output from the debugger)[/B] A first chance exception of type 'System.IO.IOException' occurred in …

Member Avatar for redburn
0
280
Member Avatar for lolwtf

I have a datagridview that tracks when employees clock in and out. I used the datetime data type in sql but I dont want the year to display. How would i go about doing this? Do i have to modify my select statement, or can I do it with vb …

Member Avatar for lolwtf
0
134
Member Avatar for mohanaraj3485

I'm trying to display the number formate according to cultureinfo for that i enter the numbers in text box like 456,456.50 and select the culture english name as German(Germany) and click the button means it display the given number in the german format ie 456.456,50 but when i enter the …

Member Avatar for mohanaraj3485
0
90
Member Avatar for akulkarni

i know how to find palindrome and also how to find reverse of string using for loop. but i wish to do it within a loop (for) using flag. can u please tell me how to use flag in c . my code is as follows [code] #include<stdio.h> #include<conio.h> #include<string.h> …

Member Avatar for csurfer
0
8K
Member Avatar for jliu66

Dear my friends, I am working a project to import and export a large amount data. Right now I save the data in spreadsheet but time consuming. I want to import and export those mixed data directly from and to csv file saved in C:\. The data file is comma …

Member Avatar for vb5prgrmr
0
188
Member Avatar for serah1427

hi guys ; i have a code for read txt and later write to sql database but its not working :( can you help me _? Best regards [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.SqlClient; using Utilities; namespace …

Member Avatar for Ancient Dragon
0
102
Member Avatar for tactfulsaint

please how do i go about this RMI project it has been giving me alot of trouble Problem statement A management wishes to automate and centralize the entire system so that the data can be stored in one central dtatabase. the system should consist of client/server architechture that can enable …

Member Avatar for tactfulsaint
0
118
Member Avatar for metzenes

I'm designing a class where there's a method that should return a different data type depending on certain circunstances. Specifically, I'm reading from a text file. If the data found are strings of characters, I'd like to return a vector of strings. On the other hand, I'd like to return …

Member Avatar for daviddoria
0
106
Member Avatar for peterbrowse

Hi I'm new to MSVC. I've entered a program into the IDE and it's compiled successfully, but no executable is generated and when I hit CTRL&F5 I get a dialogue window asking me for an executable filename, which when I try to enter it won't accept .. any thoughts Peter

Member Avatar for daviddoria
0
106
Member Avatar for vandana88

Hi I have a difficulty in insertion data. I don't get any error message but it doesn't insert data to database. My code is below. Where am I wrong? [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <HR noshade size="5" width="50%" align="center"> <title>ZONE</title> …

Member Avatar for irfannagaria
0
165
Member Avatar for sereYboth

Hello evryone! i am very new to PHP! I study it with ebook: PHP & MySQL For Dummies , 3rd Edition! Once i try and have copy the whole code from the book like this(write in notepad) _______________________ [code=php]<html> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line <p> …

Member Avatar for ayesha789
0
122
Member Avatar for Splower

I want to design a website kind of like "Feedjournal" and "Tabbloid" that will get important rss feeds and blogs to make a newsletter for our company, and then auto email to all staff on set time intervals. I am very new and want to know how to start. What …

Member Avatar for Airshow
0
158
Member Avatar for pradeepptp

when i use PacketCapture class in my project i got this error.please let me know the procedure fir solve this. PacketCapture: loading native library jpcap.. Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\jpcap.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at net.sourceforge.jpcap.capture.PacketCapture.<clinit>(PacketCapture.java:119) at VirtualWatch.addToolBarButtons(VirtualWatch.java:98) …

Member Avatar for masijade
0
289
Member Avatar for abbiejoy21

I'm brand new to python (and programming) and trying to write a script that will download a .csv from the Internet and then allow me to plot data from the .csv. I already have the plot working, and I can grab the file locally, but I can't figure out how …

Member Avatar for jlm699
0
301
Member Avatar for ayesha789

How we can use current time instead of '15:33:56' [ICODE]now()[/ICODE] Function or [ICODE]time()[/ICODE] but it gives wrong time in AM and PM. [CODE=php]<?php function twentyfourToTwelve($time) { return date('g:i:sa', strtotime($time)); } /*** Example usage ***/ echo twentyfourToTwelve('15:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; echo twentyfourToTwelve('15.12').'<br />'; echo twentyfourToTwelve('2:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; ?>[/CODE]

Member Avatar for ayesha789
0
2K
Member Avatar for tulipputih

Hi..is this a correct SQL statement to display details of a record from table and column that is variable [code=PHP]$query= (SELECT * FROM $_GET['$tablename'] . "' WHERE id = '" . $_GET[' $row2[$cols'] . "' ;[/code] the id and table were passes correctly on the URL but the error is …

Member Avatar for cwarn23
0
98
Member Avatar for dudegio

Hello guys, I need an expert advice if it is possible to code inside an XML file? Example, news.xml whereas in that file you have to code connecting to MySQL database then retrieve data. Generated data is the XML required tags for the RSS and will be written in similar …

Member Avatar for Airshow
0
233
Member Avatar for gingank

Hi guys i need your help can you explain this code for me the using the aspx.vb to write and i not understand can explain it to me pls? Below is the code [CODE]Protected Sub Login_ImageButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Login_ImageButton.Click Dim loginId As String = …

Member Avatar for sknake
0
131
Member Avatar for dilip.mathews

Hi all, Can anybody tell me how to calculate the order of a recursive function. Lets take factorial function. Without using recursion [COLOR=blue]int x =1;[/COLOR] [COLOR=blue]for(int i = 1;i<=n;i++)[/COLOR] [COLOR=blue] x = x*i;[/COLOR] In this case the order will the O(n) in terms of time and in terms of space …

Member Avatar for tux4life
0
245
Member Avatar for Stemack

Sorry in advance if this is in the wrong forums but I am new here and was not too sure where to post for help. Onto business I was wondering if anybody knows how to convert a number that has a decimal point in it (example: 0.31) into binary? I …

Member Avatar for Stemack
0
154
Member Avatar for salie_90

i need help please...i ask, to make a program that accepts a positive integers and displays all odd number between 1 to the integer entered (inclusive) accept the integer in main() and use a recursive function to identify and display the odd numbers. tnx..salie

Member Avatar for tux4life
0
349
Member Avatar for johnray31

Hi guys!! I am wondering how below given program is working. in function func1 how return (void *)y working. [CODE] #include<stdio.h> void * func1() { int y; y = 10; return (void *)y; } int main() { void *x = 0x00; x = func1(); if(x == NULL) { printf("error\n"); } …

Member Avatar for johnray31
0
140
Member Avatar for fulvio1981

Hy, you guys! I'm trying to implement in a trigger write by-me error handling with TRY...CATCH, but I'm loosing a lot of time without success. :'( Here there's a simple code write for test: [CODE]ALTER TRIGGER [dbo].[INS_AlarmsEvents] ON [dbo].[TEST] AFTER INSERT, UPDATE AS BEGIN TRY RAISERROR (N'This is message %s …

Member Avatar for NextCom
0
136
Member Avatar for DeadJustice

I need to get a MIPS program to print out the first 30 prime numbers and to compute the first 200 (strange, but its the assignment). I can figure out what's wrong with this program. All it does is print 2's out in an infinite loop and I cannot figure …

Member Avatar for DeadJustice
0
4K
Member Avatar for shaikh_mshariq

I have one table which is generated using javascript dynamically. In have write one function which creates table dynamically for IE i have writed [B]mytable.onClick=some_function();[/B] for onclick event it works fine. But when i generate more than one table dynamically using the same function then onclick does not work. If …

Member Avatar for nish123
0
180
Member Avatar for mtyb

Hello, Win App: takes a value from a textbox1 and send it throw parameter to a method in the website called WebDisplay(textbox1.text) Web App: recives the value of the parameter. so how can i do that..? thanks!

Member Avatar for Ramesh S
0
110
Member Avatar for jen140

Hello again. I have another problem =). I need to change the 1.lnk "pointing" path, i can get it with the following code : [code] string path = @"c:\1.lnk"; FileInfo fi = new FileInfo(@path); if (fi.FullName.EndsWith("lnk")) { IWshShell shell = new WshShell(); var lnk = shell.CreateShortcut(fi.FullName) as IWshShortcut; if (lnk …

Member Avatar for devnull
0
152
Member Avatar for bubbafunk1

I have recently taken over the running of an e-commerce website. Once in a while i will need to increase the prices of certain products by any given percenatge. The products all have a code starting with 3 letters and then digits. for instance: ffc1234, ffc1245, dcc4544, dcc5799, vff300, and …

Member Avatar for bubbafunk1
0
971

The End.