|
I can agree with you up to a certain extent.
The part which isnt solved on my side is, if i dont touch the password box, why is the Bound Field being cleared ?
I dont mind too much having nothing shown, but i dont want the old password to disappear. Also, there is another option that can apply which is already in use and accepted, its to display a fixed number of Dots or Stars that isnt related to the current password lenght. This at least can provide the clue that the textbox holds some information.
|
|
|
|
|
The solution would probably be to use a custom formattted column in the GridView that just shows "***********" no matter what the value is.
Another idea would be to just not retrieve the password from the database. Instead, use a dummy column to represent the password data and a add a custom formatted column to the Grid that just shows a string of "************" in place of DbNull values.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thank You Dave,
Your input was really appreciated. I do not agree 100% with the way TextBox handles TextMode=Password but i have to live with it. Having TextMode=Sensitive would have been nice !! lolllllllllllllll
|
|
|
|
|
You could always make your own TextBox too...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Not a bad idea, i might think about it in the future, but time constraints on the current project prevent me from going that route !!!
Thanks Again !!
|
|
|
|
|
Isn't that always the case??
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi, in order to test my application on some other device I have created a .CAB to pass to some friend… but I have had some difficulty because if the PDA of the friend does not have the runtime installed and tries to install it from my PC, comes given the already present message of version in the system. What's the corrected procedure to execute? Naturally excluding the deploy from VS…
Alex
|
|
|
|
|
hello!
as we all know, .NET supports localized resources just fine. but when it comes to translation of thousands of strings in all these resource files -- it's pain without good tools that can automate collection of strings in one place for translation, and then distributing translated string back to localized .resx files (possibly creating files for new cultures and adding them to projects to compile).
similar approach is used in SharpDevelop project, but they do not publish the tool's sources, only describe its features and the process of localization. and it's easy to understand, why: this tool is fairly difficult to develop and almost anyone developing commercial software needs it.
and at last, this is my question: anybody knows of any tools (free or not) with similar features?
Alexei Adadurov
|
|
|
|
|
Adadurov wrote: anybody knows of any tools (free or not) with similar features?
.Net FrameWork 2.0 provides utility to convert resource files in one shot. That utility is ResGen.exe just go through the help how to use it.
hope this will solve your problem.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Adadurov wrote: anybody knows of any tools (free or not) with similar features?
Autolocalize[ ^]
Here is the sample app written by our friend to automate the resource handling....
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Hey all,
I was wondering if any of you have experience in the ultra explorer bar. I want to know if it is possible to expand a group and collapse another group at the SAME time, because right now it only closes and opens in a sequence. I've played around with the CollapseAll and ExpandAll function and they seem to close and open all group in a sequence.
Thanks in advance.
~Jacky
|
|
|
|
|
You really need to raise this on the Infragistics forums. They are usually pretty good.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
I want some instructions in converting existing C# Windows Application to C# Web Application..
Please post your replies as soon as possible.
|
|
|
|
|
If the application has been properly architected it should just be a matter of rewriting the presentation (UI) layer - perhaps with the odd addition elsewhere to support a stateless model of working. If it hasn't been well architected then you are looking at rewriting the whole application.
|
|
|
|
|
Spamming different 10 forums with the same question is very rude and totally unnecessary.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I can add an attribute to each option in a drop-down list, using the System.Web.UI.WebControls.ListBox.Items.Item(ItemIndex).Attributes.Add() method, but they are ignored when the list is rendered to the web-page. How can I render them?
I'm currently adding the controls as childern to a span element, and then using the span.RenderControl(output) method to do the heavy lifting. Is there a method that I can override that specifically renders the options?
|
|
|
|
|
I'm getting this error message when trying to request my web application:
Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\root\6afc08f4\6af070d3" is denied.
What could be the reason and how to solve that?
Notice that I could not root\6afc08f4\6af070d3 folders in 'Temporary ASP.NET Files' folder.
IIS is configured to point to the right directory and first page.
Thanks for any help.
Here is the stack trace:
[UnauthorizedAccessException: Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\root\6afc08f4\6af070d3" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
System.IO.Directory.CreateDirectory(String path) +195
System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97
System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
|
|
|
|
|
When I have gotten these type of weird errors, I ususally make sure I have stopped and started the web site, I am sure you have already tried that. Stopped and started the app pool. If I am still getting it, I re-copy out the web site and make sure I delete all of the dlls in the bin directory before I copy the site out. Usually after those steps I won't get that error anymore.
Hope that helps.
Ben
|
|
|
|
|
I'm writing a Windows Explorer-like clone for myself.
I'm running into a problem where I still get an exception when I try to access empty drives (e.g. the floppy drive), despite having wrapped all the appropriate calls in try...catch blocks.
The odd thing is that this doesn't happen when I build the project. However, if I try to run the executable directly, I get several exceptions. Same thing happens with a release version for the executable.
Another odd thing is that sometimes I'll get 4 exceptions, all for drive A:. Other times, I'll get 2 exceptions, one for A: and one for an empty CD drive.
Any ideas?
|
|
|
|
|
gmarian wrote: Why would an exception that's been caught continue to propogate up the call stack?
One possibility: Because it's been rethrown.
|
|
|
|
|
Edit:
Your response got me thinking that I may be looking at this the wrong way.
The window that pops-up is titled ".Net-BroacastEventWindow.1.0.3300.0.1: ExplorerPlus.exe - No Disk."
When I remove the try block, this error pops up before .Net complains about the un-caught exception.
So, I think I need to ask a different question. Thank you for the obvious answer, as it's made me rethink the problem.
|
|
|
|
|
To properly thread a form which of these two looks correct?
public class MYControl
{
public MyAppWindow MyInterface;
ThreadStart GM_start;
Thread MyThread;
public MYControl()
{
MyInterface= new MyAppWindow ();
GM_start = new ThreadStart(MyInterface.Show);
MyThread= new Thread(GM_start);
MyThread.Start();
}
...
}
or is this better?
public class MYControl
{
public MyAppWindow MyInterface;
ThreadStart GM_start;
Thread MyThread;
public MYControl()
{
GM_start = new ThreadStart(StartForm);
MyThread= new Thread(GM_start);
MyThread.Start();
}
public void StartForm()
{
MyInterface= new MyAppWindow();
MyInterface.Show();
}
...
}
Programmer
Glenn Earl Graham
Austin, TX
|
|
|
|
|
I would like to know how to compile an .ico file into a .dll file.
I know about resource files and how to use the assembly linker but I would like to create a .dll file similar to the shell32.dll file which hold standard icons in it.
thank you.
|
|
|
|
|
This would typically be produced using a resource file, the rc.exe tool to produce a .res file from the .rc file, and the C++ linker tool, link.exe .
See Creating a Resource-Only DLL[^] for details.
|
|
|
|
|
Hi,
I'm having a problem with smart tags in Word 2007.
I just can't find how to add them.
On the microsoft site their are lots of walkthroughs for VSTO 2005.
But in the VSTO 2005 SE, you can't use me.VSTOSmartTags anymore
Thanks in advance
Programming code is like magic, just use the right code (magic words) to make happen what you want..
|
|
|
|