Search Results

Showing results 1 to 40 of 95
Search took 0.02 seconds.
Search: Posts Made By: Ramy Mahrous ; Forum: VB.NET and child forums
Forum: VB.NET Apr 17th, 2009
Replies: 2
Views: 2,989
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
onedizzydevil


Didn't you see my reply?!!
Forum: VB.NET Apr 15th, 2009
Replies: 11
Views: 1,432
Posted By Ramy Mahrous
You're welcome please mark it as solved.
Forum: VB.NET Apr 14th, 2009
Replies: 11
Views: 1,432
Posted By Ramy Mahrous
Look try just to update field "Lock" by "ID" instead of by username.
Forum: VB.NET Apr 13th, 2009
Replies: 11
Views: 1,432
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
which border? and where is it if it's not inside the form?!!
Forum: VB.NET Mar 1st, 2009
Replies: 1
Views: 255
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
Give me your code "that loops for threads and kills them"
Forum: VB.NET Feb 20th, 2009
Replies: 11
Views: 804
Posted By Ramy Mahrous
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
Solved: small issues...
Views: 303
Posted By Ramy Mahrous
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
Solved: small issues...
Views: 303
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Solved: handle buttons
Views: 1,106
Posted By Ramy Mahrous
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
Solved: handle buttons
Views: 1,106
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
API viewer your savior...
Forum: VB.NET Jan 16th, 2009
Replies: 3
Views: 2,591
Posted By Ramy Mahrous
It works, friend :)
Mark it as solved :)
Forum: VB.NET Jan 15th, 2009
Replies: 5
Views: 919
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
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
Posted By Ramy Mahrous
You can also do it in the event handler of the TabControl.SelectedIndexChanged
Showing results 1 to 40 of 95

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC