199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for baby_c

hey friends i need help once again... i need to know that how to accessing a structure in another function using pointers.i mean when we returning a pointer to the main function we have have the address of the structure.how to use that address to access the structure..pls guys help …

Member Avatar for Banfa
0
760
Member Avatar for chriswelborn

This is a piece of code I wrote a long time ago when I saw someone make a "guess this scrambled word" game. The program didn't have to unscramble the word to know what the answer was, but I wanted to do it anyways. I wanted an algorithm that could …

Member Avatar for Reverend Jim
0
1K
Member Avatar for JEEM

Hi i am using XSLT transformation to transform one xmi file to uml file. In my xml files i have two different nodes: **First node:** <ownedAttribute xmi:type="uml:Property" xmi:id="EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD" name="Part2" visibility="public" aggregation="composite"/> **Second node:** <Profile:AND base_Part="EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD"/> what i am trying to do is that every time the xmi:id of the uml:property …

Member Avatar for Mike Askew
0
338
Member Avatar for SolidSora

I've got a photo gallery on my website, but it seems to glitch at case 3 in my prevPic function. Instead of going backward, it goes forward. In each case, I want it to decrease the imgNum and show the previous picture. Here is some code: function prevPic(){ /*imgNum = …

Member Avatar for Taywin
0
146
Member Avatar for odee

need help here. how can i change the src in <embed> using javascript that works in firefox? ex. [code]<embed src="music.mid">[/code] - how can i change "music.mid" to another midi file.

Member Avatar for Taywin
0
5K
Member Avatar for PBDeveloper

I am trying to add the information below into a Wordpress database table (specifically the wp_postmeta table). But I can't figure out how to add the ones with the same node name. The XML document is: <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.1/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.1/" > <channel> <title>Title</title> …

Member Avatar for pritaeas
0
221
Member Avatar for ramel.coletana

hey, is there any body there who will give me a sample code of database?----that will save a cellphone number and name.

Member Avatar for neowolfx
0
91
Member Avatar for kenth21v

Hi! Just wondering on how to know your level as a programmer. I'm having trouble selecting this while filling up online resume. I am using VB.net as a college student for almost 3 years now. Any idea guys?

Member Avatar for pritaeas
0
288
Member Avatar for magicmarkuk

Hi I have a question regarding the way my site deals with areas that are generated via Javascript not updating to the latest information when using IE9 but working perfectly on FireFox. I appreciate this may be like looking for a needle in a haystack but I would appreciate some …

Member Avatar for Troy III
0
190
Member Avatar for magicmarkuk

Hi I have a script which displays a price but currently is not fixed to 2 decimal places so a price such as $2.50 shows as $2.5 which to me looks wrong. The line of code is `amount += parseFloat($(this).metadata().amount);` Looking around I see there is a function `toFixed()` but …

Member Avatar for Troy III
0
217
Member Avatar for AireenK

Hey,I am trying to write a code that will pop up anotification when a the system captures time and alert the user that time is up.Please help

Member Avatar for JamesCherrill
0
45
Member Avatar for Ao.No.Enjeru

Greetings guys can you help me with my problem i have a search textbox and i want to hide some rows on the datagrid that is not equal on the search textbox. can someone give me an idea? Thank you in advance.

Member Avatar for Ao.No.Enjeru
0
161
Member Avatar for Stardemos

Hello. I'm new to php and sql. I nee to insert data in multiple tables and rows. the problem, in the first table, I just nedd 1 row, and that's fine, in the scond i need to input data in the minimum of 1 row and max of 6 row's. …

Member Avatar for Stardemos
0
792
Member Avatar for Bile

-->>Hope Its Cull to all,Iam having this proble of MDI form...I have a Child form with a cute interface but what discourage me is when I maxmise or recise MDI form the Interface of the child form becomes some what Ugly as all the controlls seems to align from Top …

Member Avatar for AndreRet
0
1K
Member Avatar for vonnoy

helo, im a junior programer need help with sample codes in student registration and acccounts. i really dont have any idea how to create this program. thanks and more power to all. please reply....God Bless.

Member Avatar for AndreRet
0
79
Member Avatar for Trebron

Hi I hope someone can shed some light on the problem I am having at the momment with an Excel 2010 Sheet, the workbook has 13 sheets with formulas and I rotate the 2 values using vba there are other things going on like a link to SQL server that …

Member Avatar for AndreRet
0
269
Member Avatar for deepthought

Hi All, I am a control engineer and i am trying to communicate with a sensor I have spoken to the manufacturer but they cannot help with the python side.I am trying to send a message to the sensor which tells it to connect. The sensors config is ip192.168.60.3 port …

Member Avatar for TrustyTony
0
653
Member Avatar for riahc3

How do i make a autorun usb that executes a shell script that is on the USB drive? This would be only for my system so if there is something i have to enable, no problem (i imagine something like this would be disabled for security reasons) I believe the …

Member Avatar for riahc3
0
283
Member Avatar for shahidr100

