|
Well, the fundamental here is, although you can test string.replace anywhere, you sure shouldn't bother working on any code, if you can't test it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I'm stumped. Tried asking google and look around here in TCP, but I still haven't got any answer. I'm totally new in ASP.net programming, but have some experience in VB.net.
Here's my situation:
I have a project that is required to access a smart card and read data inside it, then pass the data into the server for further processing. I presume ASP.net does not have smartcard abilities right? Therefore, I created a dll (in VB.net) to handle smartcard processing and pass out the resulting values to the main program. When I tried it in localhost, the thing works; but when I tried to run the program from another PC, it turns out that the dll looks for the smartcard reader at the server, where the dll resides. Now I'm trying a different method since that one fails miserably. I'm writing a VB.net program that is going to pass the acquired data from the smartcard at client PC to an ASP.net/ASP page. But I cannot find any article on the net about passing data from VB.net to ASP.net. Since the dll available is only for local .net, therefore accessing it through ASP.net results in weird performance where the accessed SC reader is the one at the server. Any idea guys? Or is there a better solution?
|
|
|
|
|
Ricky, I think your application design is at fault. Why do you need the smart card data in an ASP.net page.
Your DLL will ALWAYS reside on the server unless it is DEPLOYED to the client (you know all those issues we have with installing activex/dll from the internet, this is the cause). Your DLL can only work with what it sees as the local machine (the server).
If you use a winforms client (so the DLL is now on the client) then why send the data to the ASP page?.
If you have to use ASP then you need to ask the user to download and install the DLL on the client machine.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Well, you see.. In my country (I don't know if it is implemented in your country), we got a smart card as National ID Card; we can access basic personal information in it; so I'm building an application that automatically inputs some of the public data inside the ID Card to the application (like Name and date of birth and so on).
The reason why I need to pass the data to the ASP page is that I'm not the original developer; I'm "the new guy" that continues development of an already existing web app where the data input is manual.. and try to make it into automatic input.
Is this not possible at all?
|
|
|
|
|
In that case you still need to get your DLL onto the client machine, probably via download. I'm assuming ASP cannot get at the reader as it dows not have access to the filesystem etc.
Are the readers common, when the reader is installed presumably there is a SW package to manage the reader, can you use their DLL/process?. Can you get to the reader manuf to get your SW delivered with new readers? This is one avenue to get at the reader!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I wonder whether ASP.net can use a dll that resides in the client side?
I will look into this then, thanks again.
|
|
|
|
|
I will assume that there would be tons of security issues with that away.
How about taking a different approach and building a browser plug-in that accepts the input form your smart card and can 'enter' the data into the manual areas of the screen for the user. Kind of like the add-ins that keep track of user names and passwords entered manually.
|
|
|
|
|
Have you tried services?
Comes with .Net 3.0. Allows for a .Net app to adimister a service, that an app can connect to and exchange information in the form of strings.
|
|
|
|
|
hi,
i'm working on windows application using vb.net visual studio 2008,
i've create my server client application, here i want to know how can i use my server to send data to selected IP Address for example how can i send data only to 127.0.0.1 while there also have more than one client that connected to me.. i'm using NetworkStream and AcceptTcpClient.
or there maybe any guide that i don't know..
please..
|
|
|
|
|
you may use an object of the underlying socket to send data to a specified ip address to which that socket is binded to...
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
My Visual Studio 2008 Express Edition just expired. I believe it was not a Beta version. I do not recall registering it - but its been a while. When I open VS, the software locks and prompts me with dialog box informing me of the 90-day tiral expiry. When I click on the upgrade button, it takes me to an MSN screen which says I can purchase a code on-line.
I am a little confused. What am I upgrading to? Am I forced to buy Standard/Pro? Or can I upgrade to an Express version which does not have a trial period.
Thanks
EM
|
|
|
|
|
Maybe try uninstall/reinstall and see whether it lets you register?
Kevin
|
|
|
|
|
Express Editions do not have an expiration period, and you should not be receiving that error unless it was a beta version or you are mistakenly using a standard/professional edition trial. Express Editions are free, non-expiring, extremely streamlined versions of Visual Studio languages.
FYI, if you are a member of an educational institution you may consider looking at DreamSpark: downloads.channel8.msdn.com. Their you can get free professional Visual Studio if you are a registered student.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
All I had to do was uninstall then reinstall and then register the Express version.
Thanks for you responses.
EM
|
|
|
|
|
hi every one
please i need a way to update access data base without using command
please help if you can
|
|
|
|
|
asha_s wrote: need a way to update access data base without using command
Be more specific. You have to use the UPDATE command somewheres in your code. This be either through hardcoding or using the data source wizard.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I seem to recall this guy had a problem with a gridview/datasource, he is expecting the datasource to autogenerate an update command if there is a select statement. As in:
I got the data
I changed the data
Why won't it update the database, I clicked the update button.
He is yet to work out that the datasource requires an Update command/script/procedure to actually write the data back to the database. Therefore the silly question. This has been answered at least once by Christian.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
Idiot! You asked the same thing just an hour ago (see post below this one) and I gave you the answer. I not just mentioned to have a look at fileinfo, but I gave you a full code example which even a beginner should understand. But you ask the same question again!
If I had seen your crosspost in Windows Forms forum earlier, I wouldn't have answered at all.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
modified on Tuesday, May 20, 2008 12:13 PM
|
|
|
|
|
|
yeah, but posting the same question twice within an hour is a sign of very low patience and will always get you some unfriendly remarks here. the same for posting the same question in different forums.
and what do you mean, your friend? are there two people behind this account? what is this? account sharing? why did you change your name? "don't you try to outweird me, i get stranger things than you free with my breakfast cereal."
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
modified on Tuesday, May 20, 2008 3:31 PM
|
|
|
|
|
yes we are two and studying together and are beginners and our first time to post anything like this.i changed the name bcos it is common for us both.
|
|
|
|
|
then get a second account to not confuse people, please. and don't delete your messages. that's even more confusing.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
I'm sure he just changed it to try to throw us off. Who would have one account for two people?
|
|
|
|
|
There are a lot of ways for telling things but calling people "idiot" is offal. You call him idiot before knowing why he wrote twice the same thing. So what, big deal!
I think that you should first apologize and instead the site administrator I was giving you a warning.
Shay Noy
|
|
|
|