Kamii47'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. I have just installed ie7 today I like lots of things about it BUT I have the same problem; all my customised icons with which I am familiar have dissapeare ...Show All
Windows Forms How to get Modify/Repair window during install if already installed ...
Hi, How can I make a Setup and Deployment project do program updates Ie; Modify/Repair. Currently if the application is already installed and you re-run the installer it makes you uninstall first. Most apps give you the repair/modify/Remove option. Can Setup & Deployment projects do this If so how Thanks ... Chad To do this you must keep the ProductCode unchanged and launch the new version via: msiexec.exe /i your.msi REINSTALLMODE=vomus REINSTALL=ALL There's no way to install a Small or Minor (which is what you want) by double clicking the.msi file. You can use a setup.exe launcher to generate this command line. Or you continue to use Major Upgrades, but set RemovePrevoiousVersion = ...Show All
Windows Forms Controls inside a user control resize automatically
I have a simple custom control (named ctrl1) with 2 panels docked one on the left and the other one as fill. I add another control (for example a list view) to ctrl1, and it looks ok on the designer (I do not dock the list view). However when I run the app, I notice all my controls inside ctrl1 get somehow resized horizontally only (made wider). If I add a picture box, the picture image appears wider when compared to the design time view. I don't expect this as I am not docking the added controls in any way. I did change the default font for the main form to Verdana. So if this creates the resize, how can I make the designer and the runtime to show the same Is this some control/form settings I am not aware of ...Show All
Visual Studio Team System CTP5: Cannot Complete Data or Schema Compare - Errors Out and Closes App!!
Hello! I'm afraid that everytime I run a data or schema compare it blows up and stops the application. Here is what I could copy from the error when doing a DATA compare: AppName: devenv.exe AppVer: 8.0.50727.42 AppStamp:4333e699 ModName: kernel32.dll ModVer: 5.1.2600.2945 ModStamp:44ab9a84 fDebug: 0 Offset: 00012a5b Here's what I could copy from the error when doing a SCHEMA compare: EventType : clr20r3 P1 : devenv.exe P2 : 8.0.50727.42 P3 : 4333e699 P4 : system.data P5 : 2.0.0.0 P6 : 4333aea2 P7 : 247d P8 : 1e P9 : system.invalidoperationexception Any help would be very much appreciated! ...Show All
Visual Studio Team System New to TeamSystem & need to share a document library to another site
Good morning all. This may be more of a Sharepoint related question, but I couldn't find any MSDN forums related to Sharepoint problems. The question I have does relate to Team System so I thought I'd start by posting here. If anyone can help with this problem I'm facing or knows of a great Sharepoint forum I'd appreciate it! First, some background information...My company supports multiple Sharepoint servers. Some of these servers are on different domains. One server, for instance, and all the WSS sites hosted on it, are dedicated to our clients. Whenever we create a new client project, a WSS site on this server (I'll call it ServerA for here) is created. ServerA is on Windows Active Directory DomainA. Each of our clients get a unique ...Show All
Visual C# convert punctuation to string
hi , i can check if a word has punctuations in it by using ( !char.IsLetter( theInput[ i ] ) ). here the " theInput " is a string. I want to remove these punctuations, but no idea how to do it, please help this definitely solve the problem. I also figured out a similar way of doing this, which is to declare an array which holds all the letters of "theInput", replace it with a space if any of the elements is a punctuation. then get rid of alll spaces after the loop by using "replace()", then convert the array back into "theInput" string after the loop. Anyway, your suggestion is more efficient than mineAny advanced suggestions are still welcome :) ...Show All
Windows Forms ExecuteNonQuery() Updating a Table
I have dropped my table onto the form. Created a SELECT query to get negative numbers from my Amount column and display them in my datagrid. I have also created an UPDATE query that does UPDATE negative SET Amount = Amount * -1. Now I need to get that update query to execute and Im not sure how. I am new to programming and C# so ive been using Visual Studio 2005. THanks for any help ...Show All
.NET Development In need of some CDO expertise
I am working on an issue and I find myself running into a brick wall. Here are some of the things I am having trouble with. 1. Is there a way to decipher the Message ID generated by CDO 2. Are there standards Microsoft has used in the past 4-6 years that can help me understand our Message Id. I really appreciate any help someone has, and if nothing else, if anyone knows someone at Microsoft I can connect with professionally I'd appreciate that. Thank you, Matthew Aster Progressive Casualty Insurance Company This forum is dedicated to questions relating to the System.Net namespace. System.Net.Mail does not sit ontop of CDO and thus those that monitor this forum will likely ...Show All
Visual Studio Express Editions How can I send to Private Sub Label26_Click a MSComm1 object
Hi, I defined MScomm1 in form1_load and I want to use him or to close him when the user click on the label26, how can I do it here is how I defined MSComm1: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim MSComm1 As System.IO.Ports.SerialPort = My .Computer.Ports.OpenSerialPort(1, 19200, 0, 8, 1) End Sub Private Sub Label26_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label26.Click ' here I want to close Mscomm1 or to change him 'Or to change the port number and this change will take effect on the all program ' End Sub Regards, Yaniv &nbs ...Show All
.NET Development Event subscribers disappear after inactivity
I have a class in a shared assembly which publishes several events. This shared assembly is shared between two applications and is used to pass client/server messages via remoting. My code works as expected, and the two application can share objects using the class' public delegates and raises notifications of messages received using the published events. After several minutes of inactivity (that is, no events have been raised), the events will "loose" their subscribers. The event variables are non-null after the client app subscribes to them, but after a period of inactivity, the event variables will become null. Events that are periodically raised do not loose their subscribes, but those that are "still" for a minute ...Show All
Visual Studio Team System Branching advice
Hello All, I have a question about branching and TFS. Suppose I have the follow folder structure under source control: FolderA / \ FolderB FolderC / / \ FolderD FolderE FolderF Suppose FolderD contains some libraries I want to work on, but not on the mainline (trunk). This work will take a couple weeks and so I'd like to work on them in small increments, say checking in every day, and thus have a record of my work (and versions in source control I can go back too and diff etc...). I decide I want to branch FolderD for this reason. I create the branch and call it FolderD-branch and so that folder gets created as a siblin ...Show All
Visual Basic Tableadapter.update with auto-increment on SQL column problem
Hello, I'm using databound textboxes to display data from a database on VB.net 2005. I have an "add new" button, which does this: BindingSource.AddNew() - and then once the user has entered the details, they click a button that updates the database: Try Me.ChildrenBindingSource.EndEdit() Me.ChildrenTableAdapter.Update(Me.Main_databaseDataSet.Children) Catch ex As Exception MsgBox("Update failed") End Try I have a primary key field on the database (I'm using MS SQL express) called "ID". I've tested all the above with the user entering their own ID, and all works fine, but I want this to be auto-incremented instead. So, I set my MS SQL "ID" column up with these pr ...Show All
Smart Device Development String Split Function!!!
I have developed a Function for splitting strings using a string delimeter becuse compact framework requires a character as a delimeter. My function just works fine. I'm sharing it with you people so it can be improved in performance if possible. It was the only logic coming to my mind this time so I wrote it down but I really think its not an optimal solution and can become better with some obersvation or a little change in logic. private string [] SplitString( string stringToBeSplited, string delimeter) { if (stringToBeSplited == null ) throw new NullReferenceException ( "stringToBeSplitted is null." ); if (delimeter == null ) throw new NullReferenceException ( "delimeter is null. ...Show All
Visual Studio VSS Lan Service working randomly
Hi, The Lan Booster service works randomly here. Sometimes everything is ok, and sometimes, for the very same operations, for the same database/project and on the same system, I get the following message: Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal. The service is running on the system hosting the database. Known problem Hi Patrick, > One question: is this message displayed only once by session The message is displayed once per VSS server. For instance, if you have 2 projects Proj1 and Proj2 hosted on the same VSS server that doesn't have VSS service accessible, opening Proj1, Proj2, Proj1 in IDE will only cause the message to be displayed once when Proj1 was opened t ...Show All
Internet Explorer Development Can IE extention prevent a image from being downloaded and displayed?
I want to write an IE extention that can prevent image from being displayed. I know that when I got the DISPID_DOCUMENTCOMPLETE event, I can walk the DOM object of that web page and set the image object to invisible. But at that time the image has beed downloaded, Is there some solution that can prevent the image being downloaded Thanks! If so, there will be not a efficient image AD blocker for IE by IE extension mechanism. Thought the image object can be set to invisible, the image itself has beed downloaded to local disk. What a pity, waste bandwidth. I think that my requirement is only a small one, Is there real no solution by using IE extension Or if there is other sood solution. ( ...Show All
