Search Result

Collapse
58 results in 0.0018 seconds.
Keywords
Members
Tags
code
  •  

  • kevincol54
    started a topic cant get a basic input/output program to work.
    in C

    cant get a basic input/output program to work.

    im trying to write a program that prompts the user to enter three numbers and then prints them vertically (each on one line), first forward and then reversed. this is how the design should look:

    please enter three numbers: 1 43 54
    your numbers fowards:
    1
    43
    54

    your numbers backwards:
    54
    43
    1

    this is what i have thus far when it comes to code....

    Code:
    
    
    ...
    See more | Go to post
    Last edited by Rabbit; Feb 29 '12, 06:16 AM. Reason: Fixed code tags.

  • tooswole23
    started a topic formatting fscanf
    in C

    formatting fscanf

    I am trying to use fscanf to obtain a set of 14 or so strings per line, in a line where there are around 80 or so different sets of strings. I only need the first 14 and whenever I call scan f it starts at column 209 as opposed to column 1 where it should. Here's a sample of the code:

    FILE *d;

    d=fopen("t.dat" ,"rb");

    where a, n are all strings.

    fscanf(d,"%s %s %s %s %s %s...
    See more | Go to post

  • tharindu96
    started a topic Is this code correct
    in PHP

    Is this code correct

    can someone tell me if this code is correct i'm getting "not".
    Code:
    $query = "SELECT `id` FROM `users` WHERE `username`='$username' AND `password`='$passhash'";
    	if($query_run = mysql_query($query)) {
    			echo 'ok.';
    		}else{
    			echo 'not.';	
    		}
    See more | Go to post

  • How can i re-write the excel file when exporting an access table

    Hello,

    I do have an access form called T4, which is exported to an excel file, where i do have complex formulas and calculations.

    I would some assistance in exporting the table to excel. I cannot re-write the excel file every time the form is edited. When i execute the macro to export them to excel, it gives an error.


    Here is the code:

    Code:
    Option Compare Database
     
    Function MacroT4()
    ...
    See more | Go to post
    Last edited by Niheel; Jan 24 '12, 08:02 PM.

  • rwest
    started a topic Using a Check Box to make a Text Visible/Invisible

    Using a Check Box to make a Text Visible/Invisible

    Hello
    I have a form where there is a check box and it clicked new text is visible. The problem is when I add a new record that does not have the check box checked and then I filter through the rest of the records that do have it checked the text is no longer visible. below is the code that I have. Thanks for the help.

    Code:
    If Me.Check117 Then
    Me.duration.Visible = True
    Me.txthrs.Visible = True
    Me.eventdateend.Enabled
    ...
    See more | Go to post

  • rwest
    started a topic Filtering dates

    Filtering dates

    Hello everyone,
    I have a form that is connected to a table called floods that has a date column as mm/dd/yyyy. I want to filter my form but only by the year. When I try to filter it nothing happens, i don't even get an error. Below is the code if anyone could help in this matter it would be greatly appreciated.
    Thanks

    Code:
     Me.FindYear = IIf(IsDate(Me.FindYear), _
                                     Format(Me.FindYear,
    ...
    See more | Go to post

  • Rachaun
    started a topic Textbox.TextChanged

    Textbox.TextChanged

    Help,

    I am using Visual Studio 10 and have run in to an issue that I cannot resolve on my own. When debugging one of my forms the app hangs on a text box control with no errors. But only if you change the text, or press the "Tab" key. The text box is in a group box with a range of other text boxes most with the same properties. All of the controls in this group are connected to an access database record, and formatted...
    See more | Go to post

  • nicstel
    started a topic Xls to Pdf

    Xls to Pdf

    I wrote a Piece of code to generate an Excel file. I would like to create a Pdf from this file thru my code. How to handle this? I saw the PHPExcel, but I don`t know how it`s work!

    Thank You

    Nicolas
    See more | Go to post

  • NeoPa
    started a topic Starting with Excel VBA Code

    Starting with Excel VBA Code

    One of the main reasons that Excel development is so easy to get into is that the Macro Recorder (Tools / Macros / Record New Macro...) can produce some (albeit pretty basic) code for you to look at and build upon.

    Don't know the right object? Not sure of the right procedure? Excel can give you the tips you need to get into what you're wanting to do. As long as you know how to do something via the operator interface then you can...
    See more | Go to post

  • rse2
    started a topic Can I create a Calculator with HTML?

    Can I create a Calculator with HTML?

    Are there variables that I can use to for example create a calculator? Or can i only do that with java script? Is it possible to make a form to fill with HTML, that will calculate the answer?
    Code:
     <form name="calc" ACTION="1.calc"  METHOD="post">
    
    <select NAME="first number" size="1">
    <option SELECTED VALUE="">
                   <option
    ...
    See more | Go to post
    Last edited by Niheel; Oct 10 '11, 09:08 AM. Reason: Something wrong with code tags.

  • How to read content at an absolute memory address the quickest

    Hi,
    I'm trying to make my program read the content at a known memory address as fast as it can. I tried declaring that memory location as a variable (say 'aaaaa') normally as below:

    unsigned int * aaaaa = (unsigned int *) 0xA0000008;

    It compiled and retrieved the memory content at 0xA0000008 properly for me, except it took many assembly codes. This is because aaaaa is mapped to an internal code (say '012345')...
    See more | Go to post

  • I need my php to call certain parts of a table from mysql

    I have a html code writtin which calls a php page.(this much works perfectly).

    In the html the user has a choice of 5 artists from a drop down menu.
    When the choose the artist I want it to call the details for that artist from mysql.

    In mysql:
    Table name in database:Tracks .
    Column 1 in table: album_number
    Column 2 in table: track number
    column 3 in table: track_title

    ...
    See more | Go to post

  • Convert file with information into dictionary

    Hello, I have a text file with information on products, the first 3 lines can be seen below
    CODBO, Call of Duty BlackOps, 120
    SC2WL, Starcraft 2 WoL, 90
    FONV0, Fallout New Vegas 100
    CODBO is the ID, Call... is the name and 120 is the price.
    What would the code be for a function that would turn that into a dictionary that looks similarly to this:
    {'CODBO':('Call of...
    See more | Go to post

  • I want to view the VB code of my MS Access Database 2007?

    Is there any way i can view the VB code of all the objects i created in my MS Access Database?; in the Event Procedure of any object; it only shows me the events; not the actual design?

    p.s. i created the DB using wizards

    You see i created this MS Access Database (assignment) using wizards to create all my Tables; Forms; Queries and Reports ; now my teacher is asking for the VB code (the object design code); i can get...
    See more | Go to post
    Last edited by Niheel; Apr 5 '11, 09:08 AM.

  • Discount code on a 5 items for the price of 4

    I currently have have an form with a subform to manage a transaction. I have a button that calculates the total price of the order for all items purchased. (picture in attachment).

    I am wondering whether it would be possible to add in a discount for 5 of any items (e.g 3 or item 1 and 2 of item 2); or whether having a discount for 5 of item 1 and 5 of item 2 would be easier to code.

    The code that i currently have to...
    See more | Go to post
Working...