Jump to content
Xtreme .Net Talk

alexk

Avatar/Signature
  • Posts

    34
  • Joined

  • Last visited

Everything posted by alexk

  1. DataGrid new Row problem. When a user tries to edit last row in DataGrid control, the new empty row appears. How can I avoid the appearance? Please Help.
  2. There are no advanced methods to do it in VB.NET?
  3. How can I Get or Put text to TextBox control at another application?? For example: Click on button in my application will Put string "Hello" into opened windows Notepade application. Thanks
  4. To: Derek Stone Thank You!!! Yor post was short but very helpfull and to the point.
  5. How can I save VB.NET user defined type in SQL2000 DataBase??? For example: Public Structure MyType Public MyVar_1 As Integer Public MyVar_2 As Boolean End Structure Dim MyObj as MyType MyObj.MyVar_1 = 1000 MyObj.MyVar_2 = True Dim MySQLCommand as New SqlCommand MySQLCommand.Connection = ***** MySQLCommand.CommandText = "INSERT INTO cl_win_Sequr (TestColumn) VALUES (MyObj)" When I try execute this command the following error message is appear: "The name 'MyObj' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted." What make I wrong??? Please Help. [edit]Please use tags [/ vb][/edit][/color]
  6. CheckedListBox problem when I switch between TabPages I have a CheckedListBox on a TabControl's TabPage that cannot remeber which items are checked when I switch between TabPages. I had populated that CheckedListBox uses databinding, like so... CheckedListBox1.DataSource = ds.Tables(0) CheckedListBox1.DisplayMember = "FullName" CheckedListBox1.ValueMember = "user_id" What do I wrong? Please HELP.
  7. Response to your note. I try code from above Post. The UnLoad event fired when I refresh or PostBack the page. It's not meet my requirement. I need capture Browser closing event ONLY. Thanks.
  8. Response to your question. My ASPX application provide interface that allow to users select any Item from table and change his properties. For example: Table contain office workers of my firm. User can select any worker from the list and change his properties. To prevent from another User select the same worker - I'm keep this worker locked for current User by using "http session ID". When User close the Internet Browser, I can NOT destruct session object and unlock a worker because it is NO *** event fired. Sorry about my English. [edit]Please watch your language [/edit]
  9. How can i know when user close the browser. Not refresh page, not submit or repost - Close Browser ONLY. Thanks.
  10. Thanks to Datahighway about a sample. But... This method use API declaration like in VB6! There are not ready-made object in VB.NET?
  11. How can I create ACCESS Database using VB.NET code??? In old version I was use code: DAODBEngine.Workspaces(0).CreateDatabase(DBName, ..., ...) But how do it in VB.NET?
  12. How can write and read data in INI file using VB.NET???
  13. Yes, exactly. I'm talking about the tooltip that appears next to a method in the dropdown list in the IDE. Can anyone HELP me?!
  14. I was create a little class with property and method. How can I add a short pop-up "note" to property or method like in original VB.NET methods and properties? See attachment picture for example. Thanks. untitled.bmp
  15. How to show short .avi movie on a form ?! There is NO object (like in VB6) to do it in VB.NET :( Regards. AlexK
  16. How to create Fixed column in DataGrid control. In VB6, the DataGrid control have a property 'FixedColumn'. How can I do it in VB.NET ???
  17. How to create Fixed column in DataGrid control. In VB6, the DataGrid control have a property 'FixedColumn'. How can I do it in VB.NET ???
  18. Thanks. It's work good. The 'Paste' problem is solved very simply: Clear Clipboard when TextBox get Focus :)
  19. How to prevent the User from writing some characters in a TextBox. For example: If User try to type digits - the TextBox will stay clear. In VB6 I did it very simply: KeyAscii = 0 in TextBox_KeyPress event, but how do it in VB.NET ??? Thanks.
  20. Thanks. The problem solved by using Application object and events in Global.asax.
  21. I will try answer step by step on your questions. 1) The differences are not in environment only, but in concept completely. For example: Most code is server-side - not client-side. Most control's events are handled on server - not on client. 2) Yes, you can make everything in ASP using HTML tags in any text editor or using InterDev or FrontPage, but debuging is more more more difficult. Yes, it much easy to make it with ASP.NET 3) You must install "MicroSoft Visual Studio.NET" if you want use ASP.NET and ADO.NET technologies.
  22. You may use simple ASP pages (VBscript or Javascript) instead ASP.NET But ASP.NET provide you powerful development environment like VBA. No more scripts - clear VB code. Sorry about my English. You can ask me in Hebrew.
  23. What properties or method of Session object i need use???
  24. My ASP.NET application provides 3 aspx pages to users. How can I know: How many users use my application now? What page each user see now? And how to know when any user leav the page or application? Thanks
  25. Thanks:)) How can I insert it to my SetUp project. It must cause to installer to perform silent installation on user machine.
×
×
  • Create New...