199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for loushou

Here is my code of the function in questiion: [CODE]void DrawScene(LPDIRECT3DDEVICE9 p_dx_Device, LPDIRECT3DVERTEXBUFFER9 p_dx_VertexBuffer, LPDIRECT3DINDEXBUFFER9 p_dx_IndexBuffer) { p_dx_Device->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0,0,60), 1.0f, 0); p_dx_Device->BeginScene(); p_dx_Device->SetStreamSource(0, p_dx_VertexBuffer, 0, sizeof(OURCUSTOMVERTEX)); p_dx_Device->SetFVF(D3DFVF_XYZ|D3DFVF_DIFFUSE); p_dx_Device->SetIndices(p_dx_IndexBuffer); D3DXMATRIX m_Rotation; D3DXMatrixRotationZ(&m_Rotation, flt_Angle); D3DXMATRIX m_Translation; D3DXMatrixTranslation(&m_Translation, 32, -32, 0); D3DXMATRIX m_World; D3DXMatrixMultiply(&m_World, &m_Translation, &m_Rotation); p_dx_Device->SetTransform(D3DTS_WORLD, &m_World); p_dx_Device->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 0, …

Member Avatar for loushou
0
560
Member Avatar for rajeevkshr

Hi all, How Can i call a paricular function in PHP From HTML through href.Anybody can help me for solving this....... Rajeev

Member Avatar for rajeevkshr
0
207
Member Avatar for kaloc

{ This is an exploratory question to just find out if something is possible. } The facts are these : 1. The java program is closed source, but is running on an accessible workstation. 2. The gui is written in AWT. 3. OS is windows 4. Windows tools like Spy++ …

Member Avatar for kaloc
0
141
Member Avatar for technogeek_42

can any one help how can i create a self-runing program?? it is like a anti-virus that run when ur booting ur PC

Member Avatar for Jx_Man
0
227
Member Avatar for mahe4us

Hi all, I have obtain an error while making thumbnail images from the uploaded images. The error displays like as below [B]Fatal error: Allowed memory size of 16777216 bytes exhausted [/B] Actually the size of uploaded image is 208kb.. but it displayed the above error with memory size of neary …

Member Avatar for sokchea
0
96
Member Avatar for arkaprava

I m going to build a data modelling software project by java like DDS LITE I am coding the algorithmic part of the project where I have to build some composite data at the preliminary phase of the implementation of the algorithms, such composite data items are entity , relationship …

Member Avatar for arkaprava
0
203
Member Avatar for thaCie

hi everyone, i need a 'lil help here. i'm just starting to use vbdatabse. can u help me? i need an example, a simple one. i'm really interested .... thanks a bunches.... P.S. someone pls help and reply hehehehe cAth

Member Avatar for kaydet_girl2000
0
71
Member Avatar for george45

I am writing a program that is supposed to generate 10 random numbers all of them with in the range of [-0.5, 0.5] (the data type that is supposed to be produced by the program are 10 random floating point numbers with in the interval [-0.5, 0.5]). But the problem …

Member Avatar for VernonDozier
0
167
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

Member Avatar for assgar
0
97
Member Avatar for kavithareddy

Hi , can any one tell me how to disable the back button in asp.net i have done like this <script > window.onlad = "window.document.forward(1)"; </script> but no use...is there any other way to do this.

Member Avatar for MidiMagic
0
92
Member Avatar for ebabes

How can you insert a hyperlink in your site that does not include an underlined text? This is for a basic reason that most of the text of a hyperlink is underlined. How can I get rid of it?

Member Avatar for ebabes
0
106
Member Avatar for tamereth

My program works properly under windows, however, it seg faults when I try to compile/run it under linux. [code=c++] #include <fstream> #include <iostream> using namespace std; int main() { char command; char infilename[80]; char outfilename[80]; char fileline[80]; char nextline[80]; char temp[80]; char temp2[80]; char * location; char sentence[250]; int loc …

Member Avatar for tamereth
0
178
Member Avatar for bbxx

I have a Crystal Report that I am running in ASP.NET, and it has two parameters. When I run the page, the parameters are prompted for, and the report generates fine. But when I try to go to another page of the report, it re-prompts for the parameters, and then …

Member Avatar for bbxx
0
93
Member Avatar for xanine

i know this could be very simple for you guys but i do have a problem with this. The program searches for a particular array from a text file(i don't know how to import a text file too) and counts the number of occurrence in it. The text file is …

Member Avatar for xanine
0
120
Member Avatar for andyg55

I have an array that has read from file as follows: 1 0 0 2 0 0 3 1 2 4 1 2 5 3 0 For the first two lines ( the ones that end 0 0) I want to enter two additional sets of data, so an additional …

Member Avatar for VernonDozier
0
166
Member Avatar for mg0959

Hi, I am trying to write program that will recognize when a device such as a magnetic swipper is used. I was thinking that I could somehow bind the device to something in my program but I am not sure what I would use to bind it. I thought that …

Member Avatar for mg0959
0
79
Member Avatar for HLA91

Hi all My bro rang me up, and for some reason he asked me to make him a "simple" program that creates a folder and the user enters the name for that folder then it acopies pre set files in to that new folder. The folder will be created in …

Member Avatar for Aia
0
283
Member Avatar for rickarro

Good Morning, I have a script that is working just fine as it stands, thanks to ya'll :) I wanted to make a change to it but am having trouble making this change work. The scripts says to "select * from my databases", using "Where" three data inputs. This tells …

Member Avatar for rickarro
0
214
Member Avatar for bushman_222

Hey all. Can some please confirm some winsock items, I am starting to doubt my self about it now. The question is this: If you created a client server program, what port does the client winsock.localport actually connect? Is it the same port that you request it connect to, or …

Member Avatar for jonc
0
127
Member Avatar for kxh29

Hello All! I would like to create a message box from one of my "C" applications. I have looked at prior posts and received a snippet such as this one: [code] #include windows.h MessageBox(hwnd, "You have bla bla", buffer, MB_OK);char buffer[100]; [/code] Well, the problem is that during the build …

Member Avatar for Aia
0
1K
Member Avatar for CompSec

Hi everyone. My friends recommended me to this site. Hopefully someone out there knows a bit about the Socket Api. ... I am trying to transfer a text file from one folder to another (all on the same machine). On the server side, I am able to put the entire …

Member Avatar for zhelih
0
76
Member Avatar for mario123

I used turbo c++ to make a program.....the program has lots of different menus with big graphical text (used outtextxy())...the problem is when i run the program, after going thorugh a couple of menus, all the big graphical text (GOTHIC_FONT etc...) changes to DEFAULT_FONT ....what could be a possible reason …

Member Avatar for zhelih
0
112
Member Avatar for AsymptoticCoder

I am hoping somebody can help with a very frustrating problem I am facing. I am working with a MDIChildFrame that has one panel called mainPanel. I set the background style of both the panel and the child frame to wx.BG_STYLE_SYSTEM. Yet, when I run the program the background is …

Member Avatar for vegaseat
0
155
Member Avatar for smilyswapna10

hi, i am facing the problem with reuglar expressions. my requirement is if type the word like `$var` in a input field and select the EXACT WORD radio button and i click the search button then i want to display all files with the word `$var` all in my directory. …

Member Avatar for iamthwee
0
90
Member Avatar for myheartbits

please write a simple script to check for the existence of all the frames in the directory. So, you give it to frame range and it makes sure that all the subdirectories have the right number of frames. Doesn't check whether the frames are black or not but certainly whether …

Member Avatar for vegaseat
0
70
Member Avatar for magikman

Hello, I would first like to thank everyone for their help so far, i really appreciate it. Well, i have been learning perl for my job now for about three weeks. Things have gone pretty well so far. I have written a few scripts here and there. However, i have …

Member Avatar for SergioQ
0
101
Member Avatar for Villanmac

Hi am so stuck with the following question, I have input my code at the bottom and it gets me the following display Data items in original order 2 6 4 8 10 12 89 68 45 37 Data items in ascending order 2 4 6 8 10 12 37 …

Member Avatar for Ancient Dragon
0
256
Member Avatar for kamathmahendra

Hello All, I have very basic knowledge of C and I'm trying to write a program to read a single line from an ASCII data file which has following format " 1337936.4550 6070317.1261 1427876.7852 APPROX POSITION XYZ" The problem is the position of line is not fixed. Its different in …

Member Avatar for Aia
0
221
Member Avatar for ceyesuma

Please find attached Doc2.doc. It is a pic of my program. (this program successfully outputs the entire database. Yet I would like to learn the general steps to click the search button and perform a query. further please find the method I have for a search @Action. I am not …

Member Avatar for ceyesuma
0
108
Member Avatar for majestic0110

hi there, creating a structured databse (maybe in SQL) that I want accessable from a UI in c#. Is SQL the best way to go about this ? cheers

Member Avatar for majestic0110
0
74
Member Avatar for jan1024188

Hello, I want to make a message box which would show me how many points have I earned. So I have: [CODE]unsigned int points; //code points++; MessageBox(hwnd, "You have bla bla", "Total points /*HERE I WANT TO DISPLAY CONTENTS OF points VARIABLE*/, MB_OK);[/CODE] Is possible to do that?

Member Avatar for Aia
0
129
Member Avatar for rickarro

Hey All, I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a [code]<form action="fromform.php" method="post">[/code] type form. What i want is to be able to …

Member Avatar for rickarro
0
142
Member Avatar for Master000

Hi I am new here and I got no programming skills at all, but I think this tool is very easy to write. Please do me a favor. This is how the tool works, you open a ini text file. In the ini file there is something called "Weapon" that …

Member Avatar for Ancient Dragon
0
79
Member Avatar for eesti44

Hey all, I am continuing with my self study and now I have come across classes. I have read about this and read about this but it seems very alien to me.The problem I have selected to do is as follows: Here is a rather simple class definition: [code=c++] class …

Member Avatar for Agni
0
217
Member Avatar for dezymut

Can anyone help. I have written my application in visual basic 2005 and access database. my problem is i want users to have different menu items depending on their user profiles. How do I enable menu items like administration for administrator and disable it or hide it completetly for general …

Member Avatar for Jx_Man
0
98
Member Avatar for ads248

Hi I've developed an app that reads in a csv file, strips it out to its component fields, validates them and writes it up to the database. So far, so good. I now want to enhance it so that the dataloading take place in the background enabling the UI to …

Member Avatar for poguemahone
0
1K
Member Avatar for jonathanasdf

It is late here, I am tired. I know this is probably out there somewhere, and that I am not showing effort by not looking for it, but I really am too tired, so tomorrow morning if this is answered (takes you like 2 seconds to answer it) I'll mark …

Member Avatar for jonathanasdf
0
105
Member Avatar for jimmy.rocks1

hi I am trying to write into a file which already has something in it. like for example i have x y z in the file and if i want to put k after x,y and z like x y z k. my code goes this way [code=c++] int main …

Member Avatar for vijayan121
0
108
Member Avatar for r2k32

Hi, I'm workin on a website where i need to update a password using a stored procedure. I tested the stored procedure on SQL server and its working fine. but somehow i cannot seem to call it from C#. Can any one please help me? Stored Procedure CREATE PROCEDURE dbo.sp_ChangePassword …

Member Avatar for JerryShaw
0
200
Member Avatar for daniweb@14

Hi frds, I have a page which contains the reference of another page .. <%@ Reference Page="../example.aspx" %> A listbox is there in the example.aspx. I want to call a javascript function, for eg, listbox1.Attributes.Add("onClick", "alert('hi');") that will be shown in main page. Plz help me to find the solution.

Member Avatar for SheSaidImaPregy
0
250
Member Avatar for sbv

hello friends... i want to get the browser name is asp code without using js and include the css file depending upon the browser of the user. i dont want to use js. because i am unable to include file in js. what i did in js is --- var …

Member Avatar for SheSaidImaPregy
0
111
Member Avatar for shaikh_mshariq

I want to develop process viewer for windows in c or c++. Is there any api or any information so i can start from that. Anyone know about this please help. Thanx in advance.

Member Avatar for shaikh_mshariq
0
104
Member Avatar for electron33

Hi. I have been trying to access Microsoft Outlook from Java. This be in case of jsp page or traditional Java. Is there anyone how knows how? In the same case i would also ask if someone have tried to use mail session in Apache Geronimo. There is a plugin …

Member Avatar for peter_budo
0
234
Member Avatar for sarabhjeet

Hello all, actually i need to open a CHM file when i click on Help's submenu "Documentation",how to do this,how to open a file.Please help me.

Member Avatar for sarabhjeet
0
114
Member Avatar for tateng

hi. i'm planning to use visualc++ as the language for a pcb layout artist/designer. i'm wondering if it's possible to create a command line interface (just like in AutoCAD) using visualC++.

Member Avatar for Ancient Dragon
0
131
Member Avatar for nowitzk

Hi, I have a program that lets the user choose from four options. The user can choose more than one and can choose all of them if he/she wants to, but must choose at least one. Out of the choices chosen, the program picks a random one and executes it. …

Member Avatar for nowitzk
0
120
Member Avatar for koculan

Could please help me in the code,of how to extract the no of words in each sentence(if there are 2 or more sentence).But i want the code to use string function?????????

Member Avatar for Ancient Dragon
0
149
Member Avatar for carnage

here's my code: [code=c++]cin>>figure; switch (figure) { case '1': //figure is circle system("cls"); cout<<"input radius: "; cin>>rad; cout<<"\nsurface area of your circle is "<<pi*rad*rad; break; case '2': //figure is rectangle system("cls"); cout<<"input length: "; cin>>length; cout<<"\ninput width: "; cin>>width; cout<<"\nsurface area of your rectangle is "<<length*width; break; }[/code] 1)when i …

Member Avatar for carnage
0
237
Member Avatar for Lee-Pro

Hey everyone, this is a very tough problem I am facing right now in JavaScript. I'm designing this script to load a page like an IFrame but is using AJAX, the only problem is that I need to edit certain attributes before displaying them through changing an element's innerHTML attribute. …

Member Avatar for Lee-Pro
0
127
Member Avatar for frotaru

Read multiple columns data from SQL query ( 1 row ) Hi all. I am using an SQL express where I’ve designed a table named User_DB_Main I have also created a procedure that makes some selections : [code] @UserId varchar(20), @UserPassword varchar(30) AS /*- Check if UserID exists*/ SELECT COUNT(UID) …

Member Avatar for frotaru
0
973

The End.