bgs's Q&A profile
Visual C# Installing windows service without VS tools
Hi, i have developed a windows service on my test server and i allways used installutil.exe to install my service. Now i want to install it on a real server, the problem is that i don't want to install Visial Stuido on the server to have access to "installutil.exe" that will install my service. I wonder if there is another way to install a windows service without having VS installed on your computer. AF ...Show All
SQL Server Importing data
I think this is the proper forum for this problem. I have tried to import data from Excel 2003 into SQL Server. I have tried with 2005, 2000 and MSDE. I couldn't get this to work, so I imported a table with 1946 rows into Access and then into SQL. After getting past the field problems, the import engine finally successfully completed, telling me it imported all 1946 rows. But the first time the table only had 1 row, and the second time only 2 ...Show All
.NET Development Can I prevent Web Reference Auto-Generation?
I have a Web Service project and a WinForm project in the same solution. The WinForms project has a web reference to the Web Service. When I first created the web reference I then went through and customized the code in reference.vb (I wanted it to use classes for the return types from another referenced dll, and not regenerate dummy classes inside reference.vb). Whenever I make a change to the web service code it re-creates a new re ...Show All
Windows Forms Radiobutton focus oddity
Looking for some insight... I have a large-ish VB.NET form with a bunch of controls on it (nothing too weird so far). On this form is a couple of radiobuttons, and occasionally when the form is opened, the first radiobutton gets focus (despite them being somewhere down the tab order). We're using VS.NET 2002, with framework 1.0. Any clues as to why this would be Thanks, Dave Yes, no worries there, I can ...Show All
Visual C# C# Generics
Dear All, I have used C# 2.0 generics to build a class. the thing is that when i investigate the code using IlDasm, i could find the box with T parameters mentioned statements out there. but the main advantage is that boxing will not happen when using generics. can anyone justify this or suggest me whts wrong . regards, sundararajan.s Also, if you want to do mathematical addition, have a look at this code ...Show All
Visual Studio Team System Windows SharePoint is not configured as recommended by TFS
Hi, the headline says it all - it comes up, when I start the TSF-Services setup. But the installation doesn't say, what it likes to have exactly done in addition ! Can anybody help Thx, Klaus - Uninstall SharePoint. - Clear away any empty Application Pools that may have been left behind in IIS as a result of this (e.g. StsAdminAppPool). - Install SharePoint using the steps indicated in the Team Foundation Insta ...Show All
Visual C++ C++ Build Failure
I get stuck on the easiest of codes, the "Hello World!" code. What I do, is start a Visual C++ Win32 Console Application, Empty Project... And Application Type Console Application. Then, I add a file to the Source Files called HelloWorld.cpp. This is my code I type: #include <iostream> main() { std::cout << "Hello World!" << std::endl; } Then I try to build, compile, anything, but I keep getting this err ...Show All
Smart Device Development How to update the right softkey menu programmelly
I changed HKCU\Software\Microsoft\Home\Keys\113. But the key didn't change automatically. I must open some other application and return to desktop by pressing "Home" key to force it to take effect. How to update it programmelly Have you tried enumerating the windows to find and close the MSStart window. Next time the menu is pressed it'll get reloaded. // close the prgrams menu process, else it ...Show All
Smart Device Development Is there no BackgroundWorker Process in the C.F.?
Is this true I can't find it under teh Components tab in VS... Thanks Tryst Yes, .Net CF doesn't support BackgroundWorker, this class is only supported by .Net framework 2.0, For more read about this class at MSDN ... ...Show All
Windows Forms Creating custom border
Hi all, I am using System.Windows.Forms namespace for creating some graphical application on C#. I need to create a custom border for Panel control. Thank you, Duvel Sorry it posted twice, I posted and it took very long to show  ...Show All
Microsoft ISV Community Center Forums Getting Excel Formulas to work in VBA
I have formulas that need to be copied and pasted to the next row down from the original. The problem I ran into was when a formula that refrences some data on a hidden sheet tried to run it will bring up a dialog box wanting to know what file to use to Update the values. I need this formula to work without asking for updates. Here is the formula and the values it wants: Current Excel Formula = IF(M12 > 0, IF(M12 > 7630, ('Conductivity ...Show All
Smart Device Development LNK2019 errors
I'm trying to convert a large eVC4 project to VS2005 and am getting hundreds of linker errrors when the main project compiles. I have created small test app and test static lib projects to reproduce the issue: Here's the output: ------ Build started: Project: TestApp, Configuration: Debug Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------ Linking... Searching libraries Searching ..\test_lib\Windows Mobile 5.0 Pocket PC SDK (ARMV ...Show All
Visual Studio Express Editions Help me please
I am writing a simple class library with some http functions, so far I can send a request with user/pass but when I trie to see the response using this code(please dont laugh at it due to the fact that i'm 13 and havent been programing in c# very long) HttpWebResponse response = (HttpWebResponse)request.GetResponse(); StreamReader sr = new StreamReader (response.GetResponseStream()); result = sr.ReadToEnd(); sr.Close(); File ...Show All
Windows Forms action in MDi child the desired action should show the status bar of MDI parent
is there any method that when i perform any action in MDi child the desired action should show the status bar of MDI parent.i:e when i click the menu bar of child edit,it should show in the status bar of the parent that "Edit button is clicked" regards RpM There are a number of ways you could do this. The most technically correct is probably something like this: 1. Create an event in your child form, e.g. Child Action, ...Show All
SQL Server ~* Total Pages mismatch *~
Hi, The number of pages in the report viewer and the number of pages in print preview are different. how could the prob. be resolved... Thanks in advance. Cheers Chakri. Understood. My work around for now is to have people export the report to a pdf if they need to locate specific pages or information on the report. What do you think of a last/first button and maybe a zoom feature being added in future versions of th ...Show All
