|
You may try to create your own Customcontrol..Or probably the other framework like DevX, Telerik may support this features(I'm not sure)
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Thank you for your answer,Md. Marufuzzaman
A custom form is not the problem, I have already done something similar, but it would be much easier to use the "windows one"...
|
|
|
|
|
You are welcome... Actually it depends on your need..
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Hello,
I have experienced a strange problem which I couldn't find a solution.
I have a form and one dataset with one table. Whenever I make an entry into this table, I have used Seed value as 100 and auto increment seed number as 5. Therefore the 1st record is getting 100 as recordNumber.
I have created another form and placed the same dataset and one combobox which is binded to this table. I have used RecordNumber as ValueMember for the combobox. However when the combobox gets populated with the record, its ValueMember returns 105 instead of 100 (even there is one single record). Whatever I tried to find a solution for the problem, I have had no success. What would cause such problem?
Notice: The dataset table gets filled whenever 2nd form gets loaded.
Regards,
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Is it not something to do with the value returned being the next available number for a new record.
For example if you add a second record to the table (which would take 105) does the 2nd form now return 110?
|
|
|
|
|
I have double checked that whenever I add a new record into dataset gives the correct values as record number (primary key). However, the combobox which I bind to this table doesn't give the right correct values (VALUEMEMBER) when it gets populated from the table.
Second row returns 110 which actually must return 105.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
My exe is not working in other systems pls suggest me
what i have to do for that
|
|
|
|
|
Have you got the correct Runtime installed on the other machines? the most likely problem.
|
|
|
|
|
You're going to have to explain what you mean by "not working". Got any error messages or the circumstances under which it does and does not work?? How about what is supposed to happen and what actually happens??
|
|
|
|
|
Do not give your exe to other systems.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
And the systems will surprised
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
The following code have a runtime error.
Class Test Dim A, B, C as Byte, Sub Main() A=200 B=100 C=A+B Console.WriteLine ( C ) End sub End Clas
Can u tell me why?
modified on Friday, December 25, 2009 8:58 AM
|
|
|
|
|
Hi,
cotdot11111 wrote: What is the output of the messagebox function
Nice one, there isn't a MessageBox around.
in order to determine what a "program" does, you could:
1. read its code and figure it out;
2. actually run it.
[edited after your edit]
cotdot11111 wrote: have a runtime error
what error?
if you want a specific answer, you'd better provide detailed information.
BTW: do you know what "overflow" means? if not, look it up, try Google.
[/edited after your edit]
modified on Friday, December 25, 2009 9:12 AM
|
|
|
|
|
what is the runtime error number/description?
Have you tried to step through the code in debug mode to determine where the exception is triggered.
|
|
|
|
|
A, B and C are all Byte
200+100 > Byte max resulting in an overflow.
|
|
|
|
|
Yeah thank you very much
|
|
|
|
|
dear all
how could i save a form as image type in runtime..in vb6? thanks a lot
|
|
|
|
|
|
thanks a lot, actually i read it and tested already, when save form as image, the picturebox lost..and some information lost too...any other idea, thanks a lot
|
|
|
|
|
Sorry don't have VB6 to hand so can't have a look or try anything.
Your best bet for more ideas is google!
|
|
|
|
|
thanks your reply, i searched in google, but couldn't get any suitable answer, so come here to see you.
|
|
|
|
|
Respected,
How to convert Integer value into Indian Rupees Formate in VB.Net
E.g 1234567 convert into 12,34,567
Thanks
|
|
|
|
|
There are numerous Format functions available look up the docs, particularlay the formatcurrency method
Cheers,
dave
|
|
|
|
|
Here's the answer in C#:
CultureInfo ci = CultureInfo.CreateSpecificCulture("hi-IN");
string converted = 1234567m.ToString("N", ci);
Or in VB.NET:
Dim ci As CultureInfo = CultureInfo.CreateSpecificCulture("hi-IN")
Dim converted As String = 1234567D.ToString("N", ci)
See my article about Windows 7 Timer here on CodeProject
|
|
|
|
|
hi..
I am a beginner in Vb.net. need help. i m doing 1 project in which i have to retrieve field from table 1 to Combo Box & save it to table 2.
can anybody give me example.
|
|
|
|