Search Result

Collapse
13 results in 0.0041 seconds.
Keywords
Members
Tags
open
  •  

  • Prasanna CRN
    started a topic Perl OLE Open Existing Workbook & Worksheet
    in Perl

    Perl OLE Open Existing Workbook & Worksheet

    Hi Friends,
    I am trying to open particular Worksheet from MS Excel workbook (WIN32 :: OLE).

    I cannot able to work on particular sheet. Please help me on this :

    Code:
    $Excel = Win32::OLE->GetActiveObject('Excel.Application');
    $Excel->{'Visible'} = 0;	
    $Excel->{DisplayAlerts}=0;	
    					
    # Open File and WorkSheet	
    $Book = $Excel->Workbooks->Open("d:\test.xls");
    ...
    See more | Go to post
    Last edited by miller; Apr 13 '11, 06:28 PM. Reason: code tags

  • Why does fstream fail to open file, but ofstream opens ok?

    I am not sure what else to try in order to address this issue.

    Code:
    #include <iostream>
    #include <fstream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
       fstream mfile("./ftest.txt", fstream::in | fstream::out);
       std::cout << "fstream fail: " << (mfile.fail() == 1 ? "true" : "false") << std::endl;
    ...
    See more | Go to post
    Last edited by meLlamanJefe; Nov 22 '10, 04:21 PM. Reason: Added gcc version info.

  • Alex T
    started a topic How to make a C++ program read numbers from a web site?
    in C

    How to make a C++ program read numbers from a web site?

    Let's say I have a website about statistics, which had 4 numbers. How would I make my c++ program open the website and read the numbers, then write them to a text file?

    For a start, I have only this idea, and have no clue about how I would begin. If you can help, please do.
    See more | Go to post

  • How to make a newly opened DB (opened via VBA) visible

    I have worked through the open syntax to open a database from VBA, but the database does not appear to actually open. Here is the code:

    Dim MyConn As ADODB.Connectio n
    Dim MyRecordSet As ADODB.Recordset

    Set MyConn = New ADODB.Connectio n
    MyConn.Connecti onString = "Provider=Micro soft.ACE.OLEDB. 12.0; Data Source=c:\Tools \Test_DB.accdb; Persist Security Info=False;"

    MyConn.Open...
    See more | Go to post
    Last edited by MarkBStewart; May 26 '10, 04:55 PM. Reason: More detail added

  • MarkBStewart
    started a topic How to open Access Database from VBA

    How to open Access Database from VBA

    I am getting an "invalid database format" error trying to open an Access database from Access VBA. Here is the code:

    Code:
      Dim MyConn As ADODB.Connection
        Dim MyRecSet As ADODB.Recordset
        Dim strMake As String
    
        Set MyConn = New ADODB.Connection
        MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='c:\Tools\Test_DB.accdb';"
        MyConn.Open
    ...
    See more | Go to post

  • how do i document.forms[0].submit() a form to a window.open?

    I have a virtual form with inputs like this...
    Code:
    newInput = document.createElement("INPUT");
    newInput.type = "hidden";
    newInput.name = "deprecated_form_id";
    newInput.value = deprDocID;
    document.forms[0].appendChild(newInput);
    and when i do a document.forms[0].submit(); how do I get it to submit to a window.open with specific options like toolbar=no, location=no...
    See more | Go to post

  • RuiT
    started a topic Open URL and refresh it continuously from C# app

    Open URL and refresh it continuously from C# app

    How can I develop a C# application to open a page in a web browser, given the URL, and refresh it continuously (always the same URL)?
    See more | Go to post

  • Prevent locking of frontend application when a report is opened in design mode

    Hello everyone,

    I have a database that is split into front-end and back-end. When a report is opened in the design mode (back-end) and a user tries to open the corresponding form in the front-end, they get a message 'state unable to open or lock per admin'. Is there a way to prevent it other than getting out of the design mode when user is entering data in the forms. I appreciate any suggestions.

    Thanks
    Stan
    See more | Go to post

  • aphymans
    started a topic opening a file from textwrangler

    opening a file from textwrangler

    Hi everyone:

    So, I'm really new to python and I cannot figure out how to open my file using TextWranger. For example, I have a file called fun.py with this information in it:

    import turtle

    turtle.forward( 100)

    raw_input()

    and everytime I call the file in the terminal using ~/Desktop (the file is on my desktop) and then call python fun.py, I get this message:

    ...
    See more | Go to post

  • gut7ue
    started a topic Open an Excel file.

    Open an Excel file.

    Hi,

    I write VBA codes every now and then and am quite comfortable with it. However, I am failing to do something very very basic and totally perplexed at what am I doing wrong.

    I am trying to open a file from a code. I have written a very simple one line Sub for it, which goes like:

    Sub SendTradeReques t
    Workbooks.Open "C:\Users\Preci sion Engg Corp\Desktop\Te st.xlsx"
    End Sub...
    See more | Go to post

  • apsf68
    started a topic How to have a parameter text file

    How to have a parameter text file

    Hi,

    Is it possible to have a text file with parameters that msaccess should read on open?
    Example: when openning my db, it loads a form that will show the invoices to pay in the next 3 days. I would like to have this number of days in a text file, and my querie should read it from there. Doing it this way, each user can choose the number of days that should be shown.
    Thanks.
    See more | Go to post

  • Toboe
    started a topic NOT creating new .txt file

    NOT creating new .txt file

    I have a slight problem. The idea with this part is that the program open a .txt file witch name you type in. It works. The problem is, if you type in a name of file that does not exist, it still opens notepad and ask if I want to create a new document with the name you gave. If the file does not exist, a message box or something similar should show up. Please advice. Thanks :)

    [code=c]private void button3_Click(o bject sender, EventArgs...
    See more | Go to post

  • How to Detect the Currently Opened Files in VB.net for Media Centre

    Hi Guys,

    I am writing a Media Centre Addin in Vb.net and it was all going good until i got to the point where i want to find the "Currently Playing song FilePath or URl"

    I have spend a number of hours racking my brain to figure out a way of seeing what the "Currently Opened Files" are on a machine at any point of time.

    My idea is to get all the currently opened files, and then filter...
    See more | Go to post
Working...