Hi,
I need to open a file as a stream to pass it to a method of a library. How do I do that? The file is not a text file it will be a binary file.
Any help would be really appreciated.
Thanks
Hi,
I am trying to generate controls dynamically at runtime. I am able to do that using the code below but I don't have a clue how to handle events from these controls.
Any help would really be appreciated.
Sub test4()
' Note: a textbox has no caption, hence the caption string...
Hello,
I want to make a small spreadsheet program using Visual C++. Could someone give me some suggestions or tips on how I can go about making the GUI? Is there any way I can create a table in the window or do I have to take something like a canvas and draw the table in it?
I have a Javascript file (.js) and when I try to run it by double clicking it I get an error that 'navigator' is undefined. Error Code is 800A1391. The initial lines of code for the file is:
var agent = navigator.userAgent.toLowerCase();
if (agent.indexOf("konqueror")!=-1) agent = "konqueror"...
I need to program the COM port to read and write data from it. How can I do that in VC++. I tried the following program but it gives an exception when it is executed:
/* This program is used to pull data from the serial port */
#include <dos.h>
#include <stdio.h>
#include <conio.h>
#define...
Hello,
I am using an Assembly module to link with a Visual C++ program. I have defined a variable in the CPP file in the global scope as
extern "C" int i;
and then I am using this _i variable in my assembly file. But when I build the project I get the following error message...
Why doesn't this code display the letter 'a' when I run it?? I assembled and linked it using Qeditor of MASM version 8 and then executed the exe file from the command prompt on Windows 2000. Nothing happens and the control just returns to the command prompt.
.386
.model flat...
Hello,
I am very new to VHDL and I am still learning but I have one very basic confusion. I have read that VHDL follows a top down approach to design generally and it is very convenient.
What I don't understand is suppose we make a VHDL program for some circuit, we may be starting from...
Hello, I need to know how can one create a frame and display it exactly at teh centre of the current windows screen. If I try to get the dimensions by getMaximumSize() it returns a huge value for the height and width something like 32767. So I cannot get the screen simensions. How should I do this.
I was making this GUI with the AWT package. I cannot find a way to dreate a Frame and display it on the screen in a Maximized form. Please can anybody help me with this. I want to know how u can create a Frame inherited class and display the frame on the screen in the maximised form.
I tried...
Hello,
I am very new to VHDL and I have just started learning. I was curious to know how can one get a tristate condition to a gate in a VHDL code. Can it be done?
Hello,
I need to draw some basic shapes, especially quadilaterals given the 4 input co ordinates of it. How should I go about it. Can anybody give me any example code for this? I know nothing about graphics programming in VC++ I have only done graphics programming in Turbo C++. Please suggest...
Hello,
I am new to using MASM 32 and I tried the following program in the MASM 32 version 8. The problem is that it assembles and links fine but when I run it Windows does not like it and gives an illegal function call.
.386
.model flat, STDCALL
.data
message db...
I have a MIDlet running on the Sun´s Wireless Toolkit 2.0.
The MIDlet has 2 threads running simultaneously. One thread is changing some variables while the other one is simply reading them.
My problem is that SOMETIMES (not always, thats the irritating part) the Wireless Toolkit ´s KToolbar...
I need to know the amount of free memory remaining on a system. Can this be done in Java. If it can be done please tell me how? Are there any classes??
I have created a form in a midlet and in the constructor of the Form I do this
timeObject = new Date(1, 0, 1, 0, 45, 0);
But when I try to compile it I get an error message in WTK saying "cannot resolve symbol" with the arrow pointing towards new.
I have imported
import...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.