linch12's Q&A profile
SQL Server Stored Procedure using linked server...HELP
I created a stored procedure in SQL 2005 that connects to data on a Linked Server. I can pull the corrected data but, I am having an issue displaying the data within an ASP.NET page. Accessing the stored procedure from my ASP.NET page only brings back '0'. What am I doing wrong How do I assign the SQL output to @Count I have included my code. Stored Procedure --------------------------- set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [sp_ValidEmpID] -- Add the parameters for the stored procedure here @badgeID int , @Count int OUTPUT AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets f ...Show All
Visual Basic Getting Specific cells in Data Grid
I have a datagrid loaded with an Excel sheet. I would like to programmatically look through the cells in the DataGrid, to see if I am getting the information that I desire. I have a couple of focused questions: How do I specify which cell to focus on in the datagrid How do I read the value (text) that is in that datagrid Input is much appreciated. Me . Datagrid1 . CurrentCell = New DataGridCell ( Datagrid1 . CurrentCell . RowNumber (), 0) Dim DGValue As String = Me . Datagrid1 . Item ( Me . Datagrid1 . CurrentCell ) ...Show All
Visual Studio Express Editions Add line numbers to code
Does any one know how to add line numbers to your code for error handling I want to use Information.erl in my error routines so I know the exact line the error happend. In vb6 I had an addin that would add line numbers for me. Is there anything simillar for vbExpress Note: This is different from adding line numbers by going to Tools > Options > Editor Options. Thanks I had a look and was n not abale to find it. Any ideas on how it's done I tried using Try Dim i As Integer i = 1 / 2 i = i / 0 Catch ex As System.Exception MsgBox(ex.Message) MsgBox(Erl()) End Try But it do ...Show All
Visual Studio Express Editions VS2005 Express PDF File Creation for web
I am converting from Visual Studio 2003 where I used crystal reports to generate a pdf file to be displayed in the web browser. I just noticed that the VS2005 express version does not include crystal reports. Is there an alternative way to generate the pdf files or am I stuck going ahead and getting the professional version. Thanks, Colelaus What is sourceforge... as in www.sourceforge.com I'm not familiar with this. BTW... thanks for the quick reply! ...Show All
Windows Forms Need information about building Deployment Project for windows application C# 2003
I am trying to biuild a deployment project, Setup - for windows application, in Visual C# Standard 2003 edition. (It has no deployment project wizard!) The "add/ Project Output" opens the Project Output Group Dialog Box, but it has an empty Project List, so I cannot add anything! I know that I have to do something previously, what is it Thanks in advance for any hepl! You mentioned that you had C# Standard 2003. I don't know if that version of the product had Setup projects... If it does, you need to have your application project loaded in Visual Studio, then add a setup project. Once you've done that, you can rig ...Show All
Windows Forms DesignerVerbs
Is it possible to add sub-menus to items added to the VS.NET menu Nope. Verbs can only be listed in a sinlge list. No nesting. Of course you could have a "My Verb..." item what launches a dialog. This would give you more flexibility in what you present to your users. - mike ...Show All
Visual C# Unrecognized configuration section 'connectionStrings'
You may get a Page cannot be found message when you browse aspx pages in a Windows Server 2003 environment. That is because in Windows 2003, all the webservice extensions are "Prohibited" by default to ensure security. To resolve this, do the following steps:- This article applies for Windows Server 2003, IIS 6.0 environment. Download ASP.net 2.0 framework form http://msdn.microsoft.com/netframework/downloads/updates/default.aspx Click on start then select Run. Copy and paste this command then click okay. That will reregister ASP.NET to IIS C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -I fro ...Show All
.NET Development Convert Hex to Decimals/Long?
I have a problem. But on .NET 1.1 My Scenario: Actually I will have a string of hexadecimals read from a xml file. Then from the hexadecimals, i will add 1 value whenever i made any modifications. But just i do not how to get started. It is like an incremental hexadecimals. I have a string of hex. string strHex = "0100000000FF"; I want to convert this Hex to decimals, just like the windows calculate, when you type FF in Hex and click on Dec radio button, it will change to 255. I tried string.Format("{0:d}", strHex); I tried Convert.ToDecimal or Convert.ToInt64 But i still cannot find a solution ---- I know how to convert long to hex ...Show All
Visual Studio Team System Report "Remaining Work" does not show all Work Items
Hi everybody, we are using Beta 3 Refresh for controlling our project. Now i got a problem with the "Remaining Work" Report. Our current iteration (started today) has 92 Work Items (80 Tasks and 12 Features (our new own Work Item Type). Every of this Work Items is assigned to the Iteration Path OurProject\Release 2\Iteration 8. When I run the report "Remaining Work" with the following parameters the report just shows 35 Work Items: Parameters: Iteration: Iteration 8 Area: OurProject Work Item Type: Activity, feature, Task Start Date: 1/30/2006 End Date: 2/17/2006 What went wron ...Show All
Visual Studio cant see icons in custom menu items
Hi, I have added four menu items in my .ctc file. have also added one bitmap file. but my menu items doesnt shows the icons on it. whereas the same example is working fine with the file generated by the wizard. Please help. thanks in advance. One other thing to keep in mind, is that you may need to run DevEnv.exe with the /rootsuffix Exp /setup switches again. I've run into scenarios where I've changed/added icons to my commands and toolwindows after the fact, and you need to run DevEnv with that /setup switch to clear the cached images. Sincerely, ...Show All
Visual Studio VS.net update issue
I'm currently developing software using Visual Basic .net. I maintain copies on multiple computers, some of which are not connected to the network to protect sensitive information. After updating my operating system on my networked machine, I find that I have MS Development Environment 2003 Version 7.1.3088 whereas on my unnetworked machines, I'm using Version 7.0.9466. When I attempt to edit programs written in the newer environment on the stand alone machine, I get an error (it says the solution was written on a newer version of VB and can't be opened). I've attemped to download files to update my other copy ...Show All
Visual Basic Office 2003 style in VB - programs???
Good Evening. I want to ask you, wether it's possible, that I can use the Office 2003 - Style in my VB-programs. Maybe, it's a DLL or OCX or something like that. I want to activate it for par example the toolbar or the menu. The Office 2003 - Style is a blue-color-style, where the activatet buttons are orange. Can you help me For every answer - thank you! You should be able to emulate the Office 2003-style toolbars and menus using the new ToolStrip and MenuStrip controls in Visual Basic 2005. See: http://msdn2.microsoft.com/en-us/library/5daaw6hf.aspx http://msdn2.microsoft.com/en-us/library/ms171649.asp ...Show All
Visual Studio How do I Start a New Project In Release Mode?
Is it possible to start a newly created project/solution in release mode In VS2003 I was able to do so by modifying the default.js file and calling Activate() on the solution configuration in question. In VS2005 I have a .vstemplate file that doesn't appear to have any properties for setting the default active configuration. I've looked through setting something in the .csproj file, but nothing seems to affect order there. Any help is greatly appreciated. Hi Ingo, I believe the active configuration for the solution is persisted in the .suo (solution user options file) I haven't totally tried it ye ...Show All
Visual C# Save Active Microsoft Word Document
I'm developing an addin for Microsoft word and when the user clicks my button it needs to save the document. How do I set my variable to the active application opened Word.Application wordapp = Word.Document worddoc = wordapp.ActiveDocument; ...Show All
Visual Basic Processing Serial Data
I need the reduce the processing time in a uMicrocontroller to allow faster sampling times. This has creates a problem in the data collection routine in VB. The old system collected the analog data a converted it to a decimal format before sending it to the serial port. This data is collected and saved using Hyperterminal. The VB program would, when run, would open this file and process the decimal data by graphing it. What I need is to capture the data directly and process a binary word. All attempts to run the graph program have failed! I'm sure it's in the way I'm reading the data. I've not been able to find much informatio ...Show All
