AnuR's Q&A profile
SQL Server The 'IBMDADB2.1' provider is not registered on the local machine
I am receiving this error when I try to run a report I have deployed to the report server (SQL Server 2005 Standard on a maschine with Windows XP Professional) An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'DataSource2'. (rsErrorOpeningConnection) The 'IBMDADB2.1' provider is not registered on the local machine. The DB Provider I am using is OLE DB and the connection string is: Provider=IBMDADB2.1;Data Source=xa0xap01 This report runs in Visual Studio just fine. Before I had installed the SQL Server 2005 Eval version on this maschine. With the Eval Version from SQL ...Show All
Visual C# ForEach or For
I was wondering how can i cut this code down to maybe a function that could give me the average without setting the sum to be assigned to all those varibles is there a way i can loop through the values that are inputted to the console using System; class Addem { static void Main() { int sum = 0; Console.WriteLine("Enter 5 grades"); int num1 = int .Parse(Console.ReadLine()); int num2 = int .Parse(Console.ReadLine()); int num3 = int .Parse(Console.ReadLine()); int num4 = int .Parse(Console.ReadLine()); int num5 = int .Parse(Console.ReadLine()); sum = num1 + num2 + num3 + num4 + num5; Console.WriteL ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxion "There is something wrong with the PictureBox(i).image" doesn't really give much idea of the problem you are having. Have you created an Array called ...Show All
Windows Forms Looking for a book recommendation for GDI+
I really want to get into writing custom controls that work well at design time. Can anybody recommend any GDI+ books for C# ...Show All
Windows Forms ClickOnce localization
Hi, I have built a globalized application in .net 1.1 and created an msi file to install it. The application detects at runtime the CultureInfo.CurrentCulture.Name and loads the correct localised assemblies. I have then upgraded the application to .net 2.0 and i have decided to use clickonce instead of the msi file. Everything works fine a part from always using the default resource files and not the ones appropriate to my machine CultureInfo.CurrentCulture.Name. I have tried changing the language option in the project publish properties, but still when I install the application it is using the default resource files. I have even grouped the ...Show All
Microsoft ISV Community Center Forums Form Requery
I have a command button on a form to create new records for the data shown on the form. When the code finished I want the form to have the new record available. I have this code at the end of the button code: Forms("frmDocumentDetail").Requery It does not work. The records do not update unless I exit the form or do something like hit the sort records button. TimD No sure this is the answer but try adding Forms("frmDocumentDetail").refresh Forms("frmDocumentDetail").repaint after the requery. ...Show All
Visual C# Displaying a web page on a window form
Is there any control to use on a Window Form to view web pages like HTML thanks! I guess u are right, I found that http://www.c-sharpcorner.com/Code/2004/Sept/WebBrowserControl.asp which says its only in the 2005 version. so its a good reason to start using it Thanks ...Show All
Software Development for Windows Vista Upgrade from XP Media did not support Nvidia 7800 card
I just updated to Vista from Windows Media Server 2004 Edition (on a brand new laptop - Inspiron E1705/9400) and the only complaint is that Vista does not identify the graphics card I have. So, at the moment, I'm looking at an extremely pixelated screen and can't find any way of changing this. My graphics card is a 256MB Nvidia Geforce Go 7800 and I sure would like to check out its capabilities on this new OS's aeroglass feature. Any suggestions I'm about ready to tear apart my laptop and just pull the card out of its slot and push it back in so Windows has to identify it. Any help would be appreciated. I don't know how much longer I ...Show All
Visual Basic Why do the ODBC 3.5.1 and MySQL 3.1.8 drivers not work?
Why do the ODBC 3.5.1 and MySQL 3.1.8 drivers not work Michael Seriously I read a few of your post, atfirst I can understand that you are pissed off. But then when I read a couple more, I totally think you should go do something else. I have the same problem with MySQL but I know its a B E T A, and people answering this thread is just like YOU and ME. Its not like every reply is OFFICIAL MICROSOFT SUPPORT. So STFU. Dont act like a kid that doesnt get candy. You made me register to post this................ ...Show All
Visual Studio Source Safe Analyze
We are using the VSS 2005 Beta with about 10 local users and 3 remote user. Looking from the VSS Admin GUI, we see that nobody is Logged into the Database, but when we try to run Analzye -f it complains that someone is logged in. Where can I see all the machines logged into SourceSafe The remote people are using the VS 2005 Beta with the Internet plugin. These people never seam to show up in the list of users logged in. How can I determine if they are logged in We need to run the Analyze program but can not. How else can I get everyone logged out You can't (unless you have a backup of the database). The cor ...Show All
Windows Forms printing text
I am trying to print a text file and am using the examples provided by Visual Studio. The following line calculates the number of lines per page in the PrintPage eventhandler: lpp = ev.MarginBounds.Height / printFont.GetHeight(ev.Graphics); The problem is that lpp calculates a number of lines but the printer is printing past the margins and I miss 2-3 lines per page. If I subtract 4 from lpp this works but why isn't the calculation correct The event is listed below: //Event fired for each page to print private void pd_PrintPage( object sender, PrintPageEventArgs ev) { float ...Show All
SQL Server Transfer Access database into SQL Server 2005 Express
Hi, A question regarding SQL Server 2005 Express edition. Is it possible to export Access databases into SQL databases without using programming (e.g. using SQL and programming languages) I understand you can do this with DTS, but the Express edition seems not have DTS. Many thanks Yuelin Hello i found a way of getting around of it: using the Upsize Wizard from Access. I have successfully "upsized my Access databases onto SQL 2005 express. good luck Yuelin ...Show All
Visual Studio Opening an existing DSL in a fresh install of VS
One thing I noticed in my last rebuild of a development environment: When I tried to open the DSL under development in a fresh install (VS2005 Team Suite, VS SDK February, GAX/GAT) the development environment stopped responding. I tried to open the DSL twice, and each time VS stopped responding before the solution was fully open. I then decided to create a new minimal language. This worked as normal. I then opened the DSL we are developing and it worked perfectly. Is there some form of setup of DSL that happens when running the new language wizard ... if so you may want to move that into the VS SDK installer. Brian. ...Show All
.NET Development Can Client built in .NET F/w 2.0 call remote object developed in .NET F/w 1.1?
Hi, I have a windows service already developed and has a interface exposed via remoteable object. I connect to this windows service using remoting. This service is developed using Visual Studio .NET 2003 with .NET Framework 1.1, SP1. Now I want to develop a UI using Visual C# Express 2005 which uses .NET Framework 2.0. I have doubt whether my new application developed in .NET Framework 2.0 will be able to talk to remote object developed in .NET Framework 1.1 Thanks, Vinod Use of binary formatter insuch scenario especially while dealing with Deserialization is a reported bug. http://lab.msdn.microsoft.com/ProductFeedback/ViewWorkaro ...Show All
.NET Development Problem publishing project with ClikOnce
I had a project written in VS 2003 (framework 1.1). I converted the project to VS 2005 and tryed to publish it. For some reason I get this error: Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=X86, Type=win32' Does anyone know why this happens Miha Here is more detailed description of what I was doing. I created completly new projet, build it in published it to my HTTP server and everything worked fine. I can download and install this test app from any computer. Than I converted my old project from VS 2003 to VS ...Show All
