Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: halt4814

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    498

    Swapping files with a batch command

    Hi,

    I have a batch file that I am trying to simply swap files in one directory with another directory. For example, I have two directories (Test and Test2)...

    In my batch file, I wrote
    ...
  2. Re: Word AddIn that opens an existing word document

    I mean something like...

    If ("H:\SNH\" contains (fileName))
    objWord.Documents.Open(fileName)
    Else
    MsgBox("File Not Found!")



    How can I make that work?
  3. Word AddIn that opens an existing word document

    I wrote a small Word AddIn program in VB that opens an existing Word document from a specified directory when you click on a button. Here is what I have so far...

    Dim Name As String
    ...
  4. How to open to develop a C Sharp Word Add In that acts the same as File>Open

    I am developing a C Sharp Word AddIn that acts the same as the File>Open option. The exception is that when I click on the AddIn, I want it to ask the user which file they want to open...

    I have...
  5. Re: Open a Word document in which the file name is user input

    Ok, so I took out the FileStream, but now I have another error. I have made a Word AddIn form with the below code. When I go to run it, it populates an error saying the file does not exist...
    ...
  6. Open a Word document in which the file name is user input

    I am trying to have the user input a filename with extension, and then have a c# program open that file in MS Word 2010. However, I cannot seem to figure it out. Any help? I am running Visual...
  7. Replies
    1
    Views
    317

    NumberToDateString formatting issue

    I am using Crystal Reports 2008 and trying to change the format of a date and time. I have a number in a database that gets converted to a string using "NumberToDateString" which formats it to (for...
  8. Replies
    2
    Views
    544

    Re: Addressing Modes Help

    I forgot the table with it as well

    PC 90
    BR 100
    XR 100
    AC 0
  9. Replies
    2
    Views
    544

    Addressing Modes Help

    I need assistance with addressing modes. I have a chart...

    LDA 200 | Address field=200
    ADD IMMEDIATE 301 | ?
    LDA...
  10. Replies
    3
    Views
    1,243

    Re: Infix to Reverse Polish notation

    Thank you. I also completely do not understand this problem...

    Write a program to evaluate the arithmetic statement using a general register computer with three-operand instructions

    X =...
  11. Replies
    3
    Views
    1,243

    Infix to Reverse Polish notation

    I have to convert..

    X=A+((B+C)*D)-E

    to reverse polish notation

    I think it's...

    BC+D*A+E-
  12. Replies
    6
    Views
    1,252

    Re: New to Assembly Language

    I do not think it needs to be double precision,so couldn't be as simple as...

    ORG 100
    LDA A
    ADD B
    STA C
    HLT
    A, 7
    B, 148
  13. Replies
    6
    Views
    1,252

    Re: New to Assembly Language

    So if I add ORG 100 to the top, then what?
  14. Thread: LOOP program

    by halt4814
    Replies
    0
    Views
    496

    LOOP program

    Write in Assembly Language a program LOOP using a pointer and a counter that initialize to 0 the contents of memory locations 600 to 6FF (hexadecimal)

    This program I am completely lost on.

    I...
  15. Replies
    6
    Views
    1,252

    Re: New to Assembly Language

    Or would it be something like this...

    LDA AL
    ADD BL
    STA CL
    CLA
    CIL
    ADD AH
    ADD BH
    STA CH
  16. Replies
    6
    Views
    1,252

    New to Assembly Language

    I have a problem...

    Write a program in assembly language to perform the following operation:

    C=A + B

    Consider A=7, B= 148 (hexadecimal)

    The origin of the program is 100 (hexadecimal)
  17. Replies
    1
    Views
    421

    Subtracting Time

    How can I subtract 2 minutes from the current time, and then get data at that particular time?
  18. Replies
    5
    Views
    749

    Re: Illegal characters

    Ok in my text file, I put the file location. In my program, I called it with

    "output=line + string.Format("{0}{1}Metdata_MT-{2:yyyy-MM-dd}.txt");

    I get the error message FormatException was...
  19. Replies
    5
    Views
    749

    Re: Illegal characters

    I took the "@" out and it still did not work. My output file is defined in the text file as.... string.Format("{0}{1}Metdata_MT-{2:yyyy-MM-dd}.txt",...
  20. Replies
    5
    Views
    749

    Illegal characters

    I have a text file that contains settings, such as the output file location. Then I call the file in my program...

    File.AppendAllText(@PIoutput, "5," + time.Year + "," + time.DayOfYear + "," +...
  21. Thread: Time Format

    by halt4814
    Replies
    1
    Views
    382

    Time Format

    Is there a way to change the format of midnight to say 2400? When I use time.ToString("HHmm"), it comes up as 0000.
  22. Replies
    3
    Views
    362

    Text file settings

    How do I put the settings, like server name, file names, etc, for my code in a separate text or ini file?
  23. Thread: Zeros...

    by halt4814
    Replies
    12
    Views
    1,053

    Re: Zeros...

    Works! Thanks
  24. Thread: Zeros...

    by halt4814
    Replies
    12
    Views
    1,053

    Zeros...

    How to I get rid of the zero before decimal data points? For example, if I get data that is 0.789 or -0.342, how do I make it so it reads .789 or -.342?
  25. Replies
    5
    Views
    472

    Re: File.Close()!!!

    My program needs to gather data then email it out at midnight. once its emailed it needs to to open a new text file that collects data. How would I do that? I figured I could use some file.close...
Results 1 to 25 of 38
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center