User Profile

Collapse

Profile Sidebar

Collapse
syamas
syamas
Last Activity: Sep 7 '07, 05:44 PM
Joined: Sep 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • syamas
    replied to Find prime numbers using loops
    in C
    See this code :
    include necessary header files as u know
    ::Full code snipped per Posting Guidelines::
    ::Link removed per Posting Guidelines::...
    See more | Go to post

    Leave a comment:


  • syamas
    replied to Question On Combo Box
    hello friend

    let the combo boxes be cmb_box1 and cmb_box2
    tables like tbl_country has field 'country' and tbl_state
    has fields 'country' and 'state'

    first loard countrires list on cmb_box1 as you know then
    on_click() event of cmb_box1 write the code as follows
    "select state from tbl_state where country = ' " & cmb_box2.text & " ' "
    for loarding records as states...
    See more | Go to post
    Last edited by prometheuzz; Sep 6 '07, 03:16 PM. Reason: * link removed *

    Leave a comment:


  • syamas
    replied to submitting form with javascript
    hello friend
    The changes I think is given below
    Code:
                    document.frm_index.method="post" 
    	document.frm_index.action="Login_amit.asp?mode=login"
    	document.frm_index.submit()
    calling did you do as below ?[html]
    <input type="button" name="Button" value="Submit" onClick=log_Ver ify()>[/html]...
    See more | Go to post
    Last edited by jhardman; Sep 6 '07, 03:03 PM. Reason: removed link, put code in code tags

    Leave a comment:


  • Use the following code segment in your ASP page

    <% Response.Write( Request.ServerV ariables("REMOT E_HOST")) %>...
    See more | Go to post
    Last edited by jhardman; Sep 6 '07, 03:01 PM. Reason: removed Link

    Leave a comment:


  • syamas
    replied to Updating a record
    I think the below changes
    set cn = Server.CreateOb ject("ADODB.Con nection")
    cn.open "provider=MICRO SOFT.JET.OLEDB. 4.0;DATA SOURCE=" & Server.MapPath( "\dbname.md b")
    rs.open sql, db, adopendynamic,a dlockoptimistic

    [removed signature. Sig is not allowed in technical posts]...
    See more | Go to post
    Last edited by jhardman; Sep 6 '07, 05:28 AM. Reason: remove signature

    Leave a comment:


  • syamas
    replied to VB 6.0 Auotfiltering in textbox
    Hey friend
    use a frame named 'framepartdet'
    put MSFlex grid named 'searchgrid' on 'framepartdet' with three columns, fixed rows 2



    [CODE=vb]Private Sub txtcode_Change( ) 'event
    Dim i As Integer
    If rsstock.State = adStateOpen Then rsstock.Close
    Dim ccode As String
    If txtcode.Text = "" Then ' text box value
    framepartdet.Vi sible = False
    Exit Sub
    End...
    See more | Go to post
    Last edited by prometheuzz; Sep 6 '07, 03:15 PM. Reason: * link removed *

    Leave a comment:


  • syamas
    replied to string problem in c
    in C
    Hello friend
    when a string input from keyboard, it keeps in memory with a '\0' char as a terminator of string, because we get another string, it has to be kept in memory there after previous string, and there must be an end, to put another one so sysytem keeps a null char ('\0') with the end of each string. ie each time system put a string randomnly after a null char.
    Otherwise in a wide range of memory a string will be replaced by...
    See more | Go to post

    Leave a comment:


  • syamas
    replied to Fibonacci sequence
    in C
    fibonacci series : 0,1,1,2,3,5,8,1 3,21......
    below writing this series upto a limit read

    void main()
    {
    code removed
    }
    More From : [link removed...
    See more | Go to post

    Leave a comment:


  • syamas
    replied to Combining string and chararcter into string
    in C
    do one thing

    try strcopy(s,"hell o");
    then append c onto string s
    ie strcat(s,"world "); or strcat(s,'c'); or strcat(s,"c");
    then s becomes "helloworld " okkkk...
    See more | Go to post

    Leave a comment:


  • syamas
    replied to c++ compiler usage problems
    in C
    first you search "stdio.h" in your computer. It may either in D:\TC\INCLUDE.
    But you may have copied in to C:\TC\INCLUDE or like wise.
    ie you just go to window or other menu, there may be one submenu as 'DIRECTORIES' there you can see the path where stdio.h has to be copied.
    If the path is c:\tc\include and the header file is already in d:\tc\include. You change the path d:\tc\include it will work
    More from ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...