Reagal's Q&A profile
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ok - great. now how do i retrieve the loader exception property. how can i fix this where can i find more info ...Show All
SQL Server Extra Browser window when exporting?
Hello, I'm using the HTML Viewer and URL access to render my reports. When I change the format (for example to excel) on the HTML Viewer, and click the "export" link beside the drop down. A new browser window pops up and a save box prompting me to specify the location of where to save. After I choose the save destination, download the new formated report, and close the save box, the newly opened browser window remains open. Is there any way to automatically close that browser window or maybe even not show that browser window at all Thanks in Advance ...Show All
Visual C# The type or namespace name 'Excel' could not be found
Hello, I am trying to create a simple program that will open an excel worksheet and do some comparisons. I can not seem to get VS to recognize Excel. I have added the Microsoft Excel 11 object library as a reference. I have also tried "using Excel". Everytime I put Excel in the code I get an unrecognized namespace error (Note: if I put using Excel in the code, the first compile error is at the using statement - not later in the code). Am I missing a step Thanks Wade. Hi Wade, Go through the following KB Article: How To Automate Microsoft Excel from Microsoft Visual C# .NET Regards, V ...Show All
Visual Basic combo box
This is what I am using to populate a combo box. cboSectionTitle.DataSource = premiumsListDataSet cboSectionTitle.DisplayMember = "SectionTitle" cboSectionTitle.ValueMember = "SectionID" I get an error on the ValueMember line as follows: can not bind to the new display member I think there is a problem with the data but do not see what it is. P.S. The SectionID column is not unique in the table the fields parentID and SectionID are both primary keys Thanks The problem as you said was the datatable. Thanks and well done. ...Show All
Visual Studio Dos file Sharing
Is there any command for file sharing from dos like we share in the windows ......... if we want to share c:\ what is the command for that in the dos ....not want to share from windows .......as in windows shrpubw.exe file is used for sharing ....... Hi, I'm not sure what kind of Share functionality you're talking about... If you're looking for SourceSafe's Share feature, the ss.exe command line tool should help you. Use it with Share argument, as Roman suggested (ss.exe Share files/folders). You'll find ss.exe in your VSS install folder. To read more about VSS command line you should look at these MSDN articles: http://ms ...Show All
Visual Basic Deprecated Compilers - VB4
Hi, Can anyone tell me where to go to to download the installer for Visual Basic 4.0 (Don't ask!) Thanks. Within the MSDN Downloads, the only versions that are available are VB6 and newer. This doesn't mean there isn't some other way to receive it though. Have your Microsoft liason contact their rep to determine if there's a way you can get a copy. Otherwise, there's always Ebay. Josh ...Show All
Smart Device Development Limitation in numericupdown control
Hi All, When I entered the value 100,000 and over into the numericupdown control and i am sure the value is under maximum value, the numericupdown.value returns a -32011 value. There is a limitation numericupdown control value its seems it support only int16 , is there are ways to override or to work around it. Thanks Hi Tim, Add this workaround to my code, this solution rocks. Thanks for you help..... ...Show All
Visual Basic Question on ClickOnce
I have finished designing my first VB app (VB2005) and I am going to deploy it to a network share using ClickOnce. I have read the documentation and several of the posts on it but I am still a little nervous have some questions. First, do I have to have a certificate or a key file in order to do updates My security person believes it isn't necessary since it is on our local network. Second, once I deploy with ClickOnce, if I find serious mistakes or want to change where I deploy to, and need a clean start from the beginning, can I just delete the deployed files, reset to version 1.0.0.0 and choose a new deployment location if needed ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I output 3D screenshot to asp page
I would like to output the 3D screenshot to browser. I found the directX can output screenshot to file, such as: SurfaceLoader .Save(dialog.FileName, ImageFileFormat .Jpg, _device.GetBackBuffer(0, 0, BackBufferType .Mono)); But I wish I could output directly to my ASP page. So I can render the screen shot in browser directly. Thanks for help. PS: A lot of existing examples in ASP is rendering bitmap, such as setting Response object's OutputStream by Bitmap: Bitmap.Save (Response.OutputStream, ImageFormat.Jpeg) Thanks. You are right. But that is the first step for asp page to set the return type as MIME. ...Show All
Visual Basic Work with DHTMLEdit
hi, I want use DHTMLEdit1 in own program and set DocumentHTML with Html code that include "Link", for Sampsel this code: <html> <body> <p dir="ltr"><a href=" www.yahoo.com</a></p> " target="_blank">http://www.yahoo.com"> www.yahoo.com</a></p> </body> </html> then in DHTMLEdit1 set BrowsMode to True and running program. when I click on www.yahoo.com on DHTMLEdit1 ,open Internet explorer and view yahoo website. But I want get " http://www.yahoo.com" in string to label, and don't run internet explorer pleas ...Show All
Visual Studio Express Editions Problems installing the platform SDK
I am having problems running the windows installer. (in order to extract the SDK) The steps I took were: 1)Download x86. version from web. Using web install. (I have a cable internet connection) 2)Go to the installed file and double click on it. 3)It opens and brings up windows installer. 4)Windows installer never opens. (I left my computer for about 20 min to see if it was opening slow). That is the problem. In the end i had to abort the installation. Any help is appreciated. Nevermind, I figured this out for myself!! I needed to extract all af the files before trying to set ...Show All
Visual Studio StyleSheets?
Hi, is it possible to use Stylesheets with Reports I have a bunch of reports for which I need to have similar formatting like colors,fonts etc...so is it possible use stylesheets for this if so,how Thanks, SSM Hello, Here is a kbase article that I found: http://support.businessobjects.com/library/kbase/articles/c2014921.asp The version of Crystal Reports that is bundled in Visual Studio .NET 2002/2003 does not have support for this. Crystal Reports Developer Edition version 9 and up do have the ability to use and apply stylesheets. Keith - Business Objects ...Show All
Software Development for Windows Vista cannot use the InterfaceType on hosting wwf designer
hi guys, i have completed the lab 10 successfully, then i converted it to use state machine instead of sequential. i have a class library that i will use in as the interface type for callexternalmethodactivity. my problem is, if i clicked the interface type in a callexternalmethodactivity. it raises a error that the itypeprovider must be installed. click her e to view the image showing the actual error. thanks guys. Take a look at Vihang's article on MSDN. ...Show All
Visual Basic array variable
How can we create an array variable in vb. The size of the array should be defined only during runtime. Please give the sample code. Try this: Console.WriteLine("Enter size of array: ") Dim numElements As Integer = Integer .Parse(Console.ReadLine()) Dim strings(numElements) As String For i As Integer = 0 To strings.Length - 1 strings(i) = "Hello, World" Next For Each s As String In strings Console.WriteLine(s) Next You can also use ReDim Preserve strings(numElements) to resize an existing array keeping current elements. (You can omit Preserve if you want to throw away existing elements. ...Show All
Visual Studio Team System From RC to formal release Trial Edition
We are pretty much committed to using TFS so we'd like to move to the formal release version of TFS ASAP. Since it's going to take a couple of months for our software vendor to get the media ready for purchase, I have downloaded the 180-day Trial Edition from MSDN (we don't want the Workgroup Edition). Since we have been using the RC build for real projects, can I upgrade from RC to the release Trial Edition There's this upgrade tool for download at http://msdn.microsoft.com/vstudio/teamsystem/team/default.aspx but I want to be 100% sure before I run it. And for the MS folks, do you really recommend the upgrade or I should bear the pain no ...Show All
