Fahad349's Q&A profile
Visual Studio Express Editions Automation server can't create object
I have visual C++ 2005 edition and It won't let me create a new project. I choose a empty project and I get this error: "Automation server can't create object" Now i've searced around a bit and I found that my scrprit might be corrupted, but I have downloaded it and it still won't work. This is the link to common answer people gave: http://support.microsoft.com/kb/323885 I've also tried reinstalling many times and still get the same message. So I would really like to know why I can't create a new project and any suggestions on how to fix this. Hey people. I've just come back to this problem on my old laptop from a year ago. Some background... I changed job and the new IT guy "indoc ...Show All
Visual Basic IDE says OK but compilation fails
I am developing a web site/system using VS2005, ASP.NET and VB.NET. Suddenly I ran into a problem where I cannot build my site any more. The message is: ..path../UserOwner.aspx.vb(1278,0): error BC30451: Name 'a3333' is not declared. BUT the (in this case) label a3333 is declared. When I edit the behind code there is also no "bubble lines" telling me there is a problem. But as soon as I hit Run - I get this message in this code. It look's like I have hit a "limit" as all objects created "before" in this page works perfect, but all objects "after" fails in the compilation. This happens around the 180th object on this page. If I as example drop a new button object on the page - set's the ID ...Show All
Windows Forms Loading font of difrent language
Hi, I have a window application, in which I want user to be able to type in diffrent language according to the translation he choosen. I have a multiline text box showing the text, which has to be converted in to a diffrent language. In the second multiline text box I want that particular language font to be set in which the text is to be converted. I got the destination language name dynamically. Help me out.. You can enumerate the installed fonts by obtaining an object of the InstalledFontCollection class InstalledFontCollection installedFontCollection = new InstalledFontCollection(); The new collection will have a property called Families which includes all installed FontF ...Show All
Visual Studio Source control issues when converting 2003 solution to 2005 (ClearCase)
I'm trying to convert a Visual Studio 2003 solution to 2005. The project is a Windows Application and I'm using ClearCase for source control. I made it through the conversion process after getting through a few hickups, but now I'm stuck. VS2005 treats most of the converted projects and the files contained within those projects as though they're not under source control, even though they actually are. Within my solution, there are 12 projects. When viewing the Solution Explorer, only one project and its contents are recognized as being under source control. Check in/out, etc. commands work as expected for these files. For the 11 other projects, the files can be editted without first checking out through VS, but attempts to save fail since ...Show All
Windows Forms Form Inheritance and Inheritance Picker problem
Hi everyone: I have some base forms and usercontrols in a project named "UILibrary". And I create derived forms and derived usercontrols in other several projects. Everything goes very well. After a period of time, the solution grows and I modified classes in "UILibrary" and built it several times. The problem is coming. When I wnat to add a new item, also select Inherited Form or Inherited Usercontrol template, an "Assembly Load Error" message box shows. The message is "Unable to load assembly 'D:\Ap\UILibrary\obj\Debug\UILibrary.dll'. Ensure that the file is a valid .Net Framework assembly." Then the Inheritance Picker&n ...Show All
Visual Studio Team System Uploading documents and playback - Query
Hi, I have an apllication such that, excelsheet has to be uploaded. On sucessful uploading, the values in the excel should get reflect in the webpage. On recording, i did the same, but on playback, i can find the page has no values. However the test shows PASS. FYI: It showed error on _LASTFOCUS.I have extracted the hidden field and gave the value to the same. Now it passes but not getting the value. Kindly advise, what are all to be taken care for the above scenario. Thanks - Vijay. Hi, it's aspx code. Sometimes, i recieve the field during execution. but if i repeatedly run, 90% times end up with the blank values. I will change some values in excelsheet and then if i re-run, will work for ...Show All
Visual Studio Conversion Issue from VS.NET 2002 to VS.NET 2005.
All the classes are converted to partial and in the user controls the shared property has following error. "Reference to a non-shared member requires an object reference". Public Shared Property Set_Title() As String Get End Get Set ( ByVal Value As String ) workingNewHeaderControl2.pageTitle.Text = Value End Set End Property ...Show All
SQL Server Combining multiple subreports into a single report
The goal is to produce a single PDF consisting of a number of subreports. Some are landscape, others are portrait. The subreports may also be run as independent reports. The master report that contains them defaults to the width of the widest subreport, which is landscape. This causes all portrait subreports to spill over producing blank pages. Are there any work-arounds to concatenate multiple, single report PDFs into a single PDF and have page numbering too Thanks! The code sample above should have a subscript in brackets but I guess that is also the symbol for an idea. How funny! ...Show All
SQL Server SQL Service Broker : "Task Scheduler"
Hi, I'm looking to run a "job" on a SQL database regularly (like scheduled by a "task scheduler") to updated my database. It appears I can use SQL Service broker to run such a job. Can I embed a "task scheduler" inside my SQL Server database to trigger this job each X seconds Hi Gerald, I put together an test app based on your suggested design, and works nicely! After running " BEGIN CONVERSATION TIMER ( @conversationHandle ) TIMEOUT = @queueSeconds ;", I see the message in the queue @queueSeconds later (great!). One additional feature that I'm trying to accomplish... There are many variants of the "job" I need to run (these jo ...Show All
Visual FoxPro Foxpro Power!
Hai Everybody, I jus wanted to have some sort of opinion poll from u people. IS FOXPRO ONE OF THE POWERFUL TOOL AVAILABLE NOW In my opinion its really powerful and very much useful even now i am very much found of it.... Hey do not feel sorry about .Net developers, using .Net you might start to feel sorry for VFP programmers:) .Net has undeniable features and power. Both are (and also those many other languages/tools) powerfull. ...Show All
Windows Forms How to stop designer adding columns when i build the project
Could you please help me. Designer is adding columns to my datagridview when it is databound. I read that it may have something with AutoGenerateColumns property of DataGridView. I tried this: Manually write AutoGenerateColumns in designer.Didnt work There is no property named AutoGenerateColumns listed in property grid in Properties panel. So i tried to inherit and change the browsable attribute. (Didnt work) Please help me. I am in lack of time. And this makes Duplicate component names error. Please if you know how to. Tell me. Rance / Adraw, I was having the same problem. Rance's fix worked for me, but only if I follow this process exactly. It looks editing the Columns properties in the designer recreates the .Use ...Show All
Visual Studio Find dialogs do not show up anymore but still function
I was working in VS today, and everything was working fine for quite some time. But then at one point I tried to access the Find dialog by pressing Ctrl-F, but no dialog popped up. The main window still grayed out like it was being pushed to the back, but nothing came up on top (or in the task bar). I could still type in a word to search for and hit enter and it would search, but that can only get you so far. I closed the app and restarted multiple times, but no change. I checked in regedit for some kind of key that would affect this, but nothing sprung out at me. (There was even a "Find" subdirectory in the VisualStudio registry, but nothing interesting in it) Has anyone ever seen this Any suggestions Thanks in advance. ...Show All
Visual C++ loading dynamically a DLL built with VC++ 6.0 by an an exe file built with Visual Studio 2005
Hi guys Is it possible to load dynamically a dll that has been compiled and linked with VC6.0 by an exe file built by Visual studio 2005 nota: This dll exports only "C" style functions ( no class ) During the tests I've made, it seems that the GetProcAddress function fails to find the exported functions when the exefile and the library where not built with the same VC. any idea Regards Be sure to declare the exported DLL methods 'extern "C"' so the names don't get mangled. If you're not sure what those names might look like, use Dumpbin /exports on the DLL. GetProcAddress has to use the exact same name as appears in the Dumpbin output. They'll have a leading underscore if the method was ...Show All
Windows Forms add/remove program icon showing folder icon
When I install my application on a target machine (2000 sp4) using VS 2005, the add/remove program icon shows a folder icon instead of the application's icon. I've tried setting the add/remove program icon to the .exe which displays the proper icon when being assign in the build project. I've also tried setting the icon to an .ico that I included in the build project. Neither works. Thanks ...Show All
Visual Studio Express Editions Compatibility
I am a student taking a Visual Basic.Net class at my school. So in order to be able to work on it at home, I downloaded and installed the Visual Basic Express Edition 2005. However, my school has the standard version of Visual Basic 2003 installed on all the computers. Whenever, I save a program in the 2005 edition, and then try to switch back to the older version, the code has not many, but a few small errors that prevent the application from debugging correctly. Is there any way where I can freely switch back and forth between the two versions Any help would be greatly appreciated. Thanks. 2003 / 2005 had language changes and project file format changes. 2005 uses partial classes to split the UI Gene ...Show All
