Lange's Q&A profile
Visual C++ Problem: fatal error C1083 by compiling a sourcecode
I have written a sourcecode according to an exercise in the book "Jetzt lerne ich C++" from Jesse Liberty. As I wanted to compile it with the downloaded Visual C++ Compiler, only the error: C:\Hello.cpp(1) : fatal error C1083: Cannot open include file: "iostream.h": No such file or directory appeared. The new header name is now just <iostream> without the .h. Take a look at this post thread that deals with similar issues: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=62040&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Hiding group header/footer lines
Is there any way to hide header/footer group lines in a table without displaying the white space For Example: Group 1 Label1 Group 2 Label2 Group 3 Label3 Detail If I put an expression in the visibility property of Group 2 to make Group 2 invisible for certain groups, it also makes Group 3 and the detail invisible as well. If I set the visibility to Label2 to hide the text for that group header, I still have the white space on the report. Is there a good way to hide (or shrink) the header/footer line of a group dynamically on a group by group basis Jim I figured it out, I wa ...Show All
Visual C# calender in datagridview cloumn
i want to display calender in each cell click for one column in dataGridView. --Thanks clicking the Edit should open a c ...Show All
Visual Basic opening cd drives
I suppose you are seeking information on how to open a cd-rom door/tray using VB.net code. It would look like this: <DllImport("winmm.dll")> _ Public Shared Function mciSendString(ByVal command As String, ByVal returnCommand As String, ByVal returnLength As Integer, ByVal hwndCallback As Integer) As Long End Function Private returnstring As String = "" Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs) Form1.mciSendString("set CDAudio door open", returnstring, 127, 0) End Sub Private Sub button2_Click(ByVal sender As Object, ByVal e As EventArgs) Form1.mciSendString("set CDAud ...Show All
Visual Studio Express Editions Me.Visible or Me.Hide ???? Help
I want to make my VB application run in "hidden" mode, with no interface or GUI This is my code so far, but I can still see the Windows form..... Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Visible = False End Sub End Class I even tried the Me.Hide() method, but I can still see the GUI when I run the app. Any help would be greatly appreciated. I found out that if I put "Me.Hide()" in a button function it works. But I want my application to load with no G ...Show All
.NET Development How to limit the execution time for a web mothod call?
Hi there, Today we experienced a lot of timeouts for a web mothod call. It takes long time to reach the timeout error page. What I want to do is to set a time limit for the execution of the mothod call. If I do not get anything within this time period, I will do something else instead of going to the timeout error page. The code I'm using are ----------------------------------------------------------- set xmlhttp = Server.CreateObject("Microsoft.XMLHTTP") xmlhttp.open "GET", "http://10.1.1.1/webservices.asmx/Authentication UserName=" & userid & "&Password=" & acct, false xmlhttp.send "" if xmlhttp.readyState=4 then&nbs ...Show All
Windows Forms Sending PDFs to a printer
Hi, I am trying to write a web service which will take a few thousands of PDFs from a shared folder and send them to multiple printers for printing. All these should happen without any user intervention. Can anyone teach me how to go about doing that in c# The printdocument class in .NET does not seem to be suitable. Can anyone help me or point me to some other resources I do not have the luxury of buying third party components to assist me on this task. Thank you very much!! I managed to find a way of doing this by calling an external process in my .NET code. Below are the codes that I use. Pro ...Show All
Visual Studio Express Editions Just installed VWS and allready problems...as expected!
I downloaded web matrix two days ago and i just found out that VWS was taking over...so i dloaded VWS. Problems right at the start. I go to create a website from the template they supply and in the directions it states that you have to run the site one time...i did and a name and pass box came up, as expected. Then the directions state that you must go into the asp.net config and create a user. I attempt to create a user but it will not take any password that i give. It gives a "please enter a different password." Any insite on a program that i thought would be better that webmatrix Atleast webmatrix didn't take up almost ever ...Show All
Windows Forms Opening one child form from another
In my MDI app, I have the parent opening a child, but would like to open another child off the first child to keep my form from dissapearing behind the parent form. Is this possible I'm creating this in C#. You know, the way you say that I'm wondering if you are really using the MDI interface. after all if you have&n ...Show All
Visual Studio Team System Wierd Bug in Beta2
Hi there, I'm not sure if you are already aware of this and fixed in Beta3. If I open query let say 'Active Bug'. Then Double click any one of the bug from it and change something, let say priority from 2 to 3, Save the bug and close it. Now if you go to 'Active Bug [Results]' document back, that bug would show the change of priority 3 if highlighted, but if you move from that bug to some other bug in the list, then the bug goes back to priority 2, I think goes back to cached view. It is very confusing during triaging the bug , if the value let say of triage field does not change for the bugs which triage has already ...Show All
Visual Studio Team System can not compare !!!
hi all, I am a client (team foundation beta 3 refresh) with win 2000 pro service pack 4 and visual studio 2003 when i trying to do a "Compare" i get an ecxeption 'system.DllNotFoundException' has occurred in diffmerge.exe if i do the same function "compare" with client (team foundation beta 3 refresh) and visual studio 2005 it's success so what can i do to fix it 10x, Vizi Vizi, Sorry you are running into trouble comparing. Team Foundation does not support Visual Studio 2003, so I am not sure how you are calling Team Foundation compare here. Is it possible that SourceSafe is the provider when yo ...Show All
Visual Basic Searching through MS - Word files of different versions (2002/2003)
Hi, I hope someone can help me solve my problem. I'm using VB.NET Standard 2003, and am trying to create a piece of code that will search for a specific word through an ms-word file, and will open the file if it indeed contains that word. I want the program to be able to do this for both Word 2002 and Word 2003, without the user telling it what version he has installed on him computer. Now, I'm a bit new to programming, so if you have an answer for me, please don't assume i know what imports to use or what "coms" are, because i probably don't :) Any help would be appreciated, I've been working on this for a very long time ...Show All
SQL Server Copy Database with Microsoft.SqlServer.Management.Smo.Transfer breaks identity columns
Hello I have a task to copy at runtime "etalon" database inside one same SQL 2005 server. Everythings ok except identity fields: identity breaks in new database. I use such code: Transfer xfr = new Transfer(db); xfr.CopyAllObjects = true; xfr.Options.ContinueScriptingOnError = true; &n ...Show All
SQL Server what are the scenarios
when one should use SSIS..different data sources,different destinations..etc...i hav never been in such a situation..i have been a developer..beside SSIS are there any MS tools thks The things you note are good reasons to use SSIS. You may give this a read to get a feel Understanding Microsoft Integration Technologies - A Guide to Choosing a Solution http://msdn.microsoft.com/library/default.asp url=/library/en-us/BTS_2004WP/html/14bc36a8-69a9-48ed-8e4c-1c85202544c0.asp ...Show All
Visual Studio 2008 (Pre-release) Alternating color for subsequent rows in GridView
Avalon doesn't support alternating color for subsequent rows as GridView in .NET Framework, is it true If anybody know how to customize style or template or somethings else please raise your ideals, thank so much. Cheer, Dat Dang There are some solutions in ATC Avalon team's blog. http://blogs.msdn.com/atc_avalon_team/default.aspx ...Show All
