Renis Cerga's Q&A profile
Windows Forms Password
My friend has given me his old pc ( for my son ) which has windows 2000 on it. Problem is that he has forgotten his password. Is there a way to get around the password Any help would be greatly appreciated. Thanks It is not the BIOS unfortunately. It's the windows log on. I guess I'm SOL, because I do not have the cd/disk to reinstall either. Oh well, I'll just have to buy the boy a new one. That's my luck when I try to save a few bucks. Thanks for all the help. Rick ...Show All
Smart Device Development Setting a default application in pocket PC
Hi, We have developed an application in C# .Net Compact Framework using .NET Visual Studio 2003 and have it running on the Pocket PC(HP iPaq 5555) as well. I have 2 requirements : 1)I need to make this application the default application that is launched when pocket pc starts up 2)Need to disable all other applications / other windows programs when this application is running. Any ideas on how to do the same Thanks Smitha Hi there, You can create shortcuts in the startup folder by modifying the PPC or WCE .inf file in \obj\Debug\ scroll to the end of the file and add the following [AddlShortcut] "Pallas Foods",0,PallasFoods.exe Go to the [DefaultInstall] and modify the following CESh ...Show All
Microsoft ISV Community Center Forums saving data in a userform without saving the workbook
Hi, I have an excel VBA project which interacts with the user entirely through userforms (built it in excel rather than VB since I want to access underlying data from excel sheets for the calculations). How can I export all the data and calculations on a particular userform into a txt file or other file There may be multiple userforms open, and saving will just save one of them, loading will load the data from file, initialise a new userform and load the data into it, all without upsetting the other userforms or the underlying workbook. I'm thinking that I can use one sheet of the workbook as a scratchpad, so when the macro is called, write the userform data onto that sheet, then save the sheet only as a text file by Sheet2.Sa ...Show All
Visual Studio 2008 (Pre-release) BLinq customization
Does anyone know if it will be possible to customize BLinq page layout, as well as to alter navigation structure The page and controls that are generated by Blinq are not customizable. After the web app is created, the app can be opened in VS and any part of the app can be changed. Customization of Blinq output is a feature we're considering for the Visual Studio version of the Blinq functionality. The styles used by Blinq websites can be changed. The CSS, browser, and skin files are stored in C:\Program Files\Microsoft ASP.NET\Blinq\Browser Files and C:\Program Files\Microsoft ASP.NET\Blinq\Theme Files. If you replace those with files you have customized, Blinq will use your files on all subsequent runs. Hope this helps... ...Show All
Visual Studio Express Editions when the mousewheel event called
Hi, In my application vertical scrollbar control is there. Its working fine if i scroll it manually. But, to work with mouse wheel, i added the mouse wheel event of the control. But this event is not at all getting called. Actually when the mouse wheel event is called. Any suggestions..... Thank u. Odd as it may seem, a VScrollBar doesn't use the MouseWheel event but passes it to its parent instead. Here's an example of a form that scrolls with the MouseWheel event: using System; using System.Drawing; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); this.AutoScroll = true; this.AutoScrollMin ...Show All
Windows Forms flickering dgv
hi i get flickering dgv with this code on my dgv, what can i do> thanks Private Sub DataGridView1_CellFormatting( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting Try e.Value = Me .CostingDataSet.Bill_Detailed.FindByBillID_Detailed(e.Value).AmountFC.ToString e.FormattingApplied = True Catch ex As Exception End Try End Sub Cache the value like how okay i can go by creating classes containing id and value that i then lookup, still at start initialisation will be slow to create the classes., thats the only solution i have in mind. anything else please let me know the search algorithm is directly ge ...Show All
.NET Development web service .asmx problem (.NET 2.0)
I have been working on deploying the service from my local machine to the development server and am coming up with an error that states: -------------------------------------------------------------------------------- The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. A name was started with an invalid character. Error processing resource 'http://middle-earth/ErrorService/ErrorDS.asmx'. L... <%@ WebService Language="C#" Class="ErrorDS" %> -^ -------------------------------------------------------------------------------- Just as an FYI... I have confirmed that all the method names ...Show All
SQL Server Just installed SQL express, what else am I missing??
Hi everyone, I believe I have installed SQL server 2005 (SQLServer2005_SSMSEE.msi) and I can run "Mircosoft SQL server Management Studio Express" I can see the "Connect to Database Engine dialog", however I am unable to connect to a server (I know I need to create a server or instance but don't know how ;-( ): Server Type: Database Engine Server name: Authenitication: Window Authentication User Name: myID\myID Password: Now, how do I create a server name (instance ) Do I need to download other software to create an instance so I can try the SQL Server locally Please help ,I am lost ;-( Hi, SQLServer2005_SSMSEE.msi only installs SQL Server Management Studio Expres ...Show All
Visual C++ Tooltips in a FormView
Hi, I have a VC2005 (MFC) SDI application where I switch between formviews. I am having trouble getting tool tips to work inside the formview. In my formview class I added this code to try and get tool tips to work. In msg map: ON_NOTIFY_EX(TTN_NEEDTEXT, 0, OnToolTipNotify) BOOL CMyFormView::OnToolTipNotify(UINT id, NMHDR* pNMHDR, LRESULT* pResult) { //.....................code in here etc etc etc } In Oninitialupdate I call, EnableToolTips(TRUE); I have editted the string resources also. MY PROBLEM is, there are 4 buttons want to display tooltips for, and yet a tooltip only appears for 1 of the 4 buttons. When I put a break point in the OnToolTipNotify function the function is only entered when I hover abov ...Show All
Smart Device Development Motorola Q template
I'm trying to build an application for my Motorola Q. I've downloaded the sdk and image template from MotoDev, but when I try to use it, the phone image in the design view is distorted to where it looks like a regular cell phone and not a Q. The form ends up being 176 x 180. Anyone else run into this and/or know how to fix it Thanks, Brian you can download this image http://www.microsoft.com/downloads/details.aspx FamilyId=EB580A44-CB40-4BE1-9FF3-E224BF669CD0&displaylang=en ...Show All
Windows Forms Troubles with Basic form events and custom events
Hello! Well, I have a problem A have created a Form, using Visual Studio 2005 designer, also I have created a method wich must pro ess the KeyPress Event and also I've created my custom event with custom arguments and my Form also have a handler to process that event. But I have a problem: when my program is running and I'm pressing, for example, the ENTER key, my Form perfoms My custom handler and not a standart handler. I can't understand, why I did't set my custom method as a handler of KeyPress event and I generate my custom event in other places of my program ( I want to say that when I'm pressing the key, I don't generate my custom event ) . Can you help me with my trouble, I want to handle KeyPress Events correctly. P.S. I' ...Show All
Visual Studio Team System Dynamic field content
Hi I have a category field in one of my work items. The type is a list of categories. The content will change frequently, so i'm looking for a way (besides custom controls) to update the content. Isn't possible to specify new content without having to export and import the process template Regards, Thomas Ardal One thing to keep in mind on the dynamic global list and work items is consideration of state. If you remove a global list value and some work items have that value you may not realize you need to query for that value in WIQ or reports and if ever you 'touch' tht work item you will be forced to change the offending field to have a valid value from the current global list-- this may not be what you always want. ...Show All
Software Development for Windows Vista The method "GetWorkflowDefinition" needs an instance which will be persisted
Hello, Let me explain the situation: I would like to retrieve the workflow definition of my workflow. I thought that I could use the method "GetWorkflowDefinition". But that method needs to called on a workflow instance. So I need to make sure I have a WorkflowInstance object. Because it is possible that there are no running workflow instances, I am using the function "CreateWorkflow" of the WorkflowRuntime to create a "dummy" workflow instance on which I can call the method "GetWorkflowDefinition". The problem is that those "dummy" workflow instances are also persisted to the database, even when I did not start them! How can I prevent those workflow instances from being persisted ...Show All
SQL Server Using a parent-child dimension where you track and report as per the history
Hi, At this point, I'm simply trying to see if what I'm trying to do is possible. If anyone has tried this before, I'd appreciate to know how they've done it. Say I have a single DSV with a single table such as the following: TABLE Members ( ChildID int, ParentID int, Period datetime ) which contains data like this: ChildID ParentID Period 1 4 2006-10-01 2 4 2006-10-01 3 4 2006-10-01 4 5 2006-10-01 5 6 2006-10-01 6 NULL 2006-10-01 1 5 2006-11-01 2 4 2006-11-01 3 4 2006-11-01 4 5 2006-11-01 5 6 2006-11-01 6 NULL 2006-11-01 In words: In 2006-10-01, 4 has three childs and is under 5 which is under 6. In 2006-11-01, 4 has two childs and 1 is ...Show All
Visual FoxPro VFP9 anchor bug
I set anchor in my class cs. I have a program in vfp code to create a form. I created a control object using cs and give a position in init method of the my form. Running result: The control object position is always on the left top of my form when I run my form. I am not sure I understand. What is the "bug" you are reporting The default behavior of controls is Anchor = 0 (which means the object is neither moved, nor re-sized, when the form is resized), what value are you setting, and how What are you expecting to happen ...Show All
