smilemax's Q&A profile
Internet Explorer Development IE7 and desktop icons
I just installed Internet Explorer 7 today, which I guess is a.k.a. Windows Live . All of my fancy customized shortcuts on the desktop disappeared and each got replaced by the same generic windows icon. Right-clicking & changing the icons in properties no longer works. Also, when I create an internet shortcut while browsing, that creates a shortcut with that same generic icon (not even an explorer logo). Now my desktop is just one forest of identical icons. Anyone know how I can fix this I've wasted all day without success. CPIAD That is exactly the problem and question I am also experiencing...I finally uninstalled both IE7 and Netscape 8.1 (which is also behaving unsatisfactoril ...Show All
Visual Studio Team System Work Items not deleted from warehouse when project deleted by TFSDeleteProject
Deleted a project with TFSDeleteProject and later created it again with the same name. Work Items from the original incarnation of the project continued to show up in reports for the new incarnation of the project. Eventually found that work items created for the original incarnation of the project were deleted from the TfsWorkItemTracking database but not from the TFSWarehouse database. Could the actual problem be that the report is getting the wrong item from the TreeNodes or xxTree (Matching absolute first entry instead of first with InDeletedTreeFlag=0) ...Show All
Visual C++ Win 32 Wrapper Class
I was looking around for a while on different forums and sites and couldn't find any help to my problem. I'm trying to make a windows wrapper class. I'm using VS 2005 and doing it in visual C++. I'm declaring my handle as a private variable inside the class. private : hWnd; Then in my functions I have HRESULT cWindows::WinCreate() { hWnd = CreateWindow( "wndName" , "" , WS_OVERLAPPED, 0, 0, 600, 480, NULL, NULL, hInst, NULL); if (!hWnd) {return E_FAIL;} return S_OK; } hInst is a variable that I keep stored in the privates of my class and pass it in through the constructor. The WNDCLASS is registering itself fine, but whenever I try to create the window, I keep getting a a NULL ...Show All
Smart Device Development how to invoke a popup menu on menubar without clicking the softkey
hi, I have a menubar "Done" and "Menu", Done is "button" and "Menu" is a popup menu with 2 items. I would like to popup the menu items when user press the action key but I have no idea what message to be sent to or to which window. Is there a way to accomplish that thanks in advance. keybd_event is forbidden in some phone by OEM. The best solution, Try this code: // If you know current menu bar window, you don't need to search it... HWND softkeyMB=SHFindMenuBar(GetForegroundWindow()); // Post the WM_HOTKEY message into Softkey like this: // For Left Softkey PostMessage(softkeyMB,WM_HOTKEY,0,MAKELPARAM(0,VK_F1)); PostMessage(softkeyMB,WM_HOTKEY,0,MAKELPARAM(409 ...Show All
Windows Forms Totals of rows and columns
I'm working with .net 2.0. I've been searching how to get a total on a gridview on the rows but also on the columns. A row total has something to do with the virtual-state of a gridview, I guess. Has anyone usefull information on these topics Next time i ask a question, i will do it in a better way. Your answer was not exactly the answer to my question, but it's usefull anyway! Thanks Whay i really wanted was a column with totals. I added a new column to my DataTable and filled in the expression.with: "quantity * price". Like this i could use the dataTable and the binding source to bind it to a datagrid. For the "Grand Total" i found the post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=503219&SiteID ...Show All
Visual Studio Team System Online Command Integration with VS IDE
I work for an offshore software development company, so most developers are not in the main office, but in an office which is in another country. So we integrate to Team Foundation Server over the internet, using TFS SP1. We suffer of frequent disconnections from Internet, which is a common issue in this country, so there are plenty of times when we unexpectedly disconnect from Internet, frequently while we are working in Visual Studio 2005. We found the TFPT.exe Online command very useful to come back online when we made changes in offline mode, but we need integration with the VS IDE, so this kind of disconnections become transparent to the developers. We don't want to worry from disconnections while we are inside or outside the VS ID ...Show All
Visual Studio Tools for Office parameter passing to winword.exe
how do i pass parameter to winword.exe and how do i access that parameter to winword.exe using VSTO2005SE let say i want to pas winword.exe 100 and i would like to read the 100 and do computation before i open the document Hi, Word has no facility for allowing arbitrary parameters to be passed (and retrieived) from the command line. If there is a specific problem you are trying to solve, let us know and perhaps we can suggest an alternative solution. Sincerely, Geoff Darst Microsoft VSTO Team ...Show All
Microsoft ISV Community Center Forums Creating Logon in MS Access
Hi All, can you help me how to create my ms access when first time open always ask " logon " as below picture : I mean can we create this using macro.When someone try logon wrong can't get in. Thank for advise ... Hi, Access has this sort of feature built in. Its called Workgroups. If you look in the toolbar under Tools->Security->Workgroup Administrator... this will let you create users and groups for accessing the database in a similar way to creating users and groups for Windows. When a user opens the database they are prompted for a password. ...Show All
SQL Server Microsoft.SqlServer.Dts.Runtime & ASP.NET Identity Problem
Greetings, I have an ASP.NET web form that calls out to a component which includes the following code which leverages the Application and Package classes in the Microsoft.SqlServer.Dts.Runtime namespace: Application application = new Application (); Package package = application.LoadFromDtsServer( @"File System\MyPackages\MyPackage" , "MyMachine" , null ); string id = package.ID; Microsoft.SqlServer.Dts.Runtime. DTSExecResult result = package.Execute(); I am logged in to the app as Domain\Me. I have Windows Integrated Authentication configured in IIS and am using Windows Authentication in ASP.NET. I am using impersonation to impersonate a fixed identity, say Domain\Bob . This has t ...Show All
Visual Studio Express Editions ListBox UnLimited
I've been asked to create a glossary application for business faculty in my university. There're two part of the glossary: term and definition. I store the term in a listbox, while I store the definition in a texfile. Problem: listbox can only store limited size (around 1000 terms). Question: Is there any other ways that can be used to store terms in the glossary. When you say full - how do you determine it is full - is it returning an error message - if so what is the message I dont understand what you mean by real size of a listbox If you are talking about the maximum number of items - as the selectedIndex can hold an integer. I tried the following code and had 500,000 items in a listbox - so ...Show All
Visual Studio Express Editions Text box text formating
hi Everyone, i have a text in a textbox which is amount of something .i.e. 124565321. what i want is to put the commas like 124,565,321 it is just like the way excel do with the number. So please tell me how can i read char by char from the text box and append ' , ' between the char Thank you Take a look at the 'Format'-Function. You can either take a predefined format or you can create your own format Textbox1.text = Format([HereYourString],"D") This is just an example. ...Show All
Visual C# Merge XLS/DOC Files
Does anyone has a code to merge(join, conbine) xls and doc files into only one (or a freeware that I can use by command line0 Like, I have 10 docs files and I need to put all them together into only one file. Thanks ...Show All
Windows Live Developer Forums Is there any way to fill a polyline?
Does anybody have any ideas You have to make sure the points are in order. otherwise the polygon shape will morph, only works in IE. result is an array of points function MapTerritoryArea_callback(result) { var i = 0; var locs = new Array(); var mylocs = result.Locations var x = 0; var y = 0; for (i = 0;i <= mylocs.length - 1;i++) { var ll = mylocs ; var loc = new VELatLong(ll.Latitude, ll.Longitude); locs.push(loc); x = x + ll.Latitude; y = y + ll.Longitude; x = x / (i); y = y / (i); var loc = new VELatLong(x,y); var col = result.Color; var pol = new VEPolygon(result.Id, locs); polygonID++; pol.SetOutlineW ...Show All
Visual Studio F5 does not work ! : Need to use "Start new instance"
Hello, I am trying to debug an application with my Visual Express 2005 c++. It compiles nicely a "hello world". However, to debug, if i use F5, it doesn't do anything.. I have to right click on the project and use the debug->start new instance or debug->step into new instance. And sometimes the debugger becomes unstable. I "think" that when the debugger starts, it goes to __tmainCRTStartup and hence I need to force the debugger to jump to my "main" .. Is this normal I would like my debugger starts in my main. Can anybody help me please thank you Hello, After some weeks having problems with the debugger I decided to format the computer. Then, after re-installing visual ...Show All
SQL Server SSIS in vb
Hi How can i generate vb.net code after i create a ssis package. In vb 6 and sql2000 dts one can do that. Thank you Jamie is right. It cannot be done in VB6. But it's a snap in .Net 2.0. Take a look at the Application class in the microsoft.sqlserver.manageddts.dll. Here is an article describing the process: http://www.codeproject.com/useritems/CallSSISFromCSharp.asp There are more out there, but it's the first one I found. ...Show All
