VarunMS's Q&A profile
Visual Studio Installation hangs
I have tried installing VC express on my machine and the installation hangs during startup(loading installation components), with the suite integration toolkit. the report gives the module name as vsscenario.dll. It is a system thing as it has installed Ok on another machine. I have uninstalled all instances of .net and dont have any versions of Visual studio installed. The machine is a 650Mhz pentium 3 with 384 Meg Ram, running XP with service pack2 and should be able to run the program. I am also unable to install from the net as it does the same thing. Do you have kaspersky or another anti vir ...Show All
Windows Forms Bootstraping from MageUI
Can the bootstrapping that is installing the prerequisites be done from the MageUI I know we can do this using visual studio IDE. However is there any way we can do this using MageUI. Also can the APIs which do bootstrapping be used from other applications such as install shield Regards, Vishal Karnik ( vishy_100@hotmail.com ) Vishal, There is no way to say ‘Create setup.exe’ from MageUI. You can however, create a setup.exe outside of Visual Studio using the GenerateBootstrapperTask and MSBuild. (Doc at http://msdn2.microsoft.com/en-us/library/ms164294. ...Show All
.NET Development Converting XML to string whilst including the schema.
Hi, How do I convert a DataSet to an XML string INCLUDING the schema information and store it into a string variable in memory I can't use the DataSet GetXml() function (no schema) and instead think I have to use the DataSet WriteXml() function, ensuring that the XmlWriteMode value passed in is set to 'WriteSchema'. However, I want a string variable in memory populated with the value, NOT a file. I am not very good with System.IO. I have never really used these objects before and am having a hard time working out how to get a string variable in memory populated with the value. The objects all seem to deal with writing to files, streams ...Show All
SQL Server Database file and log
Hi, I am just about to get familiar with SQL-Server 2005. Since I created a database and played a little with it I recognized that the database file has grown up to 150 MB as well as the log file. I used the shrink task to resize the database file. After doing so the .ldf remained as it was (150 MB). Since I would not need log information stored there, is it possible to shrink the ldf-file as well Thanks for your help! Hi, have a look here: http://www.aspfaq.com/show.asp id=2471 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C# Is there any way to flag a block of code so it isn't reformatted by "Format Document"?
I love the VS2005 autoformatter, and I use "Edit / Advanced / Format Document" and "Format Selection" all the time. Sometimes, though, the code is much easier to read if you break the rules and put everything on one line with multiple spaces or tabs. Example: Property1 { get { return this.myClass.internalAttribute1; } { set this.myClass.internalattribute1 = value; }} P2 { get { return this.p2; } { set this.p2 = value; }} Property3 { get { return this.interna ...Show All
.NET Development How can I extract a string from a string?
I have the following string string ConnectionString= "data source="MyLocalSQLServer" ;Initial Catalog=aspnetdb; ;Integrated Security=SSPI ;persist sercuity info=false ;UID=sa; ;PWD=asdasd; ;ProviderName="System.Data.SqlClient" what I need to do is extract all the relevant bits and put in a variable . How can I do it EG string ServerName= string dbName= strUID= etc . I have tried using "split" but not with much success anyIdeas thank ...Show All
Visual Studio Express Editions Can not download the C# e-book from benefits portal
I, too, have another kind of a problem. I just recently registered VC#, and I received the email with the Benefits Portal. When I try to download any of the goodies(I am a complete newbie-begginer-so I am very much interested in the e-book .pdf file) I get only a dreamweaver file. Can anyone help me As you have a different problem I split the post so you have a new thread instead. are you trying to download from this page https://connect.microsoft.com/downloads/downloads.aspx SiteID=40 This download https://connect.microsoft.com/Downloads/DownloadDetails.aspx SiteID=40&DownloadID=242 What hap ...Show All
Windows Forms How to adjust height of RichTextBox so that contents fit?
Is there any way to calculate necessary height of Windows controls at runtime, so that all contained text are visible I've tried that in many diferent ways, but without success. I'm especialy interested in Label, TextBox and RichTextBox .NET Windows controls. I've tried: RichTextBox rtb; rtb.Height = rtb.PreferedHeight but it doesn't work when there are more than one& ...Show All
SQL Server A simple calculation ?
I have rows of data in a VB DataGrid with the following fields Product, Price/Unit, # of Units. I want to be able to display these fields plus an extended value to calculate the Price/Unit * # of Units. This seems like it should be easy, I'm just getting a little mixed up with the Syntax. Any help would be appreciated. Thanks in advance tattoo You are writing the syntax yourself. select Product, PricePerUnit, NumberOfUnits, PricePerUnit * NumberOfUnits as TotalPrice from ... ...Show All
Visual Basic missing components menu!
Hi there, Please can someone help me. Im at the end of my wits with this!! yesterday, by accided, I pressed the x button to close the component menu which appears on the left hand side of the Microsoft Visual Studio IDE for VB 6.0. Well, I think its called the component menu - it has all the different objects you can place on your forms, like buttons and labels etc. No matter what I do I just can manage to get it back now, and I desperately need it to finish a project I'm doing. Any help would by HUGELY appreciated. Thanks Lor :) Yes, this was helpful but why not include something as basic as the toolbox as ...Show All
Visual Basic No text in MSGBOX
The MSGBOX function presents a result that has no visible text in either the prompt or on the buttons. Is there some property that turns this off I wrote a simple test code and it fails on my machine by displaying a box without any visible text. It has just a button to force up a msgbox. Any suggestions Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean ...Show All
Software Development for Windows Vista win32 application
Error 1 error LNK2019: unresolved external symbol _MAPIFreeBuffer@4 referenced in function "public: virtual long __stdcall CMailRuleClient::ProcessMessage(struct IMsgStore *,unsigned long,struct ENTRYID *,unsigned long,struct ENTRYID *,unsigned long *,enum _MRCHANDLED *)" ( ProcessMessage@CMailRuleClient@@UAGJPAUIMsgStore@@KPAUENTRYID@@K1PAKPAW4_MRCHANDLED@@@Z ) mapirule2.obj I get this error when I build my project. Can you help me what is the problem I tried to change some settings about linker but nothing changed. thanks. You should write a wrapped class in order to migrate your code into the managed code. Th ...Show All
SQL Server Fit Table on one page if possible
has anyone had any luck with the table property option 'Fit Table on one page if possible'. Reporting services seems to ignore this. Anyone familiar with issues surrounding this property RS seems to break the table at will. I am MOST concerned with this issue as it relates to exporting to .pdf. Any ideas or workarounds would be helpful (we are running sp2). Thanks! Are you talking about the table's width and height properties For me, this issue is height as that is what is causing the breaking to the next page. My table width is 7.5, and the heig ...Show All
Visual C# fixed keyword conversion
what would be the VB conversion for this fixed ( void * pxBasis = &modelRotation.M11) { fixed ( void * pyBasis = &modelRotation.M21) { fixed ( void * pzBasis = &modelRotation.M31) { UnsafeNativeMethods.Vector3.Normalize((Vector3*)pxBasis, (Vector3*)pxBasis); UnsafeNativeMethods.Vector3.Cross((Vector3*)pyBasis, (Vector3*)pzBasis, (Vector3*)pxBasis); UnsafeNativeMethods.Vector3.Normalize((Vector3*)pyBasis, (Vector3*)pyBasis); UnsafeNativeMethods.Vector3.Cross((Vector3*)pzBasis, (Vector3*)pxBasis, (Vector3*)pyBasis); } } } thanks There is no VB equivalent to 'fixed' or C# ...Show All
Visual FoxPro Philadelphia VFP User Group--Wednesday, April 5
Philadelphia VFP User Group Wednesday, April 5, 2006 7 PM (Optional: Meet for dinner at 6 PM in the food court) Topic: Introduction to .NET (from a VFP perspective) This discussion will include: an overview of the VS2005 environment, and general project structure; C# or VB ; Windows Forms; Creating classes/subclassing Winform controls; Data binding and data binding interfaces; Building a data access layer; Typed datasets; Distributed architectures with web services and remoting; String and date operations; Reflection and type discovery and uses of interfaces; Delegates and events; Miscellaneous tips Note: Special date for th ...Show All
