3,417 Topics

Member Avatar for
Member Avatar for herykl

I've been banging my head for a bit now trying to figure out why this isn't encrypting properly. Unfortunately, there are not a lot of resources out there for using wincrypt.h. I prefer to use the windows api's over having to use some external library to do the same task. …

0
55
Member Avatar for shrini

Firstly,I used an option [B]javac -deprecated[/B] javafilename.java and compiled.secondly i have run the program using [B]java[/B] filename but cannot view any result. can anybody help in this regard,ur help much appreciated Thanks, Shrini.

Member Avatar for jwenting
0
2K
Member Avatar for ronyd

Is there an api that converts a texual varaible to an OID (which is respresented in dot notation? In net-snmp, there is an api "getnode" which does this conversion. For example, give the api mymib::ronyd.0. and converts this name to .1.0.1.1.5.

0
49
Member Avatar for megabutt

Problem background: I am writing a Visual Studio C++ app referencing an Api library provided by a third party. Problem: after calling the API function I am getting a 2059 "syntax error" that I don't understand. I have added the code exactly as the third party documentation has described. Error:c:\documents …

Member Avatar for megabutt
0
137
Member Avatar for Abhilashsr001

Hi all, I need to set some values on web page using perl. but the web page is created in jsp. for setting the values i need to click on a gif image which has got HREF to one javascript api. i need to invoke this from perl for setting …

Member Avatar for masijade
0
101
Member Avatar for parthiban

Hi all , I'm having problem during parsing xml files using DOM API due to whitespace characters. Here is my sample XML File ,coding and output : XML File : [code]<demo> <empid>e100</empid> </demo>[/code] Coding : [code]import java.io.*; import org.w3c.dom.*; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; class demo{ public …

Member Avatar for jwenting
0
238
Member Avatar for ronakp25

I am using 2 .ear files. One file contains the EJBs and the other .ear file contains the application that calls the EJBs in the other .ear file. now the problem is that when i deploy the 2 .ear files on different machines and run the application it works fine …

Member Avatar for jwenting
0
113
Member Avatar for bhavna_816

How can we do this in VB.NET? //create two structures to hold our Main Window handle //and the Button's handle HWND WindowHandle; HWND ButtonHandle; //this window's caption is "Microsoft Office Outlook", so we search for it's handle using the FindWindow API WindowHandle = FindWindow(NULL, "Microsoft Office Outlook"); //the Button's Caption …

0
51
Member Avatar for jan1024188

I dont know how to use CopyFile() function in my "program" Can you help me? [CODE]#include <iostream> #include <windows.h> using namespace std; int main() { CopyFile(`C:\\start.exe` `C:\\Program Files\\banana`); system("color 2"); cout<<"POZDRAVLJEN UPORABNIK\n"; cout<<"STRAN WWW.EX-PLANET.COM TE POZDRAVLJA!\n"; system("start www.ex-planet.com"); cout<<"UPAM, DA SE BOS REGSTRIRAL NA NJEJ!\n"; cout<<"OBILO UZITKOV OB PREBIRANJU IN …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for wasim_2011

I want to control and configure the access properties on USB storage devices(read and write). And I want to enable and disable the device. Can I do it with the help of WMI? Or there is some other Win API is available. Please solve this issue using .NET (VB.NET or …

Member Avatar for zabina
0
72
Member Avatar for unclepauly

i am using a couple of methods to calculate the distance between any 2 points on the earths surface. the methods are the law of cosines, and the haversine formula. the law of cosines formula uses the C++ functions acos, sin and cos, all found in math.h: acos(sin(lat1).sin(lat2)+cos(lat1).cos(lat1).cos(long2−long1)) the haversine …

Member Avatar for unclepauly
0
106
Member Avatar for gabs

[COLOR=#555555]I want to use static buttons with invisible background to the text. does anyone know how to do that? I have a picture in the background, and when I use a static button, it has a gray background, which doesn't look nice at all....:-| ![/COLOR]

Member Avatar for jwenting
0
87
Member Avatar for l2u

Hello.. How do I get smart pointer from pointer address? For instance: [code]class someclass { public: char test; }; typedef boost::shared_ptr<someclass> someclass_p; //smart pointer int main() { someclass_p testp = someclass_p( new someclass() ); ULONG_PTR uptr = (ULONG_PTR)testp.get(); //so I have pointer address here //How do I get testp from …

Member Avatar for Ancient Dragon
0
96
Member Avatar for mahe4us

Hi all, Can anybody install Imagemagik and wandmagick API for php. I have download the imagemagik and wandmagick API for php seperately. But I have no idea how to install this in php.... Kindly anyone inform me if you know how to install. Thankyou.

0
77
Member Avatar for Brent.tc

I have recently began programming in the windows api rather than the command prompt\ms-dos environment. I am still using windows 98 and bloodshed dev-cpp 4.9.9.2. I need to know how to disable the START MENU, TASK BAR, and the little boxes in the top right hand corner of the application …

Member Avatar for Ancient Dragon
0
113
Member Avatar for seth0x2b

Hey guys. Please bare with me since I'm only learning asm for about 48 hours or so.. I've learned enough to open files, read from/write to them... I know how to use the WIN API from within ASM and ..honestly, it's much simpler than C++ (IMHO)... So..I've written this basic …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for webspy

I'm currently programming in C++ at an intermediate level and now moving on to the Win32 API. I know basic Win32 API programming so far and I don't find it too difficult to learn, but my question is: is it worth it to continue learning it while Windows Vista will …

Member Avatar for robertkatz
0
150
Member Avatar for ayoub

Hello! i'm using the API JIMI (Java Image Mangement Interface) and i would like to convert any image like gif, jpg, bmp,... to an image *.ico,i have used this first part of source code in my program [code] Image img=Jimi.getImage("a.jpg"); Jimi.putImage(img,"a.ico"); [/code] but i have got this Exception "Cannot find …

0
81
Member Avatar for Roberdin

Well, I've searched Google to little avail so I've decided to ask here. I've currently set up a Media Centre PC in my room. Everything - even wireless LAN - works perfectly after several kernel recompilations, that is, excepting my TV card. As you may imagine, this is somewhat of …

Member Avatar for bungilo
0
250
Member Avatar for mhasan_mitul

Hi Greeting to all I want to build a USB driver for windows98. But I do not know how to build a device driver in windows. My targeted language is C/C++. So I need help to know how can I build a device driver for windows. As well as I …

Member Avatar for Ancient Dragon
0
106
Member Avatar for EnderX

I have been attempting to upgrade a SuSE 9 linux box from php 4.3.4 to php 5.1.6. I have something working, since I'm able to run my old programs under the new setup, but I'm fairly certain I've done something wrong somewhere; using the phpinfo() command shows that I'm still …

Member Avatar for sn4rf3r
0
132
Member Avatar for Chazed

Think I got some trojan or so, And comp is kinda slow now. even though it shouldnt.. Hope someone can help me with this :) Also got a problem with my internet, it disses me times from times, just for a minute or two, but very irritaiting when u play …

Member Avatar for Chazed
0
159
Member Avatar for mhasan_mitul

Hi I want to create a USB driver for Windows98. I need several windows API to communicate with the USB. That's why I need to know how to load dll files in Microsoft Visual C++ for using windows API and which API will help me to build my driver. Is …

Member Avatar for Ancient Dragon
0
116
Member Avatar for moodi24

I am conducting a research on the development of OLAP applications using JAVA language and SQL server Analysis Services 2005. For this, I am using XMLA for communication and also the SOAP API's. I have previously developed an application using sql Server Analysis Services 2000. Can any one tell me …

0
79
Member Avatar for casimirrex

Hi I'm using JSP with Mysql.The Compile time no error.but in the run time the exception has been thrown, java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver i've set the classpath as well and i've attached jar file in the tomcat lib directory These are the class path settings C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\servlet-api.jar;C:\Program Files\Apache Software …

Member Avatar for iamus
0
108
Member Avatar for com spec

What is API in Java? and does C programming and C++ has it? or all software like C,C++, C#, JSP, ASP, ASP.NET has API? And what is software Library?

Member Avatar for aniseed
0
59
Member Avatar for ink

Hello, I came across a nice API called iText which is able to produce PDF-documents from my java-code, this API makes it also possible to create an HTML document. I want these document to look the 'same', as far as possible. And I am satisfied with the look. What I …

Member Avatar for tgreer
0
88
Member Avatar for GreenDay2001

i have searched a lot for win 16 api tutorials but got only win32 api tutorials. i would like to start learning api with 16 bit and then 32. I would like to know some win16 api tutorials on web.

Member Avatar for Ancient Dragon
0
115
Member Avatar for Ahmed Waheed

[COLOR=Black]:) please,want help: how can i read line "Message ended with <CR><LF> " from serial port buffer using ReadFile() API function . I was do that and worked good ,but when enter into large for loop it returned NULLs. so i want to know where is the problem?!! :rolleyes: thanks …

Member Avatar for Nick Evan
0
99
Member Avatar for Sivakumar_K

Hello Group, I am looking for some help with DevC++ compiler. Version 4.9.9.2. In my database Management II Course, we are supposed to compile a sample ODBC Application written in C Code. When I open the compiler, I cut and pasted the code into the work space because the code …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for sameer.mastek

I want to know an inbuilt function/API in VC++ 6.0 which will return the 1) Bus width 2) Bus type 3) CPU alias

