Lord Zoltan's Q&A profile
Visual Studio Express Editions Problem with maskedtextbox validation and keypress
Hi, I have a problem with masked textboxes. I'm really getting annoyed with this one and can't find any more a solution. I have a form where you enter inputs and there inputs are recorded to the db. I have a maskedtextbox which is optional. But I want that if someone writes something in it, it checks validation and if it's not valid, it's lbl will become red to indicate user to enter a valid data. Maybe I have a logic or syntax error but&n ...Show All
SQL Server can not drop user from database
I'm getting the can't drop user error. Is there a way to change the schema owner via smo I've tried the following code to change the schema owner back to a different user. I don't get an error or exception but the schema owner doesn't change. Database database = new Server ( "my server" ).Databases[ "my Database" ]; database.Schemas[ "db_owner" ].Owner = "db_owner" ; Never mind, the follow ...Show All
Smart Device Development Home key Catching
Hai Friendz I have developed an application in smartphone emulator..I want to put a password in my application...ie. the application cannot exit untill the password is typed..But I have a problem that the home key event of the emulator cannot be traced.. & ...Show All
SQL Server Cube Roles - How to restrict access to certain members
I have a dimension called Account that has five levels. I'm trying to define a cube role to deny access to accounts in the lowest level that starts with the letters GL. I tried applying a filter in the dimension data tab in the role designer, however, this only seems to create a static rule. The account structure gets updated all the time and I want to restrict access to all accounts that start with the letters GL now and in the future. When ...Show All
Microsoft ISV Community Center Forums Form Requery
I have a command button on a form to create new records for the data shown on the form. When the code finished I want the form to have the new record available. I have this code at the end of the button code: Forms("frmDocumentDetail").Requery It does not work. The records do not update unless I exit the form or do something like hit the sort records button. TimD No sure this is the answer but try ad ...Show All
Windows Forms AcceptButton like property
I'd like to add a "Target" property to my UserControl that lists all textboxes on a form and allows me to pick up one and assign it to that property. Something similar to Form's AcceptButton property that list all buttons available on container form. Any hint TIA Corrado Corrado Cavalli wrote: FYI: Default value does not indicates what type your property accepts but just its default value and how it should be serialized... ...Show All
Visual C# To choose between C# and VB
I wish to start learning either C# or VB Express Editions. The aim is to write applications to communicate with 'homebrew' hardware on the serial port,or better still, USB. The communication requirements are modest - several different trigger signals to the hardware, read pushbuttons on the hardware, or collect slow speed data. I would appreciate advice on the trade-off between the learning curves for C# and VB versus their communication capa ...Show All
Windows Forms Error in Design view for usercontrols that inherit from cutom usercontrols
hi, I have usercontrols which inherit from a custom build user control. But it shows error message Constructor on type 'abcCustomControl' not found. in the desing view. I am using Framework2.0, VS 2005. Is there any fix/workaround for the problem . ...Show All
Visual Studio Express Editions Installer Making in Visual Basic .NET 2005 Beta 2 Express
Hi. I would like to know how to make an installer. What I have so far is a series of files embedded into an executable via resources.resx editing in the IDE. I need some help with putting them into the computer the installer is run on. OR, if that is not the correct method, then what is I am just guessing here, and any help would be appreciated. Thanks, The Digital Pioneer I see. That stinks. Thanks, but I'll ...Show All
Visual Basic VB and app.config
Hi, .Net 1.1 allows you to access the appsettings values from app.config file using the following System.Configuration.ConfigurationSettings.AppSettings( "office" ) But in .Net 2., I am trying to use ConfigurationManager but I did not see the ConfigurationManager from the intellisense dropdown list. Please help how to get AppSettings values. I am creating a Console application. Thanks You will need to add a ...Show All
Software Development for Windows Vista Too Many Product Keys, OTP
I attempted to download the Beta 2 for Vista but when I got to the Product Key page, my printer froze up my computer, completly! I attempted to log in again, and it did it again a second time, but this time I wrote down the key. On the third time it stopped me cold, saying I had too many product key requests, but I never did actually make it to the download page to get the Beta 2 ISO. So I have a valid product key for the Beta 2 but no ISO from ...Show All
Visual Studio Express Editions Single Instance application crashes with an exeption...?
I was making a program that I wanted only 1 copy to be running at a time. If its multi instance, I can run it over and over. If its single instance, instead of letting just 1 copy run, whenever a second copy is launched, both it and the first copy CRASH with some fatal exception error. I'm simply checking off the "Make single instance application" option under the "Windows application framework properties" section. Why does this make the program ...Show All
.NET Development TableAdapter Update problem
Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; ...Show All
Visual C++ One question for WINCE variable
Hi that's my sample code could some one tell me that, how to put variable into MessageBox [code] #include "windows.h" #include "string.h" // // Program entry point // int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) { char ch[50] = "hello world !"; ...Show All
Windows Forms UI Permission
Hey all, at college the only space i have is my network drive. As you can possibly imagine permissions drive me mental. I mean i can't even execut Application.Exit() So does anyone know how to get basic security levels via code for&nb ...Show All
