Forum: VB.NET Apr 17th, 2009 |
| Replies: 2 Views: 2,989 I read your question more and more and I didn't know what you need or what your problem is!
But if you need to show selected file's path
Dim openFile As New OpenFileDialog()
... |
Forum: VB.NET Apr 15th, 2009 |
| Replies: 10 Views: 641 onedizzydevil
Didn't you see my reply?!! |
Forum: VB.NET Apr 15th, 2009 |
| Replies: 11 Views: 1,432 You're welcome please mark it as solved. |
Forum: VB.NET Apr 14th, 2009 |
| Replies: 11 Views: 1,432 Look try just to update field "Lock" by "ID" instead of by username. |
Forum: VB.NET Apr 13th, 2009 |
| Replies: 11 Views: 1,432 I got confused because they mentioned "my sql statement" I didn't recognize they mean: "their sql statement" |
Forum: VB.NET Apr 13th, 2009 |
| Replies: 10 Views: 641 Hey friends!!!! how could you answer their question without looking at their code?!!!! which line they assigned textbox value to Num object?!!!!! |
Forum: VB.NET Apr 12th, 2009 |
| Replies: 11 Views: 1,432 because you should pass integral value.
So, Doesn't MySQL have profile to log the coming connection\transaction like MS SQL? you can check it, or I do recommend you to use MySQL library for .NET ... |
Forum: VB.NET Apr 11th, 2009 |
| Replies: 11 Views: 1,432 So, what happened? exception raises? or it closes the form normally?, I can't admit that MySQL query is correct but it's ANSI-SQL all RDBMS should support it. |
Forum: VB.NET Apr 11th, 2009 |
| Replies: 4 Views: 1,353 Here you are how to generate rdl Programmatically http://msdn.microsoft.com/en-us/library/aa237432(SQL.80).aspx don't forget to change the OpenConnection and GenerateFields methods to which fits... |
Forum: VB.NET Apr 10th, 2009 |
| Replies: 10 Views: 641 Because you didn't assign Num value to TextBox.Text value
you need to modify your code to
Private Sub TxtNum_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles... |
Forum: VB.NET Apr 9th, 2009 |
| Replies: 4 Views: 1,353 Let me know the exception raises, and if you need to generate rdlc on the fly I can guide you to great way to work in such thing |
Forum: VB.NET Mar 3rd, 2009 |
| Replies: 9 Views: 648 1- Use paging
2- You'll use QueryString which holds row ID, in this page load handler you will fill DataList\GridView\... with data by this ID (Googlize it) |
Forum: VB.NET Mar 2nd, 2009 |
| Replies: 5 Views: 887 First based on first post you said you can Just Insert\Delete record and that's enough for my algorithm.
debug your code and see from where the damage happen.
YES |
Forum: VB.NET Mar 1st, 2009 |
| Replies: 9 Views: 648 ADO.NET used to help you do that.
Go to http://www.asp.net and search on ADO.NET |
Forum: VB.NET Mar 1st, 2009 |
| Replies: 2 Views: 1,964 which border? and where is it if it's not inside the form?!! |
Forum: VB.NET Mar 1st, 2009 |
| Replies: 1 Views: 255 Please clarify your question, use code tag, and don't use Caps Lock.
I tried to read it but I didn't mange to. |
Forum: VB.NET Mar 1st, 2009 |
| Replies: 5 Views: 887 Update = Get data from file -> put data in memory -> delete data from file -> update the data in memory -> insert data into file.
P.S: data may be record or records. |
Forum: VB.NET Mar 1st, 2009 |
| Replies: 9 Views: 648 Good, but where is your questions? Just begin and if you faced any problem drop a question after your approaches to solve it. |
Forum: VB.NET Feb 25th, 2009 |
| Replies: 6 Views: 619 Let me see to learn from you, and if it solved please mark it as solved to be used as reference for people facing this problem. Thanks |
Forum: VB.NET Feb 24th, 2009 |
| Replies: 6 Views: 619 My opinion is to remove the initiation of the new thread in the class
Dim ThreadX As New System.Threading.Thread(AddressOf doSomethingElse)
ThreadX.IsBackground = True
... |
Forum: VB.NET Feb 24th, 2009 |
| Replies: 6 Views: 619 That's normal because you don't stop the main thread, your process or application in line 3 has 2 threads working in parallel.. |
Forum: VB.NET Feb 23rd, 2009 |
| Replies: 5 Views: 2,636 the problem is in datRead.GetString(X) you says give me string, he (VS) replies I don't have string, I've Int32 what shall I do for you.
Check the data types in your table if you have column of... |
Forum: VB.NET Feb 22nd, 2009 |
| Replies: 2 Views: 562 As you need it in VBA you should ask this question there http://www.daniweb.com/forums/forum4.html |
Forum: VB.NET Feb 21st, 2009 |
| Replies: 11 Views: 804 See that it may help http://geekswithblogs.net/mtreadwell/archive/2004/06/06/6123.aspx |
Forum: VB.NET Feb 20th, 2009 |
| Replies: 11 Views: 804 Give me your code "that loops for threads and kills them" |
Forum: VB.NET Feb 20th, 2009 |
| Replies: 11 Views: 804 Terminate the thread once it finishes its work, don't wait to loop on the threads and Kill them... |
Forum: VB.NET Jan 31st, 2009 |
| Replies: 6 Views: 303 Yes my friend if it's blank so we can't convert blank value to double!!
If the textbox value is blank don't perform CDbl(string)!!
I've dropped a lot of radio buttons and run. The form drawn and no... |
Forum: VB.NET Jan 31st, 2009 |
| Replies: 6 Views: 303 How can you convert this " " to double ?? you should before conversion check if the textbox contains non-text value.
From RadioButton control properties, change Checked property to False. |
Forum: VB.NET Jan 31st, 2009 |
| Replies: 7 Views: 751 1- .NET still supports calling to APIs through COM and adding reference to unmanaged libraries say user32.dll, kernel.dll, etc
2- Object browser in Visual Studio or some decompilers. |
Forum: VB.NET Jan 27th, 2009 |
| Replies: 14 Views: 909 It works my friend, I just put the answer here too because it's also related to VB.NET
Dim r As SqlClient.SqlDataReader
r = SQLComm.ExecuteReader()
dgCustomers.DataSource = r |
Forum: VB.NET Jan 27th, 2009 |
| Replies: 2 Views: 562 I'm sure you using SQL Server 2000
So, the error is you didn't give some permission to ASP.NET user who trying access SQL instance, therefore it blocked.
From server security in SQL Server... |
Forum: VB.NET Jan 27th, 2009 |
| Replies: 14 Views: 909 If you traced the SQL Command sent, you'll find it doesn't surround the state within single quotes '
What you need is to modify it
Dim SQLComm = New SqlCommand("SELECT * FROM ViewCustomers('" &... |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 5 Views: 1,106 My friend I don't mean it's weak, I just concentrate on syntax similarities:)
And thanks for your great answer :) |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 5 Views: 1,106 I think you used an button without new it. and you have to because it's reference type.
[out of topic]
someone professional in Java, the next step should be C# not VB.NET:) |
Forum: VB.NET Jan 17th, 2009 |
| Replies: 10 Views: 2,207 You're welcome, please mark this thread as solved to be used as reference for such question later :) |
Forum: VB.NET Jan 16th, 2009 |
| Replies: 5 Views: 919 API viewer your savior... |
Forum: VB.NET Jan 16th, 2009 |
| Replies: 3 Views: 2,591 It works, friend :)
Mark it as solved :) |
Forum: VB.NET Jan 15th, 2009 |
| Replies: 5 Views: 919 You need to get handler to the other form, usually made using windows libraries, read in.... |
Forum: VB.NET Jan 15th, 2009 |
| Replies: 2 Views: 1,556 Preferable to make it on your own! you need non-model + no beep, so?! but if you need to get how the user close the form without additional code you must use Model mode DialogResult |
Forum: VB.NET Jan 15th, 2009 |
| Replies: 10 Views: 2,207 You can also do it in the event handler of the TabControl.SelectedIndexChanged |