Jump to content
Xtreme .Net Talk

Madz

Avatar/Signature
  • Posts

    173
  • Joined

  • Last visited

1 Follower

About Madz

  • Birthday 12/21/1981

Personal Information

  • Occupation
    Solution Developer
  • Visual Studio .NET Version
    Enterprise Developer
  • .NET Preferred Language
    C# or C++.NET

Madz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Dear You dont need to worry about any thing You purchased a .net tool good , go ahead and do as much as you can. .NET languages are compatible with each other. it means that a library made in Visual Basic can be used in C# or c++. because all languages targets the same Framework. You dont need to download any extra SDK . i think its included in VB.NET CD. to deploy application on other computer you just need the EXE file and .NET Framework Runtime. that's also included on VB components CD. I hope now you have cleared every thing.
  2. I hope CommandButton.Focus can help
  3. Dear You just need to create a Save Functions which takes a filename as input parameter and process the save functionality there private bool SaveFile (string FileName) { //Your code here } you just need to write code on Click Event of command button to create a file name You also need to have some option buttons from where you should determine which company's filename is saved. this can be done using DB or some other option. i hope you will understand C# code string strFileName,strComanyName,strNumber; strCompanyName = "GetCompanyName" strNumber = //Some Number from TextBox , strFileName = DateTime.Today.Year.Tostring() + "-CompanyName-" + strNumber I hope this will solve problem
  4. Just set the Forms opecity to 0 and Run a For Loop in a timer and with some interval increase the opecity it will make a fade out effect
  5. we are binding an array to a datalist and on datalist's selected index changed we fire an event but dont know how to get the array item of the instance fired its easy with dataset we can set a datkeyfield in datalist declaration and when even index is changed we can get that data key field but since array has no filds problem is how to reference the data
  6. Do you have Administrative access to PC. if not you will not be able to modify registry. also check my example at http://www.xtremedotnettalk.com/showthread.php?s=&threadid=69856
  7. Well that's great features of Visual Basic. but i faced a lot of problems with VB, i have a background of C and you know When i tried to do some thing in Visual Basic i faced a lot of problems because at the end of every line i put ; and that caused too much problem for me , so i decided to use only c family. Cheers !
  8. Well I guess this would help us adding a new colorful cursor in our application.
  9. That;s a strange error message , might be possible that after reinstalling Visual Studio this is solved.
  10. and What about MSPRESS Kit Programming Visual Baisc Core Reference
  11. There are 2-3 problems which you are facing . 1- Turn the data grid property "ReadOnly" to false because this might prevent you from adding new rows 2- DataGrid.Refresh method refreshs it. 3- DataGrid will not work as you are thinking it do in past in VB6.0 if you make changes to some data such are adding new rows it will not save it back to database unless you call the update command of data adapter. because ADO.NET is disconnected data model so you need to submit the data back to database if you want to save changes to it. just try make an idea about ADO.NET , how it works.
  12. I want to Ask you one thing When we define some new object such as connection object or some sql command with in a procedure or sub what happend to them after the function is over ? such as after Exit sub are they remain in the memory or they are disposed off automatically ?
  13. please try to check XmlReader and XmlWriter Classes. its better if you check http://gotdotnet.com/quickstart
  14. L Remeber one thing while working with SQL 1- For Insert / Update , always use Store procedures coz SQL uses very powerful memory management so using stored procedurs will speed up your entries rather then writing Insert or Update Statements. and its a secure method you dont need to put the table name in the CommandObject just the procedure name and Parameters. This is better to use Stored Procedures. 2. for SQL Connection, Rememeber a rule of thumb. try to open the connection as late as possible , and after your query close it as soon as possible. its better to use this mecehnism try { cnSQL.Open SQLCOMMEND.EXECUTENONQUERY cnSQL.Close } Catch ( Excetion ex ) { MessageBox.Show(ex.ToString()); } Finally { if (cnSQL.State == ConnectionState.Open) { cnSQL.Close(); } } This method is very good because if it founds the connection open it will close it.
  15. My dear panal is just like a little form. a section which is used to group controls. instead put some Lable and then show your text in label.
×
×
  • Create New...