|
what is the code to attach the database to data grid using List box
|
|
|
|
|
jjppyy wrote: what is the code to attach the database to data grid using List box
Probably in here[^] somewhere.
|
|
|
|
|
It doesn't exist; you'll have to write it.
|
|
|
|
|
hiiiiii
I m running a .exe from asp.cs page .job of exe is to generate images in a folder which is already there in my application.exe is running and woking properly when i m running the application in my system at localhost.but when i m running my application in the clint side on there application server then exe is running but it is not doing any thing ,i have seen in my
task manager that exe runs but take no cpu storage.
its really urgent........
thanks in advance......
|
|
|
|
|
|
If you want to run the exe in the client machine, you need to make the user download the exe to their machine and then run themselves.
You cant have access to the client machine directly.
|
|
|
|
|
Hello,
looking web base multi format video convector.
please help
thanks
|
|
|
|
|
Hi all,
I have created a setup project with Visual Studio 2008 to deploy my C# application. Everything is fine, but I want the installer to offer the user to choose which language has to be used during the installation process. I haven´t found any where how to do it. Any suggestion? Does the setup project includes this feature? Any other tool to make the installer?. Thanks in advance.
Best Regards
|
|
|
|
|
I have not tried. But the MSI project allows you to add custom actions. That should do the trick.
|
|
|
|
|
Hi,
I created a form that is invoked as a modeless dialog:
MyForm dlg = new MyForm();
dlg.Show(); // instead of ShowDialog()
This form should be closed after a user hits the Escape key. Unfortunately, neither the assignment of a cancel button (with Dialogresult 'Cancel') to the form's property 'Cancelbutton' nor any attempt to catch a key event (KeyDown, keyPress) are working. I even tried to catch a WM_KEYDOWN (0x100) by overriding OnWndProc, no success. Does anyone have an idea where this message gets stuck or how to trap it?
Thanks a lot in advance!
|
|
|
|
|
Hi,
a dialog is modal by definition; it has focus and gets all user input (mouse, keyboard) for as long as it is visible.
a modeless Form (any Form shown with Show() method) may loose focus, in which case it does not get user input events, as something else now has focus and gets them.
You could organize your code in such a way that the ESC key closes a particular form no matter what, but that would take some doing and be very counterintuitive.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Thanks,
unfortunately, it's not a focus problem. Nevertheless, it seems that handling the 'escape' button click is the only way to get around. Still wondering why i can't trap a key event.
Thanks again.
|
|
|
|
|
It worked for me. Added a button on to the form, wrote this.Close() on that button's click event handler, set that button as CancelButton of the form. It works well.
|
|
|
|
|
Looks like it'll be the only way. For some reasons i would have favoured an approach to trap the key event and handle it by myself. For now, it remains a mystery to me why i can't do so. Anyway, thanks!
|
|
|
|
|
You have to think of it in the Windows way. Under normal circumstances it is the active window that receives the keyboard input. So if you have a modeless dialog that does not have the focus then it will not receive the escape key. The only way to signal that dialog is by making it the active window.
|
|
|
|
|
If you are catching the Escape key in the Form's Keypress or KeyDown events, you must set the form's KeyPreview property to true.
|
|
|
|
|
Hello,
Platform: DotNet with C#.
I was wondering if there is an open source library that my application can link with, which would allow me to have my own encrypted file system and which would appear as a single file within the host file system? (Any license will do, including GPL.) My application needs to save a large number of files that should not be "peekable" by any of the IT admins.
I checked up on Fuse, however, I am looking specifically for a DotNet option.
Any help would be appreciated.
Thanks,
N
Najeeb Shaikh
|
|
|
|
|
Your program would contain the code to access the files, and they could just decompile it.
They're IT admins, not script kiddies, they will find the way to decrypt the files, you can only delay them
|
|
|
|
|
Yeah, sure, thanks for the information.
However there may be multiple deployment scenarios that I do not want to get into here, as also obfuscation.
Suffice it to say that I'm just looking for a basic file system that I can link to.
Any help here would be much appreciated.
Thanks in advance.
N
Najeeb Shaikh
modified on Friday, September 25, 2009 2:26 AM
|
|
|
|
|
You could always use an encrypted *.zip. There are plenty of 'zip' libraries for .NET, just google.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
You could always create a database filesystem.
...cmk
The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack
|
|
|
|
|
Store them in a directory called "Things I need the SysAdmins to work on".
Or use a database.
|
|
|
|
|
Sorry about the delay in replying... a very long weekend here in India.
BTW, found something [here]. Seems to be worth looking into.
Najeeb Shaikh
|
|
|
|
|
Callback File System with source. Although not free, it's a feature-rich, maintained and updated SDK that lets you create virtual file systems in Windows. .NET API is available.
|
|
|
|
|
Thanks for this! Looking into it.
Najeeb Shaikh
|
|
|
|