Steverino2's Q&A profile
Visual Studio Express Editions Duplicate Sql Record issue
Could anyone tell me while this does not work It seems to work for some records but not others. SqlConnection sqlConn = new SqlConnection (LaunchPad.Properties. Settings .Default.launchpadConnectionString); SqlCommand sqlCmd = new SqlCommand ( "SELECT count(*) from property WHERE StreetName='" +txtStreetName.Text+ "'" ,sqlConn); sqlCmd.Connection.Open(); int RecordCount = Convert .ToInt32( sqlCmd.E ...Show All
Visual Basic Re BindingNavigator VB2005
Interesting 272 hits on this question, but no response. After reading/checking various on help I found the answer. Yes, there is a DISK image on this tool stating Save Item. Stange on my BindingNavigator, there is no Disk image, I know how I lost it, but now how to get it back. Thanks for replies. Bill. The binding navigator is constructed with code. You van justst reinsert the code into your project, in t ...Show All
SQL Server Installing Microsoft SQL Server 2005 9.00.1399.06
I'm having problem with installing Microsoft SQL Server 2005 9.00.1399.06. I have (I think removed) all beta and other SQL files but the installation still fails. Any ideas on where to look for the problem(s) summary.txt looks like this: Microsoft SQL Server 2005 9.00.1399.06 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) Time ...Show All
SQL Server Updating report from stored procedure
Hi, I have a report server project which gets its information from a storesd prodedure. Occasionally that stored procedure changes, some columns may be added or removed but as I see it now that only way to have my report reflect those changes is to start a whole new report server project. is there a way to have my current project re-bind to the updated (changed) stored procedure or better yet just bind to it so it ...Show All
Windows Forms Beta 2 Publish help needed
Hi all, I'm a student trying out VS.net C# express beta 2. I had created a simple hello world program. I'm using the "publish" feature that comes with vs.net, however I notice that when it's install on another computer, it takes a long time to install as the setup is downloading the .net framework 2 from the internet. Is there anyway to bypass the internet streaming and instead put in all in a cd-rom for the installation Thanks. Hi, I had ...Show All
SQL Server How to intentionally cause a package to fail using a SQL Task
I'd like to use a SQL Task to execute a stored proc, which checks for a value, and if I don't like the result, raise an error. If the stored proc fails I'd like the package to fail as well. When I run the stored proc outside of the package, it fails as it should. However, when I run it in the package, the package does not fail. It moves on to the next task and completes normally. Any ideas on what I may be doing wrong Thank you, Perry ...Show All
Visual Studio Team System An stupid question: How to spell FxCop?
Don't laugh me :) FxCop is spelled FxCop (of course) and pronounced F-X- Cop . ...Show All
Smart Device Development Making wceload.exe wait / or return codes
Hiya, Im making an autorun.exe that needs to install 4 CAB files, onto a brand new device. My problems are the following: 1) I need to install the netcf.core onto the device as part of the autoinstaller, but the autoinstaller isnt going to run unless the netcf runtimes are already installed.. The install process is as follows: User enters SD card, auto installer pop's up, and prompts users to press a button to install (in the follow ...Show All
Windows Forms Adding Custom properties to controls
When Components like tooltip are added to a form, other controls on form automatically get a property (like tooltip on mytooltipcomp etc.), how the same thing can be achieved when using user defined components. For instance, say we create a component securitylevel, which gives security levels and based on that hides or disables controls. if a new special property can be added to all control then accordingly action can be taken.. hope i'm c ...Show All
Visual C# How can do a PDF preview
Hello, I just need to do a pdf preview, I have an application that is like a ftp client, this application connect with the server, where there are .pdf, how can I do I pdf preview with c# Thanks a lot Just google on pdf to image conversion components, and you'll find a lot of possibillities, most of them expensive, used the commandline tool http://www.imagemagick.org from PHP once to convert an spessific page to JPG The proces ...Show All
Visual FoxPro function argument is invalid...
I have a problem with this message and a few similar once. When I get it I invoke the debugger and attempt to examine the variable/argument. In this particular case it is a memner of an array. I suspect that instead of a character string it got an .F. value but it is hard to prove because I cannot examine it. If I attempt to look at it in Command Window I will get the same message that it is invalid. More than that, some other related, neighbour ...Show All
Windows Forms Problem inserting a new record with VB 2005 using a table adaptor and SQL 2005 Express
I have a Windows form that is bound to a customer dataset. The form displays a single customer record with text boxes for FirstName, LastName, Address, etc. I created a Fill Query to accept a key field parameter and return the complete record. When I use my SQL Fill command, passing it the key field (which is an identity field) , it populates the text boxes on the fo ...Show All
Visual C++ statically link msvc*.dll's
every time i want to distribute an exe, i have to distribute a bunch of msvc*.dll's also, which is annoying as hell. Is there a way to statically link against these so they are included in my exe Go to project properties, C/C++, Code Generation. You can select Multi-Threaded Debug(/MTd) / Multi-Threaded(/MT) for the "Runtime library" option. If you are using MFC you also need to select "Use MFC in a st ...Show All
Visual Basic Data Grid
Hi! May i know how to bind data into data grid.. i'm sorry to ask such a simple question but i really duno how to bind it.. Hi you can do it.put this method in your form. Private Sub FormatDataGrid( ByVal ObjDataTable As DataTable) 'Format The Scat DataGrid Style Try If IsNothing(ObjDataTable) Then 'Check The DataTable for Nothing Exit Sub ElseIf ObjDataTable.Columns.Count = 0 Then ...Show All
Visual Studio 2008 (Pre-release) Buttonquestion
hi, is it possible to create a button that doesn't have a square shape, but for example the shape of an "L" This would help me a lot. tnx in advcance, Kimme sure you can. You simply need to create a ControlTemplate for your button and define your wanted geometry. So either you create your own button and define its template or just add a button and apply the style which define the attended template. ...Show All