Hi, I am trying to populate 4 dropdowns. Each one is related to other. Dropdown 1 has predefined values. On selecting data from Dropdown1, dropdown2 populates. On selecting data from dropdown2, dropdown 3 populates accordingly. But nothing is working. Please help. I am not even sure whether my scripts are …

Member Avatar for shahidr100
0
2K
Member Avatar for ashvyas

Am having this piece of COde, but whenever am trying to execute this , Dim tsf As TestSetFactory - > error user not defined appears. pls help Dim tdc As TDConnection Sub UpdateStats() 'create QC connection QCconnect_silent "URL", "DOMAIN", "PROJECT", "USERNAME", "PASSWORD" 'process tests getMetrics 'disconnect QCdisconnect End Sub Private …

0
201
Member Avatar for judithSampathwa

hi there, i have an application that opens an excel file and get the values to the mdf file in visual studio database file. the code for opening the file is below [CODE] Microsoft.Office.Interop.Excel.ApplicationClass tt = new Microsoft.Office.Interop.Excel.ApplicationClass(); String path = a; tt.Workbooks.Open(path, 0, false, 5, "", "", false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, …

Member Avatar for Cameronsmith63
0
383
Member Avatar for Bumpehh

Hey guys, im new to C++. been learning for only about a week. The most complex program i can make is a calculator! But, i was wondering, how hard would it be to make a text-based zork-like game? Like i said before im new, so any tips and/or tricks to …

Member Avatar for Bumpehh
0
740
Member Avatar for sansai

Hello was wondering if anyone could help me with this code. I am writing it for exercise 1-13 in the book "The C Programing Language". I am tring to get an array of word lengths. When I compile it i get the warning multi-character character constant. Also the code doesn't …

Member Avatar for sansai
0
284
Member Avatar for XodoX

To be honest, my programming skills stink. The College textbook I have been using dosen't do it for me. And I learn better by looking at examples. However, I have not been able to find a website that offers an extensive archive of C++ code examples. From the basics such …

Member Avatar for rubberman
0
232
Member Avatar for rotten69

Hi everyone, I'm just looking for some graph makers for the data we have in our database. We would like to analyse the data taken out of the database and present it in a graph format to see who has got low/high ranks. Is there any free API that we …

Member Avatar for gabrielcastillo
0
178
Member Avatar for menukadevinda

hi all, I was developing asp.net mvc4 web site. I think I have corrupted some configuration in web site by mistaken. Now I got following error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Most likely causes: No authentication protocol …

Member Avatar for menukadevinda
0
1K
Member Avatar for kenth21v

I can't seem to find an thread that matches my questions so I am starting a new thread... I made an application. I used: VB.net 2010 SAP Crystal Reports Runtime Engine for .NET Framework 4.0 SQL Server Database (.mdf) I don't really know how to setup so I just publish …

Member Avatar for kenth21v
0
251
Member Avatar for sivavendra

Hi, I have a third party dll file and i want to call and to run that dll file using c program. Could anyone explain how to do this?

Member Avatar for ireshagun
0
151
Member Avatar for vinay7868

<?php connection check; select database; $sql="select * from category" mysql_query($sql); $prod_name=$_POST["prod_name"]; /*pls tell me what to pass in cat_id down i have to take the select tag's value property then what should i pass pls help me.........*/ $cat_id="What to write here...." sql1="insert into product(prod_name,cat_id) values('".$prod_name."','".$cat_id."'); $r=mysql_query($sql1); ?> <html> <form> <select …

Member Avatar for vinay7868
0
233
Member Avatar for snesnerd

Hi I am sort of having a little trouble with a part of my program. First off let me tell you a couple of the variables. Let m be the number of rows and let n be the number of columns in a 2D array. Let i be the counter …

Member Avatar for mike_2000_17
0
2K
Member Avatar for np complete

How can I manipulate images in C++? Is there any built in function? I googled and found that only bitmap images can be used, but why not jpeg and png and others ?

Member Avatar for mike_2000_17
0
254
Member Avatar for craigallansmith

Hi everyone i am creating a page which generates label and textbox controls at runtime. I now how to do it using inputbox but when i post the code to my site i get errors. is there any way to create an inputbox and retrieve the user input back to …

Member Avatar for eeeraser
0
276
Member Avatar for jkulp4

Hi All, I am a newcomer to PHP and still learning. Any help with this problem would be appreciated. Please see the code below. Whenever I run this I get an error message: "Warning: mysql_fetch_array() expects parameter 1 to be resource, string given in C:\wamp\www\selected.php on line 25" Can someone …

Member Avatar for phorce
0
125
Member Avatar for WhYuLoOkIn

Please help I'm trying to write a program in C using nested loops which has an output of 1-8 (newline) 2-9 (newline) 3-10 (newline) 4-11(newline) 5-12. I wrote a program but I know it has to be a simplier way and I don't think I used nested loops correctly because …

Member Avatar for Namsisi
0
563
Member Avatar for bmantri

Hello DBAs, Any one familar with the ER diagram generation in TOAD. I am able to generate the diagram for one particular table. I need to generate for the whole schema. Can you please help me to find out a way? Always Thanks, BMantri

Member Avatar for Sid_180108
0
6K
Member Avatar for npmiller

I am trying to read the following xml file into my datagridview <?xml version="1.0" encoding="utf-8" ?> <DEFLECTIONS_TABLE> <Deflections number="1"> <Service_Class>A</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>B</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>C</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>D</Service_Class> <Verticle>800</Verticle> <Horizontal>400</Horizontal> <Service_Class>E</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> <Service_Class>F</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> </Deflections> </DEFLECTIONS_TABLE> I made my windowsform and put a datagridview inside called deflection_datagrid. …

Member Avatar for npmiller
0
2K
Member Avatar for waxdaddy

Building an application or site in PHP that uses the eBay API can at first be quite a daunting task, just trying to get your head around that vast selection of API's available to the budding developer for eBay can take a while in its self before you even write …

Member Avatar for waxdaddy
0
1K
Member Avatar for softDeveloper

Hi! I am trying to wrap some html paragraphs inside a div element: <p>1st paragraph</p> <p>2nd paragraph</p> <p>3rd paragraph</p> I want to have this when I select this text from an iframe with window.getSelection(): <div> <p>1st paragraph</p> <p>2nd paragraph</p> <p>3rd paragraph</p> </div> and, in case I select 2 paragraphs and …

Member Avatar for ko ko
0
122
Member Avatar for ShivaSaurabh

how can i refresh the content page without refreshing the master page. i dont want to use frames, so came up with master page.i also wanted the master page to be fixed without scrolling and only the content page to be scrolled.

Member Avatar for TimCadieux
0
702
Member Avatar for Ard26

Hi, I'm trying to synchronize two processes but I get a deadlock that I can't manage to solve. To be more specific, my program has to do the following: 1. Parent creates a process and waits using sigsuspend. 2. Child creates a process. 3. Grandchild performs an execvp and gets …

Member Avatar for I_m_rude
0
247
Member Avatar for hughesadam_87

I have a simple class that stores attributes: In [1]: class Test(object): ...: a=10 ...: b=20 I have a function that returns attributes using attrgetter, and it accepts these through the args parameter to allow a user to pass various attribute fieldnames in. For example: In [4]: def getstuff(*args): ...: …

Member Avatar for hughesadam_87
0
496
Member Avatar for tunisia

I work in the AV industry and there is a whole set of hardware/software for controlling Ip and serial devices. I'm interested in writing some python code for bench testing projectors and video teleconference unuts, as I think it would be easier and more efficient and a good way to …

Member Avatar for tunisia
0
375
Member Avatar for 68thorby68

I'm constructing a very simple query, and want to display the results in a list, in date order, i.e. 2009-12-25 have lunch drink beer fall asleep 2009-12-26. have breakfast drink beer have lunch etc My table is also very simple, 1 column for date and 1 column for event. my …

Member Avatar for adrianazidu
0
184
Member Avatar for kirenemook12

my friend and I want to make and program our own computer hardware, such as a very simple robot ( a thing with wheels that can avoid objects and stuff like that). I have expiraince with C++ and i have heard that it is posible to program such things using …

Member Avatar for mike_2000_17
0
275
Member Avatar for Huck44

I was assigned to write a program that asks the user to enter an integer test score between 0 and 100. The program should display the appropriate Letter grade. I have already written this code. Now I have to run in a loop so multiple test scores can be entered. …

Member Avatar for ShiftLeft
0
154
Member Avatar for JameB

I have a form that takes in information from the user and saves the info and then displays it in the form field.. . . Form: <form method="post" action="/core/process2.php" name="step2_form" target="_blank"> <div class="float_left"> <table class="form_step2"> <tr class="form_step2"> <td class="form_step2 title"><p class="form_text">File Date</p></td> <td class="form_step2 input"><input type="text" class="box_form" name="file_date" value="<?php include($datadir."file_date.txt"); …

Member Avatar for JameB
0
172
Member Avatar for plike922

i am try to create a program that prints the numerical value of EOF... any ideas for the function get the value of EOF using the ASCII table????

Member Avatar for I_m_rude
0
529
Member Avatar for raviaaaa

HI All, i am doing jdk upgrade version on one application is there any tool whick will convert .class file (which has compiled under jdk 1.4). i don't have .java files(src code) so i want to know is any tool which will convert .class file (jdk 1.4) to .class file …

Member Avatar for JamesCherrill
0
194
Member Avatar for phorce

Hello, wondering if someone can help me quickly.. Basically, I have created a array to store all the data in a text file. The pointer of the array is sent to a function, which then populates it. Here is the code: void Data(char* theData) { ifstream txtFile(inputFile.c_str()); if(!txtFile.is_open()) { cerr …

Member Avatar for Ancient Dragon
0
161
Member Avatar for shkr

The End.