Paminboston's Q&A profile
Visual Studio Express Editions Default Browser
How do you get the default browser to open with a url without using the webbrowser control. You used to be able to do it in vb6. Or how do you get the webbrowser control in visual studio 2005 beta to show anything I put in webbrowser1.navigate( http://msn.com ) for instance and it shows a page that is an error page saying it cant find the server. But IE starts fine out side of Visual Studio and finds the server all the time. that's exactly what i mean, other browser are able to do this, Netscape, FireFox, opera, etc yes i agree with that something to do in the registry, somewhere around the root where browser is registered as default, i ...Show All
Visual Studio Team System Change Local Path after download files from Source Control
Hi to all, I have downloaded a complete solution from TFS Source Control, to a specific directory. The first time, VSTS prompt me to select a directory to download. After working a couple of days with this solution in this directory (i.e.; C:\Projects ); I want to start using the D:\Projects directory to download and store my files. But I can’t find an option in Source Control to change the Local Path where the files are downloaded. Does anybody knows how to do this Thanks in advance Bye from Spain Bruno Capuano Sr. Solution Developer Avanade, Inc. | Madrid Dev ...Show All
SQL Server Encrypted data size by original size, algorithm ?
I want to know encrypted data's size for designing database field size. For example, cardnumber varchar(20) Encrypted by Triple_DES and PassPhrase, How match size does need to encrypted data store field. I think the size does not depend to PassPhrase char length. Regards, Yoshihiro Kawabata The simplest way is to just encrypt the largest piece of data that you will store using the encryption algorithm of your choice and take note of the size of the resulting blob. That will be the size of the field. There is also a formula that allows you to compute this, but it also includes the size of a header which might expand in future v ...Show All
Visual Studio Team System IDE hangs when checking out a file?
Here's a wierd one that took a while to narrow down - no idea what's going on under the covers but... We have a solution with 18 projects in it - mixture of class libraries, executables, etc. In one project, there's a particular UserControl that sometimes can't be edited by the IDE. All other user controls in the project work fine. This particular user control, when double-clicked in the IDE, results in a hung IDE. It's not using any CPU time, but it's also not processing window messages or doing anything else useful. After various experiments, we concluded that the IDE is hanging when it attempts to check out the 3 files that make ...Show All
Software Development for Windows Vista Major compiler Error
Hi, I am getting the following compiler error, Error 2 The "CompileWorkflowTask" task failed unexpectedly. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\jacog\Local Settings\Temp\rsnifrbx.tmp'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at ...Show All
Visual C# byte to integer conversion - client server programming
hello... I have written a client in java and a server in C#... when i write those programes in my computer, opening same port and listening to same IP...everything works fine. But when I move my server to another computer(also running win XP pro), at one point of the communication, i need to make multiple readings from server on integer value sent by client. The way i did it is by converting the integer into 4 bytes BYTE, and send it over, at server I convert them from BYTE into integer again. most of the time it will fails reading or converting the int. Those integers will be read in as an unreasonable large value or unreason ...Show All
Visual Studio 2003 updates prob
I got Visual Studio for the Access tools and threfore don't use it much. Thought I should "check for updates" and got the following: encountered errors ...Check your browser...connections... Clicked Retry and got "no updates available". Question: Check my browser(IE) for what Connections for what Was online at the time. Had just been looking at msdn groups. No big deal, after all I was only after the Access tools, but.......Is 2003 done now that 2005 is out Thanks The Check for Updates menu option was designed to deliver service packs and other changes for Visual Studio .NET 2002 and 2003. To date, ...Show All
SQL Server Dimension formula
In a sales cube I have added dimension formulas to an account dimension. Example: NetRevenuePer100kg. The formula is: NetRevenue / Quantity * 100 When I use this in a MDX query like select {[DIM_ACCOUNT].[NetRevenuePer100kg]} on columns, {[DIM_PRODUCT].[WOOD]} on rows from cube where ([DIM_TIME].[2005].[Q1]) everything is fine. But using the following calculated member in the where clause: ... member [DIM_TIME].[MY_TIME] as 'Sum([DIM_TIME].[2005].[Q1].[Jan]:[DIM_TIME].[2005].[Q1].[Mar]) ... ... where ([DIM_TIME].[MY_TIME]) I get a value which is about 3 times greater than the correct one. I think it i ...Show All
Visual Studio Team System Can't install Team Foundation Server
I came back from TechEd very excited about the Team System Stuff and have downloaded all the requisite applications using my MSDN Suscription. I am trying to set up a demo server so I can sell adoption to the rest of the company. To my dissappointment, I have not been able to get this stuff installed and was hoping someone could help me. Here is what I have: - Fresh Install of Windows 2003 Server Standard with all the latest updates. - Fresh Install of SQL Server 2005 Beta 2, installed according to all the instructions in the TFS installation instructions. - Fresh Install of SharePoint Services 2.0 for TFS, installed according to a ...Show All
Windows Forms ToolStripDropDown.IsAutoGenerated?
Where can I find more information about ToolStripDropDown auto generation The IsAutoGenerated documentation doesn't say much. Thanks, Ray This means that the drop down was generated by the owner ToolStripDropDownItem as a result of a populated DropDownItems collection. This is in contrast to an explicit set of the the Dropdown property. This is for use with property flow to submenus. For example, if you set RenderMode at the MenuStrip level it 'flows' down to all submenus iif they are IsAutoGenerated. - Erick ...Show All
Windows Forms Question about threading Forms
I have two different forms in my app. One is the main form and is the form the user is watching most of the time. The other one is a information window with a datagrid. This datagrid needs to be refresed every 5 secs and I have a Timer for that, but when ever the timer event gets invoked the main form flashes and loses focus. Can I somehow have my other information form running in another thread than the main Form and there for not lose focus Sorry, use application.run() instead of window.show() like: Application.Run(secondForm); ...Show All
Visual Basic how to make a specific column of datagrid read only
hello friends my name is pradeep I used datagrid to display the columns of table in oracle but i want to make primary key column read only and autoincrement plz reply Hello Pradeem There are couple of ways to do this scenario. Generally Autoincrement is set at the Database level . You can create a column in Oracle where you can set the Auto Increment property . If you have a Typed Dataset , Open the dataset designer , select the column and you can set the auto increment property to be true in the proeprty grid . You can make the column also readonly here . Datagridview shows the column as ...Show All
Visual Basic Merge files
In the old dos days you could combine 2 files as save to a third file: copy file1 + file2 file3 It still works in a dos shell. I did this: Shell("copy " & file1 & " + " & file2 & " " & file3) I got an error that file3 cannot be found. I know it doesn't exist I want to create it. So I created a bat file: copy %1 + %2 %3 and called it as such: Shell("ccopy " & file1 & " " & file2 & " " & file3) I still get the error that file3 cannot be found. First I don't see how it can tell from the shell that file3 is a file. How do I do this otherwise Do I have to create a blank file before calling it ...Show All
Visual Studio Express Editions SQL Error running Timer Project
I down loaded the Timer project in Vis Express. It says it should run right on install. When I run it I get the following Error " An error has occurred while establishing a connection to the server. When connection to SQL server 2005, this failure may be caused by the fact that under default setting SQL server does not allow remote connections." Thats clear enough but how do I change that setting. Thanks ME I have the same question. How do I change the default setting in SQL Server 2000 to allow remote connections. When I go to Server Properties>Connections The Box &qu ...Show All
Visual Studio 2008 (Pre-release) Maintaining transparency of a PNG image when using "IMAGE" in XAML ...
Greetings - When I use the Image declaration in XAML, I can display the image I want just fine. However, for my PNG image, transparency is not preserved. I'd like to keep its transparency so that the underlying background color of whatever UIElement it is on shows through. Anybody seen this Thanks, Rick ...Show All
