|
Have my 5 for an excellent and justified rant.
Having said that I have to devise a strategy to move all our VB devs to C#, not because of any perceived differences in the languages but the volume of support and resources and the need to standardise our development platform.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It's a nice rant, but you're pissing into the wind. The abuse VB.NET, inherited, will never end because VB is more verbose than most languages.
Myself, I don't give a crap either way. I get paid the same whether the code I write is in C/C++, C#, VB.NET, VBscript, or whatever.
|
|
|
|
|
+5 for a good rant. I coded in VB and VB.Net for years, and even though I now use C# almost exclusively, I still keep up to date with developments in the VB world. There sure is nothing wrong with VB.Net, and is definitely not inferior to C# in any way.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
I have enjoyed developing in VB.NET for many years well since framework 2.0 and before / during uni I worked in vb with rdo.
but feel that your rant even though justified will only be heard by vb'ers as the age old flaming of vb against other languages has been around as long as vb 5 as long as I can remember.
but sadly I have had to suggest to my boss that we switch to c#, due to resources through the web (even thought converting them to vb isn't difficult) and recruitment of vb developers where I work is difficult to source
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
I agree
A lot of people are starting and are using VB for it's ease of use, the enormous snippet, tutorial, documentation and help available out there. Microsoft has spend and still is spending tons of money to make this language more and more sophisticated.
Just remember Cobol back in the 80ies where programmer sware that this was the only good language for accounting purposes, where is it today? Dead!
VisualBasic has been around since 1991, and is stronger today that it never was. You can use it with all office application, and also autocad, sageaccpac to name a few with the derivative VBA.
You may not like pizza but it doesn't mean that pizza lover are idiots.
asp
Alain St-Pierre
|
|
|
|
|
I am creating an application which creates Ms Word document with specific formats, now i want to place/create bulleted lists
Example:
. This is a Sample Text 1
. This is a Sample Text 2
. This is a Sample Test 3
how will i do this....
Thanks
|
|
|
|
|
You already posted this question here[^]; please post in one forum only.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
modified 2-Mar-12 5:56am.
|
|
|
|
|
I am getting old and can't follow the math any more
What I am trying to do:
I have a jpg picture of a dart board. I loaded the picture into a picturebox. The picture was not taken directly in front of the dart board so the scoring rings are oblong. I want the user to perhaps click on four points (top bottom left right) of the outside scoring ring. The program would then transform(?) the whole image so the scoring rings are all round instead of oblong.
Please let me know if I did not make this clear enough. I am using vb 2010.
I know this is way beyond the programming abilities of even most expert programmers but any help would be appreciated!
If there is a dll or activex I could use please let me know.
|
|
|
|
|
Well, it could be done, but the image is still going to be skewed and look funny, but the circles will look just like circles.
Wouldn't it be faster to setup the dart board again and put the camera on a tripod and raise it so the center of the lens is the same height as the bullseye??
|
|
|
|
|
Sounds good but most of the darts will hit the camera 
|
|
|
|
|
Hi Friend,
I am using MSAccess database and VB Data Environmental datareport(vb datareport)
i don't have serial number as a field in the database table.
But in VB Data Environmental datareport(vb datareport)
i need to display serial number.
That report will display only one person's information.how to give that serail number. Here is my sample database table.
Nam id feename amt
----------------------------------
AAA 11 Tution1 100
AAA 11 Tution2 100
AAA 11 Tution3 100
BBB 12 Tution1 100
BBB 12 Tution2 100
BBB 12 Tution3 100
BBB 12 Tution4 100
CCC 13 Tution1 100
CCC 13 Tution2 100
CCC 13 Tution3 100
DDD 14 Tution1 100
DDD 14 Tution2 100
Kindly help me.
Expectd Output in DataReport is
Sno Nam id feename amt
----------------------------------------
1 AAA 11 Tution1 100
2 AAA 11 Tution2 100
3 AAA 11 Tution3 100
----------------------------------------
Sno Nam id feename amt
----------------------------------------
1 BBB 12 Tution1 100
2 BBB 12 Tution2 100
3 BBB 12 Tution3 100
modified 29-Feb-12 5:12am.
|
|
|
|
|
If you mean adding record numbers to a report here is an article that may help:
Counting in reports[^]
|
|
|
|
|
It is working in ms access datareport but am asking about VB Data Environmental datareport(vb datareport)
modified 29-Feb-12 23:41pm.
|
|
|
|
|
Hi all
I am very new at programming anf I would like to do a very basic function, to change the label.text thru some code.
The following code does not work but it will give you the basic idea of what I want done
For i = 1 To number
Label(i).text = i
Next
The reason is that my label will change in function of the day of the month
Thank and keep up the good work.
asp
|
|
|
|
|
It works. The problem is that your code is running on the UI thread and blocks it so the WM_PAINT messages that are tacking up in your apps message queue don't get processed. That means that your label control is not receiving the Paint messages until after your code is done and your app is idle. That's when the label gets repainted.
Also, what's with the Label() array?? Is this VB6 you're using?? If so, stop now and get VB.NET Express. It's free and you won't be teaching yourself some very bad habits forced on your by VB6.
|
|
|
|
|
Ok Thanks for your answer
I found how to do it with
ctrlDict("label" & i).text
|
|
|
|
|
Yeah, but that's not the best way to do it.
|
|
|
|
|
Thank you all for your help.
I know it's probably not the best way to do it, by creating a dictionnary, but since my project is small, it does the job for now. When I get better at coding I will look at other ways to do it.
PS I am using Visual Studio 2010 ultimate.
I have another question but I will post another thread
Again thanks
|
|
|
|
|
AlainStP wrote: I know it's probably not the best way to do it, by creating a dictionnary
Thats not a dictionary. It's an array. The two are very different in their functionality and if you start using the incorrct terminology when referring to thi \sstuff in forums, you'll end up confusing people.
|
|
|
|
|
Good reply. Get VB.NET.......
|
|
|
|
|
|
How to check the status of printer connected to serial port directly and doesn't installed as Windows printer. I want to check the status like paper out, offline/online for POS Thermal receipt printers connected to Serial port.
Thanks
|
|
|
|
|
You'll have to talk to the printer, obviously. Get out the manual on it to find out what you have to send and what you should get back to find the status.
|
|
|
|
|
Thanks Dave, I Have to check the status of STAR Thermal Printer & the command is ENQ (Decimal value 4) which returns 1 byte message and the status depends upon the values of bits (which can be compared). I use MSComm control & use the output function to send the command (ENQ) & Input function to get the status message. But input function only receive message when the printer is turned OFF or ON. I would like to know do I have to set the RThreshold property value of MSComm control as by default it is 0, if so at what value should I set it to receive the status message instatntly?
|
|
|
|
|
Does this[^] help? Ir was the first Google hit for RThreshold mscomm.
|
|
|
|