Opher535's Q&A profile
Visual Studio Express Editions Printing in VB 2005 Express
I am trying to print a text document that I am generating in a program to develop math workbooks. I have tried everything that I can find on printing but have not been able to get it to work. I tried writing the text to a disk file but the file is always empty when I look at it with the program running. I know that the program is working properly because I put the generated problems into a displayed text box before trying to print them. Any help on this would be appreciated. Thanks. By the way, this is the first time that I've tried printing from Visual Basic. I could do it from standard Basic. Do a search o ...Show All
Visual Basic Installing.
Kelly, You will get alot further with your frustrations by providing details of your problems/issues to the product feedback center: http://lab.msdn.microsoft.com/productfeedback/Default.aspx ...Show All
Visual C++ Getting started with a plain c++ program!!
How do I just open and compile normal c program, without it being a "win32 console application" or any other fancy-shmancy stuff The simplest way through the IDE is to use an empty console application. You just need to choose "Console Application" and then click next. You will have different types of Console Applications, choose the empty one. This way you are free to add what ever simple code you want. Another option is to use the command line compilation tools if you are experienced how the compiler binaries work. Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development To know weather current folder is root folder or not
Hi, How can i know that the current folder is root folder or not using c# methods or properties. Thanks, Hitesh You could check for characters after a \. I wonder what Path.GetDirectory would return from a root folder That seems a decent thing to check, it could constitute a test. ...Show All
Visual Studio Express Editions Coexistence of VC++Express2005 beta-2 & VS.Net Team Suite 2005 Beta 2
Can these two IDEs, their MSDN and everything else that come with a full installation of each one of them coexist on the same computer (Win 2K+SP4): Thanks, David David - Yes. If you have any problem with this, please let us know at http://lab.msdn.microsoft.com/productfeedback , as it would certainly be a bug. That said, as David Kean points out, there shouldn't be any partiuclar need to have both installed, as Visual Studio Team System contains everything that C++ Express contains, plus a *lot* more. Thanks, Luke Hoban Visual C# IDE Program Manager ...Show All
Visual Studio Tools for Office binding in Word documents
Hi guys, As you probably saw I am having difficulties display bookmark controls that are directly binded to some binding source. I get a strange message, the reason of which I still look for an answer. So after reviewing once again the excellent webcast - Data Binding Relational Data in Visual Studio 2005 Tools for the Microsoft Office System from Janet Robinson - it occurred to me that nowhere in this webcast was shown how to directly bind table in Word document. Janet used XML nodes instead. She used one additional step to extract the XML from the dataset and load it in the XML root node of the Word document. However, in my opinion, we ar ...Show All
Smart Device Development Image.Save, not supported?
Hi all Can someone confirm if save the method in the image class is not supported in the compact framework V2.0. If I call it I get a notsupportedexception which would say its not, I have tried to check in reflector but that does not show any source code for V2.0 assemblies for some reason. Thanks in advance. Dan Hi Dan, The save method for jpeg, gif and png formats are supported in the image class for Windows Mobile 5.0 and WinCE 5.0 only. On PPC 2003, the save method supports only the bmp format. This is a limitation due to the OS. Cheers, Anthony ...Show All
SQL Server Error trying to use Quick Find
I am getting the error " ...No such interface supported." when trying to use Quick Find to search for a database object. This was working fine previously and a great feature of 2005 (even worth the extra memory overhead of running Management Studio :-). Another quirk that sometimes happens is the Quick Find dialog opens but nothing lists for the Look in: dropdown and I cannot activate the find feature. Any ideas greatly appreciated, Tom ...Show All
Software Development for Windows Vista installutil.exe installing windows service
I'm tring to install a windows service and keep getting the following message, can anyone help with this TIA C:\Program Files\My Application>installUtil.exe MyApp.exe Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the C:\Program Files\My Application\MyApp.exe assembly's progress. The file is located at C:\Program Files\My Application\MyApp.InstallLog. Installing assembly 'C:\Program Files\My Application\MyApp.exe'. Affected pa ...Show All
.NET Development Setting my controls properties using xmldocument class
can you use the xmldocument class to create a xml document from scratch, or do you first need to use xmlwriter to create the file You can create a XmlDocument from the scratch. Use the Create methods to create XmlNodes and use the Append method to append the XmlNode to you document. Here is a little example: XmlDocument doc = new XmlDocument(); XmlElement myElement = doc.CreateElement( "MyElement" ); XmlAttribute myAttribute = doc.CreateAttribute( "MyAttribute" ); myElement.Attributes.Append( myAttribute ); doc.AppendChild( myElement ); doc.Save( "c:\\test.xml" ); ...Show All
Windows Forms Can't install my application
Hi, I made a program in Visual Studio 2005 .NET language(it's about 19MB) Now i wanted to redistribute it to another computer,i included the .NET framework,and the WIN INstallers v2.0 and 3.1,but when installing i get the following error: An error occurred while installing system components for Sterrenwacht. Setup cannot continue until all system components have been successfully installed. Details: Setup has detected that the file: 'C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\VSD58.tmp\dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' has changed since it was initially published. can someone please help me Thank you H ...Show All
SQL Server FOREACH Loop Container: Continue ?
With a ForEach container, configured to loop through files in a directory, if I have a problem with a file.. can I direct the loop to skip on to the next file I'm processing structured files, first record of each is some header info, body records are in the middle, and then the last record is a trailer containg a checksum So, for each file in the directory, I split the records into three raw files, one for header rec(s) , one for body recs and one for trailer recs. (based on line numbers and using a conditional split to direct the records) Then I start by processing the header recs in a dataflow.. if all goes well ther ...Show All
.NET Development Compressing multiple files in .Net (like Zip files in Java)?
Coming from Java (and yes .Net is better :-)) I am used to an api that makes it really easy to generate a zip file consisting of multiple files. I have tried to look for something similar in .Net but I havent been able to find anything. I assume that CAB files are a .Net preference which is OK since the format used is of minor importance. Can you point me in the right direction Thanks in advance /Soren Hi Daniel, I dont think that J# is the suitable for us, but thanks for the tip. ...Show All
Visual Basic Finding length of structured data
I am trying to convert a VB.6 program to VB .Net 2005. The program reads up fixed length records from a file and does stuff with them. The code to read the file and load up a combobox looks something like this (sorry about the double-spacing ... don't know how to avoid it): fPayees = FreeFile FileOpen(fPayees, gMasterPayeeDatabaseFile, OpenMode.Random, , , Len(PayeeData)) i = Len(HistoryItem) i = LOF(fPayees) j = Len(PayeeData) intTotPayeeRecs = LOF(fPayees) / Len(PayeeData) For j = 1 To intTotPayeeRecs ' Display all payees in payee database FileGet(fPayees, PayeeData, j) cboPayee.Items.Add( ...Show All
Visual Studio Express Editions Link to "Registration Benefit Portal" takes me to "Microsoft Connect" site -- what is that?
In my "thanks for registering" email from Microsoft, the link to the Registration Benefits Portal is given as: http://go.microsoft.com/fwlink/ LinkId=52054 When I click on that link, however, I get a web page called "Microsoft Connect", which describes itself as "the new product development collaboration site at Microsoft". There is nothing in there about Visual Studio, Express or otherwise, as far as I can tell. Is this the right URL for the Registration Benefits Portal Any help would be appreciated. Answered in the following thread: http://forums.microsoft.com/MSDN/ ...Show All
