|
Ok Thank you very much for bringing this aspect to my attention. It was quite a nice learning experience for me. Thanks !
AliAmjad(MCP)
First make it Run THEN make it Run Fast!
|
|
|
|
|
sounds like your talking about reflection...
|
|
|
|
|
Pardon the noobish question please: whats reflection?
|
|
|
|
|
Fahad Sadah wrote: whats reflection?
There is a System.Reflection namespace that contains a number of useful classes to help you with this.
Everything has a GetType() method which returns a Type object.
Use GetMethod() to find the method that you want with the string. This will return a MethodInfo object.
You can then use the MethodInfo object with your object to Invoke() the method.
|
|
|
|
|
Hello,
I'd like to know how i can record the screen, and save it as a .wmv or .avi. Anyone got any idea's?
--Zaegra--
|
|
|
|
|
Zaegra wrote: I'd like to know how i can record the screen, and save it as a .wmv or .avi. Anyone got any idea's?
Camtasia Studio[^] from Techsmith[^] is excellent. I use it from time to time for building training materials.
|
|
|
|
|
I am novice to VB 2005.
I have one DataTable Dtbl. May I sort it?
Following is not good for my case:
foundrows=dtbl.select(expression, sortorder)
above command returned sorted rows from Datatable, I need table to be sorted.
Have good comments
Nasir Mahmood
|
|
|
|
|
Sort the data in your database query that you use to populate your DataTable.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Yap, its a way, but I have added data manually after query, now what is the solution
|
|
|
|
|
Hi, All,
I want to manage combobox following values
code Description
001 Abc
005 Xyz
009 MNP
In VB 6, its like
Combo.Additem "ABC"
Combo.itemdata "001"
What is the equalvilant in VB 2005 ?
I want to put all above values manually not through Tables.
Please guide abt it.
Nasir Mahmood
|
|
|
|
|
Did you try searching Google[^]?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I think in VB.NET its ValueMember as I didn't work in VB6 for quite a long time you can try this property as it says "The Property to use as an actual value for the items in the control" to suit your needs.
Hope it helps !
AliAmjad(MCP)
First make it Run THEN make it Run Fast!
|
|
|
|
|
Hello Nasir,
Please visit the following link to get an idea how you can do it in VB.Net
http://www.mgbrown.com/PermaLink37.aspx
I hope this helps.
Regards,
John Adams
ComponentOne LLC
|
|
|
|
|
Click here to view a page that shows how to use the Itemdata property in both VB6 and VB.NET. (Scroll down to the "Private Sub Code Changes for Associating ItemData" section.)
|
|
|
|
|
Hi
I want to read a reports file that comes in .txt , that report contain a Column like this
idno full name berth date
--------------------------------------------------------
1010000001 john Jackson 10/10/2007
1010044522 john molar 10/09/2007
1010000001 tom s******* 05/10/2007
all Column have a different lengths and different spaces between them
how to cut those Column and store it in a table by using vb.net
-- modified at 2:53 Saturday 10th November, 2007
|
|
|
|
|
Use the System.IO.File.ReadAllLines to read the contents of the file into an array. Then use string manipulation methods to split each line into its constituent parts.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I well try to use this solution but let me tell you some thing a bout that report its contents 2000+ and more of line
Q: did the array is best way to use it here?
Q2: how to sorte it in tabel in database like MSaccess?
thank you for help me.
|
|
|
|
|
abdullah Hejory wrote: Q: did the array is best way to use it here?
You could use a StreamReader[^] if you are concerned about memory usage, although 2000 lines doesn't seem like that much data.
abdullah Hejory wrote: Q2: how to sorte it in tabel in database like MSaccess?
You would use ADO.NET[^] to import the data into MS Access.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
This forum is for asking specific VB(.NET) programming questions. No one is just going to do your work and give you the code.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I didnt ask for ful coding. U can just suggest a way!!!
How to do?thats al..
Thank U
|
|
|
|
|
If you still want help, why have you deleted your original post?
BTW, it's rude to do this!
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
Does anyone know if it's possible to trigger an event whenever a video frame is being refreshed (e.g., every 50 ms for a 20 fps frame rate)? It can be either with DirectX or WMP SDK (or anything else within .NET. Alternatively, I could poll the video player and ask which frame is being played. Can't do that either at this point.
Thank you,
Yigal Agam
|
|
|
|
|
Please don't cross post.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I am working on a program that needs a simple stacked bar graph (4 stacked values, 3 bars). I am doing it in VB due to all the math involved in the project. I have been searching for ways to do this, but all I have found are commercial controls that cost hundreds of dollars. The simplicity of the graphs and the scope of the program make this unreasonable (considering the $60 control as a last resort - csXGraph).
Any suggestions?
David Wilkes
|
|
|
|
|
If you are using VB.NET, you could draw the graph yourself using the classes in the System.Drawing namespace. I don't know about classic VB as I haven't used it for years.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|