0
69
Member Avatar for LieAfterLie

Okay, Iv'e finished learning C++. What can I do with it? Specifically, I want to do some graphics stuff, anything beyond iostream and fstream. What comes after C++? I know it does more than this. If I could just have a function to set a pixel, I could make my …

Member Avatar for LieAfterLie
0
106
Member Avatar for seanlo

hi, In recently, I have a mission for porting a source code from Pro*C. And the database is changed from Oracle to Mysql. The part of original source code(Pro*C) is shown below: char i_id_no[13+1]; char accn_name[16+1], account[7+1], b_no[20+1], code_type[1]; int ii; : : EXEC SQL DECLARE cursor_1 CURSOR FOR SELECT …

Member Avatar for seanlo
1
537
Member Avatar for Quan Chi2

I'm trying to use input from a text edit box to delete a file. The input from the textbox will be the file location and the delete button will use DeleteFile() to delete the file. [img]http://img436.imageshack.us/img436/5578/deleteboxvn0.png[/img] Do you know what I mean?

Member Avatar for Han1977
1
125
Member Avatar for rpjanaka

hi im janaka priyadarshana for get data frome a particuler URL I want to set may proxy. for that i want to create a proxy object with java. the following is the code segment. import java.net.*; import java.io.*; import java.net.Proxy; public class MyURLConnection { private URL myURL; private URLConnection myConnection; …

Member Avatar for jwenting
0
107
Member Avatar for Seba Sama

how can i know what functions are called by an application ? api monitor can't show functions for custom dlls. filemon shows only the path. can anyone help? i need to call some functions and i don't know how to get to them (name, results, parameters etc) i hope to …

0
25
Member Avatar for Mushy-pea

Hello everyone. I know the API of an operating system is a collection of functions within the kernel that are available for applications to use. My question is, how do you call these functions into action from within a C program, if you're compiling the source to run on Linux? …

Member Avatar for mostafadotnet
0
139
Member Avatar for ishwar

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]

