Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. aryajur

    Create a file stream in VBA

    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
  2. aryajur

    How to handle events from dynamically generated controls?

    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...
  3. aryajur

    Spreadsheet

    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?
  4. aryajur

    undefined error

    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"...
  5. aryajur

    How to Program the COM Port

    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...
  6. aryajur

    Problem defining extern variable

    Well thats what I am doing and so am able to run the code ! But my question was why the syntax of the '{}' in C++ creating the problem. What are the proper syntax of defining external variables and referencing external variables ??
  7. aryajur

    Problem defining extern variable

    The syntax without brackets works for variables defined in Assembly. It also works for functions whether the functions are present in CPP file or in the Assembly file it doesn't matter. Any help would be appreciated.
  8. aryajur

    Problem defining extern variable

    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 &quot;C&quot; 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...
  9. aryajur

    How to connect two computers via parallel port?

    Well, 1st of all you would need to decide the connections between the 2 parallel ports. In a parallel port the pin configuration settings depend on ur BIOS settings. If u do not have a bidirectional port you will have to make a cross connection cable and then write the code. 1st thing to find...
  10. aryajur

    Why doesn't this code run ??

    Ok, this thread has been very helpful and informative for me. Though I have one question as a result of the previous responses. I can understand the stuff about the Assembler by lonehill. My question is that since MASM produces files that can be run in Windows by giving them the special...
  11. aryajur

    Why doesn't this code run ??

    Hello Aircon, Thanks for the elaborate reply, it was definitely helpful. I just have one query, suppose I write the sam program in MASM version 8 and then replace the header with a header compatible to run in DOS, would it then run in DOS or does the format still have differences?
  12. aryajur

    Why doesn't this code run ??

    What I don't understand here is isn't MASM supposed to be just an assembler ? I mean when we programmed an 8086 assembly file all that was needed was to transfer control to our program code. Now here in IA 32 Architecture our code is another process. So what does more compatible to Windows OS...
  13. aryajur

    Why doesn't this code run ??

    Ok I have got ur point. So I have a question, does this mean that in MASM we cannot write assembly codes that would run on any other Operating System or maybe a code to write another OS? Does MASM has this limitation? Please clarify.
  14. aryajur

    Why doesn't this code run ??

    Ok, I tried it with the Console Buil All option all, still the same result. I tried it in Win XP also and there the system says there is a fatal error. In windows 2000 nothing happens except the control returns to the command prompt. If I remove the second interrupt call (The one to exit the...
  15. aryajur

    Why doesn't this code run ??

    oops sorry the statement was supposed to be : int 21h instead of int 10h but it still doesn't work !
  16. aryajur

    Why doesn't this code run ??

    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...
  17. aryajur

    Which code is synthesizable?

    Thanks for ur explanation it does clarify some points for me. Just one question from it though u wrote if you only use a small set of things: - don't use variables - if statements - case statements - std_logic_vector and std_logic types so does this mean do not use if statement, case...
  18. aryajur

    Which code is synthesizable?

    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...
  19. aryajur

    Transmission Gates ??

    Thank you guys for the help. Well I had asked the question because I wanted to model an edge triggered (Master slave ) D flip flop. This flip flop is realised using only 4 transmission gates and 5 inverters. So if now in VHDL I cannot make a structural model of a transmission gate how will...
  20. aryajur

    Hot can I access the serial port?

    I tried the api and I tried to execute the following code in one of the examples: import java.io.*; import java.util.*; import javax.comm.*; public class SimpleWrite { static Enumeration portList; static CommPortIdentifier portId; static String messageString = &quot;Hello...

Part and Inventory Search

Back
Top