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

Search:

Type: Posts; User: Shuja Ali

Page 1 of 5 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    2
    Views
    781

    Re: SQL 2008 need help

    For Insert, you will have to use Insert Query and for Update you will have to use UPDATE Query. I guess you will need to take a closer look at how data is inserted or updated in the database. Go...
  2. Replies
    2
    Views
    426

    Re: .NET Framework 1.0 and 3.5

    The answer to your question is "yes".
  3. Thread: How to in C#

    by Shuja Ali
    Replies
    1
    Views
    387

    Re: How to in C#

    You can create a separate class that will do all the operations on the players, like move, change color, etc.
  4. Replies
    3
    Views
    2,328

    Re: 3-tier windows application

    Google would help you.

    Take a look at these samples, each showing a different way of building n-tier model:
    http://msdn.microsoft.com/en-us/magazine/cc188750.aspx...
  5. Re: how to select a record and delete from table afterwards?

    If you are using SQL 2005 then you should look at "OUTPUT DELETED" keyword on MSDN. This can be used with the delete statement to output the deleted rows into a table, etc.
  6. Replies
    4
    Views
    486

    Re: Odbc data source....

    I have never tried this, but you can check "Microsoft ODBC Data Source (ODBC)" in the options that you get when you click on Connect to database.
  7. Replies
    4
    Views
    5,012

    Re: C# Minimize on button click!

    If it is a Winform application and you are just using one form, you can simply write this.Close();.
  8. Replies
    2
    Views
    768

    Re: URGENT!! only one connection per site

    I guess you haven't heard of a connection pool till now. There is no need to keep a connection open. Open the connection, do your work, close it and when you try to open it next again it will be...
  9. Replies
    4
    Views
    486

    Re: Odbc data source....

    Not really an ideal way of doing it. You should use the SQLClient rather than ODBC. What is wrong in storing the uid/pwd in config file? If you are concerned about security, same things can be done...
  10. Replies
    1
    Views
    524

    Re: Background Process using Threads

    You should look at BackgroundWorker Component It will let you do multi-threading without too much of complexity.
  11. Replies
    10
    Views
    869

    Re: On error goto....

    Here is a simple solution to your problem.


    Private Sub Form_Load()
    On Error GoTo Errorhandler
    MsgBox "Hello World!"
    Exit Sub

    Errorhandler:
    MsgBox "Error!"
  12. Re: Some Explanation about Difference Between New and Createobject

    You question is already answered in Post #2. Just to add, New is used for early binding where in during design time itself your code knows which object is being created and what all...
  13. Replies
    3
    Views
    2,226

    Re: Linq and SqlBulkCopy performance

    As I mentioned earlier, it is not a good idea to have such huge data loads in a Win Form/ASP.NET application. If you are familiar with SQL Server, Integration Services would be easy to learn. There...
  14. Replies
    1
    Views
    729

    Re: Restore Database from a Remote Backup

    I have never tried it with code, however you can try using the devices rather than directly giving the location. Something similar to this
    USE master
    GO
    RESTORE DATABASE MYDATABASE FROM TAPE =...
  15. Re: Please help me install SQL Server 2008 for the umpteenth time

    What is the name of the SQL instance.

    Well for one thing SQL Server installation is not just for any computer user. Sometimes even the most experienced IT professionals have problems installing...
  16. Replies
    5
    Views
    1,621

    Re: Help with C# console application

    The solution is already given, you just need to write the code. Just write it. :thumb:
  17. Replies
    3
    Views
    2,226

    Re: Linq and SqlBulkCopy performance

    I would rather use Sql Server Integration Services package to perform such kind of heavy data loads. Writing code for it and then processing 130M records would definitely take time. SSIS has been...
  18. Replies
    5
    Views
    1,061

    Re: vb.net download file

    Yes it is possible using VB.NET as long as you are developing a Web Application.
  19. Replies
    1
    Views
    830

    Re: Slide Show in C#

    Actually both your threads have a common solution. You need to go through System.Diagnostics.Process class on MSDN. You can get the currently running processes, their window titles and handles just...
  20. Replies
    3
    Views
    456

    Re: Need help with C#

    I could help, but then I also missed the same classes that you did. :rolleyes:

    We do not do homework here, ask specific questions and people here would be more than happy to help you out. If you...
  21. Replies
    1
    Views
    641

    Re: Visual Studio question

    Well I guess you have Business Intelligence Development Studio (BIDS) installed. This is part of SQL Server installation and does only SQL Server related projects like Integration Services, Analysis...
  22. Re: Populating listbox control form a class file

    Welcome to the Forum :wave:

    The culprit is this line of code Form1 frm = new Form1();. You are actually creating a new instance of Form1 and then populating the List Box on this instance and not...
  23. Re: How to speed up page loading in ASP.Net 2.0

    Well it is quite difficult to give a general solution. What is happening during the Page Load event of the Page that you are talking about? Ideally you should first identify bottlenecks and then...
  24. Re: How to copy data from a DB to other DB in different server

    In a similar way, you could open a Datareader and then loop through the datareader and insert 1 record at a time in the second database.
  25. Replies
    15
    Views
    2,426

    Re: Guidence for making a Project Client Server

    Ok. So your architecture is like this, a client app sends data to a server. On the server there is another app which reads the data and then puts that data into database. If my assumption is right,...
Results 1 to 25 of 112
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width