Member Avatar for WolfPack
0
138
Member Avatar for droolin

History of what is trying to be accomplished: Currently where I work, we receive a large number of excel documents which are used to manually change pl/sql scripts for updating oracle database's. From my research, I have found that oracle can not read excel documents, least not till 9.0, and …

Member Avatar for _raz_
0
208
Member Avatar for Happycow

I'm trying to understand the basics of how Object Oriented Programming works with C++. I'm not really trying to learn the language per-say (although I might be interested in learning it gradually). I brought two books on C++ and read through them once, and while some things seem to be …

Member Avatar for Bench
0
117
Member Avatar for Fred Frazelle

the database module of the Open Source project OpenOffice. We (they) are having difficulties with the code in the Base module which allows updateable queries. See [url]http://www.openoffice.org/issues/show_bug.cgi?id=53377[/url] . i have volunteered to comb the web and place announcements on different sites in order to encourage volunteers to help with the …

0
82
Member Avatar for atulajawale

Hello friends i am working on an image loader in java which allow user to drag and drop folder of images into JTable and showing the thumbnails but drag and drop of folder takes too much time to load thumbnails in table cell .. package org.tempuri.eyestudio.swg; /* * FileAndTextTransferHandler.java is …

Member Avatar for atulajawale
0
148
Member Avatar for Zarkon

Ok guys, i'm newbie in perl si i've got one question. Look at that code [code] #!perl -w use Win32::API; $CreateProcess = new Win32::API('Kernel32', 'CreateProcess', 'PPSSIDIPSS', 'N'); if(not defined $CreateProcess) { die "Failed to load library CreateProcess: $!\n"; } my $strup = Win32::API::Struct->typedef('STARTUPINFO', qw( DWORD cb; LPTSTR lpReserved; LPTSTR lpDesktop; …

0
57
Member Avatar for MitchellH

Hi, I have been using the windows API for some time now and feel quite comfortable with it. I know for larger projects MFC is a better choice over the raw API. I've been google searching for some good tutorials on MFC but haven't really found any good ones like …

Member Avatar for Eddy Dean
0
84
Member Avatar for chethanasrao

[B]i need to write a program which accepts a folder as input and browses through that folder and says whether there is a file or a subfolder present in it and generate an xml file that gives the hierarchy(subfolder names & file names present) in that folder.[/B] [I][U][B]BUT IT SHOULD …

Member Avatar for Salem
0
89
Member Avatar for MattEvans

Hi there. I'm new to this forum, and new to Delphi, my programming experience goes from BASIC > Visual Basic, C++ (DirectX not MFC or GDI), and Java/Java3D. I did a little Pascal programming in college a few years ago, but what I remember isn't sufficient to help me much …

Member Avatar for MattEvans
0
116
Member Avatar for geek

Hello all, I've been programming in c++ for about 2 years now, but all my c++ applications are console driven. I would like to start using GUI's but in c++ it takes a lot of effort to build a GUI application (using API's), now my question; what programming language do …

Member Avatar for Eddy Dean
0
134
Member Avatar for Eddy Dean

Hello everyone, I 've been looking for a solution for this problem for some time now but I don't seem to figure it out. I want to download the source of a web page (the HTML source). I found several API function that have to do something with internet and …

Member Avatar for ~s.o.s~
0
922
Member Avatar for jobahed

Hi everyone, I'm *very* new to Linux development, and my question topic is probably pretty obscure, so I thought this was the best place to ask. I need to be able to programattically attach arbitrary binary data to an executable so that the program can access it. In Windows, I …

0
83
Member Avatar for Payman

hi. API: StartServiceCtrlDispatcher This API use to run services. but i cant use it in vb6. Please help me.

Member Avatar for Payman
0
315

The End.