I'm developing a web tool and I started using asp.net with c# ,, an important part of the code is already written in c++ , I was looking and searching around and I kind of understood that I can use c++ as the web development language. Is this true ?
this is my first time developing a web tool, sorry
It's a royal pain in the ass, but it can be done. You have to use Managed C++ (C++/CLI), but it can be done. There are no ASP.NET templates so you have to write every tiny bit of code and wire up everything yourself.
It's really not worth the pain. You're not getting that much of a performance bost to make it worth the trouble. If there are critical pieces of code that must be hand optimized, then you can write your critical code into components and use those in the C# or VB.NET code for the site.
I played around with it some time back and it looked pretty promising.
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
I did configure the Symbol LS3408 scanner to be a USB scanner, not a keyboard.
This was not my question. The question was, if anyone has made some C# code, that gets the reading from an USB barcode scanner. I know there are solutions out there, where you get the reading as a keyboard input. I don't want that.
Your best bet would be to download the Scanner SDK from here[^]. Using someone else's code is going to be problematic at best as their code is going to make assumptions about the scanner that do no apply to your situation.
i have a listview control in my winRT application and, when the user taps a tile, i´d like to save the previously selectedIndex.
i can´t find an appropriate eventhandler to achieve this;
i only found SelectionChanged-event, but, as one might guess, at this particular time the Event is already fired and i retrieve only the new selected index...
can anyone please Point me to the right direction... eh, to the right Event ?
and - if someone knows where to get an elaborated overview for the LifeCycle - as known form ASP.NET pages - that would be highly appreciated...
Hmm... Can you just look for a similar event in the XAML-control?
Another solution could be that you have a second variable where your current index is stored... You would have to update this variable manually and it would end up kinda unclean but this could be the emergency-solution.
sorry for replying late....
first of all: thank you for your help.
I´ve found several events (ItemClick, Tapped etc) but none of them seem to suit.
your second suggestion leads me back to my initial question:
where to save the old index...?
I wonder what the softie´s intention was when they decided not to implement a SelectedIndex_Changing in addition to SelectedIndex_Changed.
that would solve the issue perfectly...
That´s also a good idea, but I have already solved the problem, I think, I´ll leave it at that.
it now works the way it should, that´s sufficient for me!
Thank you again for your help!
ok, finally I got it...
it´s more like right through the chest into the eye, but now it works...
a healthy mixture of ListView.SelectedIndex_Change and Grid.GotFocus did the trick for me; now I can save the old AND the new index....
thanks to marco for his suggestions!
I can´t find the checkbox for marking my thread as solved...
I guess i´m blind...
Last Visit: 26-Jun-19 2:08 Last Update: 26-Jun-19 2:08