User Profile

Collapse

Profile Sidebar

Collapse
vanc
vanc
Last Activity: Nov 21 '11, 11:53 AM
Joined: Mar 6 '07
Location: Melbourne, Vic, Australia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Your loop is to save data by calling saveData function and the loop will end with the last line of the stream, that's why the strLine will keep the last row of the text file, I think you may want to put all texts into strLine and call saveData function?

    Code:
    Do Until sr.EndOfStream
       strLine += sr.ReadLine 'C#
    Loop
       saveData(strLine)
    This loop ends with the whole text in strLine variable. Is...
    See more | Go to post

    Leave a comment:


  • Sweet Frinavale. This should help heaps with example codes.

    Cheers.
    See more | Go to post

    Leave a comment:


  • Yeah, the power light is always on since it has power but it doesn't help :D.
    In this situation, there is chance that your old PC or the mobo is dead when you do the upgrading. I will say the CPU may be the case, so you need to find another one that should be the same with it and try on the mobo, other than that try a different mobo that support the old CPU to see which one is dead.

    Cheers.
    See more | Go to post

    Leave a comment:


  • This is quick :D.

    The simplest way and quickest way to do this is to create connection to the database, command with SQL queries and execute the command to insert data into database.

    The idea is quite simple, you will have a form with some input text boxes, and an input button where you wire it to the event that will get data from those boxes and put them into the command text and execute it.

    It may not get...
    See more | Go to post

    Leave a comment:


  • G'day mate,

    The error indicates clearly that it cannot find the path on the server which is running fine locally on your PC.

    Is there Z drive on the server and the text file is available?

    It also may relate to user access privileges on the server, if you can access the server you can check the security settings in the selected folder and files.

    Cheers.
    See more | Go to post

    Leave a comment:


  • G'day mate,

    This is a big question, I think we have to break it down a little bit.

    1. You should have the MSSQL database setup already.
    2. You should have known the way to connect to that database from your project.
    3. Then you will decide how to put data from forms into that database.

    Get back to me when you're at step 3, we will go from then.

    Cheers.
    See more | Go to post

    Leave a comment:


  • G'day mate,

    This can be done quite easily. Setup the VM in the same network with the host and share the folders on the host and you can access them in the VM or the other way around will do.

    Cheers.
    See more | Go to post

    Leave a comment:


  • vanc
    replied to control panel missing in windows 7
    G'day mate,

    Try to run the below command in command line to see if you can access to the user control panel or not.

    "control userpasswords" (without double quoted)

    If it still displays that you're not admin, then it may relate to something else. Virus is also a possibility.

    Cheers.
    See more | Go to post

    Leave a comment:


  • vanc
    replied to The service could not bind instance 1
    in IIS
    G'day mate,

    Do you have any services that may get hold of SMTP port (25)?

    You can use "netstat" command under Windows to find out which process is using port 25.

    Get back to me for more help.

    Cheers.
    See more | Go to post

    Leave a comment:


  • G'day mate,

    There is chance that your system does not support the new CPU since I've read the configuration of E4000 and it should be fine with 2GB of the same type of RAM.

    If you PC did not sound anything, it means the CPU is not working, if it beeps with intervals then it may mean something else.

    Suggestion: Take off the old CPU, make sure there no dust inside the CPU slot and put it back in properly, hope...
    See more | Go to post

    Leave a comment:


  • [iFrame] Can URL that shows up in status bar be hidden?

    I'm playing with Content Master page and in the Content page I've put in a iFrame, yeah I know people is saying that iFrame is evil but hey, I need this thing to load a external site.

    Anyway, there is a "little" issue with iFrame is that when it's loading the external site with the URL that I passed to it by setting the SRC attribute, it also show that URL in the Status bar of the browser. The problem is in the URL, it has...
    See more | Go to post

  • [asp.net] How to display external site within a content

    I couldn't find any where for this deadly simple request. All I want is display a website within a content in a master page but have no clue how to do this. And also want to remove all the information like address, so user knows nothing about which site and where they're redirected to.

    The reason is that my company has many internal sites and I'm not the developer of those sites, so what I can do is put them together within one site....
    See more | Go to post

  • Yes, you have to use reportprogress to show up the changes. Google BackgroundWorke r and you can get many instructions for newbie that really will help you.

    cheers,
    See more | Go to post

    Leave a comment:


  • vanc
    replied to Threading in filling combobox
    in .NET
    Try using Background Worker, it's an easy start for you if you don't want to dig in threading area.

    Remember to put the update form controls code in ProgressChanged event or you will get cross thread error and do not using progress bar to show the progress if you don't know when it will stop. :))
    See more | Go to post

    Leave a comment:


  • vanc
    replied to c# - win form app: add new item
    in .NET
    What do you mean a code? .Net code or SQL statement? It's very confusing if you don't specify your needs clearly.

    .Net code should be something like
    Code:
    command = "Insert......";
    command.ExecuteNonQuery();
    ...
    See more | Go to post

    Leave a comment:


  • vanc
    replied to Update Datagridview with new data VB.net
    in .NET
    What is the output of tempvalue? I don't do VB but your code to get value from the cell in gridview seems right. If you don't get value from that cell then there are two chances:
    1. You refer to a wrong cell location!!!
    2. You haven't set value to that cell.

    You can color the selected cell to make sure you're pointing at the right cell and observe the output. Throw me some output.
    See more | Go to post

    Leave a comment:


  • vanc
    replied to c# - win form app: add new item
    in .NET
    Should it be an Insert statement?
    See more | Go to post

    Leave a comment:


  • Try to set AllowUserToAddR ow property to False and try again.
    See more | Go to post

    Leave a comment:


  • vanc
    replied to Applying Conditions for buttons in Multiview
    in .NET
    There is chance that those two conditions are met in the loop. If you debug your code, you'll see for sure what's going on.
    See more | Go to post

    Leave a comment:


  • dummy code (C#)

    Code:
    for(int i=0;i<array.upperbounce;i++)
    array[i] = value;
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...