Yozz's Q&A profile
Visual C# Login
hi all, I am designing a login "component" for my application. Do you know of any good examples of login implementation on the web that I can get ideas from It must NOT be windows authenticated login. I have my own dB table etc. Thanks Hi If you have your own database table that stores your user's credentials then you could use SQL and ADO.NET to authenticate your users. The following assumes that you have a table call ...Show All
Windows Forms Resizing and Repositioning Control on a Windows Form at runtime(.Net)
Hi Is it possible to resize, repositioning controls like (TextBox, Label, ....) during runtime on window Forms in (DotNet). How to proceed with this. Thanks Sriram Do you want to do it something like the VS.net designer If not,you can set the Location property and Size property at any point of time. ...Show All
Visual Studio Express Editions help executing a hyperlink
can someone please give me the syntax for opening a hyperlink when a picturebox is clicked on a form also, are there any mouse over text properties available i don't see them in the objects properties. thanks Is this WindowsForms or web forms For web forms, you should visit the ASP Forums . ...Show All
Windows Forms Unlocalized the datePicker
I am using the datePicker in C#. In the Regional Setting, the language choosen is French. I want to display the Calender in English. How ...Show All
Windows Forms Right Margins in a RichTextBox
Does anybody know how set a right margin in a RichTextBox I'd like to have some space between the right edge of the control and the the text that I'm reading in. I'd appreciate any ideas. Thanks The RichTextBox control has a ...Show All
Windows Forms Framework Version
Is there a way to get the version of the latest installed framework as a string value For instance, if I have v1.0.3705 and v1.1.4322 installed, the v1.1.4322 would be returned. Ah, okay.. Not sure how to do that... There are  ...Show All
Visual Studio Express Editions C++ program for dll creation
#include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { extern "C" __declspec( dllexport ) UST_Init mynewfunc(HWND hWnd,UNIT messageOffset) { return UST_Init( hWnd , messageOffset); } } I have created a new Win32 Console Application project in VC++ and i have included the .h file and when i add the following lines of code it shows errors. How should the code be You don't show ...Show All
Visual C# Saving rich text to an Access Database
Trying to write a SQL statement to add a record to a database. Is there anything special about Memo fields that would make them different than a text field Or is there anything special about how C# would send an RTF string I have a rich text box and when a button is clicked, I put the rich text from that box into a string variable, then use a SQL statement to try to save the string to an access database. This is a screen shot of the ...Show All
Windows Forms Sample Code to Re-Use MenuStrip items directly as Context Menus without having to create the menu twice.
Though I would just share this because it has been a big annoyance since VS.NET 2002 for me, now with 2005 I found the menu's are still missing one simple feature... HOW DO YOU RE-USE A MENUSTRIP OBJECT AS A CONTEXT MENU Here is one answer that I found that appears to be the simplest, and allows me to use the built in menus again. (previously I resorted to 3rd party menus because I usually reuse my main menu portions as context menus) Ste ...Show All
Visual Studio Express Editions UserDeletingRow in Datagridview
Ok here is my issue, I have my datagridview bound to my DB, but when I go to delete a row the row disappears from the datagridview, but when I go into the backkend of the DB the data is still there. Here is the code, any help is apperciated. I am quite new to VB, so I am still learning thsi stuff. Private Sub DataGridView1_UserDeletingRow( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewRowCancelEventArgs) ...Show All
Audio and Video Development Windows Media High Definition Video
Where does Windows Media High Definition Video DVD fall in the iHD space I see from the examples online that it uses javascript and xml as well. Although the two technologies are similar, there is no direct mapping from one to the other. WMV-HD was a format for playback on PCs (and I believe some devices in Europe) whereas HD DVD is a new standard for devices and PCs. ...Show All
Visual Studio 2008 (Pre-release) Cider Designer Problem/Bug
Hello When i create a new WinFX Windows application i can't switch to the designer. I get following error: "Could create a instance of type window". This is new windows application without any other controls on it. Can someone help me out Kind regards Dieter Hi Dieter, Without more information (such as a call stack you get by attaching another instance of VS and catching exceptions), every indication is tha ...Show All
Windows Forms Can't Kill WINWORD.EXE...
I've posted a message before, but my question wasn't really answered. I'm using VB.NET to open, print and close a Word Document. Thing is it leaves an instance of WINWORD.EXE in TaskManager - and it seems nothing will kill it. Aft ...Show All
Visual C# How do I tell when all threads in a pool are complete
I have an app that uses a thread pool to ping all hosts on the local network. Each thread updates a listview with the status of that IP - alive or dead. When all the threads are done, I want to remove all the dead links from the list view. How can I tell when all the threads have done their job What is the best way to loop over the listview backwards (I assume backwards is best since the items are indexed...), removing each dead link (t ...Show All
SQL Server fix missing value
Can SSIS detect the missing value and replace it with some reasonable value (e.g., maximum, median, average, etc.) thanks Yanbing Hu wrote: Thanks. But if there is a way that SQL Server can automatically figure out a reasonable value used to fill in the missing value I mean I do not need to specify a value to replace the missing value, but SQL Server will figure out on ...Show All
