User Profile

Collapse

Profile Sidebar

Collapse
pongscript
pongscript
Last Activity: Apr 4 '08, 03:57 AM
Joined: Mar 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pongscript
    replied to Segmentation fault problem with mysql_query
    in C
    actual this wont work

    SELECT * FROM field="SAMPLE"

    but using quote instead of double quote will fix this.


    SELECT * FROM field='Sample'


    on c++ program try these:

    char Query[160];

    sprintf(Query," SELECT * From field='%s',"fin d");

    then:
    mysql_query(mys qlconnection,Qu ery);

    just replace...
    See more | Go to post

    Leave a comment:


  • ill explain the situation... cause i was getting some problems when i try to use ajax 1.0 for asp.net. ..

    when i installed an iis 6 and .net 2.0

    i also installed ajax 1.0 on the local computer

    when i use the ajax on my local iis it works fine..

    but when i upload my file on the remote web server running .IIS 6 and .net 2.0

    i have problem stating that there was a problem it...
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to How to Terminating process?
    Code:
    Public Function EndProcess(ProcessID) As Boolean
    On Error Resume Next
    Dim Process_handle As Long
    Dim Process_exit_Handle As Long
    Dim Proc_id As Long
    Proc_id = ProcessID
            Process_handle = OpenProcess(PROCESS_ALL_ACCESS, False, Proc_id)
            If Process_handle <> 0 Then
                Process_exit_Handle = TerminateProcess(Process_handle, 0&)
                CloseHandle Process_handle
    ...
    See more | Go to post

    Leave a comment:


  • sorry there was a mistake on the second to the last line... the return should be _values with out parenthesis...

    public sub somthing(_value s as string())
    //operation
    end sub

    if your function must return the values then

    public function somthing(_value s as string()) as string()
    //operation
    return _values
    end sub
    See more | Go to post

    Leave a comment:


  • ahh... since you mean that the file was a in doc format... i agree with padmakar

    but make sure the mime type was set properly,, because if you use iframe improperly ... mostlikely ... it would envoke a download instead of displaying your document.
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to text file operations with vb6.0
    Galahad,

    since that problem was for text file.. why put database business on textfle business.. i mean if the operation doesnt require database

    and since we dont know why he is using that kind of format, we dont know ... so why dont we stick to the plan... and just help that guy..

    and for the speed .. every one love speed.. thats why we create program to gain speed......
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to hi everybody
    or use the Sql Statement (top options) then use the following syntax

    select *.<table1>,*.<t able2> from <table1>,<Table 2>
    See more | Go to post

    Leave a comment:


  • but what i was asking... do the remote server must have a asp.net ajax extension installed?
    See more | Go to post

    Leave a comment:


  • included on the visual basic installation was a small utility called "API viewer" that holds window api code declaration ... which you can copy and paste in to your visual basic project...
    See more | Go to post

    Leave a comment:


  • did you say you load the content of the csv to treeview.. if this is the situation.. ofcourse it would take more time to load a 2 mb of csv than 5 kb of csv content..

    but if you are refering to a directory structure...the n loading of file structure into the treeview depends on the number of files located on the specified directory.
    See more | Go to post

    Leave a comment:


  • Since your Question were not clear enough.. i like to tell you something about developing a library system ...(no code) just explanation on how to wrap it up.

    1. decide on the flow of process
    2. decide on what information to include.
    3. decide on what data storage you would use(database:eg . sql,access),XML ,textfile or your own format.
    4. decide on the design.
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to How to Terminating process?
    Try using
    CreateProcess() Instead of of Shell()

    you can have more precise control on the out come.
    See more | Go to post

    Leave a comment:


  • yes, but you for legality every instance of the express editions should be registered but registration is not required.. but an anoying baloon tip would popup randomly if not.. it just says that it would be better if the product is registered..

    but if you clone an image... you just need to regsiter the installation on the master image..and you dont have to re-register it after doing so.. i tried it my self.. and it works all fin...
    See more | Go to post

    Leave a comment:


  • simple use API... use changecolor and getcolor function, i cant giv you exactly the code was but i use api to untie the vb limits...follow the steps below..

    1. Use FindWindow and FindWindowEx to Get the handle of your button
    2. Use GetColor() to get specific Color of your taste
    3. Us SetColor to Change the forecolor of your button... just make sure you find the text not the main button object and make sure you pick the...
    See more | Go to post

    Leave a comment:


  • hi jos
    if i were you keep your current job and do some sideline... having a job doesnt mean youll be trapped in a cage. but these makes you more responsible programmer or developer.. because you doesnt just want to meet your own expectation but you think ahead of what other would think or expect from you.. and these means "challenge" ... the harder the challenges or task they gave... the better youll be if you decided to go off...
    See more | Go to post

    Leave a comment:


  • correct me if i was wrong

    if you want to pass an array to a function your function structure should be


    public sub somthing(_value s as string())
    //operation
    end sub

    if your function must return the values then

    public function somthing(_value s as string()) as string()
    //operation
    return _values()
    end sub
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to text file operations with vb6.0
    but if you have a device that log it to a text file
    database has no use if you want to directly query the textfile

    database are only used for hierarchical data but these type operation
    doesnt require more than a plain text format.

    and besides why use temporary database if you could use an array...
    array as faster than temporary database like access..
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to String Manipulation
    you could try split instead

    syntax:

    Dim MyList() as string = Mychardelimited string.Split(yo urdelimiter)

    just try


    then to add it to a listbox
    int i as long
    for i=lbound(MyList ) to Ubound(myList)
    listBox1.items. Add(Mylist(i))
    next
    See more | Go to post

    Leave a comment:


  • pongscript
    replied to text file operations with vb6.0
    by the way if you will copy it to a form just change the type to private

    or

    just put in on a module(most efficient)

    just email me @ Removed by Moderator if you find these suck or you want a breif explanation


    by the way i havent test that code... because i dont have a vb6 in my computer right now, cos i already migrated to other language like C# .
    See more | Go to post
    Last edited by Killer42; Mar 29 '07, 01:20 AM. Reason: Removed e-mail address.

    Leave a comment:


  • pongscript
    replied to text file operations with vb6.0
    you could use selectunique() and specify your filename
    then it would return and array of DataEntry to write it to file call WriteData() and specify
    you new filename and Dataentry Array

    as you can see there no error handler, so its up to you to add these feature




    [HTML]

    publictype Dataentry
    HomeID as string
    UniqueChannels as long
    channels()...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...