|
You're welcome. Glad I could help.
|
|
|
|
|
I need to call control panel functions using c# or vb.net.
As a example how can i call internet properties using c# or vb .NET. If anybody know please tell me how can i code.
Thanks
|
|
|
|
|
The Control Panel items are executables inside a system folder, and with a special extension of .cpl
You can discover which is which by launching one, then using a tool (e.g. Task Manager) to figure which file is running (it will be a rundll, so you'd have to watch for the actual command line).
And you can launch them using a simple Process.Start
On most systems Internet Settings are handled by C:\Windows\system32\inetcpl.cpl
|
|
|
|
|
I want to write an application that will interface with the Authentec AES2810 embedded fingerprint swipe sensor on my laptop. No SDK came with it, and it is being used presently to logon to Windows.
I installed Windows Driver Kit thinking I could use that to access the swipe sensor, but don't know how to. I have tried Griaule SDK but it doesn't recognize the sensor.
Pls. I need help. I just need the required dlls and skeleton code to capture fingerprint data from the sensor. I prefer C#.
Also I want to find out if there is no scanner dialog / fingerprint dialog that one can use in Visual Studio (eg using WIA) to capture image from a scanner/sensor, like the print dialog in VS.
Thanks.
|
|
|
|
|
Why didn't you start here[^]? They made the scanner so, obviously, they would have some method of using it in your code, such as providing an SDK for it.
|
|
|
|
|
Hi,
Is there any FREE library which will allow me to open a pdf and show it on a winform project without using AcroPDF.dll
|
|
|
|
|
ITextSharp[^].
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
ITextSharp is for create/edit purpose of PDF....? If OP just wants to open the file, then can't he do so by calling Process.Run('FilePath'); method....?
I quit being afraid when my first venture failed and the sky didn't fall down.
|
|
|
|
|
Sure, if they have a PDF reader installed and the file association is registered with Windows, they could do that. I was under the impression that the OP wanted to show the PDF in his application.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
A WebBrowser Control should do with a PDF file whatever your Internet Explorer does to it. no need for extra libraries.
|
|
|
|
|
That requires the user to have a PDF reading IE plugin, which counts as an 'extra library' in my book.
|
|
|
|
|
Hi, guys
I am trying to build a website for a small college to finish my third year.the current problem that i am facing now is that i want to query my application for student result using an sms line.
I tryd googling but m nt getting anything, anyone who has some ideas please feel free to help
Thanx.
|
|
|
|
|
Having no experience with this but trying to break it down!
An SMS raquires a phone connection, therefore your app is going to need a modem/phone connection. It is going to have to respond to na incoming call, answer the call and receive the message(I have no idea what the protocol is with SMS). It is then going to have to parse the message and apply the results to a query of the database.
Now you have the query what to do with it, send it back to the calling number! You will either have a register of users and numbers or a way of getting the callers number when you answer the incoming call.
You may also get a completely different approach from someone with knowledge in this area
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
A phone isn't required, you can use a service, such as Twilio to do it.
|
|
|
|
|
You can use a service such a Twilio[^] to provide an SMS gateway to your application. Your app does NOT need a phone to send/receive SMS message, but it will need it's own phone number. This can be provided by Twilio.
There are services like this sprinkled around the web, but as far as I know, none of them are free.
|
|
|
|
|
Hi,
i've downloaded a sample application from here
it has two projects; First a class library project with some classes and interfaces and another a silverlight application that has shortcuts to classes and interfaces of first one.
How can a project has shortcuts to classes of another project?
And what does it mean?
It's in that project not this! I'm confused...
Best wishes
|
|
|
|
|
The class library is compiled into a dynamic link library (dll), which is then referenced by the silverlight application. This gives the silverlight app the ability to use classes and interfaces defined in the class library project. So to use the both, you need to first compile the library project, and then add a reference to the library project in the silverlight project, using the 'add reference' link in project explorer of Visual Studio.
Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
In Visual Studio's 'Add Existing Item' dialog box, the 'Add' button has a drop down option called 'Add As Link' that does the job. It does not copy the file to the project folder, it just creates a shortcut to the actual file. So, the file can be shared with multiple project. This is a very dirty thing to do. Ideally, you should abstract common code into a separate class library.
|
|
|
|
|
thank you Shameel
Best wishes
|
|
|
|
|
Ideally is the word, except if you want to share code between two different versions of the CLR. This is the method that you are pretty much forced to do if you want the same code to work between WP7, Silverlight and WPF.
|
|
|
|
|
As long as you share files across same kind of projects that are targeted for different platforms, you are fine. But if you share file with projects of different nature, changing the file in one project may render the other project not compile at all (and trying to fix it may make the other project not compile). And that is something really dirty.
|
|
|
|
|
Indeed, but as I say, sometimes it's necessary. Welcome to the world of the professional WPF/Silverlight developer.
|
|
|
|
|
|
Looks good. Nice find.
|
|
|
|
|
Ok so i'm messing around with a few things, specifically interfaces.
Say I have a class 'Cat' with its base as 'Animal' Animal has a method in it like so
public virtual void Walk()
{
}
So Cat would override it with:
public override void Walk()
{
}
Simple right?
Here's my question though, is there a way to force cat to override the base Walk() method? So if another developer added a Dog class they would be forced to implement their own Walk method (even if it was just base.Walk()) ?
So interfaces kind of solves this, this is what i've tried
Cat : Animal : Interface
Animal has to implement the Walk method, but Cat doesn't
Cat : Animal, Interface
Cat has to implement the Walk method, but if the developer doesn't add or forgets the ',Interface' then it will 'break' it.
can someone give me some pointer as to go about this ?
Thanks.
|
|
|
|