chekm8's Q&A profile
.NET Development Need Registry Edit permission for my Application
Hi All I’m developing a windows based application in C# v1.1. I’m doing a SetValue by opening a key from the Registry. The thing is it works fine only for the windows account having Admin privilege for the running machine. And it is failing for other windows accounts having No Admin privilege. Is there any way to pr ...Show All
Windows Forms Making a window the background
I have a main window that is maximised and I want it to be the background, so that other open windows of the application remain in view even when the menu in the main window is used. There seems to be no BottomMost property for windows. If I set the TopMost property of the main window to false and set the same property of other windows to true, the main window will remain in the background. But Message Boxes and predefined Dialog Box ...Show All
Visual Basic Form jumps up before the next form loads
I am using VB.NET and have a problem. I have an MDI container with several child forms. One of the child forms is my projects main form (which loads in a maximised state) and I use command buttons from here to lauch the other forms (which pulss data from a database). Problem is when I do this this main form appears to jump up in the MDI form for a few seconds before the next form loads. This behaviour is strange! does anyone have any idea how I ...Show All
SQL Server Performance of multiple charts on a report (RenderStream issue with RS2000)
I have a 'questionnaire analysis' report. The report consists of approx 25-30 questions and each question has a bar chart next to it to show the average score out of five for each multiple choice answer within a question. The report ends up containing 25-30 bar graphs all contained within a List control. The report performance is acceptable using URL access but is exceptionally slow (well over 1 minute) when using SOAP access. The perfor ...Show All
SQL Server UTCDate and Date Types
In Beta 1 & 2 there was a UTC date and a true Date only type supported. I guess these got pulled from the final bits. What would be the best way to create a true Ansi standard date/timestamp (ie. one that includes timezone). I'm thinking CLR probably. If so is there a way to get ahold of the old UTC date functionality (from Beta 2) so that if it is brought back at some later service pack we would be somewhat in compliance with it's features ...Show All
Smart Device Development How to change current UI culture at runtime?
HI. I have a form and I want to change its UI culture at runtime. The method System.Threading.Thread.CurrentThread.CurrentUICulture = ... does not working in .Net CF. I am using VS .Net 2005Beta2, C#. Thanks. System.Threading. Thread .CurrentThread.CurrentCulture = new System.Globalization. CultureInfo ( "en-US" ); ...Show All
.NET Development Passing WindowsPrincipal across Remoting boundary
Can anyone point me to a *good* resource that describes making my 3-tier remoting app secure I built the thing already and it works great but it has no user awareness. I want to pass the logged in user identity from client tier to middle tier and then actually run a task as that user on the server tier. Is this even possible with built in .Net functionality thanks, dave John, thanks for the reply. I kept digging and found some g ...Show All
Visual Studio 2008 (Pre-release) Transformations on AdornedElement are also applied to Adorner?!
Hi, I’m using Adorners on shapes and other controls. I’ve noticed that the Adorner is scaled, when the AdornedElement contains a transformation with a scale transform. But I don't want the Thumbs and the bounding rectangle in the Adorner to be scaled also. Is there an easy way around this, or do I manually have to scale these back again. In ArrangeOverride I might be able to scale down the Thumb accordingly if I find that there is a scale transf ...Show All
Visual Studio Properties on Relationship
I would like to add custom properties to a relationship that an end user of the domain model designer can configure using the properties explorer window. Is there anyway that I can do this Yes, see http://forums.microsoft.com/msdn/ShowPost.aspx PostID=17201 ...Show All
Windows Forms Control running in IE not loading
Hi, I wrote a control and I embedded it into a webpage. Everything works fine when I run the page on my local website (localhost), but it doesn't work at all (object not showing) when I install the webpage and the control dll on our i ...Show All
SQL Server Escape character for /SET option of dtexec
I have a problem setting some variables in a package using the /SET option of dtexec. Specifically when the value I want to set contains a semi-colon. I get an error like: Argument ""\Package.Variables[User::Delim].Properties[Value];^;"" for option "set" is not valid. I am guessing that I will have to escape the semi-colons somehow, but with what Regards, Lars You don't show the command but from the e ...Show All
SQL Server Cannot Open User Default Database (error 4064)
Hi, SQL Server 2005 installed on my computer. i was trying to make a login page with VS.2005 pro. But i got some errors on Website Administration Tool. Whatsoever, i registered a database (aspnetdb) . Then, i think i made my default database to aspnetdb. Something went wrong and i decided to delete aspnetdb and start whole procces from the begining and i did it. AAANDD WHOOOLA. I got this error: Cannot Open User Default Database, Login Failed M ...Show All
Windows Forms opening a form by name in a multiproject solution
In a multiproject solution, I need to use the GetType function to find the type of a form, by its name. It works in a single-project solution, but in a multi-project one, the type is never found. I tried to browse all the types, but looks like the search was limited to a "first level" (the name of the project, but not downwards Any help on that My goal is to open a form by knowing its name, (in a string variable) thanks Unfortunately you ...Show All
Smart Device Development vs2005 to device with ppc2003 ?
my application were written in vs2005 , and using opennetcf 2.0. I selected windows mobile 5.0 pocted pc when I created solution, I will deploy it to device with mobile 2003 and device with mobile 5.0. It's OK in the pocted pc with mobile 5.0 , and it looks well in device with mobile 2003.sometimes it will exit unknown in the device with mobile 2003. It show internal error in opennetcf2.0....., Maybe the reason is opennetcf2.0 have y ...Show All
Visual Basic Connection Strings
After reading through the issues on ConnectionSettings I have decided that whoever or the group that decided that the developed and deployed database will be in exactly the same place as in the developement environment hasn't a clue to the real world. The person or group should rapidly be removed from the gene pool before any futher damage is done. Sorry for this attitude, but what possible reason could there be to not have the ODBC app look ...Show All
