- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
27 Posted Topics
Re: you can save this as a string and then on = break it down and do the calculations. be careful to keep the correct hierarchy of calculations or you results will not make any sence. ps: i thought this is a vb.net forum | |
Re: 1. Try adding a try catch statement in your code in order to get all possible errors. (also try posting the function that runs the sql query in order for us to help you- maybe that function rolls back) 2. how are you trying to see the database. through your … | |
Re: have you checked the screen resolution of the other pcs? | |
Re: propably the dates arenot in the correct format. try using sql parameters it will help you alot | |
Re: If understand correctly you need to identify if 'abc' is part of the inserted string. this can be done be using the existing functions of vb.net like this Dim SearchString as string ="abc" Dim userstring As string= textBox1.Text If userstring.contains(SearchString) then messagebox.show("String Found") Else messagebox.show("String not Found") | |
Re: If you are not going to sort your rows at runtime you can also sort them when you retrieve them from the Database | |
Re: First of all you are using an sql that need a parameter (@ID) and you don't provide that parameter. you need to tell the db what is that ID that you want to delete. cmd.addparameterwithvalue('@id',[the selected row ID]) Secondly i would first delete from the Database and from the grid … | |
Re: ' Create a new table & add columns. Dim myDataTable As New DataTable("Users") myDataTable.Columns.Add("ID", System.Type.GetType("System.Int32")) myDataTable.Columns.Add("Name", System.Type.GetType("System.String")) myDataTable.Columns.Add("Surname", System.Type.GetType("System.String")) ' Add the new table. Me.ds.Tables.Add(myDataTable) For Each row As DataGridViewRow In Me.myGrd.Rows ' Fill datarow. Dim mydRow As DataRow = myDataTable.NewRow() mydRow(1) = "ID" mydRow(2) = "NAME" mydRow(3) = "Surname" … | |
Re: there is not difference between those two except the fact that one of them is more readable because you used with [] statement | |
Re: Why you don't just pass the first form as a parameter to the second form. it's much simpler and more "clean" and basically you use the forms as object which is the whole point of OO Declare a property on form2 Private mForm1 As form1 Public Property objForm1 () As … | |
Re: Just suppress the unwanted sections through the section expert. you can find that when right clicking on the section you want to remove | |
Re: you need to filter your dataview again | |
Re: try [code] with newrow .Columns.Add("Name", System.Type.GetType("System.String")) .Columns.Add("Surname", System.Type.GetType("System.String")) end with newRow("Name")=txtname.text newRow("Surname")=txtsurname.text 'Add row to datatable dt.Rows.Add(newRow) [/code] I haven't test it but it should work | |
Re: just a quick question/ observation If x is declared as string how did you manage to compare it as integer e.g:If x = 0 Then | |
Re: i dont really agree with all the above(although i do agree with some of these) the only real reason for me to change you naming habits it is to make your code more readable and more understandable by others( for instance your co-workers). you should use your company's standards- that … | |
Re: pls try to use plain english because some of us can really ready appreviations and slang words | |
Re: 2)yes you can send messages from system to mobile using a GSM device and creating the appropriate functions to use the GSM device. 1) i don't think that is possible, you should try asp.net which i hear is not that different from vb.net( although it is hearsay) | |
Re: You can also, create a structure and return an instance of that structure. the structure can contain as many values as you want of any type | |
I'm trying to create a smal paint component( similar to MSpaint but not the same thing) in vb.net. I have a panel that holds the background image and a picturebox over the panel that I draw on. I'm using graphics to draw shapes and I have my own custom double … | |
Re: Public Class Form1 Inherits System.Windows.Forms.Form | |
Re: I know is not exactly what you want but u can use the split function to get the string after xyz123 and the again the same for the end delimiter and the concatenate the start & middle & end as you like | |
Re: i don't know if this will help but try setting the row SelectionMode = fullrow even temporallily. then do grid.row(index).selected = true | |
Re: i don't really understand the question. can u give an example? [QUOTE=kiryoku;1331710]can anyone help me to figure out how to nest forms on visual basic?? example: i would like to link form1 to form2?[/QUOTE] | |
Re: if you are going to sell ur application somewhere its a good idea to buy the icons because clients and copywrite laws don't really mix well. [url]www.iconshock.com[/url] if you are not going to sell it [url]www.iconspedia.com[/url] is quite well | |
Re: if you are using a gridview just get the data from the db and rebind the gridview as you do when you open the form the first time. refreshing the whole page(although i use it) gives an awful flickering that u can't get rid of. | |
Re: [QUOTE=OldQBasicer;1225406]Thanks, I'll try that.[/QUOTE] Dit it worked? | |
hi i guess the title pretty much states the question but i will give the senario to be more clear. i have a mousemove() event which i add in my program programmatically and i need a way for raising that event (again) programmatically too. raiseEvent control_mousemove() doesn't work as it … |
The End.